Draw gradient of a point on surface

I want to draw gradient and its components on X and Y planes. Seems my graphic is not correct. Can someone help?

Thanks in advance

Hi! My vector calculus is very rusty, so I’m not sure if I understand what you are trying to accomplish. Here is a graph that shows a vector pointing in the direction of maximum increase for f(x, y), as well as its x- and y- components.

Is this what you had in mind? If not, perhaps a picture of an example similar to what you want to accomplish would help someone to create a more useful example.

1 Like