The 'big' P4 topic: integration by substitution, by parts (possibly twice), via partial fractions; numerical integration (trapezium and Simpson); volumes of revolution; first-order differential equations (separable + integrating-factor). Together these account for 25-30 marks in every paper — knowing the techniques cold is the difference between a B and an A*.
What you’ll learn
Mapped to the Cambridge IGCSE XMA01-YMA01 syllabus (2026 onwards).
P4 5.1 — Integrate using partial fractions.
P4 5.2 — Integrate using substitution (including trigonometric substitutions).
P4 5.3 — Use integration by parts, including in two steps when necessary.
P4 5.4 — Use the trapezium rule and Simpson's rule for numerical integration.
P4 5.5 — Find volumes of revolution about the x-axis and y-axis; solve first-order separable and linear differential equations.
Integration via partial fractions
Decompose first, then each piece is a simple log or arctan.
Strategy.
Express the integrand as partial fractions (if needed, polynomial-divide first).
Integrate each piece using standard integrals.
Combine logs at the end if asked.
Standard pieces.
Form
Integral
x+a1
$\ln
(x+a)21
−x+a1+C
a2+x21
a1arctanax+C (formula booklet)
Worked example.∫(x−1)(x+3)4dx.
Decompose: x−11−x+31.
Integrate: ln∣x−1∣−ln∣x+3∣+C=lnx+3x−1+C.
With repeated factor.∫(x−1)(x+2)23x+1dx.
Partial fractions: x−14/9−x+24/9+(x+2)25/3.
Integrate: 94ln∣x−1∣−94ln∣x+2∣−x+25/3+C.
Partial fractions FIRST, then integrate term by term.
∫x+a1dx=ln∣x+a∣+C.
∫(x+a)21dx=−x+a1+C (no log).
Always include +C.
Integration by substitution
Spot a function and its derivative; substitute.
General principle. If you can spot f(g(x))⋅g′(x) in the integrand, substitute u=g(x), so du=g′(x)dx, and the integral becomes ∫f(u)du.
Common substitutions in P4.
Integrand contains
Try
(linear in x)n
u=the linear
1−x2
x=sinu
1+x2
x=tanu
x2−1
x=secu
f(sinx)cosx
u=sinx
f(cosx)sinx
u=cosx
f(x)f′(x)
direct: $\ln
Worked example 1.∫x(1+x2)5dx.
u=1+x2, du=2xdx, so xdx=du/2.
∫(1+x2)5⋅xdx=∫u5⋅2du=12u6+C=12(1+x2)6+C.
Worked example 2 (trig substitution).∫4−x21dx.
x=2sinu, dx=2cosudu. 4−x2=4(1−sin2u)=2cosu.
∫2cosu1⋅2cosudu=∫du=u+C=arcsin(x/2)+C.
Worked example 3 (definite, transforming limits).∫012xex2dx.
u=x2, du=2xdx. Limits: x=0→u=0; x=1→u=1.
∫01eudu=e−1.
Spot f(g(x))g′(x).
Transform dx→du via du=g′(x)dx.
Transform limits in definite integrals.
Substitute back to x for indefinite integrals.
Integration by parts
∫udv=uv−∫vdu. Pick u via LIATE.
Formula (in the booklet):
∫udv=uv−∫vdu.
Choosing u: use LIATE (Logarithm, Inverse trig, Algebraic, Trig, Exponential) — pick the type that comes EARLIEST in this list as u.
∫ Type
u
dv
∫xexdx
x (Algebraic)
exdx (Exp)
∫xlnxdx
lnx (Log)
xdx (Alg)
∫x2cosxdx
x2 (Alg)
cosxdx (Trig)
∫arctanxdx
arctanx (Inverse)
dx
Worked example 1.∫xe2xdx.
u=x, dv=e2xdx ⇒ du=dx, v=21e2x.
=21xe2x−∫21e2xdx=21xe2x−41e2x+C.
Worked example 2 (IBP twice).∫x2cosxdx.
First IBP: u=x2, dv=cosxdx ⇒ v=sinx, du=2xdx. ∫x2cosxdx=x2sinx−∫2xsinxdx.
Second IBP on ∫2xsinxdx: u=2x, dv=sinxdx ⇒ v=−cosx. ∫2xsinxdx=−2xcosx−∫−2cosxdx=−2xcosx+2sinx.
Simpson: n even only, much higher accuracy for smooth integrands.
Both formulae in the booklet.
Simpson requires n EVEN.
Strip width h=(b−a)/n.
n strips ⇒ n+1 ordinates.
Volumes of revolution
Stack discs along the axis of rotation.
About x-axis. Region under y=f(x), from x=a to x=b, rotated 360° about the x-axis:
V=π∫aby2dx.
About y-axis. Region between x=g(y) and the y-axis, from y=c to y=d, rotated 360° about the y-axis:
V=π∫cdx2dy.
Worked example 1.y=x2, 0≤x≤2, rotate about x-axis.
V=π∫02x4dx=π⋅532=532π.
Worked example 2. Region bounded by y=1+x2, y=0, x=0, x=2. Rotate about x-axis.
V=π∫02(1+x2)dx=π[x+3x3]02=π(2+8/3)=314π.
Worked example 3.y=x, 0≤y≤2, rotate about y-axis.
Need x in terms of y: x=y2. So x2=y4.
V=π∫02y4dy=π⋅532=532π.
Subtraction of volumes. Region between two curves, e.g. y=f(x) above and y=g(x) below, rotated about x-axis: V=π∫(f2−g2)dx.
x-axis: V=π∫y2dx.
y-axis: V=π∫x2dy — rearrange to x=g(y).
Both formulae are in the booklet.
Always exact-form the answer (leave π in).
Separable differential equations
Separate the variables, integrate both sides.
Form.dxdy=f(x)g(y).
Strategy.
Rewrite as g(y)1dy=f(x)dx.
Integrate both sides.
Add a single constant C.
Apply initial / boundary condition to find C.
Solve for y if asked.
Worked example 1.dxdy=2xy, y(0)=3.
Separate: y1dy=2xdx.
Integrate: ln∣y∣=x2+C.
IC: ln3=0+C ⇒ C=ln3.
ln∣y∣=x2+ln3, so ∣y∣=3ex2, and since y(0)=3>0, y=3ex2.
Worked example 2 (with growth rate). A population N(t) grows so that dtdN=0.05N, N(0)=1000. Find N(t).
Separate: N1dN=0.05dt ⇒ ln∣N∣=0.05t+C.
IC: ln1000=C. So lnN=0.05t+ln1000, N=1000e0.05t.
Worked example 3 (water tank). Tank drains: dtdh=−kh, h(0)=h0.
h1dh=−kdt ⇒ 2h=−kt+C.
C=2h0. So h=h0−kt/2, h(t)=(h0−kt/2)2.
Separate, integrate, find C from IC.
Single C (don't write C1,C2 on each side).
Solve explicitly for y if asked.
Modulus bars in ln until you know the sign.
First-order linear DE — integrating factor
Multiply by I=e∫P, then LHS is a product derivative.
Form.dxdy+P(x)y=Q(x).
Strategy.
Compute the integrating factor I=e∫Pdx.
Multiply through: Iy′+IPy=IQ.
The LHS is dxd(Iy) (by product rule, since dxdI=IP).
Integrate both sides: Iy=∫IQdx+C.
Solve for y.
Worked example 1.dxdy+xy=x2, x>0.
P=1/x, ∫Pdx=lnx, I=elnx=x.
Multiply: xy′+y=x3. LHS =dxd(xy).
Integrate: xy=4x4+C, so y=4x3+xC.
Worked example 2.dxdy+2y=ex, y(0)=1.
P=2, ∫Pdx=2x, I=e2x.
Multiply: e2xy′+2e2xy=e2x⋅ex=e3x.
LHS =dxd(e2xy). So e2xy=3e3x+C, giving y=3ex+Ce−2x.
IC: 1=1/3+C, so C=2/3. Final: y=3ex+2e−2x.
Spotting linear DEs. They look like y′+(function of x)y=(function of x). If the y-coefficient is constant, the IF is ePx; otherwise it depends on the form.
Standard form: y′+Py=Q.
I=e∫Pdx.
LHS becomes dxd(Iy) after multiplying.
Integrate, then solve for y.
How it’s examined
Integration is the LARGEST topic on WMA14/01 — typically 25-30 marks spread across multiple questions. Q8-Q11 are usually integration-heavy. Patterns: 'Use the substitution u=… to find ∫…' (6 marks); 'Find ∫x2exdx' (6 marks IBP twice); 'Use Simpson's rule with 4 strips' (3 marks); 'Find the volume of revolution' (6-7 marks); 'Solve the differential equation dxdy+Py=Q' (8-9 marks). Mark schemes are STRICT on modulus bars in logs, +C, and units (where relevant). A* candidates should aim for 28+/30 on the integration components.
Worked examples, formulae, definitions and the mistakes examiners flag — everything you need to push from a pass to an A*.
Take this whole topic with you
Download a branded revision sheet — worked examples, formulae, definitions and common mistakes for Integration, ready to print or save as PDF.
Step-by-step worked examples — Integration
Step-by-step solutions to past-paper-style questions on integration, written exactly the way a tutor would explain them at the board.
1Integration via partial fractions (6 marks, P4)
Core• Adapted from WMA14/01 January 2024 Q10• integration, partial fractions
▼
Question
Find ∫(x−1)(x+3)4dx.
Step-by-step solution
Step 1
Decompose into partial fractions: (x−1)(x+3)4=x−1A+x+3B.
Step 2
Cover-up: A=44=1 at x=1; B=−44=−1 at x=−3.
Step 3
So the integrand becomes x−11−x+31.
Step 4
Integrate term by term:
∫x−11dx−∫x+31dx=ln∣x−1∣−ln∣x+3∣+C
Step 5
Combine logs.
∫(x−1)(x+3)4dx=lnx+3x−1+C
Answer
lnx+3x−1+C.
Examiner tip
M1 for the partial-fraction setup. A1 for both A,B. M1 for integrating each x±a1. A1 for each ln term. A1 for combined log form (or two separate logs — both accepted). The modulus bars are mandatory in the mark scheme — drop them and lose A1.
2Integration by substitution (6 marks, P4)
Extended• Adapted from WMA14/01 June 2024 Q9• integration, substitution
▼
Question
Use the substitution u=1+2sinx to find ∫(1+2sinx)3cosxdx.
Step-by-step solution
Step 1
Set u=1+2sinx. Then dxdu=2cosx, so du=2cosxdx, i.e. cosxdx=21du.
Step 2
Rewrite the integral:
∫(1+2sinx)3cosxdx=∫u31⋅21du=21∫u−3du
Step 3
Integrate:
21⋅−2u−2+C=−4u21+C
Step 4
Substitute back:
−4(1+2sinx)21+C
Answer
−4(1+2sinx)21+C.
Examiner tip
M1 for computing du correctly. A1 for cosxdx=21du. M1 for the transformed integral. A1 for ∫u−3du work. A1 for the antiderivative in u. A1 for substituting back. The +C is required — omitting it costs the final A.
3Integration by parts (5 marks, P4)
Extended• Adapted from WMA14/01 January 2023 Q10• integration, by parts
▼
Question
Find ∫xe2xdx.
Step-by-step solution
Step 1
Apply integration by parts: ∫udv=uv−∫vdu. Choose u=x (LIATE — algebraic before exponential), dv=e2xdx.
Step 2
Then du=dx and v=21e2x.
Step 3
Apply the formula:
∫xe2xdx=x⋅21e2x−∫21e2xdx
Step 4
Compute the remaining integral:
=21xe2x−41e2x+C=41e2x(2x−1)+C
Answer
41e2x(2x−1)+C.
Examiner tip
M1 for the IBP formula. B1 for correct choice of u,dv (or equivalent). A1 for v=21e2x. A1 for the partial result 21xe2x−∫21e2xdx. A1 for the final expression. Factored form is preferred; expanded form also accepted.
4Integration by parts twice (6 marks, P4)
Challenge• Adapted from WMA14/01 June 2023 Q9• integration, by parts twice
▼
Question
Find ∫x2cosxdx.
Step-by-step solution
Step 1
First IBP: u=x2, dv=cosxdx. Then du=2xdx, v=sinx.
∫x2cosxdx=x2sinx−∫2xsinxdx
Step 2
Now apply IBP again on ∫2xsinxdx: u=2x, dv=sinxdx, so du=2dx, v=−cosx.
∫2xsinxdx=−2xcosx+∫2cosxdx=−2xcosx+2sinx
Step 3
Combine:
∫x2cosxdx=x2sinx−(−2xcosx+2sinx)+C
Step 4
Simplify.
=x2sinx+2xcosx−2sinx+C
Answer
x2sinx+2xcosx−2sinx+C.
Examiner tip
M1 for first IBP. A1 for the first decomposition. M1 for second IBP. A1 for the inner integral −2xcosx+2sinx. A1 for combining. A1 for the final expression. Sign error at the second-IBP step is the leading mark-loser — when subtracting an integral that itself has a − sign, distribute carefully.
5Volume of revolution (6 marks, P4)
Extended• Adapted from WMA14/01 January 2024 Q11• volume of revolution, x-axis
▼
Question
The region R is bounded by the curve y=1+x2, the x-axis, and the lines x=0 and x=2. Find the volume generated when R is rotated 360° about the x-axis.
Step-by-step solution
Step 1
Volume about x-axis: V=π∫02y2dx.
Step 2
y2=1+x2.
V=π∫02(1+x2)dx
Step 3
Antiderivative: x+3x3.
V=π[x+3x3]02=π(2+38)=π⋅314
Step 4
Final answer.
V=314π
Answer
V=314π (cubic units).
Examiner tip
M1 for the volume formula π∫y2dx. A1 for y2=1+x2. M1 for integration. A1 for the antiderivative. A1 for substitution of limits. A1 for 314π in exact form. Decimal answer accepted with B0 if exact form expected.
6Separable differential equation (7 marks, P4)
Extended• Adapted from WMA14/01 June 2024 Q11• differential equation, separable
▼
Question
Solve dxdy=1+sinxycosx given that y=2 when x=0.
Step-by-step solution
Step 1
Separate variables:
y1dy=1+sinxcosxdx
Step 2
Integrate both sides. LHS: ln∣y∣. RHS: note the numerator is the derivative of the denominator, so ∫1+sinxcosxdx=ln∣1+sinx∣.
ln∣y∣=ln∣1+sinx∣+C
Step 3
Substitute y=2, x=0: ln2=ln1+C, so C=ln2.
Step 4
Reassemble: ln∣y∣=ln∣1+sinx∣+ln2=ln∣2(1+sinx)∣.
Step 5
Exponentiate:
y=2(1+sinx)
Answer
y=2(1+sinx).
Examiner tip
M1 for separating variables. A1 for the correct separation. M1 for integrating LHS. A1 for ln∣y∣. M1 for integrating RHS (recognising the f′/f form). A1 for the constant via initial condition. A1 for the explicit y=…. The mark scheme accepts both ln-form and the explicit-y form, but for 'solve' questions the explicit form is preferred.
7First-order linear DE — integrating factor (8 marks, P4)
Challenge• Adapted from WMA14/01 January 2023 Q11• differential equation, integrating factor
▼
Question
Solve dxdy+xy=x2 for x>0.
Step-by-step solution
Step 1
Standard form dxdy+P(x)y=Q(x) with P=1/x, Q=x2.
Step 2
Integrating factor:
I=e∫Pdx=e∫1/xdx=elnx=x
Step 3
Multiply through by I=x:
xdxdy+y=x3
Step 4
LHS is dxd(xy). Integrate both sides:
xy=∫x3dx=4x4+C
Step 5
Solve for y:
y=4x3+xC
Answer
y=4x3+xC.
Examiner tip
M1 for identifying the integrating factor structure. A1 for I=x. M1 for multiplying through. A1 for recognising the LHS as a derivative. M1 for integrating RHS. A1 for the antiderivative. A1 for solving for y. A1 for full explicit form. Integrating factor for linear DE is a P4-specific technique — examiners flag missing-IF errors.
Key Formulae — Integration
The formulae you need to memorise for integration on the Pearson Edexcel IAL XMA01 / YMA01 paper, with every variable defined in plain English and a note on when to use it.
Integration by parts
∫udxdvdx=uv−∫vdxdudx
u
function to differentiate (becomes simpler)
dv/dx
function to integrate
When to use
Products of unlike functions. Use LIATE order: Logarithm, Inverse trig, Algebraic, Trig, Exponential — pick the first as u. IS in the formula booklet.
Example
∫xexdx: u=x, dv=exdx → u′=1, v=ex, so ∫=xex−ex+C.
Integration by substitution
∫f(g(x))g′(x)dx=∫f(u)duwhere u=g(x)
u=g(x)
substitution variable
du=g′(x)dx
differential
When to use
When the integrand contains a function and its derivative (up to a constant factor). NOT specifically in the formula booklet — this is the chain rule in reverse.
Example
∫2x⋅ex2dx: set u=x2, du=2xdx → ∫eudu=ex2+C.
Trapezium rule
∫abydx≈2h[y0+yn+2(y1+y2+…+yn−1)],h=nb−a
h
strip width
yi
function values at xi=a+ih
n
number of strips
When to use
Numerical integration approximation when no analytic antiderivative is available, or when explicitly asked. IS in the formula booklet.
Example
Estimate ∫01e−x2dx using 4 strips: h=0.25, sample at x=0,0.25,0.5,0.75,1.
Simpson's rule
∫abydx≈3h[y0+yn+4(y1+y3+…)+2(y2+y4+…)]
h
strip width (b−a)/n
n
number of strips (must be EVEN)
When to use
More accurate than the trapezium rule for the same number of strips. IS in the IAL formula booklet. Requires an even number of strips.
Example
With h=0.25, n=4 strips, y-values y0,y1,y2,y3,y4: S=(0.25/3)[y0+y4+4(y1+y3)+2y2].
Volume of revolution about x-axis
V=π∫aby2dx
y=f(x)
curve being rotated
a,b
limits of x
When to use
Rotating a region under y=f(x) from x=a to x=b about the x-axis. IS in the IAL formula booklet.
Example
y=x2 from x=0 to 1 about x-axis: V=π∫01x4dx=π/5.
Volume of revolution about y-axis
V=π∫cdx2dy
x=g(y)
curve rearranged as a function of y
c,d
limits of y
When to use
Rotating a region bounded by x=g(y) about the y-axis. IS in the IAL formula booklet.
Example
x=y from y=0 to 4 about y-axis: V=π∫04ydy=8π.
Integrating factor for first-order linear DE
I(x)=e∫P(x)dx,dxd[I(x)y]=I(x)Q(x)
P(x)
coefficient of y in standard form y′+P(x)y=Q(x)
Q(x)
RHS source term
When to use
For first-order linear DEs of the form y′+Py=Q. NOT in the formula booklet — students must recognise the structure and derive the integrating factor.
Definitions to memorise and the exact keywords mark schemes credit for integration answers — sharpened from recent examiner reports for the 2026 Pearson Edexcel IAL XMA01 / YMA01 sitting.
Integration by substitution (u-substitution)
Examiner keyword
Replacing the variable in an integral via u=g(x), du=g′(x)dx, transforming the integral into one in u. Reverses the chain rule.
Integration by parts
Examiner keyword
Formula ∫udv=uv−∫vdu. Used for integrals of products where one factor simplifies on differentiation. Reverses the product rule.
Volume of revolution (solid of revolution)
Examiner keyword
The 3D shape generated by rotating a planar region 360° about an axis (commonly x- or y-axis). Volume computed by stacking infinitesimal discs: V=π∫y2dx (about x-axis).
Separable differential equation
Examiner keyword
A first-order DE of the form dxdy=f(x)g(y) — the right side factorises into a function of x times a function of y. Solved by separating variables: ∫g(y)1dy=∫f(x)dx.
Integrating factor
Examiner keyword
A function I(x) that, when multiplied through a linear DE y′+Py=Q, makes the LHS into the derivative of a product: dxd(Iy). The standard choice is I=e∫Pdx.
Simpson's rule
Examiner keyword
A numerical integration approximation using parabolic arcs over each pair of strips. Requires an EVEN number of strips. More accurate than the trapezium rule for the same n.
Common Mistakes and Misconceptions — Integration
The traps other students keep falling into on integration questions — taken from recent Pearson Edexcel IAL XMA01 / YMA01 examiner reports and mark schemes — and how to avoid them.
✕Forgetting the modulus bars: ∫x1dx=lnx (without ∣⋅∣)
WMA14/01 examiner reports — flagged annually
▼
Why it happens
Students don't realise ln is only defined for positive arguments.
How to avoid it
Always write ln∣x∣ unless you know x>0 throughout. In modular problems, the bars are mandatory in mark schemes.
✕Sign errors in second IBP iteration
▼
Why it happens
When subtracting an integral that itself has a minus sign, students forget to distribute.
How to avoid it
Use brackets: ∫x2cosxdx=x2sinx−(∫2xsinxdx). Then ∫2xsinxdx=−2xcosx+2sinx. So ∫x2cosxdx=x2sinx−(−2xcosx+2sinx)=x2sinx+2xcosx−2sinx.
✕Forgetting the π in V=π∫y2dx
WMA14/01 examiner reports — annual
▼
Why it happens
Students focus on the integral and miss the π prefactor.
How to avoid it
Volume of revolution ALWAYS has π. Write 'V=π∫…' as your first line.
✕Omitting the constant C when integrating a DE
▼
Why it happens
Students go straight to y=… without including C.
How to avoid it
EVERY indefinite integral needs +C. For a DE with initial condition, use the IC to find C explicitly — then substitute the value into the general solution.
✕Using Simpson's rule with an odd number of strips
▼
Why it happens
Students miss the 'even strips' requirement.
How to avoid it
Simpson's rule REQUIRES n even (so n+1 ordinates with n+1 odd). If a question specifies an odd n, use the trapezium rule instead.
✕Not transforming limits when using definite-integral substitution
▼
Why it happens
Students substitute but leave the limits as x-values.
How to avoid it
When u=g(x), the limits become ulo=g(xlo), uhi=g(xhi). Either transform the limits OR substitute back to x before evaluating — be consistent.
Practice questions
Exam-style questions with step-by-step worked solutions. Try one before checking the method.
Past paper style quiz
Get a report showing which sub-topics you've nailed and which ones still need work.
Video lesson
Short walkthrough of the concepts students most often get stuck on.
Integration — frequently asked questions
The things students keep getting wrong in this sub-topic, answered.