Math July 13, 2026 · 8 Min Read

Perfect Square Trinomial Calculator – Guide & Formulas

Check if a trinomial is a perfect square and factor it instantly. Enter ax² + bx + c to verify if it equals (px + q)² and see the factored form with step-by-step verification.

Check if your trinomial is a perfect square instantly with our free calculator. Enter coefficients to verify if ax² + bx + c factors as (px + q)² and see the step-by-step verification.

Key Takeaway

Use the free Perfect Square Trinomial Calculator to check if a trinomial is a perfect square and factor it instantly. enter ax² + bx + c to verify if it equals (px + q)² and see the factored form with step-by-step verification. Get instant results with step-by-step explanations.

How to Use the Perfect Square Trinomial Calculator

  1. Enter the coefficients a, b, and c for the trinomial ax² + bx + c.
  2. The calculator checks if b² = 4ac (perfect square condition).
  3. If it is a perfect square, see the factored form (px + q)².
  4. Review the verification showing the expansion back to the original.

The Formula

A trinomial ax² + bx + c is a perfect square if and only if b² = 4ac. When true, it factors as (√a · x + √c)² where b = 2√a√c.

Variable Definitions

  • a: Coefficient of x² term (must be positive for real factoring)
  • b: Coefficient of x term (must equal 2√a√c)
  • c: Constant term (must be positive for real factoring)
  • b² = 4ac: The discriminant condition: a trinomial is a perfect square iff this holds
  • (px + q)²: The factored form where p = √a and q = √c

Checking 4x² + 12x + 9

Verify if this trinomial is a perfect square.

  1. Step 1: Identify a = 4, b = 12, c = 9.
  2. Step 2: Check condition: b² = 144, 4ac = 4(4)(9) = 144. Since 144 = 144, it IS a perfect square.
  3. Step 3: Find p = √4 = 2, q = √9 = 3.
  4. Step 4: Factored form: (2x + 3)². Verify: (2x + 3)² = 4x² + 12x + 9 ✓.

Frequently Asked Questions

What is a perfect square trinomial?

A perfect square trinomial is a polynomial that can be written as the square of a binomial: (ax + b)² = a²x² + 2abx + b². It has the special property that the middle coefficient is exactly twice the product of the square roots of the first and last terms.

How do I check if a trinomial is a perfect square?

Check if b² = 4ac where a, b, c are the coefficients of x², x, and the constant term. Alternatively, check if the first and last terms are perfect squares and the middle term is ±2√a√c.

What if the discriminant is not zero?

If b² ≠ 4ac, the trinomial is not a perfect square. It may still be factorable using other methods (AC method, grouping) but not as a perfect square.

Can a perfect square trinomial have negative coefficients?

The middle coefficient b can be negative: a²x² - 2abx + b² = (ax - b)². However, a and c must be non-negative for real factoring.

What is the difference between perfect square trinomial and difference of squares?

Perfect square: a²x² + 2abx + b² = (ax + b)² (three terms, positive middle). Difference of squares: a²x² - b² = (ax + b)(ax - b) (two terms, subtraction).

How do I factor using perfect square recognition?

Recognize the pattern: if the first term is a square (like 9x² = (3x)²), the last term is a square (like 25 = 5²), and the middle is ±2·3x·5 = ±30x, then it factors as (3x ± 5)².

Can I use this for non-integer coefficients?

Yes. The calculator works with decimal coefficients. For example, 0.25x² + 0.5x + 0.25 = (0.5x + 0.5)².

What are the two forms of perfect square trinomials?

Form 1: a² + 2ab + b² = (a + b)². Form 2: a² - 2ab + b² = (a - b)². The sign of the middle term determines which form.