Solution:
Key idea: A proper rational function whose denominator factorises can be split into partial fractions: a linear factor (x−p) gets x−pA, a repeated factor (x−p)2 gets x−pA+(x−p)2B, and an irreducible quadratic gets quadraticBx+C. Each piece then integrates using ∫x−pdx=log∣x−p∣+C.
Step 1 — Set up the partial fractions.
The denominator has three different linear factors, so we need three constants.
(x−1)(x+2)(x−3)2x−1=x−1A+x+2B+x−3C
Clearing the denominators gives the identity below.
2x−1=A(x+2)(x−3)+B(x−1)(x−3)+C(x−1)(x+2)
Step 2 — Find A by putting x=1.
At x=1 the B and C terms vanish.
1A=A(3)(−2)=−61
Step 3 — Find B by putting x=−2.
At x=−2 the A and C terms vanish.
−5B=B(−3)(−5)=−31
Step 4 — Find C by putting x=3.
At x=3 the A and B terms vanish.
5C=C(2)(5)=21
Step 5 — Integrate each fraction.
Each term integrates to a constant times the log of its linear factor.
∫(x−1)(x+2)(x−3)2x−1dx=−61log∣x−1∣−31log∣x+2∣+21log∣x−3∣+C
Therefore, ∫(x−1)(x+2)(x−3)2x−1dx=−61log∣x−1∣−31log∣x+2∣+21log∣x−3∣+C.