Better minimization procedures are
based on the Newton-Raphson method (second-order).
For a continuous, differentiable
function (in one dimension) f(x), at a minimum (x=x*)the first derivative
is zero:
d(f(x*))/dx =
f '(x*) = 0
Starting from position x (not the minimum),
x* = x
+ dx
f ' (x + dx) = 0
f ' (x + dx) = f '(x)
+ f ''(x)dx + f '''(x)dx2 + …
This series is truncated at the second term (equivalent to assuming the function is quadratic). and set equal to zero:
f '(x) + f ''(x)dx = 0
Rearranging gives the Newton-Raphson step,
dx = –f '(x)/f ''(x)
x* = x
– f '(x)/f ''(x)