Switching coordinate system of a field

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 1K views
2sin54
Messages
109
Reaction score
1

Homework Statement


Say I have some sort of a vector field in the cylindrical coordinate system [tex]\vec{F}(r, \Theta, z) = f(\vec{A}(r,\Theta,z),\vec{B}(r,\Theta,z))[/tex]

How do I switch to the Cartesian coordinates? More precisely, how do I transform [tex]A_r = g(A_x,A_y,A_z), A_\Theta = h(A_x,A_y,A_z)[/tex] and so on?

Homework Equations



https://en.wikipedia.org/wiki/Del_in_cylindrical_and_spherical_coordinates

The Attempt at a Solution



I understand that [tex]{\left(A_z\right)}_{cyl.} = {\left(A_z\right)}_{Cart.}[/tex]
and similarly for B and that
[tex]A_x = A_r\cdot\cos(\Theta), A_y = A_r\cdot\sin(\Theta[/tex].

However, what do I do with [tex]A_\Theta[/tex]?
 
Physics news on Phys.org
##\vec{A}=A_r~\hat{r}+A_{\theta}~\hat{\theta}##
##\hat{r}=\cos \theta~\hat{x}+\sin \theta~\hat{y}## and ##\hat{\theta}=-\sin \theta~\hat{x}+\cos \theta~\hat{y}##
Therefore,
##\vec{A}=A_r~(\cos \theta~\hat{x}+\sin \theta~\hat{y})+A_{\theta}~(-\sin \theta~\hat{x}+\cos \theta~\hat{y})##
From which
##A_x = A_r~\cos \theta - A_{\theta}~\sin \theta~;~~ A_y = A_r~\sin \theta+A_{\theta}\cos \theta##
Is this what you are looking for?
 
kuruman said:
##\vec{A}=A_r~\hat{r}+A_{\theta}~\hat{\theta}##
##\hat{r}=\cos \theta~\hat{x}+\sin \theta~\hat{y}## and ##\hat{\theta}=-\sin \theta~\hat{x}+\cos \theta~\hat{y}##
Therefore,
##\vec{A}=A_r~(\cos \theta~\hat{x}+\sin \theta~\hat{y})+A_{\theta}~(-\sin \theta~\hat{x}+\cos \theta~\hat{y})##
From which
##A_x = A_r~\cos \theta - A_{\theta}~\sin \theta~;~~ A_y = A_r~\sin \theta+A_{\theta}\cos \theta##
Is this what you are looking for?
I don't see [tex]A_z[/tex] in your equations. Why is that? Also, one can express [tex]\Theta[/tex] as [tex]= \arctan(\frac{y}{x})[/tex] correct? But what's the meaning of it when x = 0? If I am solving a physics problem then surely the set of points for which x = 0 aren't necessarily impossible.
 
You don't see Az because it is the same in Cartesian and cylindrical coordinates. I omitted it to save time, but you can assume it's there.
2sin54 said:
But what's the meaning of it when x = 0? If I am solving a physics problem then surely the set of points for which x = 0 aren't necessarily impossible.
What makes you think these points might be impossible? When x = 0, the vector points either along the +y axis in which case θ = π/2 or along the -y axis in which case θ = 3π/2.
 
Thank you for your answers. One more question. Assuming [tex]A_x = A_r\cdot\cos(\Theta), A_\Theta = 0[/tex] If I wish to find how Ax changes with time is the following approach correct?
[tex]\frac{dA_x}{dt} = \frac{dA_r}{dt}\cdot\cos(\Theta) - A_r\cdot\sin(\Theta)\cdot\frac{d\Theta}{dt}[/tex]