Steply

Write f(x) = x^2 + 8x + 12 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 f(x) = x² + 8x + 12 in vertex form.

f(x) = x2 + 8x + 12

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 Complete the square

We add 16 to fill the corner.

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

= x2 + 8x + 16 − 16 + 12

2 Write the square

The full square is x + 4 on each side.

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

x2 + 8x + 16 = (x + 4)2

We write the bracket squared.

The rest stays.

= (x + 4)2 − 16 + 12

3 Tidy up

−16 plus 12 is −4.

−16 + 12 = −4

So f(x) = (x + 4)² − 4.

This is vertex form.

= (x + 4)2 − 4

4 Read the vertex

In vertex form we need x minus h.

x + 4 is x minus (−4).

So h = −4, and k = −4.

x + 4 = x − (−4)

So the vertex is (−4, −4).

vertex = (−4, −4)

Careful!

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

The sign in the bracket is the opposite of h.

Careful: not vertex (4, −4) ✗

5 Check

Let's check: open the brackets again.

(x + 4) squared is x² + 8x + 16.

Check: (x + 4)2 − 4 = x2 + 8x + 16 − 4
= x2 + 8x + 12

We get x² + 8x + 12 again.

It works!

Let's look back.

First: complete the square.

Then: write the square.

Then: tidy up.

Then: read the vertex.

Last: check.

Answer
= (x + 4)2 − 4

Your turn

Try this one yourself, then check:

y = x2 + 4x + 2 in vertex form
Show the answer
y = (x + 2)2 − 2

More from Vertex form by completing the square

The whole lesson: Vertex form by completing the square →