As we know the trinomial is called a perfect square trinomial, if it is the square of binomial .
Now, to make use of binomial square pattern, recognize that a given trinomial fits it.
First check if the leading coefficient is a perfect square. Next we will check that the last term is a perfect square and then check the middle term is it twice the product of both the terms.
If everything checks easily, write the factors.
When middle term is negative, use the pattern
And when middle term is positive, use the pattern