Curves of Steepest Descent for 3D Functions

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

The curve of steepest descent is determined by the negative of the gradient vector, which gives the direction of maximum increase. A numerical solution of the differential equations



with variable initial values gives the direction of steepest descent. As you increase the length slider, the value of the parameter is increased and a curve for is traced out on the surface that follows the direction of the negative gradient at each point. Neglecting the mass of the object and friction, this plot gives the path a marble would follow as it rolled down a hill. Note that the trace of the curve of steepest descent is perpendicular to each of the contour curves, as shown in the contour plot.


Contributed by: Michael Waters (January 2017)
Open content licensed under CC BY-NC-SA



Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.