0
$\begingroup$

This solution I have found in my book for the indefinite integral

$\int{\frac{1}{\sqrt{x^2-9}}dx}=ln|x+\sqrt{x^2-9}| +c$

I think that this is acceptable only for $0<\theta<\frac{\pi}{2}$.

But what about when $\frac{\pi}{2}<\theta<\pi$ ? Is it the same? I think it is opposite to the above, means:

$\int{\frac{1}{\sqrt{x^2-9}}dx}= -ln|x+\sqrt{x^2-9}| +c$.

beacuse:

$\sqrt{x^2-9}=\sqrt{\tan^2\theta}=|\tan\theta|$

which is positive when $0<\theta<\frac{\pi}{2}$ and negative when $\frac{\pi}{2}<\theta<\pi$.

Can you explain me what happens in this situation?

How do I work out the integral?

  • 2
    If $\theta$ comes from a substitution, you should show that substitution.2017-01-10
  • 0
    Your question doesn't really make sense, since there is no mention of $\theta$ in the formula that you are asking about! To see which answer is correct, just differentiate the right-hand side and see if you get $1/\sqrt{x^2-9}$. (You do in the first case, but not in the second case.)2017-01-10
  • 0
    Sorry, but $\theta=3\sec\theta$2017-01-10

1 Answers 1

0

Actually, when you are asked to compute an indefinite integral of a function, you should be told which is the interval of definition. If not, things like that can happen.

As you know, if we take $f(x)=\frac1x$ in $(0,+\infty)$, then $\int f(x) dx=\ln x + C$, but if we define $f$ in $(-\infty, 0)$, then we would obtain $\int f(x) dx=\ln(-x)+C$.

In your case, I assume you are using the substitution $x=3\sec \theta$, with $x\in[-3,3]$, so $\theta\in[0,\pi]$. And $\tan \theta<0$ when $\theta\in[\frac\pi2, \pi]$. So it does depend on the interval, as you said. But in this case, I think you're supposed to forget about it and assume $\sqrt{\tan^2\theta}=\tan \theta$.

  • 0
    From the first function, obviously $\theta\notin[-3,3]$. The negative antiderivative comes when $\theta\in(-\infty,-3)$2017-01-10