Solution:
Key idea: A fraction whose denominator is a single power of x is split into separate powers of x. Each power is integrated with ∫xndx=n+1xn+1 (n=−1), and the term in x1 with ∫x1dx=loge∣x∣. C is the constant of integration.
Step 1 — Expand the numerator.
We square the bracket using (a−b)2=a2−2ab+b2.
(x2−1)2=x4−2x2+1
Step 2 — Divide each term by x3.
Dividing term by term leaves powers of x only.
x3x4−2x2+1=x−x2+x−3
Step 3 — Integrate term by term.
The middle term is the x1 form, and the last term uses the power rule with n=−3.
∫(x−x2+x−3)dx=2x2−2loge∣x∣+−2x−2+C
∫(x−x2+x−3)dx=2x2−2x21−2loge∣x∣+C
Watch out: The power rule cannot be used for x1, because n=−1 would give division by zero; that term needs the logarithm.
Therefore, ∫x3(x2−1)2dx=2x2−2x21−2loge∣x∣+C (x=0).