UNIHIVE

Study Hub UNIPORT MTH 120

MTH 120 · Calculus

Substitution, parts and partial fractions

The three main methods and when to use each.

Our notes

2 min read

1. Integration by substitution

Choose u (often the "inside" function) so that its derivative appears in the integral.
Steps: let u = g(x); find du = g′(x) dx; rewrite everything in u; integrate; put x back.

Worked example. ∫ 2x(x² + 1)⁵ dx. Let u = x² + 1, du = 2x dx.
= ∫ u⁵ du = u⁶/6 + C = (x² + 1)⁶/6 + C.

Worked example. ∫ x/(x² + 4) dx. Let u = x² + 4, du = 2x dx, so x dx = du/2.
= (1/2) ∫ du/u = (1/2) ln(x² + 4) + C.

Worked example. ∫ sin x cos x dx. Let u = sin x, du = cos x dx. = ∫ u du = (1/2) sin²x + C.

Useful pattern: ∫ f′(x)/f(x) dx = ln|f(x)| + C.

2. Integration by parts

From the product rule: ∫ u dv = uv − ∫ v du.
Choose u to be the part that gets simpler when differentiated. A common order for choosing u is LIATE: Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential.

Worked example. ∫ x eˣ dx: u = x, dv = eˣ dx → du = dx, v = eˣ.
= x eˣ − ∫ eˣ dx = x eˣ − eˣ + C.

Worked example. ∫ x cos x dx: u = x, dv = cos x dx → v = sin x.
= x sin x − ∫ sin x dx = x sin x + cos x + C.

Worked example. ∫ ln x dx: u = ln x, dv = dx → du = dx/x, v = x.
= x ln x − ∫ 1 dx = x ln x − x + C.

3. Partial fractions

Split a rational function into simpler fractions, then integrate each (usually giving logs).

  • Distinct linear factors: (px + q)/((x − a)(x − b)) = A/(x − a) + B/(x − b).
  • Repeated factor: A/(x − a) + B/(x − a)².
  • If the top's degree is not less than the bottom's, divide first.

Worked example. ∫ 1/(x² − 1) dx. 1/((x − 1)(x + 1)) = A/(x − 1) + B/(x + 1).
1 = A(x + 1) + B(x − 1). x = 1: A = 1/2. x = −1: B = −1/2.
Integral = (1/2) ln|x − 1| − (1/2) ln|x + 1| + C = (1/2) ln|(x − 1)/(x + 1)| + C.

Worked example. ∫ (5x + 1)/((x + 1)(x − 1)) dx: 5x + 1 = A(x − 1) + B(x + 1). x = 1: B = 3. x = −1: A = 2.
= 2 ln|x + 1| + 3 ln|x − 1| + C.

4. Trigonometric identities

Use sin²x = (1 − cos 2x)/2 and cos²x = (1 + cos 2x)/2.
Worked example. ∫ sin²x dx = ∫ (1 − cos 2x)/2 dx = x/2 − (sin 2x)/4 + C.

Choosing a method

  • The derivative of an inner function is present → substitution.
  • A product of two different types (x eˣ, x sin x, ln x) → parts.
  • A fraction of polynomials with a factorable denominator → partial fractions.
  • Squares of sin or cos → double-angle identities.

Exams usually ask: integrate by substitution, by parts (including ln x) and by partial fractions; choose the right method.

Common mistake: in substitution, leaving some x's in the integral. Every x and dx must be changed into u and du.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All MTH 120 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.