Solution
Factorise the denominator:
x2−9=(x+3)(x−3)
Using partial fractions,
(x+3)(x−3)1=x+3A+x−3B
Multiplying both sides by (x+3)(x−3),
1=A(x−3)+B(x+3)
Putting x=3,
1=6B
Therefore,
B=61
Putting x=−3,
1=−6A
Therefore,
A=−61
Hence,
x2−91=−6(x+3)1+6(x−3)1
Integrating both sides,
∫x2−91dx=−61∫x+31dx+61∫x−31dx=−61log∣x+3∣+61log∣x−3∣+C
Using the logarithmic property,
∫x2−91dx=61logx+3x−3+C