Understanding the Partial Derivative zy\frac{\partial z}{\partial y}

Consider the function f(x,y) = 1 + sin(x)cos(y)

y = -1.50
-5.00.0+5.0
x = 0.50
-5.00.0+5.0
1+sin(x)cos(y)1 + \sin(x) \cos(y) (Drag to rotate)
Slice: z=1+1sin(x)z = 1 + -1\sin(x)

If we let y0y_0 represent the fixed value for yy with the slider above, the height is now

1+cos(y0)sin(x)=1+1sin(x)1 + \cos(y_0)\sin(x) = 1 + -1 \sin(x)

and you can just take the derivative.

ddx(1+1sin(x))=1cos(x)\frac{d}{dx}\left( 1 + -1\sin(x) \right) = -1\cos(x)

Conclusion: Computing zx\frac{\partial z}{\partial x}

This procedure works for any fixed value of yy. You could go up and change yy now and see all of the above computations update to that new fixed value. To compute the slope of that slice, all you need to do is treat yy as a constant.

x(1+sin(x)cos(y))=cos(y)cos(x).\frac{\partial}{\partial x} \left( 1 + \sin(x)\cos(y) \right) = \cos(y) \cos(x).

Do you think you could go through the same steps to find zy\frac{\partial z}{\partial y}?