Solution:
Key idea: When the numerator and denominator have the same degree, divide first. Here 2y2 is rewritten using y2+4, leaving a constant plus a fraction of the special form ∫y2+a2dy=a1tan−1ay.
Step 1 — Rewrite the numerator.
We add and subtract 8 in the numerator so that 2(y2+4) appears.
y2+42y2=y2+42(y2+4)−8
y2+42y2=2−y2+48
Step 2 — Integrate each part.
The integral of 2 is 2y. For the second part we use the special form with a=2.
∫y2+228dy=8⋅21tan−12y
∫y2+228dy=4tan−12y
Step 3 — Combine the parts.
We subtract the second result from 2y and add the constant of integration.
I=2y−4tan−12y+C
Therefore, ∫y2+42y2dy=2y−4tan−1(2y)+C.