Websink Prep UKGCSE MathsTextbook contentsMaths textbooksYear 1Year 2Year 4Year 5Year 6GCSEBrowse allPast papersFind a tutorBecome a tutor
GCSE Maths · EdexcelChapter 13 · Quadratic and other graphs
GCSE Maths · Quadratic and Other Graphs · Higher · Lesson 13.9

GCSE Maths: Sketching quadratics and completing the square (Higher)

Part of the GCSE Maths quadratic and other graphs chapter (Higher). Chapter overview · whole chapter on one page · Download worksheet (PDF) · Answers (PDF)

Download worksheet (PDF)Answers (PDF)
13.9

Sketching quadratics and completing the square

Edexcel 1MA1: A11, A12
Grade 5-8

A sketch shows the shape of a graph and its key points without plotting a table of values. For a quadratic you need: (1) the shape (U or n, from the sign of x²), (2) the y-intercept (put x = 0), (3) the roots (put y = 0 and solve, usually by factorising), and (4) the turning point. Label each key point with its coordinates and draw a smooth, symmetrical curve through them.

xy(1, −4)(−1, 0)(3, 0)(0, −3)
A sketch of y = x² − 2x − 3: U-shaped, y-intercept (0, −3), roots (−1, 0) and (3, 0), turning point (1, −4).

Finding the turning point by completing the square. The turning point comes from rewriting x² + bx + c in the form (x + p)² + q. To see why, think about (x + p)². A number squared is never negative, so (x + p)² is smallest (it is 0) when x + p = 0, that is when x = −p. At that point y = 0 + q = q. So the minimum point (the turning point) of y = (x + p)² + q is (−p, q).

How to complete the square (when the number in front of x² is 1): halve the number in front of x to get p. Write (x + p)². Expanding it gives x² + 2px + p², so it contains an extra p²: subtract p² and add the original constant. For x² − 6x + 4: p = −3, (x − 3)² = x² − 6x + 9, so x² − 6x + 4 = (x − 3)² − 9 + 4 = (x − 3)² − 5. The turning point is (3, −5).

If the number in front of x² is not 1, take it out of the x² and x terms first. If it is negative the curve is n-shaped, and the turning point is a maximum.

Exact roots. If a quadratic does not factorise, complete the square, set y = 0 and square root both sides. For (x − 3)² − 5 = 0 we get (x − 3)² = 5, so x = 3 ± √5 (about 0.76 and 5.24).

xy(3, −5)(0.8, 0)(5.2, 0)(0, 4)
A sketch of y = x² − 6x + 4 = (x − 3)² − 5. The roots 3 − √5 and 3 + √5 are about 0.8 and 5.2.

Key ideas

  • To sketch a quadratic: shape (sign of x²), y-intercept (x = 0), roots (y = 0), turning point. Label the coordinates.
  • Completing the square: x² + bx + c = (x + b/2)² + c − (b/2)².
  • The turning point of y = (x + p)² + q is (−p, q): minimum if the curve is U-shaped, maximum if n-shaped.
  • Roots by completing the square: (x + p)² = number, so x = −p ± the square root.
  • If the number in front of x² is not 1, take it out of the x² and x terms first.
Worked example 13.9.1
Sketch the graph of y = x² − 2x − 3. Show the points where the curve crosses the axes and its turning point.
▶ Watch this solution as a video

Key words. To sketch a graph means to draw its shape with the key points labelled, without plotting every point. The intercepts are where the graph crosses the axes.

Method. Find the shape, the y-intercept, the roots and the turning point, then draw a smooth curve through them.

  1. Decide the shape. The sign of the x² term tells us: positive gives a U-shape, negative gives an n-shape.
    The number in front of x2 is 1, so the curve is U-shaped.
  2. Find the y-intercept. The curve crosses the y-axis where x = 0, which is the constant term.
    x = 0:  y = 02 − 2 × 0 − 3 = 0 + 0 − 3 = −3
    The y-intercept is (0, −3).
  3. Find the roots. The roots are where the curve meets the x-axis, so put y = 0 and solve. Factorise, then use "if two brackets multiply to 0, one of them is 0".
    Spot the pattern. This is a quadratic of the form x² + bx + c, with b = -2 and c = -3.
    We need two numbers that multiply to -3 (the last number) and add to -2 (the middle number). List the pairs that multiply to -3:
    1 × -3 = -3,   add: 1 + -3 = -2 ✓ this pair works
    Put the pair into two brackets: (x + 1)(x − 3).
    Check by expanding: x² − 3x + 1x − 3 = x2 − 2x − 3. ✓
    Set (x − 3)(x + 1) = 0, so x = −1 or x = 3
    The curve crosses the x-axis at (−1, 0) and (3, 0).
  4. Find the turning point. The turning point is on the line of symmetry. Complete the square, or use the midpoint of the roots.
    y = (x − 1)2 − 4
    Turning point = (1, −4)
  5. Draw the axes and the curve. A sketch does not need an accurate scale. It must show the right shape and label the key points: the y-intercept, any roots and the turning point.
    Label (0, −3), the roots, and the turning point (1, −4).

