Exercise 3.5 Examples – 12th Class Math Federal Board (Integration by Partial Fractions)

All textbook examples for Exercise 3.5 (Integration by Partial Fractions) of Chapter 3: Integration, 12th class Mathematics, Federal Board (FBISE). All 3 examples are worked step by step, with the final answers highlighted.
Worked textbook examples
Example 17Evaluate $\int\dfrac{x^3-2x}{x^2+3x+2}\,dx$.
Solution:
Integrate the quotient and the two fractions.
Example 18Evaluate $\int\dfrac{x^2+2x+4}{(x+1)^3}\,dx$.
Solution:
Multiply by $(x+1)^3$ and expand.
Compare the coefficients of like powers of $x$.
So $A=1$, $B=0$ and $C=3$.
Example 19Evaluate $\int\dfrac{3x^2+5x+3}{(x+2)(x^2+1)}\,dx$.
Solution:
Multiply by $(x+2)(x^2+1)$ and collect like powers of $x$.
Equate the coefficients.
Solving these equations gives $A=1$, $B=2$ and $C=1$.
For the middle term, $u=x^2+1$ gives $du=2x\,dx$.