Perfect Square Trinomial Calculator
Determine if a trinomial is a perfect square and get its factored form. Enter coefficients a, b, and c to check and factor ax² + bx + c.
Recognizing Perfect Square Trinomials
A trinomial qualifies as a perfect square if it matches the pattern a² ± 2ab + b². The first and last terms must be perfect squares—numbers or expressions that result from squaring something. For x² + 10x + 25, the first term x² = (x)² and the last term 25 = 5² are both perfect squares.
The middle term test clinches it: the middle coefficient must equal ±2 times the product of the square roots of the outer terms. Here, 2·x·5 = 10x matches the middle term, so x² + 10x + 25 is a perfect square trinomial. It factors as (x+5)².
Watch for negative middle terms. The trinomial 4x² - 12x + 9 has first term (2x)² and last term (3)². The middle term -12x equals -2·2x·3, confirming it's a perfect square. It factors as (2x-3)². The sign of the middle term determines whether you add or subtract inside the binomial.
Factoring Perfect Square Trinomials
Once you identify a perfect square trinomial, factoring is straightforward. Extract the square root of the first term and the square root of the last term. These become the terms in your binomial. The sign of the middle term tells you whether to use addition or subtraction.
For 9x² + 30x + 25, the square roots are 3x and 5. The middle term +30x is positive, so factor as (3x + 5)². Check your work: (3x + 5)² = 9x² + 15x + 15x + 25 = 9x² + 30x + 25 ✓. The expansion confirms the factorization.
This method works for any leading coefficient that's a perfect square. For 16x² - 24x + 9, you get (4x - 3)². Even with variables like (x²)² + 2x² + 1 = (x² + 1)², the same pattern applies. Recognizing the structure lets you factor instantly without trial and error.
Using Perfect Squares in Completing the Square
Completing the square transforms any quadratic into a perfect square trinomial plus a constant. Start with x² + bx. To make it a perfect square, add (b/2)²—the square of half the linear coefficient. For x² + 6x, add (6/2)² = 9 to get x² + 6x + 9 = (x+3)².
This technique solves quadratic equations. To solve x² + 6x - 7 = 0, move the constant: x² + 6x = 7. Complete the square by adding 9 to both sides: x² + 6x + 9 = 16. Factor the left side: (x+3)² = 16. Take square roots: x+3 = ±4, giving x = 1 or x = -7.
Completing the square also derives the quadratic formula and converts quadratics to vertex form for graphing. Every time you complete the square, you're creating a perfect square trinomial on purpose. Understanding the structure makes the process mechanical rather than mysterious.
Frequently Asked Questions
What is a perfect square trinomial?
A perfect square trinomial is an expression of the form a² ± 2ab + b² that results from squaring a binomial: (a±b)². It has three terms where the first and last are perfect squares.
How do you identify a perfect square trinomial?
Check three conditions: (1) the first term is a perfect square, (2) the last term is a perfect square, and (3) the middle term equals twice the product of the square roots of the first and last terms.
How do you factor a perfect square trinomial?
Take the square root of the first term (√a²) and the square root of the last term (√b²). If the middle term is positive, factor as (√a² + √b²)². If negative, factor as (√a² - √b²)².
What if the trinomial is not a perfect square?
Use other factoring methods: look for a greatest common factor, try factoring by grouping, or use the AC method. If it doesn't factor nicely, apply the quadratic formula to find roots.
Why are perfect square trinomials important?
They simplify completing the square, make solving quadratics easier, and appear frequently in algebra and calculus. Recognizing them speeds up factoring and reveals structural properties of quadratic expressions.