Completing the square in N dimensions
Another one of those things that I’ve had to re-derive 100 times, and so I am posting here for future reference.
Take a quadratic equation for a vector .
.
You want to convert this into the form
.
What are ,
, and
?
First, assume is symmetric. Then we have, in decreasing order of obviousness,
Now, suppose is non-symmetric. (Of course, still being symmetric is okay, but you would be using a needlessly complicated formula…) Then,
November 2, 2009 at 11:26 pm
I like this. Seems like all of numerics is reducing nonlinear problems to linear ones. Always wondered if there was a generalization of the quadratic equation to operators but never got this far..