Partial derivatives

Partial derivatives

a derivative of a function of two or more variables with respect to one variable, the other(s) being treated as constant.

z=arctanyxzx=11+yx2[y(1x2)]=yx(x+y2)zy=11+yx2[1x1]=1x+y22zx2=yx(x+y2)2+yx2(x+y2)2zy2=2y(x+y2)22zyx=2zxy=1(x+y2)2\begin{align*} z &= \arctan{\frac{y}{x}} \\ \\ \\ \frac{\partial z}{\partial x} &= \frac{1}{1 + {\frac{y}{x}}^2} \cdot [y \cdot (-1 \cdot x^{-2})] = - \frac{y}{x \left(x + y^{2}\right)} \\ \\ \frac{\partial z}{\partial y} &= \frac{1}{1 + {\frac{y}{x}}^2} \cdot [\frac{1}{x} \cdot 1] = \frac{1}{x + y^2} \\ \\ \\ \frac{\partial^2 z}{\partial x^2} &= \frac{y}{x \left(x + y^{2}\right)^{2}} + \frac{y}{x^{2} \left(x + y^{2}\right)} \\ \\ \frac{\partial^2 z}{\partial y^2} &= - \frac{2 y}{\left(x + y^{2}\right)^{2}} \\ \\ \frac{\partial^2 z}{\partial y \partial x} &= \frac{\partial^2 z}{\partial x \partial y} = - \frac{1}{\left(x + y^{2}\right)^{2}} \end{align*}

So, I really wanna say, all those things is about who you should treat as variable, who you should treat as constant

For example:

zx\frac{\partial z}{\partial x}, you should see xx as variable, yy as constant

zy\frac{\partial z}{\partial y}, you should see yy as variable, xx as constant

And for 2zxy\frac{\partial^2 z}{\partial x \partial y}, first see xx as variable, do calculation, then see yy as variable, get result

Last updated