Check. The curve is symmetrical: the turning point lies halfway between the two roots, and the y-intercept is on the curve (substitute x = 0 to see). ✓

Watch out. A sketch needs labelled coordinates, not a perfect drawing. Make sure the curve is smooth and symmetrical.

Worked example 13.9.2
Write x² − 6x + 4 in the form (x + p)² + q. Hence write down the coordinates of the turning point of y = x² − 6x + 4.
▶ Watch this solution as a video

Key words. Completing the square means writing x² + bx + c as (x + p)² + q. The turning point is the lowest point (minimum) of a U-shape or the highest point (maximum) of an n-shape.

Method. Complete the square: write the quadratic as a(x + p)² + q. Then the turning point is (−p, q).

  1. Write the quadratic and look at the numbers. We want it in the form a(x + p)² + q. That form shows the turning point at a glance.
    y = x2 − 6x + 4
  2. Halve the number in front of x. In (x + p)² = x² + 2px + p², the middle term is 2p. So p is half of the number in front of x.
    −6 ÷ 2 = −3, so the bracket is (x − 3)
  3. Square the bracket and see what it gives. Expanding the bracket gives the x² and x terms we want, but it also adds an extra number p².
    (x − 3)2 = x2 − 6x + 9
  4. Take away the extra number and add the original constant. We have an extra 9, so subtract it to keep the value the same. Then put back the constant term.
    x2 − 6x + 4 = (x − 3)2 − 9 + 4
  5. Tidy up the numbers. Combine the two plain numbers.
    y = (x − 3)2 − 5
  6. Find the turning point. A squared bracket is never negative, and it equals 0 when the bracket is 0. So y is at its minimum when (x − 3) = 0, that is when x = 3. Then y = −5.
    Turning point = (3, −5)   (minimum value of y is −5)

Check. Expand the answer: (x − 3)2 − 5 = x2 − 6x + 4, which is the original. ✓

Watch out. The turning point has the opposite sign to the number in the bracket: (x − 3)² + 1 has its turning point at x = +3.

Worked example 13.9.3
Solve x² − 6x + 4 = 0 by completing the square. Give your answers as surds.
▶ Watch this solution as a video

Key words. A surd is a root that does not simplify to a whole number or fraction, such as √5. Exact means leaving it as √5 instead of a rounded decimal.

Method. Complete the square, then undo it: square root both sides (positive and negative).

  1. Put y = 0. Roots are where the curve meets the x-axis.
    0 = x2 − 6x + 4
  2. Complete the square. Halve the number in front of x (−6 ÷ 2 = −3), square the bracket, and correct the constant.
    0 = (x − 3)2 − 5
  3. Get the bracket on its own. Move the 5 to the other side (do the inverse operation).
    (x − 3)2 = 5
  4. Take the square root of both sides. There are two square roots: positive and negative. Leave the answer as a surd (an exact root), simplified if possible.
    x − 3 = ±√5
  5. Get x on its own. Do the inverse of subtracting 3.
    x = 3 ± √5

Check. Decimals: 3 + 2.24 = 5.24 and 3 − 2.24 = 0.76. Substituting 5.24 into the rule gives about 0. ✓

Watch out. Do not forget the ±. Leave surds exact unless the question asks for decimals.

Worked example 13.9.4
Find the coordinates of the turning point of y = −x² + 4x + 1 by completing the square. Is it a maximum or a minimum?
▶ Watch this solution as a video

Key words. Completing the square means writing x² + bx + c as (x + p)² + q. The turning point is the lowest point (minimum) of a U-shape or the highest point (maximum) of an n-shape.

Method. Complete the square: write the quadratic as a(x + p)² + q. Then the turning point is (−p, q).

  1. Write the quadratic and look at the numbers. We want it in the form a(x + p)² + q. That form shows the turning point at a glance.
    y = −x2 + 4x + 1
  2. Take the number −1 out of the x² and x terms. This leaves x² with a 1 in front, so we can complete the square inside the bracket. The constant stays outside.
    y = −[x2 − 4x] + 1
  3. Complete the square inside the bracket. Halve the number in front of x: −4 ÷ 2 = −2. Then x2 − 4x = (x − 2)2 − 4.
    y = −[(x − 2)2 − 4] + 1
  4. Multiply the outside number into what is being subtracted. The −1 multiplies both parts of the square bracket.
    y = −(x − 2)2 + 4 + 1
  5. Tidy up the numbers. Combine the plain numbers.
    y = −(x − 2)2 + 5
  6. Find the turning point. A squared bracket is never negative, and it equals 0 when the bracket is 0. So y is at its maximum when (x − 2) = 0, that is when x = 2. Then y = 5.
    Turning point = (2, 5)   (maximum value of y is 5)

Check. Expand the answer: −(x − 2)2 + 5 = −x2 + 4x + 1, which is the original. ✓

