Of Notes
Completing the Square
Junior year algebra still kicking our ass.
We get some quadratic
- Remove any
multiplier from by factoring it out - Halve the
and add and subtract it from the expression (temporarily making a sub-quadratic that is perfect) - Square the term and add/subtract inside the parentheses.
More complicated situations usually arise in the exponent of a Gaussian Distribution where we might end up with terms like:
Where the first square expanded (we are focusing mostly on the powers of
Now performing the expansion and grouping to isolate powers of
giving us a very nice quadratic form which we abbreviate with
Factoring out
:Adding a and subtracting the completing square term
:Distributing the
: