Evaluate the integral:
This problem involves integrating a rational function with an irreducible quadratic denominator. The key technique is completing the square to transform the denominator into the form , which allows us to use either a standard arctangent formula or trigonometric substitution.
First, we complete the square in the denominator:
\begin{align*} y^2 + 8y + 20 &= y^2 + 8y + 16 + 4 \\ &= (y+4)^2 + 4 \\ &= (y+4)^2 + 2^2 \end{align*}
So the integral becomes:
Now we apply the trigonometric substitution. Let:
Taking differentials:
Substituting into our integral:
\begin{align*} I &= \int \frac{2\sec^2\theta \, d\theta}{(2\tan\theta)^2 + (2)^2} \\ &= \int \frac{2\sec^2\theta \, d\theta}{4\tan^2\theta + 4} \\ &= \int \frac{2\sec^2\theta \, d\theta}{4(\tan^2\theta + 1)} \end{align*}
Using the Pythagorean identity :
\begin{align*} I &= \int \frac{2\sec^2\theta \, d\theta}{4\sec^2\theta} \\ &= \frac{1}{2} \int 1 \, d\theta \\ &= \frac{1}{2}\theta + C \end{align*}
To express the answer in terms of , we back-substitute. Since , we have:
Therefore:
Substituting this back into our result: