Change of variables to polar coordinates

Defconist
Messages
7
Reaction score
0
I thought I grasped coordinate changes well, but now I've run into some problems. Usually I would have some function f(x,y) and transformation equations like s = a*x+b*y. I would apply chain rule and stayed left with new equations in new variables. (old ones get away through differentiation).

My question is, what if are transformation equations more complex and old variables don't fade out? More specificaly, how can I convert f_x(x,y) to polar coordinates ?

my attempt:

\theta = Arctan(y/x)
r = x^2+y^2
\phi(r,theta) = f(x,y)
\phi_x = \phi_rr_x + \phi_\theta\theta_x
\phi_x = \phi_rx\sqrt{x^2+y^2} + \phi_\theta(\frac{y}{x^2+y^2})
now I got the idea to solve for x and y in trans. equations and substitute, but I'm not sure
\phi_x = rcos(\theta)\phi_r + \frac{sin(\theta)}{r^2}\phi_\theta
 
Physics news on Phys.org
Defconist said:
I thought I grasped coordinate changes well, but now I've run into some problems. Usually I would have some function f(x,y) and transformation equations like s = a*x+b*y. I would apply chain rule and stayed left with new equations in new variables. (old ones get away through differentiation).

My question is, what if are transformation equations more complex and old variables don't fade out? More specificaly, how can I convert f_x(x,y) to polar coordinates ?

my attempt:

\theta = Arctan(y/x)
r = x^2+y^2
\phi(r,theta) = f(x,y)
\phi_x = \phi_rr_x + \phi_\theta\theta_x
\phi_x = \phi_rx\sqrt{x^2+y^2} + \phi_\theta(\frac{y}{x^2+y^2})
now I got the idea to solve for x and y in trans. equations and substitute, but I'm not sure
\phi_x = rcos(\theta)\phi_r + \frac{sin(\theta)}{r^2}\phi_\theta

x= r cos(\theta) and y= r sin(\theta) so your terms are missing a factor of r;
x\sqrt{x^2+ y^2}= (r cos(\theta))r= r^2 cos(\theta)
and
\frac{y}{x^2+ y^2}= \frac{ r sin(\theta)}{r^2}= \frac{sin(\theta)}{r}
but that's the right way to proceed.
 
Last edited by a moderator:
Thanks, I've been sudying PDE's few days in a row and I'm really getting tired..I should take a break and yet I can't, it's so interesting..
 
Back
Top