Quantcast change of variables to polar coordinates Text - Physics Forums Library

PDA

View Full Version : change of variables to polar coordinates


Defconist
Aug1-08, 12:46 PM
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

HallsofIvy
Aug1-08, 01:17 PM
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.

Defconist
Aug1-08, 02:14 PM
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..