A2, A5AlgebraFoundation & HigherGrades 2–7

Substitution & Formulae

A formula is a rule connecting quantities, such as A=πr2A = \pi r^2 or v=u+atv = u + at. Substituting means replacing the letters with numbers to find a value. Rearranging means changing which letter the formula is "for" — the subject — so you can find a different quantity.

40 min Video by Maths Genie AQA GCSE Maths

The big picture

Substitution is where arithmetic and algebra meet, so the order of operations decides everything. 3x23x^2 with x=−2x = -2 is 3×4=123 \times 4 = 12, not (−6)2=36(-6)^2 = 36: the power acts before the multiplication.

Rearranging a formula uses exactly the same balancing as solving an equation. The only difference is that the answer is an expression in other letters rather than a single number.

Changing the Subject of a FormulaCurated by Kepler, not produced by us. Watch it, then read the notes below.
Open on YouTube

What you'll learn

  • Substitute positive and negative numbers into expressions and formulae
  • Write a formula from a description in words
  • Rearrange formulae to change the subject
  • Rearrange formulae where the subject appears twice (Higher)
1

Substituting values

Replace each letter with its value in brackets\textbf{in brackets}, then follow the order of operations: brackets, indices, division and multiplication, addition and subtraction.

Brackets around negative numbers stop sign errors: with a=−3a = -3, write a2=(−3)2=9a^2 = (-3)^2 = 9 and 2a=2×(−3)=−62a = 2 \times (-3) = -6.

Example 1Find the value of 4p−3q4p - 3q when p=5p = 5 and q=−2q = -2.
1Substitute: 4(5)−3(−2)4(5) - 3(-2).
2=20−(−6)=20+6= 20 - (-6) = 20 + 6.
Answer
2626
Your turnSame method, new numbers — try it before moving on.

Find the value of 5m+2n5m + 2n when m=−3m = -3 and n=4n = 4.

Show worked solution
Solution
  1. 15(−3)+2(4)5(-3) + 2(4).
  2. 2=−15+8=−7= -15 + 8 = -7.

Answer: −7-7

Example 2Find the value of 2x2−5x2x^2 - 5x when x=−3x = -3.
1Substitute: 2(−3)2−5(−3)2(-3)^2 - 5(-3).
2Indices first: (−3)2=9(-3)^2 = 9, so 2×9=182 \times 9 = 18.
3−5×−3=+15-5 \times -3 = +15, so the total is 18+1518 + 15.
Answer
3333
Your turnSame method, new numbers — try it before moving on.

Find the value of 3y2+4y3y^2 + 4y when y=−2y = -2.

Show hint

Square first: (−2)2=4(-2)^2 = 4.

Show worked solution
Solution
  1. 13(−2)2+4(−2)3(-2)^2 + 4(-2).
  2. 2=3×4−8=12−8=4= 3 \times 4 - 8 = 12 - 8 = 4.

Answer: 44

Tip — On a calculator, type negative numbers in brackets: (−3)2(-3)^2 gives 9, but −32-3^2 gives −9-9.

2

Using and writing formulae

Real formulae work the same way. Substitute, calculate, and give units where the question uses them.

To write a formula from words, choose letters for the quantities and translate each phrase into an operation. "A taxi charges £3 plus £1.80 per mile" becomes C=3+1.8mC = 3 + 1.8m.

Example 1Use s=ut+12at2s = ut + \frac{1}{2}at^2 to find ss when u=4u = 4, a=10a = 10 and t=3t = 3.
1ut=4×3=12ut = 4 \times 3 = 12.
212at2=12×10×9=45\frac{1}{2}at^2 = \frac{1}{2} \times 10 \times 9 = 45.
3s=12+45s = 12 + 45.
Answer
s=57s = 57
Your turnSame method, new numbers — try it before moving on.

Use v2=u2+2asv^2 = u^2 + 2as to find v2v^2 when u=6u = 6, a=3a = 3 and s=10s = 10.

