Salam Academy
Contents · 0% complete
  1. Learning objectives
  2. Core idea
  3. Key formulae
  4. Worked examples
  5. Explore the graph
  6. Common mistakes
  7. Exam tip
  8. Guided practice
  9. Practice questions
  10. Challenge
  11. Summary
  12. Quick quiz
  13. Same topic, different board
  14. Past paper questions
Learn7357Paper 1 · PureAlgebra and functionsCompleting the square and the vertex
Algebra and functions · Subtopic 2 of 9

Completing the Square and the Vertex

Rewrite ax2+bx+cax^2+bx+c as a(x+p)2+qa(x+p)^2+q, read off the vertex, line of symmetry and least or greatest value, and use it to sketch parabolas and solve real problems about maximum height or area.

Cambridge 9709 Paper 1Edexcel 9MA0 Paper 1Edexcel 9MA0 Paper 2AQA 7357 Paper 1AQA 7357 Paper 2AQA 7357 Paper 3≈ 45 minRevision 6 · updated 2026-10-27
Practise this topicTimed testAsk Salam Tutor
Section 1 of 14

Learning objectives

  • Write x2+bx+cx^2+bx+c in the form (x+p)2+q(x+p)^2+q.
  • Write ax2+bx+cax^2+bx+c with a≠1a\ne1 in the form a(x+p)2+qa(x+p)^2+q, including when aa is negative.
  • Read the vertex, the line of symmetry and the least or greatest value from the completed square.
  • Sketch a parabola, showing its intercepts and vertex.
  • Find unknown constants from information about the vertex, and solve "maximum" problems in context.
Pause and think

Warm-up: expand (x+5)2(x+5)^2. Which number in your answer is "extra" compared with x2+10xx^2+10x?

Section 2 of 14

Core idea

Start hereHow high does the ball go?

You kick a ball straight up. Its height in metres after tt seconds is h=1+20t−5t2h=1+20t-5t^2. Two questions: how high does it get, and when? Plugging in numbers (t=1t=1 gives 1616, t=2t=2 gives 2121, t=3t=3 gives 1616) suggests the top is near t=2t=2, but guessing never proves anything. What if the top were at t=2.01t=2.01? This lesson gives you a way to rewrite the formula so the highest point simply appears in the expression, with no guessing, graph or calculator. By the end you'll show the answer is exactly 2121 m at exactly t=2t=2 s.

The big idea

Any quadratic ax2+bx+cax^2+bx+c can be rewritten as a(x+p)2+qa(x+p)^2+q. This is called completing the square. In this form xx appears only once, inside a square. Because a square can never be negative, you can read off the turning point, the line of symmetry and the smallest (or largest) value straight away. You can also solve the equation with a single square root.

1. The language: what every symbol means

A quadratic expression in xx is anything that can be written as

General quadraticax2+bx+c,a≠0ax^2+bx+c,\qquad a\neq0
where
xx
the variable: the number that can change (time, length, anything).
aa
the leading coefficient: the number multiplying x2x^2. It must not be 00, or there'd be no x2x^2 and the graph would be a straight line.
bb
the coefficient of xx (it may be 00).
cc
the constant term: the number with no xx (it may be 00).
  • x2+6x+5x^2+6x+5: a=1a=1, b=6b=6, c=5c=5.
  • 2x2−3x2x^2-3x: a=2a=2, b=−3b=-3, c=0c=0. (The sign belongs to the coefficient.)
  • 7−x27-x^2: a=−1a=-1, b=0b=0, c=7c=7. Order doesn't matter; read off the number in front of each power.

The graph of y=ax2+bx+cy=ax^2+bx+c is a parabola: a symmetrical curve that opens up (∪) when a>0a>0 and down (∩) when a<0a<0. Its turning point is the vertex, and the vertical line through it is the line of symmetry.

The sign of a decides the shape
−4−3−2−11234−4−2240xyy = ax²vertex
Positive aa: a ∪ with a lowest point. Negative aa: a ∩ with a highest point. The bigger ∣a∣|a| is, the narrower the curve.
Key takeawayThe central problem In ax2+bx+cax^2+bx+c the variable appears twice (in x2x^2 and in xx), and the two terms pull in different directions. That's why you can't just "undo" it to find xx, or see where the vertex is. Our goal: rewrite it so xx appears only once.
Pause and think

Write down aa, bb and cc for 3−5x+2x23-5x+2x^2, and say whether its graph is ∪ or ∩.

2. Perfect squares: the building block