Watch out. The turning point has the opposite sign to the number in the bracket: (x − 3)² + 1 has its turning point at x = +3.

Worked example 13.9.5
Write 2x² − 12x + 7 in the form a(x + p)² + q and hence find the minimum value of 2x² − 12x + 7.
▶ Watch this solution as a video

Key words. Completing the square means writing x² + bx + c as (x + p)² + q. The turning point is the lowest point (minimum) of a U-shape or the highest point (maximum) of an n-shape.

Method. Complete the square: write the quadratic as a(x + p)² + q. Then the turning point is (−p, q).

  1. Write the quadratic and look at the numbers. We want it in the form a(x + p)² + q. That form shows the turning point at a glance.
    y = 2x2 − 12x + 7
  2. Take the number 2 out of the x² and x terms. This leaves x² with a 1 in front, so we can complete the square inside the bracket. The constant stays outside.
    y = 2[x2 − 6x] + 7
  3. Complete the square inside the bracket. Halve the number in front of x: −6 ÷ 2 = −3. Then x2 − 6x = (x − 3)2 − 9.
    y = 2[(x − 3)2 − 9] + 7
  4. Multiply the outside number into what is being subtracted. The 2 multiplies both parts of the square bracket.
    y = 2(x − 3)2 − 18 + 7
  5. Tidy up the numbers. Combine the plain numbers.
    y = 2(x − 3)2 − 11
  6. Find the turning point. A squared bracket is never negative, and it equals 0 when the bracket is 0. So y is at its minimum when (x − 3) = 0, that is when x = 3. Then y = −11.
    Turning point = (3, −11)   (minimum value of y is −11)

Check. Expand the answer: 2(x − 3)2 − 11 = 2x2 − 12x + 7, which is the original. ✓

Watch out. The turning point has the opposite sign to the number in the bracket: (x − 3)² + 1 has its turning point at x = +3.

Watch out

The turning point has the opposite sign to the number inside the bracket: (x − 3)² + 1 has its turning point at x = +3. And do not forget to subtract p² when you complete the square, otherwise the expression has changed. A minus in front of the bracket makes the turning point a maximum.

Exam tip

Always check by expanding your answer. If (x − 3)² − 5 expands to x² − 6x + 4, you are right.

Exercise 13I  Sketching quadratics and completing the square

Non-calculator
1
FWrite each expression in the form (x + p)² + q.
(a)x2 + 4x + 1
(b)x2 − 6x + 2
(c)x2 + 10x
(d)x2 − 2x − 5
(e)x2 + 3x
(f)x2 − 8x + 20
2
FComplete the square to find the coordinates of the turning point of each graph.
(a)y = x2 − 4x + 7
(b)y = x2 + 6x + 5
(c)y = x2 − 10x + 30
(d)y = x2 + x + 1
3
FSketch each graph. Mark the coordinates of the y-intercept, any roots and the turning point.
(a)Sketch y = x2 − 4x + 3
(b)Sketch y = x2 + 2x − 8
(c)Sketch y = −x2 + 4
(d)Sketch y = x2 − 6x + 9
(e)Sketch y = x2 + 4x + 7
4
FSolve each equation by completing the square. Give your answers as surds.
(a)x2 − 4x + 1 = 0
(b)x2 + 6x + 2 = 0
(c)x2 − 2x − 5 = 0
5
PSSketch the graph of y = x² − 6x + 4, showing the exact coordinates of the points where it crosses the x-axis.
6
FWrite down the coordinates of the turning point of each graph, and say whether it is a maximum or a minimum. (No working out is needed.)
(a)y = (x − 5)2 + 3
(b)y = (x + 2)2 − 7
(c)y = −(x − 1)2 + 4
7
RShow that x² − 8x + 19 is always greater than 0.
8
PSThe curve y = x² + bx + c has its turning point at (3, −2). Find the values of b and c.
9
FWrite 2x² − 12x + 7 in the form a(x + p)² + q. Write down the minimum value of 2x² − 12x + 7 and the value of x when it happens.
10
FBy completing the square, find the coordinates of the maximum point of y = −x² + 6x − 5.
11
PSThe path of a ball has equation y = 20x − 5x². Complete the square to find the greatest height and where it happens.
12
RThe graph of y = x² + kx + 9 touches the x-axis at exactly one point, and k is positive. Find k and the coordinates of the point.
13
RPriya says that the turning point of y = (x + 4)² − 5 is (4, −5). Explain her mistake and give the correct coordinates.
14
RProve that the turning point of y = x² + bx + c is at x = −b/2, for any numbers b and c.

Websink Prep UK is an independent site. It is not affiliated with, endorsed by or sponsored by AQA, Pearson Edexcel, OCR, WJEC, Eduqas, CCEA, SQA, GL Assessment, CEM or the Department for Education. All exam board names and trademarks belong to their owners. Past papers are linked from the exam boards' own websites and are not hosted here.

About Websink Prep UK · Find a tutor · Privacy · Terms · Cookie settings