Visualizing the Gradient Vector

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 gradient vector evaluated at a point is superimposed on a contour plot of the function . By moving the point around the plot region, you can see how the magnitude and direction of the gradient vector change. You can normalize the gradient vector to focus only on its direction, which is particularly useful where its magnitude is very small.


Coordinates of the point in the plot region can be viewed by hovering the mouse over the point. Components of the vectors and can viewed by hovering the mouse over the vectors.


Contributed by: Eric Schulz (March 2011)
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.