Definition

Completing the Square

Completing the square is an algebraic technique for determining the constant that must be added to a two-term expression like x2+6xx^2 + 6x to transform it into a perfect square trinomial — one that can be factored as the square of a binomial. The technique is motivated by the need to apply the Square Root Property, which requires the variable side of an equation to be a perfect square. When the expression is not already a perfect square, completing the square provides a way to make it one.

The method works by reversing the Binomial Squares Pattern. Since (a+b)2=a2+2ab+b2(a + b)^2 = a^2 + 2ab + b^2, the middle term 2ab2ab is always twice the product of the binomial's two terms. Consider the expression x2+6xx^2 + 6x. The first term x2x^2 identifies a=xa = x. The linear term 6x6x corresponds to 2ab2ab in the pattern, so 2xb=6x2 \cdot x \cdot b = 6x, which means b=126=3b = \frac{1}{2} \cdot 6 = 3. To find the missing constant:

  1. Take half the coefficient of the linear term: 126=3\frac{1}{2} \cdot 6 = 3. This gives the value of bb.
  2. Square that result to obtain b2b^2: 32=93^2 = 9.

Adding 99 to the original expression produces a perfect square trinomial: x2+6x+9=(x+3)2x^2 + 6x + 9 = (x + 3)^2. The sign between the two original terms determines which form of the Binomial Squares Pattern applies — a positive linear term uses (a+b)2(a + b)^2, while a negative linear term uses (ab)2(a - b)^2.

Image 0

0

1

Updated 2026-04-21

Contributors are:

Who are from:

Tags

OpenStax

Elementary Algebra @ OpenStax

Ch.10 Quadratic Equations - Elementary Algebra @ OpenStax

Algebra

Math

Prealgebra

Related
Learn After