Trasformation of vectors component when changing coordinate system

In summary, the conversation discusses the transformation of vector components when changing coordinate systems. It explains that according to theory, the components of a vector in the first coordinate system (CS) will transform to the new CS by using the jacobian of the application. An example of this transformation from cartesian to polar coordinates is given, and it is shown that the components of a vector in the basis of the new CS can be calculated using the jacobian. However, there is confusion about the components of a vector in the basis of the new CS and the mistake is identified to be in the understanding of identifying a point and a vector in the plane. A further explanation is requested and the conversation ends with a request for clarification on
  • #1
lennyleonard
23
0
Hi everyone
I have a little problem in understanding the trasformation of vectors component when passing to a different coordinate system (abbreviated CS).
Theory says that the components of a vector in the first CS [tex]x[/tex] with component [tex](V^0,V^1,...,V^n)[/tex] will transform changing CS according to [tex]V^{\alpha'}=\Lambda^{\alpha'}_{\beta}B^{\beta}[/tex] where the primed (') letters refer to the new CS [tex]x'[/tex] and the Einsten notation is employed.
The matrix [tex]\Lambda[/tex] is the jacobian of the application [tex]x'(x)[/tex].
The problem I have is better expressed by an example.

Les's take the coordinate trasformation from cartesian to polar. We have:
[tex]x=rcos\theta\; ,\;y=rsin\theta[/tex] and [tex]r=\sqrt{x^2+y^2}\;,\;\theta=arctg\frac{y}{x}[/tex]
The jacobian we need is:

[tex]\left(\begin{array}{cc}\frac{\partial r}{\partial x} & \frac{\partial r}{\partial y}\\\frac{\partial \theta}{\partial x}&\frac{\partial \theta}{\partial y}\end{array}\right)[/tex]

and so:
[tex] \Lambda = \left(\begin{array}{cc}cos\theta & sin\theta\\ -\frac{1}{r}sin\theta & \frac{1}{r}cos\theta\end{array}\right)[/tex]

At this point I understand that if I have the vector [tex]\vec{V}=X\vec{e}_x,Y\vec{e}_y[/tex] and I want to know its components on the basis [tex]\vec{e}_r\vec{e}_{\theta}[/tex] all I have to do is calculate [tex]V^{r}=\Lambda^{r}_{\beta}B^{\beta}[/tex] and [tex]V^{\theta}=\Lambda^{\theta}_{\beta}B^{\beta}[/tex] where [tex]\beta=X,Y[/tex].

So I end up with: [tex]V^r=Xcos\theta+Ysin\theta[/tex] and [tex]V^{\theta}=-\frac{X}{r}sin\theta+\frac{Y}{r}cos\theta[/tex]; but i know that it should also be [tex]\vec{V}=r\vec{e}_r+\theta\vec{e}_{\theta}[/tex] and so: [tex]V^r=r[/tex] and [tex]V^{\theta}=\theta[/tex] but this is not true! In particular the [tex]V^{\theta}[/tex] I obtained above gets identically zero.

where is my mistake?

Tanks a lot for your answers!
 
Last edited:
Physics news on Phys.org
  • #2
welcome to pf!

hi lennyleonard! welcome to pf! :smile:

(write "/tex" not "\tex" :wink:)
lennyleonard said:
Hi everyone
I have a little problem in understanding the trasformation of vectors component when passing to a different coordinate system (abbreviated CS).
Theory says that the components of a vector in the first CS [tex]x[/tex] with component [tex](V^0,V^1,...,V^n)[/tex] will transform changing CS according to [tex]V^{\alpha'}=\Lambda^{\alpha'}_{\beta}B^{beta}[/tex] where the primed (') letters refer to the new CS [tex]x'[/tex] and the Einsten notation is employed.
The matrix [tex]\Lambda[/tex] is the jacobian of the application [tex]x'(x)[/tex].
The problem I have is better expressed by an example.

Les's take the coordinate trasformation from cartesian to polar. We have:
[tex]x=rcos\theta\; ,\;y=rsin\theta[/tex] and [tex]r=\sqrt{x^2+y^2}\;,\;\theta=arctg\frac{y}{x}[/tex]
The jacobian we need is:

[tex]\left(\begin{array}{cc}\frac{\partial r}{\partial x} & \frac{\partial r}{\partial y}\\\frac{\partial \theta}{\partial x}&\frac{\partial \theta}{\partial y}\end{array}\right)[/tex]

and so:


[tex]\Lambda = \left(\begin{array}{cc}cos\theta & sin\theta\\-\frac{1}{r}sin\theta&\frac{1}{r}cos\theta\end{array}\right)[/tex]

At this point I understand that if I have the vector [tex]\vec{V}=X\vec{e}_x,Y\vec{e}_y[/tex] and I want to know its components on the basis [tex]\vec{e}_r\vec{e}_{\theta}[/tex] all I have to do is calculate [tex]V^{r}=\Lambda^{r}_{\beta}B^{beta}[/tex] and [tex]V^{\theta}=\Lambda^{\theta}_{\beta}B^{beta}[/tex] where [tex]\beta=X,Y[/tex].

So I end up with: [tex]V^r=Xcos\theta+Ysin\theta[/tex] and [tex]V^{\theta}=-\frac{X}{r}sin\theta+\frac{Y}{r}cos\theta[/tex]; but i know that it should also be [tex]\vec{V}=r\vec{e}_r+\theta\vec{e}_{\theta}[/tex] and so: [tex]V^r=r[/tex] and [tex]V^{\theta}=\theta[/tex] but this is not true! In particular the [tex]V^{\theta}[/tex] I obtained above gets identically zero.

where is my mistake?

Tanks a lot for your answers!


PS: I'll be extremely thankful if someone tells me how i can show my latex lines !

"but i know that it should also be [tex]\vec{V}=r\vec{e}_r+\theta\vec{e}_{\theta}[/tex] "

no … why? :confused:
 
  • #3
Thank you for your disponibility tiny-tim!

Well..i'd say that on the [tex]\vec{e}_r\;\vec{e}_{\theta}[/tex] basis to identify a point [tex]P[/tex]in the plane i have to state its distance from the origin [tex]r[/tex] and the angle [tex]\theta[/tex]between [tex]\vec{e}_r[/tex] and the x-axis..it is right isn't it?
This to get [tex]\vec{P}=r\vec{e}_r+\theta\vec{e}_{\theta}[/tex]

And why my [tex]V^{\theta}=-\frac{X}{r}sin\theta+\frac{Y}{r}cos\theta[/tex] is always zero?!?


I've been melted my brains on this problem, so i could be mistaking all along!
I really thank you for the help you're giving me!

(I fixed the whole latex thing! :-))
 
  • #4
lennyleonard said:
(I fixed the whole latex thing! :-))
Almost. :smile: One expression in the first post is messed up because vBulletin inserts an extra space every 50 characters (if your text doesn't include any spaces). I don't know if that will be fixed, but at least for now, it's a good idea to throw in some spaces here and there in your code, e.g. before + and - signs. I also recommend that you use itex tags instead of tex when you want your LaTeX expression to appear on the same line as normal text.
 
  • #5
hi lennyleonard! :smile:
lennyleonard said:
…… to identify a point [tex]P[/tex]in the plane …

but you're not trying to identify a point P, you're trying to identify a vector PX starting at P
And why my [tex]V^{\theta}=-\frac{X}{r}sin\theta+\frac{Y}{r}cos\theta[/tex] is always zero?!?

because that's the theta coordinate of the unit vector PX in the direction OP, which of course is 0 :wink:
(I fixed the whole latex thing! :-))

