Created: February 09, 2014 Modified: March 16, 2022
complete the square
This page is from my personal notes, and has not been specifically reviewed for public consumption. It might be incomplete, wrong, outdated, or stupid. Caveat lector.
Multivariate Completion of Squares
A useful trick: if A is a symmetric, nonsingular matrix, then
21zTAz+bTz+c=21(z+A−1b)TA(z+A−1b)+c−21bTA−1b.
This is easy to see just by expanding out the right side.