A perfect square is a bracket multiplied by itself, such as (x+3)2(x+3)^2. It contains xx only once, which is exactly the form we want. Let's expand one slowly to see what it looks like when multiplied out.

Expanding (x+3)2(x+3)^2
  1. (x+3)2(x+3)^2
  2. =(x+3)(x+3)=(x+3)(x+3)
    Squaring means multiplying by itself.
  3. =x⋅x+x⋅3+3⋅x+3⋅3=x\cdot x+x\cdot3+3\cdot x+3\cdot3
    Multiply every term in the first bracket by every term in the second (four products).
  4. =x2+3x+3x+9=x^2+3x+3x+9
    Work out each product.
  5. =x2+6x+9=x^2+6x+9
    Collect the like terms 3x+3x=6x3x+3x=6x.
The middle coefficient 66 is double 33; the constant 99 is 33 squared.

Is that a coincidence? Replace 33 by any number pp and repeat the same steps:

Proof of the perfect-square pattern
  1. (x+p)2=(x+p)(x+p)(x+p)^2=(x+p)(x+p)
    Definition of squaring.
  2. =x2+px+px+p2=x^2+px+px+p^2
    Four products: x⋅xx\cdot x, x⋅px\cdot p, p⋅xp\cdot x, p⋅pp\cdot p.
  3. =x2+2px+p2=x^2+2px+p^2
    px+px=2pxpx+px=2px.
For every number pp:   (x+p)2=x2+2px+p2\;(x+p)^2=x^2+2px+p^2. The xx-coefficient is always 2p2p and the constant is always p2p^2.
(x + 3)² as a picture: a square of side x + 3
x²3x3x9x3
The big square splits into four pieces: x2x^2, two strips of 3x3x (that is where the "double" comes from) and a little 3×33\times3 corner, the 99.
Common misconception(x+3)2(x+3)^2 is not x2+9x^2+9 Squaring a sum does not square each part separately. Check with x=1x=1: (1+3)2=16(1+3)^2=16, but 12+9=101^2+9=10. The missing 66 is the two 3x3x strips in the picture.
Pause and think

Expand (x−5)2(x-5)^2 using the pattern with p=−5p=-5.

3. Running the pattern backwards

Now reverse it. Suppose you're given x2+bxx^2+bx and want to write it using a perfect square. Matching x2+bxx^2+bx with x2+2pxx^2+2px tells us 2p=b2p=b, so p=b2p=\frac b2: the number in the bracket is half the coefficient of xx. But (x+b2)2(x+\frac b2)^2 brings an extra (b2)2(\frac b2)^2 with it, so we must take that away again.

The completing-the-square identity
  1. (x+b2)2=x2+2⋅b2⋅x+(b2)2\left(x+\tfrac b2\right)^2=x^2+2\cdot\tfrac b2\cdot x+\left(\tfrac b2\right)^2
    The pattern from section 2 with p=b2p=\frac b2.
  2. (x+b2)2=x2+bx+(b2)2\left(x+\tfrac b2\right)^2=x^2+bx+\left(\tfrac b2\right)^2
    2⋅b2=b2\cdot\frac b2=b.
  3. (x+b2)2−(b2)2=x2+bx\left(x+\tfrac b2\right)^2-\left(\tfrac b2\right)^2=x^2+bx
    Subtract (b2)2\left(\frac b2\right)^2 from both sides.
x2+bx=(x+b2)2−(b2)2x^2+bx=\left(x+\dfrac b2\right)^2-\left(\dfrac b2\right)^2. Memory hook: halve it, square it, take it away.

In the picture, x2+bxx^2+bx is the big square missing its corner. Completing the square means adding the corner to make a full square, then subtracting it so the value hasn't changed. That's where the name comes from.

Worked exampleComplete the square on x2+6x+5x^2+6x+5

Write x2+6x+5x^2+6x+5 in the form (x+p)2+q(x+p)^2+q.

Goal
Find the numbers pp and qq.
Strategy
Apply "halve, square, take away" to the x2+6xx^2+6x part only, then add the 55 back.
  1. Identify the xx-coefficient: b=6b=6. Halve it: 62=3\frac62=3.

    The bracket must be (x+b2)(x+\frac b2).
  2. x2+6x=(x+3)2−32x^2+6x=(x+3)^2-3^2
    Square the 33 and subtract it.
  3. x2+6x+5=(x+3)2−9+5x^2+6x+5=(x+3)^2-9+5
    Add 55 to both sides.
  4. =(x+3)2−4=(x+3)^2-4
    −9+5=−4-9+5=-4.
