This question offers a choice. Alternative 1 integrates a rational function by partial fractions. Alternative 2 evaluates a definite integral of an absolute-value function by splitting at the point where the expression inside changes sign.
Alternative 1 — integrate (x2−1)(2x+3)2x−3:
Factor x2−1=(x−1)(x+1), so the denominator is (x−1)(x+1)(2x+3). Write the partial fraction decomposition:
(x−1)(x+1)(2x+3)2x−3=x−1A+x+1B+2x+3C
Multiplying through:
2x−3=A(x+1)(2x+3)+B(x−1)(2x+3)+C(x−1)(x+1)
Plug in convenient values of x:
- x=1: 2−3=−1=A(2)(5)=10A⇒A=−101
- x=−1: −2−3=−5=B(−2)(1)=−2B⇒B=25
- x=−23: −3−3=−6=C(−25)(−21)=C⋅45⇒C=−524
So:
∫(x2−1)(2x+3)2x−3dx=∫[x−1−1/10+x+15/2+2x+3−24/5]dx
=−101ln∣x−1∣+25ln∣x+1∣−524⋅21ln∣2x+3∣+C
=−101ln∣x−1∣+25ln∣x+1∣−512ln∣2x+3∣+C
Alternative 2 — evaluate ∫−55∣x+2∣dx:
The expression x+2 changes sign at x=−2, which lies inside [−5,5]. So split the integral there:
∫−55∣x+2∣dx=∫−5−2−(x+2)dx+∫−25(x+2)dx
First piece:
∫−5−2−(x+2)dx=−[2x2+2x]−5−2=−[(−2)−(2.5)]=−(−4.5)=4.5
Second piece:
∫−25(x+2)dx=[2x2+2x]−25=(22.5)−(−2)=24.5
Total:
4.5+24.5=29
(Geometrically, this is the sum of two right-triangle areas: one with legs 3,3 giving area 4.5, and one with legs 7,7 giving area 24.5.)