Menu

The Perfect Square

Part of the Factoring & Quadratics section of Coddy's Algebra journey. Lesson 21 of 61.

To factor x2+6x+9x^{2}+6x+9, you need a pair with product 9 and sum 6. The pair is 3 and 3. The two factors are the same, so (x+3)(x+3)=(x+3)2\left(x+3\right)\left(x+3\right) = \left(x+3\right)^{2}. A trinomial that factors into a square like this is called a perfect square trinomial.

There is a quick test for a monic trinomial. Take half of the middle coefficient and square it. If the result equals the constant, the trinomial is a perfect square. Here half of 6 is 3, and 32=93^{2} = 9, so x2+6x+9=(x+3)2x^{2}+6x+9 = \left(x+3\right)^{2}.

In the last section you expanded (a+b)2=a2+2ab+b2\left(a+b\right)^{2} = a^{2}+2ab+b^{2}. Factoring a perfect square trinomial uses the same rule backwards. The middle term is 2ab2ab, so half of it is abab. The constant is b2b^{2}. Look for this pattern: a square, then twice a product, then a square. When you see it, the trinomial is (a+b)2\left(a+b\right)^{2}.

challenge icon

Challenge

Easy

Factor x2+14x+49x^{2}+14x+49. First check whether the constant is the square of half the middle coefficient.

Try it yourself

x2+14x+49x^{2}+14x+49

Factor

quiz iconTest yourself

This lesson includes a short quiz. Start the lesson to answer it and track your progress.

All lessons in Factoring & Quadratics