Show worked solution
Solution
  1. 1u2=36u^2 = 36 and 2as=2×3×10=602as = 2 \times 3 \times 10 = 60.
  2. 2v2=36+60=96v^2 = 36 + 60 = 96.

Answer: v2=96v^2 = 96

Example 2A plumber charges a £45 call-out fee plus £38 per hour. Write a formula for the total cost CC pounds for hh hours, and find the cost of a 3.5-hour job.
1Cost =45+38×= 45 + 38 \times hours, so C=45+38hC = 45 + 38h.
2C=45+38×3.5=45+133C = 45 + 38 \times 3.5 = 45 + 133.
Answer
C=45+38hC = 45 + 38h; the job costs £178
3

Changing the subject

The subject is the letter on its own on one side. To change it, undo the operations around the new subject in reverse order, doing the same to both sides — just like solving an equation.

Square roots undo squares, and squares undo square roots.

Example 1Make uu the subject of v=u+atv = u + at.
1uu has atat added to it. Subtract atat from both sides.
Answer
u=v−atu = v - at
Example 2Make xx the subject of y=3x−45y = \dfrac{3x - 4}{5}.
1Multiply by 5: 5y=3x−45y = 3x - 4.
2Add 4: 5y+4=3x5y + 4 = 3x.
3Divide by 3.
Answer
x=5y+43x = \dfrac{5y + 4}{3}
Your turnSame method, new numbers — try it before moving on.

Make xx the subject of y=4x+9y = 4x + 9.

Use brackets for fractions, e.g. (y - 9)/4.

Show worked solution
Solution
  1. 1Subtract 9: y−9=4xy - 9 = 4x.
  2. 2Divide by 4: x=y−94x = \dfrac{y - 9}{4}.

Answer: x=y−94x = \dfrac{y - 9}{4}

Example 3Make rr the subject of A=πr2A = \pi r^2.
1Divide by π\pi: Aπ=r2\dfrac{A}{\pi} = r^2.
2Square root both sides.
Answer
r=Aπr = \sqrt{\dfrac{A}{\pi}}
Your turnSame method, new numbers — try it before moving on.

Make tt the subject of d=5t2d = 5t^2.

Type √ as sqrt( ), e.g. sqrt(d/5).

Show worked solution
Solution
  1. 1Divide by 5: t2=d5t^2 = \dfrac{d}{5}.
  2. 2Square root: t=d5t = \sqrt{\dfrac{d}{5}}.

Answer: t=d5t = \sqrt{\dfrac{d}{5}}

Check with numbers

Test a rearrangement with numbers. In y=4x+9y = 4x + 9, x=2x = 2 gives y=17y = 17. Put y=17y = 17 into your answer: 17−94=2\frac{17 - 9}{4} = 2 ✓. It takes ten seconds and catches most errors.

4

Subject appearing twice (Higher)

If the new subject appears in two places, collect every term containing it on one side and everything else on the other. Then factorise so the subject appears once, and divide.

Example 1Make xx the subject of ax+3=bx−7ax + 3 = bx - 7.
1Collect xx terms on one side: ax−bx=−7−3ax - bx = -7 - 3.
2Factorise: x(a−b)=−10x(a - b) = -10.
3Divide by (a−b)(a - b).
Answer
x=−10a−b=10b−ax = \dfrac{-10}{a - b} = \dfrac{10}{b - a}
Example 2Make xx the subject of y=x+2x−1y = \dfrac{x + 2}{x - 1}.
1Multiply by (x−1)(x - 1): y(x−1)=x+2y(x - 1) = x + 2, so xy−y=x+2xy - y = x + 2.
2Collect xx terms: xy−x=y+2xy - x = y + 2.
3Factorise: x(y−1)=y+2x(y - 1) = y + 2.
Answer
x=y+2y−1x = \dfrac{y + 2}{y - 1}
Your turnSame method, new numbers — try it before moving on.

Make xx the subject of p(x+3)=2x+5p(x + 3) = 2x + 5.

Use brackets, e.g. (5 - 3p)/(p - 2).

