Turning Points by Completing the Square

On this page

How to find the turning point of a quadratic graph by completing the square, decide whether it is a maximum or a minimum, and sketch the graph with its intercepts.

Key ideas

y=(x-3)^2-4: the bracket is 0 when x=3, so the turning point is (3,-4). A positive number in front of the bracket gives a minimum.

y=-2(x+1)^2+5: the bracket is 0 when x=-1, so the turning point is (-1,5). A negative number in front gives a maximum.

Put x=0 for where it crosses the y-axis: y=x^2-2x-8 crosses it at (0,-8).

Put y=0 for where it crosses the x-axis: y=(x-1)^2-5 crosses it where (x-1)^2=5, so x=1\pm\sqrt5.

  • The x-coordinate of the turning point is the value that makes the bracket zero, so its sign is the opposite of the sign in the bracket.
  • If you are given points on the curve instead of its whole equation, substitute them to find the missing numbers first, then complete the square.
  • If you know where the curve crosses the x-axis, the x-coordinate of the turning point is halfway between them.

Worked example 1: The turning point from the completed square

(a) Write x^2+10x+7 in the form (x+a)^2+b, where a and b are integers.

(b) Hence write down the coordinates of the turning point on the graph of y=x^2+10x+7

  1. (a) Halve the x coefficient: 10\div2=5, so use (x+5)^2, which is x^2+10x+25
  2. That is 25 too many, so take it away: x^2+10x+7=(x+5)^2-25+7=(x+5)^2-18
  3. (b) The bracket is 0 when x=-5, and then y=-18. The turning point is (-5,-18)
  4. Not (5,-18): copying the sign from the bracket is the commonest slip. In the form (x-a)^2-b, (x-3)^2-8 gives a=3 and b=8.

Now try this

By completing the square, find the coordinates of the turning point on the graph of y=x^2-14x+40

  1. Half of 14 is 7: x^2-14x+40=(x-7)^2-49+40=(x-7)^2-9
  2. The bracket is 0 when x=7, and then y=-9. The turning point is (7,-9)

More like this: practice questions

Worked example 2: Taking out the number in front of x²

Find the coordinates of the turning point on the graph of y=3x^2+12x+5

You must show all your working.

  1. Take 3 out of the x^2 and x terms only: y=3(x^2+4x)+5
  2. Complete the square inside the bracket: x^2+4x=(x+2)^2-4
  3. y=3\left[(x+2)^2-4\right]+5=3(x+2)^2-12+5=3(x+2)^2-7
  4. The turning point is (-2,-7), a minimum because 3 is positive.
  5. Multiply the −4 by the 3 as well. A question that says "show that the turning point is …" is worked the same way: write every line, and end by saying the point you found is the one given.

Now try this

Find the coordinates of the turning point on the graph of y=2x^2-20x+31

  1. y=2(x^2-10x)+31 and x^2-10x=(x-5)^2-25
  2. y=2\left[(x-5)^2-25\right]+31=2(x-5)^2-50+31=2(x-5)^2-19
  3. The turning point is (5,-19)

More like this: practice questions

Worked example 3: A negative x² term gives a maximum

Find the coordinates of the turning point on the curve with equation y=3+20x-5x^2

You must show all your working.

  1. Write the terms in order: y=-5x^2+20x+3
  2. Take −5 out of the x^2 and x terms: y=-5(x^2-4x)+3. Check: -5\times(-4x)=20x
  3. x^2-4x=(x-2)^2-4so y=-5\left[(x-2)^2-4\right]+3=-5(x-2)^2+20+3=-5(x-2)^2+23
  4. The turning point is (2,23). It is a maximum: -5(x-2)^2 is never positive, so y is never more than 23.
  5. Don't divide the whole equation by −5: that changes every y-value, so the y-coordinate comes out wrong.

Now try this

Find the coordinates of the turning point on the curve with equation y=4+24x-3x^2

  1. y=-3x^2+24x+4=-3(x^2-8x)+4 and x^2-8x=(x-4)^2-16
  2. y=-3\left[(x-4)^2-16\right]+4=-3(x-4)^2+48+4=-3(x-4)^2+52
  3. The turning point is (4,52), a maximum.

More like this: practice questions

Worked example 4: A sketch with exact intercepts

Sketch the graph of y=2x^2-4x-7

Show the coordinates of the turning point and the exact coordinates of any points where the graph crosses the axes.

  1. y=2(x^2-2x)-7=2\left[(x-1)^2-1\right]-7=2(x-1)^2-9. The turning point is (1,-9), a minimum.
  2. y-axis: x=0 gives y=-7, so (0,-7)
  3. x-axis: 2(x-1)^2-9=0so (x-1)^2=\frac92so x-1=\pm\frac{3}{\sqrt2}=\pm\frac{3\sqrt2}{2}
  4. The graph crosses the x-axis at \left(1-\frac{3\sqrt2}{2},\,0\right) and \left(1+\frac{3\sqrt2}{2},\,0\right)
  5. The line of symmetry goes through the turning point, not along the y-axis. Label every point with its coordinates.

Now try this

The graph of y=2x^2+8x+3 crosses the x-axis at two points.

By completing the square, find the exact x-coordinate of the point on the right.

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

  1. y=2(x^2+4x)+3=2\left[(x+2)^2-4\right]+3=2(x+2)^2-5
  2. 2(x+2)^2-5=0so (x+2)^2=\frac52so x+2=\pm\sqrt{\frac52}=\pm\frac{\sqrt{10}}{2}
  3. The point on the right is x=-2+\frac{\sqrt{10}}{2} (about −0.42)

More like this: practice questions

Worked example 5: A turning point in terms of a letter

Sketch the graph of y=x^2+8px-6, where p>0

Show the coordinates of the turning point, in terms of p, and the coordinates of the point where the graph crosses the y-axis.

  1. Treat p as a number. Half of 8p is 4p, and (x+4p)^2=x^2+8px+16p^2
  2. y=(x+4p)^2-16p^2-6. The turning point is (-4p,\,-16p^2-6), a minimum.
  3. y-axis: x=0 gives (0,-6)
  4. p>0, so -4p is negative and -16p^2-6 is below −6: the turning point is left of the y-axis and below (0,-6)
  5. Square all of 4p: (4p)^2=16p^2, not 4p^2. Don't mark where the graph crosses the x-axis unless you have worked it out.

Now try this

The graph of y=x^2-10px+4, where p>0, has one turning point.

Find the y-coordinate of the turning point, in terms of p.

Type powers with ^ and fractions with /, for example x^2 or (x+1)/3

  1. Half of 10p is 5p, and (x-5p)^2=x^2-10px+25p^2
  2. y=(x-5p)^2-25p^2+4, so the turning point is (5p,\,4-25p^2)

More like this: practice questions

Interactive diagram

Practice questions