A perfect square trinomial is a trinomial obtained by squaring a binomial. The two forms are and
.
Thus its first and last terms are perfect squares,
and its middle term is twice the product of their square roots, with either sign. For example,
is a perfect square trinomial.
Recognizing a perfect square trinomial is useful in polynomial factorization and in completing the square.