Factor
completely.
Expand the square. Using with and :
Expand the product in two halves. Splitting the first bracket as :
Adding these:
The comes from — collecting those two separate contributions is the step most likely to go wrong.
Add both parts together. Combining with the expanded square and merging the terms ():
Nine terms, symmetric under swapping and — a strong hint that the factorisation will be symmetric too.
Recognise the perfect square. Consider . Squaring it:
which matches the expansion exactly. So the whole expression equals .
Factor and state the answer. Grouping, , so
The expression is therefore never negative, and it vanishes exactly when or . Numerical check at : both forms give ✓, with two further random pairs agreeing to nine digits.
Need to solve a different problem like this? Open the solver →