Factor
Always look for a common factor first. Every term contains exactly one (and the coefficients share no factor beyond ), so is the greatest common factor:
Skipping this step and trying to factor the trinomial in two variables directly makes the problem look far harder than it is.
Test whether the bracket is a perfect square. A trinomial needs its outer terms to be squares and its middle term to be twice the product of their roots. Here and , so check the middle:
It matches exactly.
Write the square.
Both signs are positive, so the binomial is a sum rather than a difference. (Confirming independently: the discriminant is , the signature of a repeated root.)
Combine with the common factor.
Read off what the form tells you. Since always, the expression has the same sign as , and it vanishes exactly when or . The double root at means the parabola (for fixed ) touches the axis there rather than crossing it.
Verify numerically. Comparing the original with at random pairs drawn from gives agreement to machine precision at every point ✓. Spot check at : , and ✓.
Need to solve a different problem like this? Open the solver →