Example 3.29.
To compute \(\ds \int \frac{dx}{(x^2+9)^2}\text{,}\) let \(x = 3\tan \theta\text{.}\) Then \(dx = 3\sec^2(\theta)d\theta\) and \(x^2 + 9 = 9\sec^2(\theta)\text{.}\) Thus,
\begin{equation*}
\begin{aligned}
\int \frac{dx}{(x^2+9)^2} &= \int
\frac{3\sec^2\theta}{(9\sec^2\theta)^2} d\theta = \frac{1}{27}\int
\cos^2(\theta)d\theta.
\end{aligned}
\end{equation*}
Using the half-angle identity from SectionΒ 3.2, we obtain
\begin{equation*}
\begin{aligned}
\int \cos^2(\theta)d\theta &= \int \frac{\cos(2\theta) +1}{2}
d\theta \\
&= \frac{1}{2}\left( \frac{1}{2}\sin(2\theta)
+ \theta \right) +C \\
&= \frac{1}{2}\left(
\sin\theta\cos\theta + \theta \right) + C.
\end{aligned}
\end{equation*}
From the tangent-substitution triangle above (with \(a=3\)), \(\theta = \arctan(x/3)\) and:
\begin{equation*}
\sin(\theta)\cos(\theta) = \frac{x}{\sqrt{x^2+9}}\frac{3}{\sqrt{x^2+9}}
= \frac{3x}{x^2+9}.
\end{equation*}
Hence,
\begin{equation*}
\int \frac{dx}{(x^2+9)^2} = \frac{1}{54}\left(\frac{3x}{x^2+9} +
\arctan
\left( \frac{x}{3} \right)\right) + C.
\end{equation*}
