01 / 21

Advanced
Integration Techniques

Master substitution and integration by parts: the two essential tools for evaluating complex integrals at the Higher Level.

IB Mathematics: Analysis and Approaches

Why Do We Need New Techniques?

Many integrals cannot be evaluated with standard antiderivatives alone. When the integrand is a composition of functions or a product of different function types, basic rules fall short.

Substitution
Reverses the chain rule: handles compositions like \(\int \sin(3x)\,dx\)
By Parts
Reverses the product rule: handles products like \(\int x\,e^x\,dx\)

The Idea Behind Substitution

Substitution simplifies an integral by replacing a complex inner expression with a single variable \(u\). It is the reverse of the chain rule:

We set \(u = g(x)\), so \(du = g'(x)\,dx\), and the integral becomes \(\int F'(u)\,du\), which is straightforward.

Substitution Flowchart

Identify inner function
\(u = g(x)\)
Find \(du = g'(x)\,dx\)
Rewrite integral
Replace all \(x\) with \(u\)
Integrate in \(u\), back-sub
Example Evaluate: \(\displaystyle\int 2x\cos(x^2)\,dx\) \(u = x^2,\; du = 2x\,dx\) \(\displaystyle= \int \cos(u)\,du\) \(\displaystyle= \sin(u) + C\) \(\displaystyle= \sin(x^2) + C\)

Integration by Parts Formula

Integration by parts reverses the product rule. If \(u\) and \(v\) are differentiable functions of \(x\):

The goal is to choose \(u\) and \(dv\) so that the new integral \(\int v\,du\) is simpler than the original.

Choosing \(u\): The LIATE Rule

When deciding which factor to set as \(u\), use the LIATE priority list. Choose \(u\) as the function highest on this list:

L
Logarithmic: \(\ln x,\;\log x\)
I
Inverse trig: \(\arctan x,\;\arcsin x\)
A
Algebraic: \(x,\;x^2,\;x^3 + 1\)
T
Trigonometric: \(\sin x,\;\cos x\)
E
Exponential: \(e^x,\;2^x\)

Substitution vs By Parts

Substitution Integration by Parts
Reverses Chain rule Product rule
Best when Integrand is a composition Integrand is a product
Key signal Derivative of inner function present Two different function types multiplied
Formula \(u = g(x),\;du = g'(x)\,dx\) \(\int u\,dv = uv - \int v\,du\)
Example \(\int xe^{x^2}\,dx\) \(\int xe^{x}\,dx\)

Step-by-Step Substitution

1
Spot the inner function \(g(x)\) and set \(u = g(x)\).
2
Differentiate: \(du = g'(x)\,dx\). Solve for \(dx\) if needed.
3
Rewrite the entire integral in terms of \(u\) and \(du\). No \(x\) should remain.
4
Integrate with respect to \(u\).
5
Back-substitute \(u = g(x)\) to express the answer in terms of \(x\). Add \(+C\).

Step-by-Step By Parts

1
Identify two factors. Use LIATE to choose \(u\); the rest is \(dv\).
2
Differentiate \(u\) to get \(du\). Integrate \(dv\) to get \(v\).
3
Apply the formula: \(\int u\,dv = uv - \int v\,du\).
4
Evaluate the remaining integral (use standard rules, substitution, or repeat by parts).
5
Simplify and add \(+C\).

Example 1: Substitution

1
Let \(u = 1 + e^x\), so \(du = e^x\,dx\).
2
The integral becomes \(\displaystyle\int \frac{1}{u}\,du\).
3
Integrate: \(\ln|u| + C\).
4
Back-substitute: \(\ln(1 + e^x) + C\).

Example 2: By Parts

Choose \(u\) and \(dv\)
\(u = x\) (algebraic), \(dv = \sin x\,dx\)
\(du = dx\), \(v = -\cos x\)
Apply formula
\(= x(-\cos x) - \int (-\cos x)\,dx\)
\(= -x\cos x + \sin x + C\)

Example 3: \(\ln x\) by Parts

1
By LIATE: \(u = \ln x\), \(dv = dx\). Then \(du = \frac{1}{x}\,dx\), \(v = x\).
2
Apply: \(\displaystyle x\ln x - \int x\cdot\frac{1}{x}\,dx = x\ln x - \int 1\,dx\).
3
Result: \(x\ln x - x + C\).

Definite Integrals with Substitution

1
Let \(u = x^2 + 1\), \(du = 2x\,dx\), so \(x\,dx = \tfrac{1}{2}\,du\).
2
Change limits: When \(x=0\): \(u=1\). When \(x=2\): \(u=5\).
3
\(\displaystyle\frac{1}{2}\int_1^5 u^{1/2}\,du = \frac{1}{2}\cdot\frac{2}{3}\Big[u^{3/2}\Big]_1^5 = \frac{1}{3}(5\sqrt{5}-1)\).

Repeated By Parts: \(\int x^2 e^x\,dx\)

Sometimes one application is not enough. Apply by parts repeatedly until the algebraic factor is eliminated.

1
First round: \(u=x^2,\;dv=e^x dx\). Get \(x^2 e^x - \int 2xe^x\,dx\).
2
Second round: \(u=2x,\;dv=e^x dx\). Get \(2xe^x - \int 2e^x\,dx\).
3
Combine: \(x^2 e^x - 2xe^x + 2e^x + C = e^x(x^2 - 2x + 2) + C\).

Common Mistakes to Avoid

✕ Forgetting \(dx\) conversion
In substitution, you must replace \(dx\) with \(\frac{du}{g'(x)}\). Leaving leftover \(x\)-terms invalidates the integral.
✕ Wrong LIATE choice
Choosing \(u = e^x\) and \(dv = x\,dx\) makes the integral harder, not simpler. Follow LIATE priority.
✕ Unchanged limits
In definite integrals with substitution, the limits must change from \(x\)-values to \(u\)-values. Using old limits gives wrong answers.

Summary of Key Results

Integral Technique Result
\(\int f(g(x))g'(x)\,dx\) Substitution \(F(g(x))+C\)
\(\int x e^x\,dx\) By parts \(e^x(x-1)+C\)
\(\int \ln x\,dx\) By parts \(x\ln x - x + C\)
\(\int x\sin x\,dx\) By parts \(-x\cos x + \sin x + C\)
\(\int x^n e^x\,dx\) Repeated by parts \(n\) rounds needed

Question 1 of 5

Evaluate \(\displaystyle\int 3x^2\cos(x^3)\,dx\).

Question 2 of 5

Evaluate \(\displaystyle\int x\,e^{2x}\,dx\).

Question 3 of 5

Which technique is most appropriate for \(\displaystyle\int \frac{\cos(\ln x)}{x}\,dx\)?

Question 4 of 5

Evaluate \(\displaystyle\int_0^1 x\,e^x\,dx\).

Question 5 of 5

What is \(\displaystyle\int x^2\ln x\,dx\)?