Gradients in 2D and 3D

For a smooth surface in 3D, representing a function , the gradient at a point on is a vector in the direction of maximum change of . Also shown is the corresponding contour plot, which is the projection of onto the - plane. The red arrows on the surface and contour plots show the magnitude and direction of the gradient.
The dot shows the point at which the gradient is computed. You can vary the point by dragging the locator.
Change the function with the pull-down menu.
Rotate the graph to convince yourself that the gradient is normal to the surface at the point.



  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.