Answer(x+3)2−4(x+3)^2-4, so p=3p=3, q=−4q=-4.
✓ CheckExpand: (x+3)2−4=x2+6x+9−4=x2+6x+5(x+3)^2-4=x^2+6x+9-4=x^2+6x+5 ✓. Also try x=0x=0: 9−4=59-4=5 and 0+0+5=50+0+5=5 ✓.
Worked exampleA negative and an odd coefficient: x2−5x+1x^2-5x+1

Write x2−5x+1x^2-5x+1 in the form (x+p)2+q(x+p)^2+q.

Goal
Find pp and qq, keeping exact fractions.
Strategy
Same three moves. Halve −5-5 with its sign; don't convert to decimals.
  1. b=−5b=-5, so b2=−52\frac b2=-\frac52.

    Keep the minus sign.
  2. x2−5x=(x−52)2−(−52)2=(x−52)2−254x^2-5x=\left(x-\tfrac52\right)^2-\left(-\tfrac52\right)^2=\left(x-\tfrac52\right)^2-\tfrac{25}4
    Halve, square ((−52)2=+254(-\frac52)^2=+\frac{25}4, a square is positive), take away.
  3. x2−5x+1=(x−52)2−254+44x^2-5x+1=\left(x-\tfrac52\right)^2-\tfrac{25}4+\tfrac44
    Add 11, written as 44\frac44 so the fractions combine.
  4. =(x−52)2−214=\left(x-\tfrac52\right)^2-\tfrac{21}4
    −25+4=−21-25+4=-21.
Answer(x−52)2−214\left(x-\frac52\right)^2-\frac{21}4.
✓ CheckExpand: x2−5x+254−214=x2−5x+44=x2−5x+1x^2-5x+\frac{25}4-\frac{21}4=x^2-5x+\frac44=x^2-5x+1 ✓.
Common misconceptionForgetting to take it away Writing x2+6x+5=(x+3)2+5x^2+6x+5=(x+3)^2+5 adds an extra 99 out of nowhere. The square you create must be paid back: (x+3)2−9+5(x+3)^2-9+5.
Pause and think

Complete the square: x2+12x−7x^2+12x-7.

4. Reading the vertex

Here's the payoff. Take y=(x+3)2−4y=(x+3)^2-4. The only part that changes with xx is (x+3)2(x+3)^2. The key fact: a real number squared is never negative.

Finding the minimum of y=(x+3)2−4y=(x+3)^2-4
  1. (x+3)2≥0for every real x(x+3)^2\ge0\quad\text{for every real }x
    Any real number squared is ≥0\ge0.
  2. (x+3)2−4≥−4(x+3)^2-4\ge-4
    Subtract 44 from both sides of the inequality.
  3. y≥−4y\ge-4
    The left-hand side is yy.
  4. y=−4  ⟺  (x+3)2=0  ⟺  x=−3y=-4\iff(x+3)^2=0\iff x=-3
    Equality only when the square is exactly zero.
The least value of yy is −4-4, reached only at x=−3x=-3. So the vertex is (−3,−4)(-3,-4) and the line of symmetry is x=−3x=-3.
y = x² + 6x + 5 = (x + 3)² − 4
−6−4−2−4−224680xyy = (x + 3)² − 4x = −3vertex (−3, −4)(−5, 0)(−1, 0)(0, 5)
The roots −5-5 and −1-1 are each 2 units from the line of symmetry x=−3x=-3. The yy-intercept (0,5)(0,5) comes from putting x=0x=0.
Vertex ruley=a(x+p)2+q  ⟹  vertex (−p, q),line of symmetry x=−py=a(x+p)^2+q\;\Longrightarrow\;\text{vertex }(-p,\,q),\quad\text{line of symmetry }x=-p
where
−p-p
the xx that makes the bracket zero. Note the opposite sign to the number in the bracket.
qq
the minimum value if a>0a>0, or the maximum value if a<0a<0.
Sliding the parabola: y = (x − h)² + k
−6−4−2246−4−224680xyy = (x − h)² − 2vertex (h, −2)
Compared with y=x2y=x^2 (dashed), the curve has slid hh to the right and 22 down. Its shape never changes.
Common misconceptionThe sign flip (x−4)2+1(x-4)^2+1 has its vertex at (4,1)(4,1), not (−4,1)(-4,1). Ask: "what xx makes the bracket zero?" x−4=0x-4=0 gives x=4x=4. The qq keeps its own sign.
Edge caseWhen a is negative If a<0a<0, e.g. y=−2(x−1)2+5y=-2(x-1)^2+5, then −2(x−1)2≤0-2(x-1)^2\le0, so y≤5y\le5: the vertex (1,5)(1,5) is a maximum. Same reading, opposite meaning.
Pause and think

