Question
Mathematics Question on integral
Integrate the function: x2−1x+2
Answer
Let x+2 = Adxd(x2-1) + B .....(1)
⇒ x+2 = A(2x)+B
Equating the coefficients of x and constant term on both sides, we obtain
2A = 1 ⇒ A = 21
B = 2
From (1), we obtain
(x+2) = 21(2x)+2
Then, ∫$$\frac {x+2}{\sqrt {x^2-1}}\ dx = ∫x2−121(2x)+2 .....(2)
In 21∫x2−12x dx dx, let x2-1 = t ⇒ 2x dx = dt
21∫x2−12x dx= 21∫tdt
= 21[2t]
=t
=x2−1
Then, ∫x2−12 dx = 2∫x2−1x dx = 2 log ∣x+x2−1∣
From equation (2), we obtain
∫$$\frac {x+2}{\sqrt {x^2-1}}\ dx = x2−1+2 log ∣x+x2−1∣+C