mmm :rolleyes: … what about that cos sin -sin cos matrix ? :biggrin:
 
  • #6
..could you explain that a little deeper tiny-tim?? I'm starting to see the light!:rolleyes:

(thanks Fredrik for your advice, now it should all be ok :tongue:)
 
  • #7
lennyleonard said:
..could you explain that a little deeper tiny-tim?? I'm starting to see the light!:rolleyes:

(thanks Fredrik for your advice, now it should all be ok :tongue:)

hi lennyleonard! :smile:

vectors in ordinary Cartesian coordinates are the same everywhere, eg 3i + 2j is the same direction no matter where you start

but vectors in polar coordinates depend on where you start, eg obviously er always points away from the origin

at each point P, the directions of er and eθ depend on where P is

your original vector x starting at P needs to be expressed in terms of the local er and eθ

you keep trying to find the polar coordinates of the unit vector er, which obviously are just … er ! :biggrin:
 
  • #8
let me see if I finally got this straight..
if have a vector [itex]\vec{V}[/itex] in cartesian coordinates its direction will be parallel with the basis vector [itex]\vec{e}_r[/itex] of the polar coordinates?
So basically this change of basis is like rotating the coordinate system!
 
  • #9
lennyleonard said:
if have a vector [itex]\vec{V}[/itex] in cartesian coordinates its direction will be parallel with the basis vector [itex]\vec{e}_r[/itex] of the polar coordinates?

