Completing the Square - Examples and Practice Problems

The technique of completing the square is a factoring technique that allows us to convert a given quadratic expression or equation in the form ax2+bx+c to the form a(x-h)2+k. We can use this technique to simplify the process of solving equations when we have complex quadratic equations.

In this article, we will look at a summary of the technique of completing the square. Then, we will use this technique to solve some practice problems.

ALGEBRA
Formula to complete the square white background

Relevant for...

Learning to complete the square with examples.

See examples

ALGEBRA
Formula to complete the square white background

Relevant for...

Learning to complete the square with examples.

See examples

Formula to complete the square

The process of completing the square is used to express a quadratic expression given as $latex ax^2+bx+c$ in the following form:

$latex a(x+p)^2+q$

where p and q are constants.

The simplest case of completing the square happens when we have a=1, that is, the quadratic term has a coefficient equal to 1. In these cases, we have:

$$x^2+bx+c=\left(x+\frac{b}{2}\right)^2-\left(\frac{b}{2}\right)^2+c$$

$$=\left(x+\frac{b}{2}\right)^2-\left(\frac{b^2}{4}\right)+c$$

Formula to complete the square white background

Completing the square - Step by step method

We can follow the steps below to complete the square of a quadratic expression. This method applies even when the coefficient a is different from 1.

Step 1: If the coefficient a is different from 1, we divide the entire quadratic expression by a to obtain an expression where the quadratic term has a coefficient equal to 1:

$latex x^2+bx+c$

Step 2: We divide the coefficient of x (the coefficient b) by 2:

$$\left(\frac{b}{2}\right)$$

Step 3: We square the expression obtained in step 2:

$$\left(\frac{b}{2}\right)^2$$

Step 4: We add and subtract the expression obtained in step 3 to the expression obtained in step 1:

$$x^2+bx+\left(\frac{b}{2}\right)^2-\left(\frac{b}{2}\right)^2+c$$

Step 5: We factor the quadratic expression by applying the algebraic identity $latex x^2+2xy+y^2=(x+y)^2$:

$$\left(x+\frac{b}{2}\right)^2-\left(\frac{b}{2}\right)^2+c$$

Step 6: We multiply the expression resulting from step 5 by the number by which we divided in step 1.

Solve quadratic equations by completing the square

The method of completing the square allows us to solve quadratic equations easily. When we have a quadratic expression in the form $latex (x-h)^2+k$, we can write it as follows:

$latex (x-h)^2=-k$

Here, we can take the square root of both sides and easily solve for x.

Completing the square - Examples with answers

EXAMPLE 1

Complete the square of the expression $latex x^2+2x-5$.

Solution

EXAMPLE 2

Complete the square of the expression $latex x^2+4x+10$.

Solution

EXAMPLE 3

Complete the square of the expression $latex 2x^2+6x+6$.

Solution

EXAMPLE 4

Solve the equation $latex x^2+4x-5=0$ using the method of completing the square.

Solution

EXAMPLE 5

Solve the equation $latex 2x^2-8x-8=0$ using the method of completing the square.

Solution

EXAMPLE 6

Find the solutions of the equation $latex 2x^2+12x-14=0$ using the method of completing the square.

Solution

EXAMPLE 7

Solve the quadratic equation $latex 3x^2-12x-3=0$ using the method of completing the square.

Solution

Completing the square - Practice problems

Find the solutions to the equation $latex x^2-4x-1=0$ using the method of completing the square.

Choose an answer






Complete the square of the expression $latex x^2-3x+1$.

Choose an answer






What is the solution to the equation $latex x^2+x-1=0$ using the method of completing the square?

Choose an answer






Find the solution to the equation $latex x^2-8x-3=0$ using the method of completing the square.

Choose an answer






Solve the equation $latex 3x^2-6x+1=0$ using the method of completing the square.

Choose an answer






See also

Interested in learning more about completing the square? Take a look at these pages:

Learn mathematics with our additional resources in different topics

LEARN MORE