What is Completing the Square?

1 Answer
Apr 5, 2018

See explanation below

Explanation:

When you have a polynomial such as

x^2+4x+20x2+4x+20

it is sometimes desirable to express it in the form of

a^2 + b^2a2+b2

To do this, we can artificially introduce a constant which allows us to factor a perfect square out of the expression like so:

x^2+4x+20x2+4x+20

=x^2+4x+color(red)4-color(green)4+20=x2+4x+44+20

Notice that by simultaneously adding and subtracting 44, we have not changed the value of the expression.

Now we can do this:

=(x^2+4x+color(red)4)+(20-color(green)4)=(x2+4x+4)+(204)

=(x+2)^2+16=(x+2)2+16

=(x+2)^2+4^2=(x+2)2+42

We have "completed the square"!