Completing the square
Suppose we have
It’d be easier to complete the square if the
It’s also be nicer if the
The first two terms are
Or better:
Unsquare everything:
Rearrange:
Now, I know that won’t come as a surprise. However, there are two nuggets in doing it this way that I especially like:
- Making the first term a square and the second term even hugely simplifies the process of completing the square (who among us has not got confused by the “uh… it’s
, I think…?” process?). - Dealing with the first two terms as a difference of two squares is probably unnecessary, but a link I hadn’t drawn before.