Find the vertex and line of symmetry of y=x2−10x+30y=x^2-10x+30.

5. When the coefficient of x² is not 1

(x+p)2(x+p)^2 always begins with x2x^2, never 2x22x^2. So when a≠1a\neq1, first take aa out as a factor of the x2x^2 and xx terms, complete the square inside the bracket, then multiply back.

Worked example2x2+12x+72x^2+12x+7 in the form a(x+p)2+qa(x+p)^2+q

Write 2x2+12x+72x^2+12x+7 as a(x+p)2+qa(x+p)^2+q and state the vertex of y=2x2+12x+7y=2x^2+12x+7.

Goal
Find aa, pp, qq; then the vertex (−p,q)(-p,q).
Strategy
Factor 22 from the first two terms, complete the square inside, expand the outer bracket carefully.
  1. 2x2+12x+7=2(x2+6x)+72x^2+12x+7=2\left(x^2+6x\right)+7
    Take out 22: 2x2=2⋅x22x^2=2\cdot x^2 and 12x=2⋅6x12x=2\cdot6x. The 77 stays outside.
  2. =2[(x+3)2−9]+7=2\left[(x+3)^2-9\right]+7
    Complete the square inside: halve 66, square, take away.
  3. =2(x+3)2−18+7=2(x+3)^2-18+7
    Multiply the 22 into both parts of the square bracket: 2×(−9)=−182\times(-9)=-18.
  4. =2(x+3)2−11=2(x+3)^2-11
    −18+7=−11-18+7=-11.
Answer2(x+3)2−112(x+3)^2-11; vertex (−3,−11)(-3,-11), a minimum since a=2>0a=2>0.
✓ CheckExpand: 2(x2+6x+9)−11=2x2+12x+18−11=2x2+12x+72(x^2+6x+9)-11=2x^2+12x+18-11=2x^2+12x+7 ✓.
Common misconceptionForgetting to multiply the −9 by a 2[(x+3)2−9]+72[(x+3)^2-9]+7 is not 2(x+3)2−9+72(x+3)^2-9+7. The 22 multiplies everything in the square bracket.

6. The general formula, and where the quadratic formula comes from

Doing the same steps with letters instead of numbers gives a rule that works for every quadratic, and proves the quadratic formula.

Completing the square on ax2+bx+cax^2+bx+c
  1. ax2+bx+c=a(x2+bax)+cax^2+bx+c=a\left(x^2+\tfrac bax\right)+c
    Factor aa out of the first two terms (a≠0a\neq0, so dividing by aa is allowed).
  2. =a[(x+b2a)2−b24a2]+c=a\left[\left(x+\tfrac b{2a}\right)^2-\tfrac{b^2}{4a^2}\right]+c
    Halve ba\frac ba to get b2a\frac b{2a}; square it: b24a2\frac{b^2}{4a^2}; take it away.
  3. =a(x+b2a)2−b24a+c=a\left(x+\tfrac b{2a}\right)^2-\tfrac{b^2}{4a}+c
    Multiply aa in: a⋅b24a2=b24aa\cdot\frac{b^2}{4a^2}=\frac{b^2}{4a}.
  4. =a(x+b2a)2+4ac−b24a=a\left(x+\tfrac b{2a}\right)^2+\tfrac{4ac-b^2}{4a}
    Common denominator: c=4ac4ac=\frac{4ac}{4a}.
Vertex at x=−b2ax=-\dfrac b{2a}, with yy-value 4ac−b24a\dfrac{4ac-b^2}{4a}.

Now set the expression equal to zero and solve. Every step is legal algebra, so the result works for any quadratic equation.

Proof of the quadratic formula
  1. a(x+b2a)2−b2−4ac4a=0a\left(x+\tfrac b{2a}\right)^2-\tfrac{b^2-4ac}{4a}=0
    Start from the completed square (rewritten with b2−4acb^2-4ac on top), set equal to 00.
  2. a(x+b2a)2=b2−4ac4aa\left(x+\tfrac b{2a}\right)^2=\tfrac{b^2-4ac}{4a}
    Add b2−4ac4a\frac{b^2-4ac}{4a} to both sides.
  3. (x+b2a)2=b2−4ac4a2\left(x+\tfrac b{2a}\right)^2=\tfrac{b^2-4ac}{4a^2}
    Divide both sides by aa.
  4. x+b2a=±b2−4ac2ax+\tfrac b{2a}=\pm\tfrac{\sqrt{b^2-4ac}}{2a}
    Square root both sides; remember both ++ and −-. (4a2=2∣a∣\sqrt{4a^2}=2|a|, and the ±\pm covers the sign.)
  5. x=−b±b2−4ac2ax=\dfrac{-b\pm\sqrt{b^2-4ac}}{2a}
    Subtract b2a\frac b{2a} from both sides and combine over 2a2a.
