Steply

Write 2x^2 + 12x + 7 in vertex form

Step by step, with the reason for every step · Vertex form by completing the square · Algebra 2

Step by step

The question

Question: write y = 2x² + 12x + 7 in vertex form.

y = 2x2 + 12x + 7

Vertex form is a times (x minus h) squared, plus k.

The vertex, the turning point, is (h, k).

vertex form: a(x − h)2 + k

1 Take 2 out of the x parts

The x² must have just 1 in front.

So we take 2 out of the two x parts.

The 7 stays outside.

2x² ÷ 2 = x², 12x ÷ 2 = 6x

So y is 2 times (x² + 6x), plus 7.

= 2(x2 + 6x) + 7

2 Complete the square

We add 9 to fill the corner.

And we take 9 away straight after, so nothing changes.

= 2(x2 + 6x + 9 − 9) + 7

3 Write the square

The full square is x + 3 on each side.

So these three parts are (x + 3) squared.

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

We write the bracket squared.

The rest stays.

= 2[(x + 3)2 − 9] + 7

2 times minus 9 is −18: the 2 multiplies both parts in the big bracket.

2 × (−9) = −18

So y is 2 times the square, minus 18, plus 7.

= 2(x + 3)2 − 18 + 7

4 Tidy up

−18 plus 7 is −11.

−18 + 7 = −11

So y = 2(x + 3)² − 11.

This is vertex form.

= 2(x + 3)2 − 11

5 Read the vertex

In vertex form we need x minus h.

x + 3 is x minus (−3).

So h = −3, and k = −11.

x + 3 = x − (−3)

So the vertex is (−3, −11).

vertex = (−3, −11)

Careful!

x plus 3 means h is −3, not 3.

The sign in the bracket is the opposite of h.

Careful: not vertex (3, −11) ✗

6 Check

Let's check: open the brackets again.

(x + 3) squared is x² + 6x + 9.

Check: 2(x + 3)2 − 11 = 2(x2 + 6x + 9) − 11
= 2x2 + 12x + 18 − 11 = 2x2 + 12x + 7

We get 2x² + 12x + 7 again.

It works!

Let's look back.

First: take 2 out of the x parts.

Then: complete the square.

Then: write the square.

Then: tidy up.

Then: read the vertex.

Last: check.

Answer
= 2(x + 3)2 − 11

Your turn

Try this one yourself, then check:

y = 2x2 + 12x + 3 in vertex form
Show the answer
y = 2(x + 3)2 − 15

More from Vertex form by completing the square

The whole lesson: Vertex form by completing the square →