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.

This page exists due to the efforts of the following people:

Timur

Timur

Created: 2026-11-27 13:10:59, Last updated: 2026-11-27 19:20:20

Articles that describe this calculator

PLANETCALC, Steepest descent with Armijo backtracking

Steepest descent with Armijo backtracking

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
PLANETCALC, Steepest descent with Armijo backtracking

Comments