The quadratic formula is just completing the square done once and for all.
Edge caseWhen b2−4ac<0b^2-4ac<0 The step "square root both sides" needs b2−4ac4a2≥0\frac{b^2-4ac}{4a^2}\ge0. If b2−4ac<0b^2-4ac<0, a square would have to equal a negative number, which is impossible for real xx: no real roots. The graph never meets the xx-axis.
Completing the square: the procedure

The same route works for every quadratic. The only branch is whether you first need to take out aa.

7. Using the completed square: back to the ball

Worked exampleMaximum height of the ball, h=1+20t−5t2h=1+20t-5t^2

A ball's height is h=1+20t−5t2h=1+20t-5t^2 metres after tt seconds. Find the greatest height and the time it happens.

Goal
Write hh as a(t+p)2+qa(t+p)^2+q; then qq is the maximum (since a<0a<0) and t=−pt=-p is when.
Strategy
Reorder in powers of tt, take out a=−5a=-5, complete the square inside.
  1. h=−5t2+20t+1h=-5t^2+20t+1
    Reorder: a=−5a=-5, b=20b=20, c=1c=1.
  2. =−5(t2−4t)+1=-5\left(t^2-4t\right)+1
    Factor −5-5: 20t=−5×(−4t)20t=-5\times(-4t). Careful with the sign.
  3. =−5[(t−2)2−4]+1=-5\left[(t-2)^2-4\right]+1
    Halve −4-4: −2-2; square: 44; take away.
  4. =−5(t−2)2+20+1=-5(t-2)^2+20+1
    −5×(−4)=+20-5\times(-4)=+20.
  5. =−5(t−2)2+21=-5(t-2)^2+21
    Simplify.
  6. −5(t−2)2≤0  ⇒  h≤21-5(t-2)^2\le0\;\Rightarrow\;h\le21
    A square is ≥0\ge0; times −5-5 it's ≤0\le0.
AnswerMaximum height 2121 m, at t=2t=2 s exactly.
✓ Checkh(2)=1+40−20=21h(2)=1+40-20=21 ✓. Symmetry: h(1)=h(3)=16h(1)=h(3)=16, equal values either side of t=2t=2 ✓.
Worked exampleSolving by completing the square: x2−4x−1=0x^2-4x-1=0

Solve x2−4x−1=0x^2-4x-1=0, giving exact answers.

Goal
Find all real xx, in surd form.
Strategy
Complete the square so xx appears once, isolate the square, square-root both sides.
  1. (x−2)2−4−1=0(x-2)^2-4-1=0
    Halve −4-4: −2-2; square: 44; take away.
  2. (x−2)2=5(x-2)^2=5
    Add 55 to both sides.
  3. x−2=±5x-2=\pm\sqrt5
    Square root both sides, both signs.
  4. x=2±5x=2\pm\sqrt5
    Add 22.
Answerx=2+5≈4.24x=2+\sqrt5\approx4.24 or x=2−5≈−0.24x=2-\sqrt5\approx-0.24.
✓ Checkx=2+5x=2+\sqrt5: x2=9+45x^2=9+4\sqrt5, 4x=8+454x=8+4\sqrt5, so x2−4x−1=9+45−8−45−1=0x^2-4x-1=9+4\sqrt5-8-4\sqrt5-1=0 ✓.
Key takeawayThree things the completed square gives you (1) the vertex and line of symmetry; (2) the least or greatest value (and so the range of a function); (3) the solutions via a single square root.
Pause and think

What is the range of f(x)=x2+8x+20f(x)=x^2+8x+20?

Summary

  • (x+p)2=x2+2px+p2(x+p)^2=x^2+2px+p^2, proved by expanding.
  • x2+bx=(x+b2)2−(b2)2x^2+bx=\left(x+\frac b2\right)^2-\left(\frac b2\right)^2: halve, square, take away.
  • For a≠1a\neq1, factor aa out of the xx-terms first, then multiply it back into everything.
  • a(x+p)2+qa(x+p)^2+q: vertex (−p,q)(-p,q); min if a>0a>0, max if a<0a<0.
  • The quadratic formula is completing the square applied to ax2+bx+c=0ax^2+bx+c=0.
