Perfect Square Trinomial Calculator

Enter a quadratic to test whether it is a perfect square.

A quadratic in one letter, like 4x^2 - 12x + 9.

Try

Result

You entered9y2+6y+19y^{2} + 6y + 1

Yes: (3y+1)2\displaystyle \text{Yes: } \left(3y + 1\right)^{2}

Discriminant

0\displaystyle 0

Factored form

(3y+1)2\displaystyle \left(3y + 1\right)^{2}
Show the work
  1. Perfect square trinomial test

    A trinomial is a perfect square when it is the square of a two-term expression: the first and last terms are squares and the middle term is twice the product of their roots. For Ax2+Bx+CAx^2 + Bx + C that happens exactly when the discriminant B2−4ACB^2 - 4AC is 00 and AA is a perfect square. Here A=9A = 9, B=6B = 6 and C=1C = 1.

    Using a2±2ab+b2=(a±b)2a^2 \pm 2ab + b^2 = (a \pm b)^2

    9y2+6y+19y^{2} + 6y + 1
  2. Discriminant of the trinomial

    The discriminant is 0, so the quadratic has one repeated root; the trinomial is the square of something provided the leading coefficient is also a perfect square.

    B2−4AC=62−4(9)(1)=0\begin{aligned} B^{2} - 4AC &= 6^{2} - 4\left(9\right)\left(1\right) \\ &= 0 \end{aligned}
  3. Square roots of the end terms

    Take the square root of the first term and of the last term. The middle term, 6y6y, must equal twice the product of the two roots, and its sign tells you whether the binomial has a plus or a minus.

    9y2=3y1=12(3y)(1)=6y\begin{gathered} \sqrt{9y^{2}} = 3y \\ \sqrt{1} = 1 \\ 2\left(3y\right)\left(1\right) = 6y \end{gathered}
  4. Check by expanding the square

    Multiply the binomial by itself; the result must be the original trinomial.

    (3y+1)2=9y2+6y+1\left(3y + 1\right)^{2} = 9y^{2} + 6y + 1
  5. Result

    Yes, it is a perfect square trinomial: 9y2+6y+1=(3y+1)29y^{2} + 6y + 1 = \left(3y + 1\right)^{2}.

Worked examples