In this section we discuss how to compute indefinite integrals involving the square root of a quadratic polynomial or its reciprocal. The idea is to convert the integrand, via a suitable substitution, into a trigonometric function which can be handled by the techniques discussed in Section 3.2. This idea works for quadratic polynomials because the Pythagorean theorem imposes a quadratic relation on the sides of a right triangle.
By factoring out the leading coefficient and completing the square, we can assume the quadratic polynomial involved has leading coefficient is 1 and has no linear term. Over the real numbers, the square root of such a quadratic polynomial is in one of the following three forms: (i)\(\sqrt{a^2-x^2}, (ii) \sqrt{x^2-a^2}\) or (iii) \(\sqrt{x^2+a^2}\
(a > 0)\text{.}\) We associate to each case a right-triangle that reminds us of the corresponding substitution.
It should be pointed out that the choice of the trigonometric functions is not unique. For instance, the substitution \(u=a\cot(\theta)\) works as well as the substitution \(u=a\tan(\theta)\) in dealing with an integral involving \(\sqrt{a^2+u^2}\text{.}\)
The substitution \(u = a\sin(\theta)\) turns \(\sqrt{a^2-u^2}\text{,}\) into
Let us compute \(\ds \int \frac{dx}{(x^2+9)^2}\text{.}\) The discussion above suggests the substitution \(x = 3\tan \theta\text{.}\) So, \(dx =
3\sec^2(\theta)d\theta\) and \(x^2 + 9 = 9\sec^2(\theta)\text{.}\) Thus,
Here is an integral involving \(\sqrt{x^2-a^2}\text{.}\)
Example3.29.
Let us compute \(\ds \int \frac{dx}{x\sqrt{x^2-1}}\text{.}\) This time the domain of the integrand consists of two intervals. We handle the integral on each interval separately. First on \(x \gt 1\text{,}\) with the substitution \(x = \sec(\theta) (0 \lt \theta \lt \pi/2)\) suggested by the diagram Figure 3.26,
On \(x \lt -1\text{,}\)\(\pi/2 \lt \theta \lt \pi\) and \(|\tan(\theta)| = -\tan(\theta)\text{.}\) So, the integral equals \(-\asec(x)+C\text{.}\) Putting these together, we get
Completing the square yields \(4x^2 + 8x -5= 4(x+1)^2 -
9\text{.}\) So, the substitution \(u=2(x+1)\) turns the integral into
\begin{equation*}
\frac{1}{2} \int \frac{1}{\sqrt{u^2-9}} du.
\end{equation*}
Note that the integrand \(f(u) = 1/\sqrt{u^2-9}\) is an even function of \(u\text{,}\) so if \(F(u)\) is an antiderivative of \(f(u)\) on \(u
\gt 3\text{,}\) then \(-F(-u)\) would be an anti-derivative \(f(u)\) on \(u \lt 3\text{.}\) On \(u \gt 3\text{,}\) we can evaluate the integral by the substitution \(u=3\sec(\theta)\text{:}\)
Let \(F(u)\) be the anti-derivative of \(f(u)\) displayed above. Then \(\frac{F(u)-F(-u)}{2}\) will be an odd antiderivative of \(f(u)\) on the whole domain of \(f(u)\text{.}\) Note that