← Algebra II

Algebra II

Completing the Square

Lesson

Completing the square rewrites a quadratic as a perfect square plus a constant — i.e. into vertex form:

x2+bx+c    (x+h)2+kx^2 + bx + c \;\longrightarrow\; (x + h)^2 + k

For monic quadratics (leading coefficient 1):

  1. Take half of bb, call it hh.
  2. The squared term becomes (x+h)2(x + h)^2, which expands to x2+2hx+h2x^2 + 2hx + h^2.
  3. Add and subtract h2h^2 to balance.
  4. The constant in vertex form is k=ch2k = c - h^2.

Shortcut to remember: h=b/2h = b/2 and k=ch2k = c - h^2.

Worked example 1

x2+6x+11x^2 + 6x + 11

Half of 6 is 3, so h=3h = 3. Then h2=9h^2 = 9, and k=119=2k = 11 - 9 = 2.

x2+6x+11=(x+3)2+2x^2 + 6x + 11 = (x + 3)^2 + 2

Worked example 2

x28x+5x^2 - 8x + 5

Half of 8-8 is 4-4, so h=4h = -4 and the squared term is (x4)2(x - 4)^2. h2=16h^2 = 16, and k=516=11k = 5 - 16 = -11.

x28x+5=(x4)211x^2 - 8x + 5 = (x - 4)^2 - 11

How to type your answer

Write the answer in vertex form (x+h)^2+k or (x-h)^2+k. No spaces. If kk is negative, write a minus. Examples: (x+3)^2+2, (x-4)^2-11, (x+5)^2-7.

Practice

Work through these. Stuck? Click Get a hint.

Warm-Up

Quick problems to get going.

Problem 1

x2+2x+3x^2 + 2x + 3

Problem 2

x2+4x+5x^2 + 4x + 5

Problem 3

x22x+5x^2 - 2x + 5

Problem 4

x2+6x+10x^2 + 6x + 10

Practice

Standard problems matching the lesson.

Problem 5

x2+6x+11x^2 + 6x + 11

Problem 6

x28x+5x^2 - 8x + 5

Problem 7

x2+4x1x^2 + 4x - 1

Problem 8

x26x+13x^2 - 6x + 13

Problem 9

x2+10x+21x^2 + 10x + 21

Problem 10

x210x+30x^2 - 10x + 30

Problem 11

x2+8xx^2 + 8x

Problem 12

x24xx^2 - 4x

Problem 13

x2+12x+32x^2 + 12x + 32

Problem 14

x214x+50x^2 - 14x + 50

Problem 15

x2+4x+7x^2 + 4x + 7

Problem 16

x2+16x+60x^2 + 16x + 60

Challenge

Harder problems — edge cases, trickier numbers, multiple steps.

Problem 17

x212x+27x^2 - 12x + 27

Problem 18

x2+14x+30x^2 + 14x + 30

Problem 19

x216x+70x^2 - 16x + 70

Problem 20

x2+20x+90x^2 + 20x + 90

Problem 21

x218x+80x^2 - 18x + 80

Problem 22

x2+6x16x^2 + 6x - 16