Show hint

Expand, then get both xx terms on the left.

Show worked solution
Solution
  1. 1Expand: px+3p=2x+5px + 3p = 2x + 5.
  2. 2Collect: px−2x=5−3ppx - 2x = 5 - 3p.
  3. 3Factorise: x(p−2)=5−3px(p - 2) = 5 - 3p, so x=5−3pp−2x = \dfrac{5 - 3p}{p - 2}.

Answer: x=5−3pp−2x = \dfrac{5 - 3p}{p - 2}

Think like an examiner

  • Write the substitution with brackets before calculating — it earns the method mark and makes sign errors visible.
  • When rearranging, show one operation per line. The final answer must have the subject alone on one side, with no copies of it on the other.
  • x=y−94x = \frac{y - 9}{4} and x=y4−94x = \frac{y}{4} - \frac{9}{4} are both correct; x=y−94x = y - \frac{9}{4} is not.

Methods

(−3)2=9,−32=−9(-3)^2 = 9, \quad -3^2 = -9
Brackets round negatives when substituting.
y=mx+c⇒x=y−cmy = mx + c \Rightarrow x = \dfrac{y - c}{m}
Undo in reverse order.
x(a−b)=c⇒x=ca−bx(a - b) = c \Rightarrow x = \dfrac{c}{a - b}
Subject twice: collect, factorise, divide.

Watch out for these

With x=−4x = -4: x2=−16x^2 = -16.
(−4)2=16(-4)^2 = 16 — a square is never negative.
With x=3x = 3: 2x2=362x^2 = 36.
Square first: 2×9=182 \times 9 = 18.
Making xx the subject of y=3x+2y = 3x + 2 as x=y3−2x = \frac{y}{3} - 2.
Subtract 2 before dividing: x=y−23x = \frac{y - 2}{3}.
Leaving xx on both sides: x=5+x3x = \frac{5 + x}{3}.
Collect all xx terms on one side and factorise.

Stretch yourself

The formula T=2πLgT = 2\pi\sqrt{\dfrac{L}{g}} gives the time for a pendulum swing. Make LL the subject, then find LL when T=2T = 2 and g=9.8g = 9.8, to 3 significant figures.

Hint — Divide by 2π2\pi first, then square both sides to remove the root.

Reveal solution
SolutionT2π=Lg\frac{T}{2\pi} = \sqrt{\frac{L}{g}}, so T24π2=Lg\frac{T^2}{4\pi^2} = \frac{L}{g} and L=gT24π2L = \frac{gT^2}{4\pi^2}. With T=2T = 2 and g=9.8g = 9.8: L=9.8×44π2=9.8π2=0.993L = \frac{9.8 \times 4}{4\pi^2} = \frac{9.8}{\pi^2} = 0.993 (3 s.f.). ■\blacksquare

Questions students ask

What does "the subject" mean?
The letter on its own on one side of the formula. In A=lwA = lw, AA is the subject.
Is rearranging the same as solving?
It uses the same balancing steps. Solving gives a number; rearranging gives an expression in the other letters.
Do I need a ±\pm when I square root?
In a formula about a real quantity, like a length or time, take the positive root. In a pure equation such as x2=9x^2 = 9, both 33 and −3-3 are solutions.

Key takeaways

  • Substitute with brackets and follow the order of operations.
  • A formula from words: choose letters, then translate each phrase.
  • To change the subject, undo operations in reverse order on both sides.
  • Square roots undo squares.
  • If the subject appears twice, collect its terms, factorise, then divide.

Exam-style questions

Practise it the way it is examined

3 original questions · 9 marks, written to match the style and mark allocation of the real papers. Work on paper, then open the mark scheme and tick the marks you earned — method marks count even if the final answer slips.

Question 1Grade 32 marks
  1. P=3a2−2bP = 3a^2 - 2b. Work out the value of PP when a=−4a = -4 and b=7b = 7.[2]
    Show mark scheme

    Answer: 3434

