<meta http-equiv="refresh" content="1; url=/nojavascript/"> Completing the Square | CK-12 Foundation
Skip Navigation
You are reading an older version of this FlexBook® textbook: CK-12 Basic Algebra Concepts Go to the latest version.

10.5: Completing the Square

Difficulty Level: Basic Created by: CK-12
Practice Completing the Square
Practice Now

What if for homework you were given a perfect square trinomial to factor, which you wrote in your notebook. However, you accidentally dropped your notebook in a mud puddle, and the last term in the trinomial became obscured. All you can currently see are the first two terms, x^2 + 16x . How would you go about finding the third term? Once you found the third term, if you factored the trinomial and set it equal to 0, what would be the solution(s) to the equation? In this Concept, you'll learn how to complete the square to solve quadratic equations like this one.

Try This

Multimedia Link: Visit the http://www.mathsisfun.com/algebra/completing-square.html - mathisfun webpage for more explanation on completing the square.


Completing the square is a method used to create a perfect square trinomial, as you learned in the previous Concept.

A perfect square trinomial has the form a^2+2(ab)+b^2 , which factors into (a+b)^2 .

Example A

Find the missing value to create a perfect square trinomial: x^2+8x+? .


The value of a is x . To find b , use the definition of the middle term of the perfect square trinomial.

&& 2(ab) &= 8x\\a \ \text{is} \ x, && 2(xb) &= 8x\\\text{Solve for} \ b: && \frac{2xb}{2x} &= \frac{8x}{2x} \rightarrow b=4

To complete the square you need the value of b^2 .


The missing value is 16. The perfect square trinomial we are looking for is x^2+8x+16 .

To complete the square, the equation must be in the form: y=x^2+\left(\frac{1}{2} b \right )x+b^2 .

Looking at the above example, \frac{1}{2}(8)=4 and 4^2=16 .

Example B

Find the missing value to complete the square of x^2+22x+ ?. Then factor.


Use the definition of the middle term to complete the square.

\frac{1}{2} (b)=\frac{1}{2} (22)=11

Therefore, 11^2=121 and the perfect square trinomial is x^2+22x+121 . Rewriting in its factored form, the equation becomes (x+11)^2 .

Solve Using Completing the Square

Once you have completed the square, you can solve using the method learned in the last Concept.

Example C

Solve x^2+22x+121=0 .

Solution: By completing the square and factoring, the equation becomes:

&& (x+11)^2 &= 0\\\text{Solve by taking the square root:} && x+11 &= \pm0\\\text{Separate into two equations:} && x+11 &=0 \ or \ x+11=0\\\text{Solve for} \ x: && x &= -11

Example D

Solve k^2-6k+8=0 .


Using the definition to complete the square, \frac{1}{2}(b)=\frac{1}{2}(-6)=-3 . Therefore, the last value of the perfect square trinomial is (-3)^2=9 . The equation given is:

k^2-6k+8=0, \ and \ 8 \neq 9

In order to factor, complete the square by subtracting 8 and then adding 9 to each side:


Remember to use the Addition Property of Equality.

&& k^2-6k+9 &= -8+9\\\text{Factor the left side.} && (k-3)^2 &= 1\\\text{Solve using square roots.} && \sqrt{(k-3)^2} &= \pm \sqrt{1}\\&& k-3 &=1 \ or \ k-3=-1\\&& k &= 4 \ or \ k=2

Video Review


Guided Practice

Solve x^2+10x+9=0 .


First, find b :


Therefore, the last value of the perfect square trinomial is 5^2=25 . The equation given is:

x^2+10x+9=0, \ and \ 9 \neq 25

In order to factor, we must turn the left side into a perfect square trinomial.

Subtract 9:


Complete the square: Remember to use the Addition Property of Equality.

&& x^2+10x+25 &= -9+25\\\text{Factor the left side.} && (x+5)^2 &= 16\\\text{Solve using square roots.} && \sqrt{(x+5)^2} &= \pm \sqrt{16}\\&& x+5 &=4 \ or \ x+5=-4\\&& x &= -1 \ or \ x=-9

Explore More

Sample explanations for some of the practice exercises below are available by viewing the following video. Note that there is not always a match between the number of the practice exercise in the video and the number of the practice exercise listed in the following exercise set. However, the practice exercise is the same in both. CK-12 Basic Algebra: Solving Quadratic Equations by Completing the Square (14:06)

  1. What does it mean to “complete the square”?
  2. Describe the process used to solve a quadratic equation by completing the square.

Complete the square for each expression.

  1. x^2+5x
  2. x^2-2x
  3. x^2+3x
  4. x^2-4x
  5. 3x^2+18x
  6. 2x^2-22x
  7. 8x^2-10x
  8. 5x^2+12x

Solve each quadratic equation by completing the square.

  1. x^2-4x=5
  2. x^2-5x=10
  3. x^2+10x+15=0
  4. x^2+15x+20=0
  5. 2x^2-18x=0
  6. 4x^2+5x=-1
  7. 10x^2-30x-8=0
  8. 5x^2+15x-40=0

Mixed Review

  1. A ball dropped from a height of four feet bounces 70% of its previous height. Write the first five terms of this sequence. How high will the ball reach on its 8^{th} bounce?
  2. Rewrite in standard form: y=\frac{2}{7} x-11 .
  3. Graph y=5 \left( \frac{1}{2} \right)^x . Is this exponential growth or decay? What is the growth factor?
  4. Solve for r: |3r-4| \le 2 .
  5. Solve for m:-2m+6=-8(5m+4) .
  6. Factor 4a^2+36a-40 .


perfect square trinomial

perfect square trinomial

A polynomial of the form a^2+2(ab)+b^2, which factors into (a+b)^2.

Image Attributions


Difficulty Level:



8 , 9

Date Created:

Feb 24, 2012

Last Modified:

Feb 26, 2015
Files can only be attached to the latest version of Modality


Please wait...
Please wait...
Image Detail
Sizes: Medium | Original

Original text