x2+4 has no real zeros, since x2+4≥4, so it cannot split further and gets a linear numerator. Clearing denominators gives 3x2+2x+5=A(x2+4)+(Bx+C)(x−1).
2
Find A
x=1 removes the second term and leaves 10=5A, so A=2.
1+43+2+5=2
3
Find B and C
Subtracting 2(x2+4) from the numerator leaves x2+2x−3. That must equal (Bx+C)(x−1), and x2+2x−3=(x−1)(x+3), so Bx+C=x+3.
(x−1)(x2+4)3x2+2x+5x−12+x2+4x+3
4
Integrate each piece
Split (x+3)/(x2+4) into x/(x2+4), which gives (1/2)ln(x2+4) by substitution, and 3/(x2+4), which gives (3/2)arctan(x/2).x2+4 is always positive, so its logarithm needs no absolute value.
Result
∫(3x2+2x+5)/((x−1)(x2+4)) dx=2ln∣x−1∣+(1/2)ln(x2+4)+(3/2)arctan(x/2)+C, for x=1.
Your turn
1. One like the example
Find ∫(2x2+x+4)/((x+1)(x2+4)) dx.
Show the answer and explanation
ln∣x+1∣+21ln(x2+4)+C.
Write 2x2+x+4=A(x2+4)+(Bx+C)(x+1). At x=−1,5=5A, so A=1. Subtracting x2+4 leaves x2+x=x(x+1), so Bx+C=x. The pieces 1/(x+1) and x/(x2+4) give ln∣x+1∣ and (1/2)ln(x2+4).
∫(x+1)(x2+4)2x2+x+4dxln∣x+1∣+21ln(x2+4)+C
∫(x+1)(x2+4)2x2+x+4dx=ln∣x+1∣+21ln(x2+4)+C
2. A variation
Find ∫(3x+2)/(x2+9) dx. There is no linear factor, only the quadratic.
Show the answer and explanation
(3/2)ln(x2+9)+(2/3)arctan(x/3)+C.
Split the numerator. 3x/(x2+9) is (3/2) times 2x/(x2+9), which gives (3/2)ln(x2+9) by substitution. 2/(x2+9) gives 2⋅(1/3)arctan(x/3).
∫x2+93x+2dx23ln(x2+9)+32arctan3x+C
3. Somewhere new
Find the area under y=1/(x2+4) from x=0 to x=2.
Show the answer and explanation
π/8≈0.393 square units.
An antiderivative is (1/2)arctan(x/2). At x=2 it is (1/2)arctan1=1/2⋅π/4=π/8, and at x=0 it is 0. The area is π/8.
∫02x2+41dx[21arctan2x]028π8π≈0.393
Keep exploring
Check it by differentiating in Math: for x>1, the derivative of the answer is the integrand, and the last row reads ✓.