Skip to main content
WalesMathsSyllabus dot point

How do we integrate by parts, by substitution, and using partial fractions, and the standard functions?

Integrating standard functions, integration by substitution, integration by parts, integration using partial fractions, and definite integrals for areas.

A focused answer to WJEC A2 Unit 3 integration, covering integrating standard functions, integration by substitution, integration by parts, integration using partial fractions, and definite integrals for areas.

Generated by Claude Opus 4.814 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Examples in context
  4. Try this

What this dot point is asking

WJEC wants you to integrate the standard functions (powers, ex\mathrm{e}^x, 1x\dfrac{1}{x}, sinx\sin x, cosx\cos x), and to use the three main techniques: integration by substitution, integration by parts, and integration using partial fractions. You also evaluate definite integrals for areas. These techniques are the toolkit for the differential equations in this unit and the applied work in Unit 4.

The answer

Standard integrals

Integration by substitution

Substitution reverses the chain rule. Choose a new variable uu (often the inside of a composite function), differentiate to get dudx\dfrac{du}{dx}, and replace both the function and dxdx so the integral is entirely in uu.

Integration by parts

By parts reverses the product rule and is used for products like xexx\mathrm{e}^x, xsinxx\sin x and xlnxx\ln x.

Choose uu to be the factor that gets simpler when differentiated (often the polynomial, or lnx\ln x), and dvdx\dfrac{dv}{dx} to be the factor you can integrate.

Examples in context

Example 1. Area under an exponential
The area under y=e2xy = \mathrm{e}^{2x} from x=0x = 0 to x=1x = 1 is 01e2xdx=[12e2x]01=12(e21)3.19\displaystyle\int_0^1 \mathrm{e}^{2x}\,dx = \left[\tfrac{1}{2}\mathrm{e}^{2x}\right]_0^1 = \tfrac{1}{2}(\mathrm{e}^2 - 1) \approx 3.19. The standard exponential integral, with the 12\tfrac{1}{2} from the chain rule in reverse, gives the area directly.
Example 2. A logarithmic integral
2xx2+1dx\displaystyle\int \dfrac{2x}{x^2 + 1}\,dx has the derivative of the denominator on top, so it equals ln(x2+1)+c\ln(x^2 + 1) + c. Recognising the f(x)f(x)\dfrac{f'(x)}{f(x)} pattern shortcuts the substitution entirely.
Example 3. Choosing the technique
Faced with xsinxdx\displaystyle\int x\sin x\,dx, the integrand is a product of a polynomial and a trig function, so by parts is the route, with u=xu = x. Faced with 1x21dx\displaystyle\int \dfrac{1}{x^2 - 1}\,dx, the denominator factorises as (x1)(x+1)(x-1)(x+1), so partial fractions is the route. Faced with 2x(x2+1)5dx\displaystyle\int 2x(x^2+1)^5\,dx, the inner function and its derivative are both present, so substitution is the route. Matching the integrand to the technique is half the battle.

Try this

Q1. Find e4xdx\displaystyle\int \mathrm{e}^{4x}\,dx. [2 marks]

  • Cue. 14e4x+c\dfrac{1}{4}\mathrm{e}^{4x} + c.

Q2. Find xexdx\displaystyle\int x\mathrm{e}^x\,dx by parts. [3 marks]

  • Cue. u=xu = x, v=exv = \mathrm{e}^x: xexexdx=xexex+cx\mathrm{e}^x - \int \mathrm{e}^x\,dx = x\mathrm{e}^x - \mathrm{e}^x + c.

Q3. Find 3x2x3+2dx\displaystyle\int \dfrac{3x^2}{x^3 + 2}\,dx. [2 marks]

  • Cue. The top is the derivative of the bottom, so the integral is lnx3+2+c\ln|x^3 + 2| + c.

Exam-style practice questions

Practice questions written in the style of WJEC exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

WJEC A2 style5 marksFind xcosxdx\displaystyle\int x\cos x \, dx using integration by parts.
Show worked answer →

Choose uu to be the part that simplifies when differentiated, and dvdx\dfrac{dv}{dx} to be the part you can integrate.

Let u=xu = x and dvdx=cosx\dfrac{dv}{dx} = \cos x.

Then dudx=1\dfrac{du}{dx} = 1 and v=sinxv = \sin x.

By parts: udvdxdx=uvvdudxdx=xsinxsinxdx\displaystyle\int u\dfrac{dv}{dx}\,dx = uv - \int v\dfrac{du}{dx}\,dx = x\sin x - \int \sin x\,dx.

=xsinx(cosx)+c=xsinx+cosx+c= x\sin x - (-\cos x) + c = x\sin x + \cos x + c.

Markers reward choosing u=xu = x (so its derivative is simpler), applying the by-parts formula correctly, and integrating sinx\sin x to cosx-\cos x. Choosing u=cosxu = \cos x makes the integral harder, not easier.

WJEC A2 style5 marksUse the substitution u=x2+1u = x^2 + 1 to find 2x(x2+1)3dx\displaystyle\int 2x(x^2 + 1)^3 \, dx.
Show worked answer →

Substitute to turn the integral into a power of uu, replacing dxdx via dudu.

Let u=x2+1u = x^2 + 1, so dudx=2x\dfrac{du}{dx} = 2x, which gives du=2xdxdu = 2x\,dx.

The integral becomes u3du\displaystyle\int u^3 \, du (the 2xdx2x\,dx is exactly dudu).

=u44+c= \dfrac{u^4}{4} + c.

Substitute back: =(x2+1)44+c= \dfrac{(x^2 + 1)^4}{4} + c.

Markers reward the substitution, recognising that 2xdx=du2x\,dx = du so the integral simplifies cleanly to a power of uu, integrating, and substituting back. Forgetting to replace dxdx correctly is the usual error.

Related dot points

Sources & how we know this