Multivariate Root Finding#
Imagine a vector function,
where
We want to find the
We’ll use a generalization of Newton’s method to systems of equations.
Solution procedure#
Note
This is the simplest case of a multivariable root finding algorithm. More sophisticated methods exist, but this method will give you a feel for what is involve
Start with an initial guess,
Taylor expand our function seeking a correction
and we can write the vector form as:
where
This can be expresses as the linear system:
Our solution procedure is iterative:
Iterate over
, seeking a new guess at the solution :Solve the linear system:
Correct our initial guess:
Stop iteration if
where
is a suitable vector norm.