Steply

Write 5x^2 + 20x + 18 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 = 5x² + 20x + 18 in vertex form.

y = 5x2 + 20x + 18

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 5 out of the x parts

The x² must have just 1 in front.

So we take 5 out of the two x parts.

The 18 stays outside.

5x² ÷ 5 = x², 20x ÷ 5 = 4x

So y is 5 times (x² + 4x), plus 18.

= 5(x2 + 4x) + 18

2 Complete the square

We add 4 to fill the corner.

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

= 5(x2 + 4x + 4 − 4) + 18

3 Write the square

The full square is x + 2 on each side.

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

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

We write the bracket squared.

The rest stays.

= 5[(x + 2)2 − 4] + 18

5 times minus 4 is −20: the 5 multiplies both parts in the big bracket.

5 × (−4) = −20

So y is 5 times the square, minus 20, plus 18.

= 5(x + 2)2 − 20 + 18

4 Tidy up

−20 plus 18 is −2.

−20 + 18 = −2

So y = 5(x + 2)² − 2.

This is vertex form.

= 5(x + 2)2 − 2

5 Read the vertex

In vertex form we need x minus h.

x + 2 is x minus (−2).

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

x + 2 = x − (−2)

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

vertex = (−2, −2)

Careful!

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

The sign in the bracket is the opposite of h.

Careful: not vertex (2, −2) ✗

6 Check

Let's check: open the brackets again.

(x + 2) squared is x² + 4x + 4.

Check: 5(x + 2)2 − 2 = 5(x2 + 4x + 4) − 2
= 5x2 + 20x + 20 − 2 = 5x2 + 20x + 18

We get 5x² + 20x + 18 again.

It works!

Let's look back.

First: take 5 out of the x parts.

Then: complete the square.

Then: write the square.

Then: tidy up.

Then: read the vertex.

Last: check.

Answer
= 5(x + 2)2 − 2

Your turn

Try this one yourself, then check:

y = 5x2 + 10x + 8 in vertex form
Show the answer
y = 5(x + 1)2 + 3

More from Vertex form by completing the square

The whole lesson: Vertex form by completing the square →