All revision notes topics

5.16 Integration by substitution and by partsIB Maths: Analysis and Approaches HL: Revision notes

Section 1

Integration by substitution

Substitution reverses the chain rule. To integrate with u=g(x)u = g(x):

  1. Write dudx\dfrac{du}{dx} and replace dxdx (e.g. dx=dudx = du when u=x+3u = x + 3).
  2. Replace every xx in the integrand; you may need xx in terms of uu (x=u−3x = u - 3).
  3. For a definite integral, change the limits to uu-values.
  4. Integrate, and for an indefinite integral write the answer back in terms of xx.

∫16xx+3 dx=∫49(u−3)u1/2 du=[25u5/2−2u3/2]49=2325.\int_{1}^{6}x\sqrt{x + 3}\,dx = \int_{4}^{9}(u - 3)u^{1/2}\,du = \left[\tfrac{2}{5}u^{5/2} - 2u^{3/2}\right]_{4}^{9} = \frac{232}{5}. In IB exams, a substitution will be given if the integral is not of the recognisable form ∫kg′(x)f(g(x)) dx\displaystyle\int kg'(x)f(g(x))\,dx.

Key termssubstitutionchange of limits
Common mistake

Keeping the xx-limits after changing the variable to uu.

Common mistake

Leaving a mixture of xx and uu in the integrand. Every xx must go.

Section 2

Integration by parts

From the product rule: ∫udvdx dx=uv−∫vdudx dx.\int u\frac{dv}{dx}\,dx = uv - \int v\frac{du}{dx}\,dx. Choose uu to be the factor that becomes simpler when differentiated (often a power of xx), and dvdx\dfrac{dv}{dx} something you can integrate.

∫xsin⁡x dx=−xcos⁡x+∫cos⁡x dx=−xcos⁡x+sin⁡x+C.\int x\sin x\,dx = -x\cos x + \int\cos x\,dx = -x\cos x + \sin x + C. ∫x e3x dx=x3e3x−19e3x+C.\int x\,e^{3x}\,dx = \frac{x}{3}e^{3x} - \frac{1}{9}e^{3x} + C.

Key termsintegration by parts
Exam tip

Check by differentiating your answer: the product rule should give back the integrand.

Common mistake

Choosing u=e3xu = e^{3x} and dvdx=x\dfrac{dv}{dx} = x makes the new integral harder, not easier.

Section 3

The 'hidden 1' trick: ln x and arcsin x

Some single functions can only be integrated by parts, writing them as 1×1 \times the function and taking dvdx=1\dfrac{dv}{dx} = 1: ∫ln⁡x dx=xln⁡x−∫x⋅1x dx=xln⁡x−x+C.\int\ln x\,dx = x\ln x - \int x\cdot\frac{1}{x}\,dx = x\ln x - x + C. ∫arcsin⁡x dx=xarcsin⁡x−∫x1−x2 dx=xarcsin⁡x+1−x2+C.\int\arcsin x\,dx = x\arcsin x - \int\frac{x}{\sqrt{1 - x^{2}}}\,dx = x\arcsin x + \sqrt{1 - x^{2}} + C. The last integral is done by inspection (reverse chain rule).

Key termsdv/dx = 1

Section 4

Repeated integration by parts

If the new integral still needs parts, apply it again with the same type of choice.

Powers reduce: ∫x2ex dx=x2ex−2∫xex dx=ex(x2−2x+2)+C\displaystyle\int x^{2}e^{x}\,dx = x^{2}e^{x} - 2\int xe^{x}\,dx = e^{x}(x^{2} - 2x + 2) + C.

Cyclic integrals: for J=∫e−tsin⁡t dtJ = \displaystyle\int e^{-t}\sin t\,dt, two applications bring back JJ itself: J=−e−tsin⁡t−e−tcos⁡t−J⇒J=−12e−t(sin⁡t+cos⁡t)+C.J = -e^{-t}\sin t - e^{-t}\cos t - J \Rightarrow J = -\frac{1}{2}e^{-t}(\sin t + \cos t) + C. Collect the JJ terms and solve — don't keep integrating forever.

Key termscyclic integral
Common mistake

Swapping the choice of uu between the two applications (trig then exponential) just undoes the first step.

Exam tip

In kinematics, split ∫∣v∣ dt\int|v|\,dt where vv changes sign before using your antiderivative for total distance.

Must know

  • Substitution: replace dxdx and every xx, change the limits, answer in xx for indefinite integrals.
  • Parts: ∫uv′=uv−∫vu′\int uv' = uv - \int vu'; let uu be the factor that simplifies when differentiated.
  • ∫ln⁡x dx=xln⁡x−x+C\int\ln x\,dx = x\ln x - x + C (take dvdx=1\dfrac{dv}{dx} = 1).
  • Repeated parts reduce powers (x2exx^{2}e^{x}) or give a cyclic integral (exsin⁡xe^{x}\sin x) to solve for.

That's the notes covered.

Carry on to the next subtopic.