Question
Mathematics Question on integral
Integrate the function: (x−a)(x−b)1
Answer
(x-a)(x-b) can be written as x2 - (a+b)x + ab.
Therefore,
x2- (a+b)x + ab
= x2- (a+b)x + 4(a+b)2 - 4(a+b)2 + ab
= [x-(2a+b)]2 - 4(a−b)2
⇒ ∫$$\frac {1}{\sqrt {(x-a)(x-b)}}\ dx = ∫x−(2a+b)2−(2a−b)21dx
Let x - (2a+b) = t
∴ dx = dt
⇒ ∫x−(2a+b)2−(2a−b)21dx = ∫t2−(2a−b)21dt
= log ∣t+t2−(2a−b)2∣+C
= log ∣x−(2a+b)+(x−a)(x−b)∣+C