Simplify
Match the three terms to a known identity. The layout is a square, plus another square, minus twice the product of the two bases. That is
Use it in reverse: the expression is already the expanded form of a single square.
Assign the two bases. Here
Check the middle term: , which is exactly what is being subtracted, so the identity applies with no adjustment.
Compute A − B, watching the double negative.
The terms cancel because both bases have leading coefficient — this is why the answer will not depend on at all.
Square the result.
So the expression is the constant for every value of .
Confirm by brute-force expansion. Term by term:
Both the and the columns vanish, confirming the constant. Testing gives as well.
Need to solve a different problem like this? Open the solver →