MTH 102 · Elementary Mathematics II
Our notes
2 min read1. 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
-
Calculus Volume 1, 5.5 Substitution
(opens openstax.org in a new tab)
OpenStax, Calculus Volume 1, 5.5 Substitution, CC BY-NC-SA 4.0 · licence
-
Calculus Volume 2, 3.1 Integration by Parts
(opens openstax.org in a new tab)
OpenStax, Calculus Volume 2, 3.1 Integration by Parts, CC BY-NC-SA 4.0 · licence
-
Calculus Volume 2, 3.4 Partial Fractions
(opens openstax.org in a new tab)
OpenStax, Calculus Volume 2, 3.4 Partial Fractions, CC BY-NC-SA 4.0 · licence
-
Single Variable Calculus (18.01SC)
A full MIT course: lecture videos, notes and problem sets with solutions. Harder than 100 level in places.
(opens ocw.mit.edu in a new tab)
MIT OpenCourseWare, Single Variable Calculus (18.01SC), CC BY-NC-SA 4.0 · licence
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.