Key words
Completing the square
Rewriting ax2+bx+cax^2+bx+c as a(x+p)2+qa(x+p)^2+q.
Vertex
The turning point of a parabola.
Line of symmetry
The vertical mirror line through the vertex.
Perfect square
An expression of the form (x+p)2(x+p)^2.
Coefficient
The number multiplying a power of the variable.
HistoryAlgebra was named after this method. Around 820 CE, the Baghdad scholar Muhammad ibn Musa al-Khwarizmi wrote a book whose title contains the word al-jabr ("restoring"), which gave us the word algebra; his own name gave us algorithm. One of his worked problems is x2+10x=39x^2+10x=39, which he solved by drawing a square and literally completing it with a 5×55\times5 corner, getting x=3x=3. You will do the same calculation in symbols.
Fun factOlder than algebra itself. Babylonian clay tablets from about 1800 BCE already contain quadratic problems about areas of fields, solved by a recipe equivalent to completing the square. Quadratics are nearly 4000 years old.
Section 3 of 14

Key formulae

a = 1: halve, square, subtractx2+bx+c=(x+b2)2−(b2)2+cx^2+bx+c=\left(x+\frac b2\right)^2-\left(\frac b2\right)^2+c
Any a: take a out of the x terms firstax2+bx+c=a[x2+bax]+c=a(x+b2a)2+c−b24aax^2+bx+c=a\left[x^2+\frac bax\right]+c=a\left(x+\frac{b}{2a}\right)^2+c-\frac{b^2}{4a}
Reading the graph from y = a(x + p)² + qvertex (−p, q)line of symmetry x=−pa>0: minimum value qa<0: maximum value q\begin{gathered}\text{vertex }(-p,\ q)\qquad\text{line of symmetry }x=-p \\[3pt] a>0:\ \text{minimum value }q\qquad a<0:\ \text{maximum value }q\end{gathered}
NoteThe sign flips. (x−3)2(x-3)^2 is zero when x=+3x=+3, so y=(x−3)2+5y=(x-3)^2+5 has its vertex at (3, 5)(3,\,5). The xx-coordinate of the vertex is always the opposite sign of the number in the bracket.
Section 4 of 14

Worked examples

