partial differentiation
\[z= \frac{-y}{x^2 + y^2}\\ z_y=?\]
substitute to polar \[x=rcos \theta ~ y= rsin \theta \\ z=\frac{-\sin \theta}{r}\] chain rule for partial derivatives: \[\frac{\partial z}{\partial y}=\frac{\partial z}{\partial \theta} \times \frac{\partial \theta}{\partial y} + \frac{\partial z}{\partial r} \times \frac{\partial r}{\partial y}\] \[\frac{\partial z}{\partial \theta}=\frac{-\cos \theta}{r} \\ \frac{\partial \theta}{\partial y}= (rcos \theta)^{-1} \\ \frac{\partial z}{\partial r}=\frac{\sin \theta}{r^2} \\ \frac{\partial r}{\partial y}= (\sin \theta)^{-1}\]
Y^2-x^2/(x^2+y^2)2
Y^2-x^2/(x^2+y^2)2
\[z_y= \frac{-1}{r^2}+\frac{1}{r^2}=0\]
@amity exactly! when i do it the regular way without polar, i get your answer. can you tell me where i'm going wrong?
Use the quotient rule and you'll get the answer amity gave.
yea.. i want to know what i've done wrong with polar @agent0smith
Is \[\frac{\partial r}{\partial y} = sin \theta\]
1/sin( )
Great you broke calculus
:o
Oh, I misread your above post. All your partial derivatives look correct. All your math looks right. I might have to actually get some paper and try it myself, I'm checking it all in my head.
\[\frac{\partial r}{\partial y} \sqrt{x^2+y^2} = \frac{1}{2} \frac{1}{\sqrt{x^2+y^2}} *2 y=\frac{rsin\theta}{r}\]
\[y=rsin \theta\\ \frac{\partial y}{\partial r}=\sin \theta \\ \frac{\partial r}{\partial y}= 1/\sin \theta\]
I wonder if there's some kind of dividing by zero thing going on or what lol
z is undefined at x=y=0 anything to do with that?
\[\frac{\partial y}{\partial r} = \frac{1}{\frac{\partial y}{\partial r}}\] but dr/dy is holding x constact not theta
∂y∂r=1∂y∂r but dr/dy is holding x constant not theta. I think.
i'm considering y to be a function of only r and theta i.e y=rsin( theta)
r is a function of x,y
Yeah, I'm thinking something funny happens somehow when you divide by r but I can't seem to pin it down. Just looking at the surface itself we know \(z_y \ne 0\)
ya, \[y_z \ne 0\]. and we all believe the differentiation not using polar.
@ganeshie8 @dan815 @ParthKohli @Astrophysics
is the math correct? as @Redcan points out, x needs to be held constant throughout
i get the feeling what i've calculated is \[z=f(y, \theta) \\ z_y=0\]
i.e, y and theta are the independent variables,
Sounds believable... but I don't know how to think about verifying that thought.
@redcan ur right :) i've calculated dr/dy holding theta constant and d(theta)/dy holding r constant
the correct way would have been \[z=\frac{-\sin \theta}{r} \\ r=(x^2+y^2)^{1/2}\\ \theta=\tan^{-1}\frac{y}{x}\]
There you go.
:D thanks a lot everyone!!
thanks @agent0smith , i messed up the chain rule :P
Join our real-time social learning platform and learn together with your friends!