Knaph

Factoring61 of 1002 min read

Perfect Square Trinomials

Priya notices that x2+6x+9x^2 + 6x + 9 starts and ends with squares: x2x^2 and 9, which is 323^2. Is that enough to say it is a square? What must the middle term be?

The pattern

A perfect square trinomial is the square of a bracket. Since (a+b)2=a2+2ab+b2(a + b)^2 = a^2 + 2ab + b^2, such a trinomial has a first term a2a^2, a last term b2b^2, and a middle term of exactly 2ab2ab.

For x2+6x+9x^2 + 6x + 9: a=xa = x and b=3b = 3, and 2ab=2⋅x⋅3=6x2ab = 2 \cdot x \cdot 3 = 6x. It matches, so x2+6x+9=(x+3)2x^2 + 6x + 9 = (x + 3)^2.

A square with side x + 3 cut into four parts: x², two parts of 3x, and 9. Under it reads x² + 6x + 9 = (x + 3)².

The sign of the middle

The last term is always positive, since it is a square. The sign of the middle term is the sign inside the bracket. x2−10x+25=(x−5)2x^2 - 10x + 25 = (x - 5)^2, because 2⋅x⋅5=10x2 \cdot x \cdot 5 = 10x.

With a number in front: 4x2+12x+94x^2 + 12x + 9. Here a=2xa = 2x and b=3b = 3, and 2ab=12x2ab = 12x. So it is (2x+3)2(2x + 3)^2.

Always test the middle

Squares at both ends are not enough. 4x2+10x+94x^2 + 10x + 9 has (2x)2(2x)^2 and 323^2, but 2ab=12x2ab = 12x, not 10x10x. So it is not a perfect square, and you need another method.

Your turn: 9x2−30x+259x^2 - 30x + 25. Here a=3xa = 3x, b=5b = 5 and 2ab=30x2ab = 30x. Answer: (3x−5)2(3x - 5)^2.

Careful

x2+9x^2 + 9 is not (x+3)2(x + 3)^2. The square of a bracket always has a middle term.

Try it at home

  1. Pick a bracket of your own, like 4x+14x + 1.
  2. Square it by multiplying it by itself, to get a trinomial.
  3. Hide the bracket. Check the ends are squares and the middle is 2ab2ab, then factor it back.

Words in this lesson

  • perfect square trinomial - a trinomial that is the square of a bracket, like x2+6x+9=(x+3)2x^2 + 6x + 9 = (x + 3)^2.

Big idea

A trinomial a2±2ab+b2a^2 \pm 2ab + b^2 is a perfect square: it factors as (a±b)2(a \pm b)^2, and the middle term must be exactly 2ab2ab.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.