Example 1 · a = 10 / 3 steps
Express x2+8x+3x^2+8x+3 in the form (x+p)2+q(x+p)^2+q.
    Example 2 · a ≠ 1 (exam style)0 / 4 steps
    f(x)=2x2−12x+23f(x)=2x^2-12x+23. (a) Express f(x)f(x) in the form a(x+b)2+ca(x+b)^2+c. (b) State the vertex of y=f(x)y=f(x). (c) State the range of ff.
      Example 3 · Negative a gives a maximum0 / 3 steps
      Express 5+4x−x25+4x-x^2 in the form a−(x−b)2a-(x-b)^2 and state its greatest value.
        Example 4 · Working backwards from the vertex0 / 2 steps
        The curve y=x2+px+qy=x^2+px+q has its minimum point at (3, −7)(3,\,-7). Find pp and qq.
          Example 5 · In context0 / 2 steps
          A ball is thrown upwards. Its height after tt seconds is h=20t−5t2h=20t-5t^2 metres. Find its greatest height and when it is reached.
            Section 5 of 14

            Explore the graph

            The vertex form in action
            Loading the interactive graph…
            Try this
            1. Move hh. The vertex slides left and right, and the line of symmetry moves with it. Notice h=2h=2 puts it at x=+2x=+2: that is (x−2)2(x-2)^2.
            2. Make aa negative. What happens to the shape, and is (h,k)(h,k) now a minimum or a maximum?
            3. Set a=1a=1 and move kk up from −3-3. At what value of kk do the two roots join into one? What happens after that?

            y=a(x−h)2+ky=a(x-h)^2+k always has its vertex at (h, k)(h,\,k). The roots disappear exactly when the vertex lifts off the xx-axis, which is the discriminant changing sign (next subtopic but one).

            Prefer dragging? In this explorer you can grab the vertex itself and watch the equation update.

            Completed square
            y=(x−2)2−3y=(x-2)^2-3
            Expanded
            y=x2−4x+1y=x^2-4x+1
            Vertex
            (2, −3)(2,\ -3) minimum
            Line of symmetry
            x=2x=2
            Roots
            x=0.268, 3.732x=0.268,\ 3.732
            Range
            y≥−3y\ge -3
            TrickHalve, square, subtract. Say it as you write: "half of 88 is 44, bracket (x+4)(x+4) squared, subtract 42=164^2=16". For a≠1a\ne1, add one step at the start: "take aa out of the xx terms", and one at the end: "multiply the subtracted square by aa".
            In the real worldWhy parabolas are everywhere. Ignoring air resistance, anything thrown follows a parabola, so its greatest height is the vertex. Satellite dishes and car headlights are parabola-shaped too: every ray parallel to the axis bounces off the curve to a single point, the focus.
            Section 6 of 14

            Common mistakes

            Incorrectx2+6x+1=(x+3)2+9+1x^2+6x+1=(x+3)^2+9+1
            Correct(x+3)2−9+1(x+3)^2-9+1
            (x+3)2(x+3)^2 already contains +9+9. Subtract it to keep the expression the same.
            Incorrect2x2−12x+23=2(x−3)2−9+232x^2-12x+23=2(x-3)^2-9+23
            Correct2[(x−3)2−9]+23=2(x−3)2+52\left[(x-3)^2-9\right]+23=2(x-3)^2+5
            The −9-9 is inside the bracket multiplied by 22.
            Incorrecty=(x−3)2+5y=(x-3)^2+5 has vertex (−3, 5)(-3,\,5)
            Correct(3, 5)(3,\,5)
            (x−3)2=0(x-3)^2=0 when x=+3x=+3.
            Incorrect5+4x−x2=−(x−2)2+15+4x-x^2=-(x-2)^2+1
            Correct9−(x−2)29-(x-2)^2
            −(x2−4x)=−[(x−2)2−4]=−(x−2)2+4-(x^2-4x)=-\left[(x-2)^2-4\right]=-(x-2)^2+4: the minus sign turns −4-4 into +4+4.
            Expectation

            (x+3)2=x2+9(x+3)^2=x^2+9

            Reality

            (x+3)2=x2+6x+9(x+3)^2=x^2+6x+9, and the 6x6x has been in the room the whole time

            Section 7 of 14

            Exam tip

            Exam tip"Hence" means read it off. If part (a) asks for a(x+b)2+ca(x+b)^2+c and part (b) says "hence state the least value" or "hence state the coordinates of the vertex", the answer is already on your page: cc, and (−b, c)(-b,\,c). One line, one mark. Do not differentiate or start again.
            Section 8 of 14

            Guided practice

            SA-9709-P1-QD-G013 marksL1 FoundationCalculatora = 1
            x2−4x+9=(x+p)2+qx^2-4x+9=(x+p)^2+q. Work through it in three steps.

            Sign in or create a free account to check answers, get hints and track your progress.

            Salam Academy Original Practice · Proposed mark scheme
            Section 9 of 14

            Practice questions

            SA-9709-P1-QD-0012 marksL1 FoundationCalculatora = 1
            Express x2+6x+11x^2+6x+11 in the form (x+a)2+b(x+a)^2+b, where aa and bb are constants.

            Sign in or create a free account to check answers, get hints and track your progress.

            Salam Academy Original Practice · Proposed mark scheme
            SA-9709-P1-QD-0033 marksL2 StandardCalculatora = 1
            Express x2+5x−3x^2+5x-3 in the form (x+a)2+b(x+a)^2+b, giving aa and bb as exact fractions.

            Sign in or create a free account to check answers, get hints and track your progress.

            Salam Academy Original Practice · Proposed mark scheme
            SA-9709-P1-QD-0043 marksL2 StandardCalculatora ≠ 1
            Express 2x2−12x+52x^2-12x+5 in the form a(x+b)2+ca(x+b)^2+c.

            Sign in or create a free account to check answers, get hints and track your progress.

            Salam Academy Original Practice · Proposed mark scheme
            SA-9709-P1-QD-0052 marksL2 StandardCalculatorVertex
            Find the coordinates of the minimum point of the curve y=x2−8x+19y=x^2-8x+19.

            Sign in or create a free account to check answers, get hints and track your progress.

            Salam Academy Original Practice · Proposed mark scheme
            SA-9709-P1-QD-0114 marksL4 ChallengingCalculatora ≠ 1
            Express 5+4x−x25+4x-x^2 in the form a−(x−b)2a-(x-b)^2, and hence state the maximum value of 5+4x−x25+4x-x^2.

            Sign in or create a free account to check answers, get hints and track your progress.

            Salam Academy Original Practice · Proposed mark scheme
            SA-9709-P1-QD-0124 marksL4 ChallengingCalculatorUnknown constants
            The curve y=x2+px+qy=x^2+px+q has a minimum point at (3, −7)(3,\,-7). Find pp and qq.

            Sign in or create a free account to check answers, get hints and track your progress.

            Salam Academy Original Practice · Proposed mark scheme
            SA-9709-P1-QD1-0014 marksL2 StandardCalculatorSketching & models
            For the curve y=x2−2x−8y=x^2-2x-8, find (a) the xx-coordinates where it crosses the xx-axis (b) where it crosses the yy-axis (c) the coordinates of its vertex. (These are what a sketch must show.)

            Sign in or create a free account to check answers, get hints and track your progress.

            Salam Academy Original Practice · Proposed mark scheme
            SA-9709-P1-QD1-0054 marksL3 ExamCalculatorSketching & models
            A farmer has 4040 m of fencing to make three sides of a rectangular pen against a long straight wall. The two sides perpendicular to the wall are each xx m long. (a) Show that the area is A=x(40−2x)A=x(40-2x). (b) By completing the square, find the greatest possible area.

            Sign in or create a free account to check answers, get hints and track your progress.

            Salam Academy Original Practice · Proposed mark scheme

            More questions on every skill in this subtopic are in the question bank under Practise.

            Section 10 of 14

            Challenge

            SA-9709-P1-QD-0135 marksL5 ExtensionCalculatorUnknown constants
            The curve y=x2−2kx+3ky=x^2-2kx+3k, where kk is a positive constant, has its minimum point on the xx-axis. Find kk.

            Sign in or create a free account to check answers, get hints and track your progress.

            Salam Academy Original Practice · Proposed mark scheme
            Section 11 of 14

            Summary

            • Halve the coefficient of xx, square the bracket, subtract the square. For a≠1a\ne1, take aa out of the xx terms first.
            • y=a(x+p)2+qy=a(x+p)^2+q has vertex (−p, q)(-p,\,q) and line of symmetry x=−px=-p.
            • a>0a>0: least value qq. a<0a<0: greatest value qq.
            • To sketch: vertex, yy-intercept (x=0x=0), and roots if there are any.
            • In context, the vertex answers "greatest height", "maximum area" or "least cost".
            Section 12 of 14

            Quick quiz

            Q1 · SA-9709-P1-QD-Q011 markL1 FoundationCalculatora = 1
            x2+10xx^2+10x is equal to
            Choose one option

            Sign in or create a free account to check answers, get hints and track your progress.

            Salam Academy Original Practice · Proposed mark scheme
            Q2 · SA-9709-P1-QD-Q021 markL1 FoundationCalculatorVertex
            The vertex of y=(x+2)2−7y=(x+2)^2-7 is
            Choose one option

            Sign in or create a free account to check answers, get hints and track your progress.

            Salam Academy Original Practice · Proposed mark scheme
            Q3 · SA-9709-P1-QD-Q031 markL2 StandardCalculatorUnknown constants
            Which form shows directly that x2−6x+11>0x^2-6x+11>0 for all xx?
            Choose one option

            Sign in or create a free account to check answers, get hints and track your progress.

            Salam Academy Original Practice · Proposed mark scheme
            Section 13 of 14

            Same topic, different board

            Specification
            7357 A-level Mathematics
            Where
            Section B, Algebra and functions (B3–B5)
            Expected
            Completing the square, including to find the turning point of a quadratic and to sketch its graph.
            Calculator
            Permitted on all papers.
            Typical style
            AQA sometimes asks you to explain a step in words, or to set a quadratic in a real-world context.
            Terminology
            AQA and Edexcel call a repeated root "equal roots" as often as "a repeated root".
            Open in
            7357 · Paper 17357 · Paper 27357 · Paper 3
            Section 14 of 14

            Past paper questions

            6 questions (42 marks) from real exams test this subtopic. Try each one under timed conditions, then mark it with the official mark scheme.

            1. 9709/12 · Oct/Nov 2025Question 15 marks

              Complete the square, the condition for no real roots, and an exact solution.

            2. 9709/12 · May/June 2025Question 119 marks

              Complete the square, then find an inverse and a composite function.

            3. 9709/12 · Oct/Nov 2024Question 78 marks

              Complete the square to find a vertex, then the area between a parabola and a line.

            4. 9709/12 · Oct/Nov 2023Question 68 marks

              Minimum point of a quadratic, then its image after a stretch and a translation.

            5. 9709/12 · May/June 2023Question 33 marks

              Complete the square, then use the discriminant for a quadratic with no real roots.

            6. 9709/12 · Oct/Nov 2022Question 69 marks

              Complete the square, solve with it, and sketch the turning point.

            All 9709 past paper questions by topic

            Salam Academy original content · Content status: reviewed and published. Syllabus mapping: AQA 7357, First teaching 2017 (official specification).