Perfect square trinomials

A perfect square trinomial is an expression that can be written as something squared, like (x+3)2(x+3)^2. Expanded, it has the form a2+2ab+b2a^2 + 2ab + b^2. So if the two end terms are squares and the middle term is twice the product of their square roots, you can factor it as a square.

Chalcack concept card · Reviewed by the Chalcack team ·

A square with side a + b splits into a², two pieces of ab, and b².

Formulas

  • (a+b)2=a2+2ab+b2(a+b)^2 = a^2 + 2ab + b^2
  • (a−b)2=a2−2ab+b2(a-b)^2 = a^2 - 2ab + b^2
  • x2+2px+p2=(x+p)2x^2 + 2px + p^2 = (x+p)^2

When to use it

Use it when you factor an expression into the form (x+p)2(x+p)^2, or when you find the number that fills the blank in x2+8x+□x^2 + 8x + \square.

Worked example

Write x2+6x+9x^2 + 6x + 9 as a perfect square. The last term 9 is 323^2. The middle term 6x equals 2×x×32 \times x \times 3, so x2+6x+9=(x+3)2x^2 + 6x + 9 = (x+3)^2.

Common mistake

Many students expand (a+b)2(a+b)^2 as a2+b2a^2 + b^2 and drop the middle 2ab. Also, the blank in x2+8x+□x^2 + 8x + \square is 16 (half of 8 is 4, and 4 squared is 16), not 4.

Related concepts

All 181 math concepts