Steepest descent with Armijo backtracking
Step-by-step minimization of a differentiable function of two variables by steepest descent. Partial derivatives are computed automatically and the step is selected by Armijo backtracking. Includes iteration history, trajectory, and function-value chart.
Articles that describe this calculator
Variables x, y; operators +, -, *, /, ^; functions sin, cos, exp, log, sqrt, abs; constants pi, e. Use explicit multiplication: 2*x.
The x coordinate of the starting point.
The y coordinate of the starting point.
Calculation stops when the Euclidean gradient norm does not exceed this value.
An integer from 1 to 2000. Reaching the limit is not considered convergence.
Status
Iterations performed
x at the final point
y at the final point
f(x,y) at the final point
Partial derivative ∂f/∂x
Partial derivative ∂f/∂y
Gradient norm
Last accepted step α
Digits after the decimal point: 10
The file is very large. Browser slowdown may occur during loading and creation.
Trajectory in the (x,y) plane
The file is very large. Browser slowdown may occur during loading and creation.
Function value by iteration
The file is very large. Browser slowdown may occur during loading and creation.
URL copied to clipboard
Similar calculators
Armijo automatic differentiation gradient minimization Numerical methods optimization steepest descent
PLANETCALC, Steepest descent with Armijo backtracking
Comments