Newton's method
Newton's method is an algorithm to find the real zeros of a function with the derivative of the function to find its roots.
Algorithm
Each new value are found with the following equation:
The derivative can be approximated by the secant method:
n-dimensions
Newton's method can be used with a multi-variable function. We need for that to use derivative matrix
Read more here.
Failures
- If
, it's a zero-divison. We need to change our value - Sometimes, if the initial guess is too far, and depending of the function, the algorithm may find the answer slowly or not at all.