Completing the Square Examples: 46 Problems with Answers

Worked examples of Completing the Square to try before you open each solution, then practice problems with answers.

Worked Examples

Example 1

medium
Rewrite x2+6x+2 in vertex form by completing the square.
Show solution

Answer

(x+3)2−7

First step

1.
Take half of the coefficient of x: 62=3.

See the full worked solution + why-it-works coaching

SetupKey insightWhy it worksCommon pitfallConnection

Free: full solutions on 3 topics a day. No card.

Every topic, every day: the Family plan

Example 2

hard
Solve x2−4x−5=0 by completing the square.

Example 3

medium
Rewrite x2−10x+18 in vertex form by completing the square.

Example 4

medium
Rewrite 2x2−12x+5 in vertex form.

Example 5

hard
Solve 2x2+8x−10=0 by completing the square.

Example 6

hard
Solve x2−5x+2=0 by completing the square; give exact answers.

Example 7

challenge
Use completing the square to derive the quadratic formula starting from ax2+bx+c=0 (a≠0).

Practice Problems

Try each one, then open the solution to compare your method.

Example 1

easy
What number completes the square for x2+10x+ _ ?

Example 2

medium
Rewrite x2−8x+20 in vertex form.

Example 3

easy
What value completes the square for x2+6x?

Example 4

easy
What value completes the square for x2+10x?

Example 5

easy
What value completes the square for x2−8x?

Example 6

easy
Write x2+4x+4 as a squared binomial.

Example 7

easy
Write x2−6x+9 as a squared binomial.

Example 8

easy
Complete the square: rewrite x2+2x in the form (x+h)2+k.

Example 9

easy
What is h when you complete the square on x2−10x, writing (x+h)2+k?

Example 10

easy
Is x2+5x+6 a perfect-square trinomial?

Example 11

medium
Complete the square: x2+8x+10.

Example 12

medium
Complete the square: x2−6x+1.

Example 13

medium
Complete the square: 2x2+8x+5.

Example 14

medium
Complete the square: 3x2−12x+7.

Example 15

medium
Solve x2+6x+5=0 by completing the square.

Example 16

medium
Solve x2−4x−12=0 by completing the square.

Example 17

medium
Complete the square for x2+3x (fractions allowed).

Example 18

medium
After completing the square, x2−2x+7=(x−1)2+c. Find c.

Example 19

medium
Complete the square: x2+5x+1 (fractions allowed).

Example 20

challenge
Find the minimum value of f(x)=x2−8x+20.

Example 21

challenge
For what value of c is x2+10x+c a perfect-square trinomial?

Example 22

challenge
Derive the vertex of y=ax2+bx+c by completing the square; give the x-coordinate.

Example 23

easy
What number completes the square for x2+12x+ _ ?

Example 24

easy
Write x2−14x+49 as a squared binomial.

Example 25

easy
Complete the square: rewrite x2+4x in the form (x+h)2+k.

Example 26

easy
Is x2+6x+9 a perfect-square trinomial?

Example 27

easy
Write x2−20x+100 as a squared binomial.

Example 28

medium
Complete the square: x2+12x+20.

Example 29

medium
Complete the square: 4x2+16x+7.

Example 30

medium
Solve x2+8x+7=0 by completing the square.

Example 31

medium
Solve x2−10x+21=0 by completing the square.

Example 32

medium
Complete the square for x2+7x (fractions allowed).

Example 33

medium
Find the vertex of y=x2−6x+11.

Example 34

medium
Find the minimum value of f(x)=x2+4x+9.

Example 35

medium
Solve x2+4x−1=0 by completing the square.

Example 36

hard
Find the vertex of y=−2x2+8x+1.

Example 37

hard
Rewrite 3x2+6x−1 in vertex form.

Example 38

hard
The path of a ball is h(t)=−16t2+64t+5. Find its maximum height by completing the square.

Example 39

challenge
Find all real values of k for which x2+kx+9 has exactly one real root.

What to focus on

Core idea: Completing the square adds and subtracts (b2)2 to turn x2+bx into a perfect square plus a leftover.

Common stuck point: The procedure for completing the square is the easy part; the trap is adding (b2)2 without also subtracting it. Asking "Am I manufacturing a perfect-square trinomial by adding and subtracting the same value to keep it equal?" first is what keeps a correct-looking calculation from being attached to the wrong concept.

Ask yourself: Am I manufacturing a perfect-square trinomial by adding and subtracting the same value to keep it equal?

Concept recap

A technique for rewriting ax2+bx+c in vertex form a(x−h)2+k by adding and subtracting the value (b2a)2 to create a perfect square trinomial.

Completing the square is like finishing a jigsaw that is missing one corner piece: the x2 tile and two strips almost form a square, and (b2)2 is the missing corner. You borrow that piece, so you have to give it back by subtracting it. The tile picture works for positive b; for negative b the algebra is identical, but the drawing has to cut strips away.

Read the full lesson on Completing the Square

Completing the Square is covered with related ideas in the guide Quadratic Equations: Factoring, Completing the Square, and the Quadratic Formula.

Background knowledge

These ideas may be useful before you work through the harder examples.

quadratic standard formexpressions