Simplify
Expand the square. Use with , :
Add the loose term and combine like terms. Only the terms interact:
since .
Recognise the result as a perfect square. Now , and the middle term all match the square-of-a-sum pattern:
Note the structural reason. The two squares differ by exactly :
so adding to the difference-square is guaranteed to produce the sum-square. This identity is the general fact behind the problem.
Check numerically. At , : the original is , and .
Need to solve a different problem like this? Open the solver →