A levels Mathematics · Pure: calculus and numerical methods
Integration by substitution and by parts
1Integration as the reverse
Integration reverses differentiation. If $\dfrac{d}{dx}F(x) = f(x)$, then
$$\int f(x)\,dx = F(x) + c$$
The constant of integration $c$ is needed because constants vanish when you differentiate.
Standard integrals:
- $\displaystyle\int x^n\,dx = \frac{x^{n+1}}{n + 1} + c$ for $n \neq -1$
- $\displaystyle\int \frac{1}{x}\,dx = \ln|x| + c$
- $\displaystyle\int e^{kx}\,dx = \frac{1}{k}e^{kx} + c$
- $\displaystyle\int \cos kx\,dx = \frac{1}{k}\sin kx + c$ and $\displaystyle\int \sin kx\,dx = -\frac{1}{k}\cos kx + c$
- $\displaystyle\int \sec^2 kx\,dx = \frac{1}{k}\tan kx + c$
For a linear inside, divide by its coefficient: $\displaystyle\int (3x + 2)^4\,dx = \frac{(3x + 2)^5}{15} + c$.
Check yourself
What is ∫ e^(4x) dx?
Show the answer
¼e^(4x) + c
Divide by the coefficient of x.
2Recognising reverse chain rule
Some integrals have the form $f'(x) \times$ (something of $f(x)$). Spot them by inspection:
$$\int \frac{f'(x)}{f(x)}\,dx = \ln|f(x)| + c$$
$$\int f'(x)[f(x)]^n\,dx = \frac{[f(x)]^{n+1}}{n + 1} + c$$
A log integral
- $\displaystyle\int \frac{2x}{x^2 + 5}\,dx = \ln(x^2 + 5) + c$, since the top is the derivative of the bottom.
- $\displaystyle\int \tan x\,dx = \int \frac{\sin x}{\cos x}\,dx = -\ln|\cos x| + c = \ln|\sec x| + c$.
Adjusting a constant
- $\displaystyle\int x(x^2 + 1)^3\,dx$: try $(x^2 + 1)^4$, which differentiates to $8x(x^2 + 1)^3$.
- So the integral is $\frac{1}{8}(x^2 + 1)^4 + c$.
Always check by differentiating your answer.
Check yourself
What is ∫ 3x²/(x³ + 1) dx?
Show the answer
ln|x³ + 1| + c
The numerator is the derivative of the denominator.
3Integration by substitution
When inspection is hard, substitute $u = g(x)$:
- Choose $u$ (often the inside of a bracket or root).
- Find $\dfrac{du}{dx}$ and replace $dx$ with $\dfrac{du}{g'(x)}$.
- Write everything in terms of $u$ and integrate.
- Substitute back, or change the limits for a definite integral.
A root
- $\displaystyle\int x\sqrt{x - 1}\,dx$. Let $u = x - 1$, so $x = u + 1$ and $dx = du$.
- $\displaystyle\int (u + 1)u^{1/2}\,du = \int (u^{3/2} + u^{1/2})\,du$.
- $= \frac{2}{5}u^{5/2} + \frac{2}{3}u^{3/2} + c = \frac{2}{5}(x - 1)^{5/2} + \frac{2}{3}(x - 1)^{3/2} + c$.
Check yourself
In a substitution u = 2x + 1, what is dx?
Show the answer
du/2
du/dx = 2.
4Definite integrals by substitution
For a definite integral, change the limits into $u$-values, so you never need to substitute back.
Changing limits
- $\displaystyle\int_0^2 \frac{x}{(x^2 + 1)^2}\,dx$. Let $u = x^2 + 1$, $du = 2x\,dx$.
- Limits: $x = 0 \Rightarrow u = 1$; $x = 2 \Rightarrow u = 5$.
- $\displaystyle\frac{1}{2}\int_1^5 u^{-2}\,du = \frac{1}{2}\left[-\frac{1}{u}\right]_1^5 = \frac{1}{2}\left(-\frac{1}{5} + 1\right) = \frac{2}{5}$.
A trig substitution
- $\displaystyle\int_0^{\pi/2} \sin x\cos^3 x\,dx$. Let $u = \cos x$, $du = -\sin x\,dx$.
- Limits: $x = 0 \Rightarrow u = 1$; $x = \frac{\pi}{2} \Rightarrow u = 0$.
- $\displaystyle\int_1^0 -u^3\,du = \int_0^1 u^3\,du = \frac{1}{4}$.
Check yourself
When using substitution in a definite integral, what should you do with the limits?
Show the answer
Convert them into values of u
Then there is no need to substitute back.
5Integration by parts
Integration by parts reverses the product rule:
$$\int u\frac{dv}{dx}\,dx = uv - \int v\frac{du}{dx}\,dx$$
Choose $u$ to be the part that becomes simpler when differentiated. A useful order: Logs, Algebra (powers of $x$), Trig, Exponentials (LATE): pick $u$ from earlier in the list.
x eˣ
- $\displaystyle\int xe^x\,dx$. $u = x$, $\dfrac{dv}{dx} = e^x$, so $\dfrac{du}{dx} = 1$, $v = e^x$.
- $= xe^x - \int e^x\,dx = xe^x - e^x + c$.
ln x
- $\displaystyle\int \ln x\,dx = \int 1 \cdot \ln x\,dx$. $u = \ln x$, $\dfrac{dv}{dx} = 1$.
- $= x\ln x - \int x \cdot \dfrac{1}{x}\,dx = x\ln x - x + c$.
Check yourself
For ∫ x cos x dx, which part should be u?
Show the answer
x
Differentiating x makes it simpler.
6Parts twice and choosing a method
Sometimes you apply parts twice.
x² eˣ
- $\displaystyle\int x^2e^x\,dx = x^2e^x - \int 2xe^x\,dx$.
- $\displaystyle\int 2xe^x\,dx = 2xe^x - 2e^x$.
- So $\displaystyle\int x^2e^x\,dx = e^x(x^2 - 2x + 2) + c$.
A definite integral by parts
- $\displaystyle\int_1^e x\ln x\,dx$. $u = \ln x$, $\dfrac{dv}{dx} = x$, $v = \frac{x^2}{2}$.
- $= \left[\frac{x^2}{2}\ln x\right]_1^e - \displaystyle\int_1^e \frac{x}{2}\,dx = \frac{e^2}{2} - \left[\frac{x^2}{4}\right]_1^e$.
- $= \frac{e^2}{2} - \frac{e^2}{4} + \frac{1}{4} = \frac{e^2 + 1}{4}$.
Choosing a method: try standard results, then inspection, then substitution, then parts. Partial fractions help with rational functions, and identities help with $\sin^2 x$ (use $\sin^2 x = \frac{1}{2}(1 - \cos 2x)$).
Check yourself
How do you integrate sin²x?
Show the answer
Use sin²x = ½(1 − cos 2x)
A double angle identity turns it into simple terms.
Now test yourself
This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.
Practise in Impera