0

I have got confused about this problem, what I have thought was differentiating this with respect to $x$ gives -

$\frac{dz}{dx} = 2x + x \frac{dy}{dx} + y + 2y \frac{dy}{dx}$

But, I came across an online video which did it in this way-

$\frac{dz}{dx} = 2x + y$

How is this possible? What am I missing?

This is a three dimensional equation, so $y$ is not a constant, so this person cant treat $y$ as a constant I believe.

amWhy
  • 209,954
M.S.E
  • 1,857

2 Answers2

4

We have

$$\frac{dz}{dx}=2x+y+x\frac{dy}{dx}+2y\frac{dy}{dx}$$ but if $y$ doesn't depend on $x$ then $\frac{dy}{dx}=0$ and then $$\frac{dz}{dx}=2x+y$$

  • Oh ok , so partial derivation is a special case of implicit derivate it seems. Thank you , i was actually really disturbed watching the vedio. Will check this special case. – M.S.E Aug 30 '14 at 12:53
0

The issue is simply whether $x$ and $y$ are independent variables. If they are then, the approach in the video is legitimate, although one would normally write it as the partial derivative of $z$ wrt $x$. If $y$ depends on $x$, then your way is correct.

almagest
  • 18,380