Answer on paper first, then mark it.
Question 2Grade 54 marks
  1. (a)Make hh the subject of V=13πr2hV = \frac{1}{3}\pi r^2 h.[2]
    Show mark scheme (a)

    Answer: h=3Vπr2h = \dfrac{3V}{\pi r^2}

  2. (b)A cone has volume 300 cm³ and radius 5 cm. Work out its height, to 1 decimal place.[2]
    Show mark scheme (b)

    Answer: 11.511.5 cm

Answer on paper first, then mark it.
Question 3Grade 73 marks
  1. Make aa the subject of a+43=2a−b5\dfrac{a + 4}{3} = \dfrac{2a - b}{5}.[3]
    Show mark scheme

    Answer: a=3b+20a = 3b + 20

Answer on paper first, then mark it.

Unlimited practice

Skill drill

A new question every time, marked instantly, with a full worked solution. Aim for a streak of five, then move up a level.

0 / 0 first-time correct Streak 0Best at this level: 0

Generating a question…

Test yourself

Answer a few questions, then review anything you missed.

Prefer paper? Open the written self-check

Answer each question before opening its answer. This self-check does not record a quiz score.

  1. Find 3a+b3a + b when a=4a = 4 and b=−5b = -5.

    • 77
    • 1717
    • −7-7
    • 22
    Show answer and explanation

    Answer: 77

    12+(−5)=712 + (-5) = 7.

  2. Find x2x^2 when x=−6x = -6.

    • 3636
    • −36-36
    • −12-12
    • 1212
    Show answer and explanation

    Answer: 3636

    (−6)×(−6)=36(-6) \times (-6) = 36.

  3. Find 4x24x^2 when x=3x = 3.

    • 3636
    • 144144
    • 2424
    • 4848
    Show answer and explanation

    Answer: 3636

    Square first: 4×94 \times 9.

  4. Use F=95C+32F = \frac{9}{5}C + 32 to convert C=25C = 25.

    • 7777
    • 4545
    • 5757
    • 8989
    Show answer and explanation

    Answer: 7777

    95×25=45\frac{9}{5} \times 25 = 45, then add 32.

  5. Make aa the subject of P=2a+2bP = 2a + 2b.

    • a=P−2b2a = \frac{P - 2b}{2}
    • a=P2−2ba = \frac{P}{2} - 2b
    • a=P−ba = P - b
    • a=2P−2ba = 2P - 2b
    Show answer and explanation

    Answer: a=P−2b2a = \frac{P - 2b}{2}

    Subtract 2b2b, then divide by 2.

  6. Make rr the subject of C=2πrC = 2\pi r.

    • r=C2πr = \frac{C}{2\pi}
    • r=C−2πr = C - 2\pi
    • r=2πCr = 2\pi C
    • r=2πCr = \frac{2\pi}{C}
    Show answer and explanation

    Answer: r=C2πr = \frac{C}{2\pi}

    Divide both sides by 2π2\pi.

  7. Make xx the subject of y=x+3y = \sqrt{x + 3}.

    • x=y2−3x = y^2 - 3
    • x=y−3x = \sqrt{y} - 3
    • x=(y−3)2x = (y - 3)^2
    • x=y2+3x = y^2 + 3
    Show answer and explanation

    Answer: x=y2−3x = y^2 - 3

    Square both sides, then subtract 3.

  8. Make xx the subject of kx+1=3x+mkx + 1 = 3x + m.

    • x=m−1k−3x = \frac{m - 1}{k - 3}
    • x=m+1k+3x = \frac{m + 1}{k + 3}
    • x=m−1kx = \frac{m - 1}{k}
    • x=m−1−k+3x = m - 1 - k + 3
    Show answer and explanation

    Answer: x=m−1k−3x = \frac{m - 1}{k - 3}

    kx−3x=m−1kx - 3x = m - 1, so x(k−3)=m−1x(k - 3) = m - 1.

Next step

Keep practising

Start with the quiz above to check the key ideas. You can also choose another topic from the practice library.

Browse practice topics

Related lessons

All 19 lessons