PDA

View Full Version : partial differentiation


tandoorichicken
Feb13-05, 09:49 PM
If z = f(x,y), where x = rcos(\theta) and y = rsin(\theta), find \frac{\partial z}{\partial r}, \frac{\partial z}{\partial\theta}, and \frac{\partial^2 z}{\partial r\partial\theta}

Here's what I've done:
(a)
\frac{\partial z}{\partial r} = \frac{dz}{dx} \frac{\partial x}{\partial r} + \frac{dz}{dy} \frac{\partial y}{\partial r} = \frac{dz}{dx} \cos{\theta} + \frac{dz}{dy} \sin{\theta}
(b)
\frac{\partial z}{\partial\theta} = \frac{dz}{dx} \frac{\partial x}{\partial\theta} + \frac{dz}{dy} \frac{\partial y}{\partial\theta} = -\frac{dz}{dx} r\sin{\theta} + \frac{dz}{dy} r\cos{\theta}

My question is, for parts a and b, is this correct or must something also be done with the dz/dx and dz/dy, and for part c, I don't know how to do it. Can someone help please?

formulajoe
Feb13-05, 09:55 PM
you dont have to put the dz/dx and dz/dy. its just cos + sin.
for c, you just take the derivative with respect to r and theta. i forget which you are supposed to do first. but you just do one, than take the derivative of the new form with respect to the other variable.

dextercioby
Feb13-05, 10:04 PM
Points a) and b) are solved wonderfully.
Point c) is a bit tricky,meaning that u'll have to differentiate one of the 2 expressions found at a) & b) wrt the other variable.
\frac{\partial^{2}z}{\partial r \partial \theta}=\frac{\partial}{\partial r}(\frac{\partial z}{\partial \theta})

Try to do it this way and tell where you get stuck.

Daniel.

dextercioby
Feb13-05, 10:05 PM
One more thing.It's still a partial derivative for "z" (or "f") too,becasue it depends explicitely on 2 variables,namely "x" and "y"...

Daniel.

tandoorichicken
Feb13-05, 10:12 PM
Thank you dexter. I checked both
\frac{\partial}{\partial r}(\frac{\partial z}{\partial \theta})
and
\frac{\partial}{\partial \theta}(\frac{\partial z}{\partial r})

and they both come to the same answer. So it must be right. :biggrin:

dextercioby
Feb13-05, 10:16 PM
It meant that the function "z" is "well behaved".There are functions for which the mixed partial derivatives are different one from another.In a more advanced way,the 2-nd rank hessian is not symmetric...

Daniel.