Transformation from cylindrical 2 cartisian

Thread Man
Messages
3
Reaction score
0
it's not homework but it's something I can't make any sense with it

why when we transform from cylindrical 2 cartisian or the inverse we take the unit vector in our

consideration and transform it also not just transform the function and relate it to the other

unit vectors ??.

for example : the vector (A= 5 ar + 3π/2 aΦ )

we can say that : r^2 = x^2 + y^2 that's mean that : 25 = x^2 +y^2

and also : x = r cos Φ which means : x= 5 cos 3π/2 so: x = 0

and : y = r sin Φ which means : y= -5so that our vector will be directly A= -5 ay

but if we did unit vector transformation : ar = cosΦ ax + sinΦ ay
aΦ = -sinΦ ax + cosΦ ay

we will get that : A= -5 ay + π/2 ax

please, I'm so confused in this part and cannot think in it anymore so I just want to clearance...
 
Physics news on Phys.org
Thread Man said:
it's not homework but it's something I can't make any sense with it

why when we transform from cylindrical to cartesian or the inverse do we take the unit vector in our consideration and transform it also not just transform the function and relate it to the other unit vectors?

for example: the vector (A= 5 ar + 3π/2 aΦ )

we can say that : r^2 = x^2 + y^2 that's mean that : 25 = x^2 +y^2

and also : x = r cos Φ which means : x= 5 cos 3π/2 so: x = 0

and : y = r sin Φ which means : y= -5


so that our vector will be directly A= -5 ay

but if we did unit vector transformation : ar = cosΦ ax + sinΦ ay
aΦ = -sinΦ ax + cosΦ ay

we will get that : A= -5 ay + π/2 ax

please, I'm so confused in this part and cannot think in it anymore so I just want to clearance...
Your confusion arises because there are two vectors involved. One vector is r=(x,y), which is the point to which the second vector A=(Ax,Ay) is assigned. With r, you have the usual relations:

r^2 = x^2+y^2
\tan \theta = y/x

At that point, you have the unit vectors

\hat{r} = \cos\theta\hat{x} + \sin\theta\hat{y}
\hat{\theta} = \sin\theta\hat{x} - \cos\theta\hat{y}

and vector A can be expressed in terms of these vectors:

\vec{A}=A_x\hat{x}+A_y\hat{y}=A_r\hat{r}+A_\theta\hat{\theta}

Note that A has its own "r" and "θ":

r_a^2 = A_x^2+A_y^2
\tan \theta_A = A_y/A_x

and these quantities aren't the same as Ar and Aθ.

This topic came up in another thread yesterday. You might find helpful to read post 6, in which I gave an example.

https://www.physicsforums.com/showthread.php?t=386337
 
thanks vela 4 explanation

it was really useful ,,
 
Thread 'Use greedy vertex coloring algorithm to prove the upper bound of χ'
Hi! I am struggling with the exercise I mentioned under "Homework statement". The exercise is about a specific "greedy vertex coloring algorithm". One definition (which matches what my book uses) can be found here: https://people.cs.uchicago.edu/~laci/HANDOUTS/greedycoloring.pdf Here is also a screenshot of the relevant parts of the linked PDF, i.e. the def. of the algorithm: Sadly I don't have much to show as far as a solution attempt goes, as I am stuck on how to proceed. I thought...
Back
Top