not following you :confused:, but
So basically this change of basis is like rotating the coordinate system!

yes, it is exactly rotating the coordinate system! :smile:
 
  • #10
lennyleonard said:
let me see if I finally got this straight..
if have a vector [itex]\vec{V}[/itex] in cartesian coordinates
[itex]\vec V[/itex] is a vector if and only if it's a member of a vector space. Coordinates don't have anything to do with that.

lennyleonard said:
its direction will be parallel with the basis vector [itex]\vec{e}_r[/itex] of the polar coordinates?
Yes, if you're referring to the [itex]\vec{e}_r[/itex] at [itex]\vec V[/itex]. (The polar coordinate system associates a basis with each point in the plane. It's not the same basis everywhere).

lennyleonard said:
So basically this change of basis is like rotating the coordinate system!
If you switch from one orthonormal basis to another (with the same orientation), the components of the vector changes the same way as if you had just rotated the vector. (The basis change isn't like a change to another cartesian coordinate system. It is a change to another cartesian coordinate system).
 
  • #11
Thanks a lot to both of you tiny-tim and fredrik!

Boy, its'amazing how simple it is once it's all clear :smile:!

(to fredrick: the original phrase was "If I have a vector [itex]\vec{V}[/itex] with cartesian coordinate [itex]X[/itex] and [itex]Y[/itext],..." but I messed that up by editing the post! :tongue:)

Thanks one more time gentlemen!
 

1. How does changing the coordinate system affect the components of a vector?

When changing the coordinate system, the components of a vector will also change. This is because the coordinate system provides a frame of reference for the vector, and as the frame of reference changes, so do the components of the vector.

2. Can the magnitude of a vector change when changing coordinate systems?

No, the magnitude of a vector remains the same regardless of the coordinate system. The magnitude is a measure of the length of the vector and is independent of the coordinate system used to represent it.

3. What happens to the direction of a vector when changing coordinate systems?

The direction of a vector may change when changing coordinate systems. This is because the direction of a vector is determined by the angles it makes with the coordinate axes, and these angles will change as the coordinate system changes.

4. How can I calculate the new components of a vector in a different coordinate system?

To calculate the new components of a vector in a different coordinate system, you can use the transformation matrix. This matrix is determined by the transformation between the two coordinate systems and can be used to convert the vector's components from one system to another.

5. Is there a specific method for transforming vector components between coordinate systems?

Yes, there are specific methods for transforming vector components between coordinate systems, such as using the transformation matrix or using trigonometric functions. The method used will depend on the specific transformation between the two coordinate systems.

Similar threads

  • Linear and Abstract Algebra
Replies
1
Views
689
  • Linear and Abstract Algebra
Replies
2
Views
1K
  • Linear and Abstract Algebra
2
Replies
41
Views
3K
Replies
8
Views
216
  • Linear and Abstract Algebra
Replies
3
Views
264
  • Introductory Physics Homework Help
Replies
1
Views
861
  • Differential Geometry
Replies
9
Views
395
  • Linear and Abstract Algebra
Replies
12
Views
2K
Replies
6
Views
907
  • Introductory Physics Homework Help
Replies
10
Views
244
Back
Top