Vec norm in polar coordinates differs from norm in Cartesian coordinates

In summary, the conversation discusses the confusion surrounding coordinate transformations from cartesian to polar coordinates. It explains how the position vector is defined in polar coordinates and why the second component is zero. It also addresses the use of the euclidean metric in both coordinate systems and clarifies that the coordinates are not the components of a vector. The conversation ends with a thank you for the help provided.
  • #1
Emil_M
46
2
I am really confused about coordinate transformations right now, specifically, from cartesian to polar coordinates.

A vector in cartesian coordinates is given by ##x=x^i \partial_i## with ##\partial_x, \partial_y \in T_p \mathcal{M}## of some manifold ##\mathcal{M}## and and ##x^i## being some coefficients.

Assuming an euclidean metric ##[\delta_{ij}]=
\left( \begin{array}{cc} 1 & 0 \\ 0 & 1 \end{array} \right)##, the norm of the vector ##x## is given by $$\sqrt{\delta(x,x)}=\sqrt{\delta_{ij}x^i x^j}=\sqrt{x^2+y^2}=:r$$.

Now, we make a transformation into polar coordinates:

##x=r \cos{\phi}##
##y=r \sin{\phi}##

Which gives us the vector ##x=y^i \partial_i## in terms of the basis vectors ##\partial_r, \partial_\phi##.

The euclidean metric in polar coordinates looks as follows:
##[\hat{\delta_{ij}}]=
\left( \begin{array}{cc} 1 & 0 \\ 0 & r^2 \end{array} \right)##

Computing the norm in the polar coordinates yields:

$$\sqrt{\delta(x,x)}=\sqrt{\hat{\delta_{ij}}y^i y^j}=\sqrt{r^2+r^2\phi^2}.$$

As ##\delta(x,x)## is a tensor relation, though, it should be coordinate independent. Furthermore, the inner product is invariant over coordinate transformations. So why is the norm different?

To add to the confusion, I tried transforming the coefficients from cartesian to polar coordinates:

$$x'^i=\frac{\partial f^i}{\partial x^j} x^j \;\;\; (1)$$

With ##\frac{\partial f^i}{\partial x^j}=\left( \begin{array}{cc} \cos{\phi} & \sin{\phi} \\ -\frac{\sin{\phi}}{r} & \frac{\cos{\phi}}{r} \end{array} \right)## being the matrix of partial derivatives.Applying ##(1)## for the first component ##r## yields:

$$x'^1= \frac{\partial f^1}{\partial x^j} x^j= \cos{\phi}\cdot r \cos{\phi} + \sin{\phi}\cdot r \sin{\phi}=r$$

So far so good. For the second component ##\phi##, however, we get:

$$x'^2= \frac{\partial f^2}{\partial x^j} x^j=-\frac{\sin{\phi}}{r} \cdot r \cos{\phi}+\frac{\cos{\phi}}{r} \cdot r \sin{\phi}=0$$

So what's going on here? Why does any general vector ##x=(x,y)^T## have a zero second component in polar coordinates?

Help!
 
Last edited:
Physics news on Phys.org
  • #2
The position vector is ##r\partial_r## in polar coordinates, not ##r\partial_r + \theta\partial_\theta##. The coordinate transformations are the coordinate transformations, they are generally not the components of a vector.
 
  • #3
I'm sorry, I don't understand. A basis for ## \mathbb{R}^2## needs two basis vectors. And any vector in ## \mathbb{R}^2## is then a linear combination of said basis vectors, right? Are the basis vectors of polar coordinates not given by ##\partial_r## and ##\partial_\phi##? If so, how can a single basis vector form a basis for a two-dimensional vector space?
 
  • #4
Emil_M said:
I'm sorry, I don't understand. A basis for ## \mathbb{R}^2## needs two basis vectors. And any vector in ## \mathbb{R}^2## is then a linear combination of said basis vectors, right? Are the basis vectors of polar coordinates not given by ##\partial_r## and ##\partial_\phi##? If so, how can a single basis vector form a basis for a two-dimensional vector space?
Yes, it has two basis vectors, but the ##\phi##-component of the position vector is zero, not ##\phi##.
 
  • Like
Likes vanhees71
  • #5
Emil_M said:
with ##\partial_x, \partial_y \in T^*_p \mathcal{M}## of some manifold ##\mathcal{M}## and and ##x^i## being some coefficients.
I think a part of your confusion is that you are confusing the components of some general vector with the actual coordinates. The coordinates are not the components of a vector. Furthermore, the partial derivatives are not in ##T_p^*M##, they are in ##T_pM## (they are a set of basis vectors in ##T_p^M##, the components multiplying them are scalar fields!)

Emil_M said:
Why does any general vector x=(x,y)Tx=(x,y)Tx=(x,y)^T have a zero second component in polar coordinates?
That is not a general vector, it is your position vector because you chose it to have the coordinates as components in Cartesian coordinates.
 
  • #6
Emil_M said:
The euclidean metric in polar coordinates looks as follows:
##[\hat{\delta_{ij}}]=
\left( \begin{array}{cc} 1 & 0 \\ 0 & r^2 \end{array} \right)##
Here you gave the metric obtained by means of the cartesian coordinate system! So you should also use the cartesian components in
$$\sqrt{\delta(x,x)}$$
which reads ##\sqrt{r^2 \cos^2 \phi + r^2 \sin^2 \phi} = r##

As to why the ##\phi##-component of the position vector is zero, it simply because the position vector is defined in this way! It is the position of a given particle, which by the way you calculated when you started out with the vector in cartesian coordinates.
 
  • #7
kent davidge said:
Here you gave the metric in terms of the cartesian coordinate system!
No he did not. There is no ##r^2## in the metric in a Cartesian coordinate system.
 
  • #8
Orodruin said:
No he did not. There is no ##r^2## in the metric in a Cartesian coordinate system.
I meant the given metric is obtainable through $$\frac{\partial x}{\partial x'} \frac{\partial x}{\partial x'}g$$ where ##x, x'## are the cartesian and polar coordinates, respectively, and ##g## the metric in cartesian coordinates.
 
  • #9
First of all, he should not be putting the Cartesian components into ##\hat \delta## as your post seems to suggest. He is correct in wanting to put the components of the polar coordinate system into the metric expressed in the polar coordinates. The problem is, as I have already stated, that he has mixed up coordinates with vector components. Nothing else.

Second, the expression
kent davidge said:
$$\frac{\partial x}{\partial x'} \frac{\partial x}{\partial x'}g$$
really makes no sense unless you add in the appropriate indices.
 
  • #10
Orodruin said:
I think a part of your confusion is that you are confusing the components of some general vector with the actual coordinates. The coordinates are not the components of a vector. Furthermore, the partial derivatives are not in ##T_p^*M##, they are in ##T_pM## (they are a set of basis vectors in ##T_p^M##, the components multiplying them are scalar fields!)

Woops, you're right, that was a typo.

Orodruin said:
That is not a general vector, it is your position vector because you chose it to have the coordinates as components in Cartesian coordinates.

I'm not sure I understand this. I just chose some local coordinate representation of the vector ##x##, that does not make it any less general, does it?

Thank you for taking the time to help me, btw! I appreciate it.
 
  • #11
Emil_M said:
I'm not sure I understand this. I just chose some local coordinate representation of the vector ##x##, that does not make it any less general, does it?
No, you did not. You chose a very specific vector, the position vector, which in Cartesian coordinates ##x## and ##y## is expressed as ##x\partial_x + y\partial_y##. This vector will in general not be expressed as ##\chi^a\partial_a## in an arbitrary coordinate system with coordinates ##\chi^a##. As you have already shown with the computations in your first post, the components of the position vector in polar coordinates are ##r## and ##0##, respectively.

A general vector field would be of the form ##V = V^1\partial_x + V^2 \partial_y##, where the ##V^i(x,y)## are general functions of the coordinates. If you apply the transformation rules to this general vector you will find that
  • It generally has non-zero components in both directions.
  • Its magnitude is the same regardless of the coordinate system.
 
  • #12
Emil_M said:
Are the basis vectors of polar coordinates not given by ∂r∂r\partial_r and ∂ϕ∂ϕ\partial_\phi?
You have to be careful here. Coordinates do not have basis vectors. The tangent space is what has basis vectors. Each point in the manifold has a different tangent space. In a flat manifold the distinction can be blurred, but I think it is a good distinction to keep in mind
 
  • Like
Likes cianfa72
  • #13
Dale said:
You have to be careful here. Coordinates do not have basis vectors.
There is a basis of the tangent space associated to any coordinate system, i.e., the holonomic basis. Of course, ##\partial_i## belongs to different tangent spaces at each point of the manifold, but that is a different matter.
 
  • #14
Orodruin said:
There is a basis of the tangent space associated to any coordinate system, i.e., the holonomic basis.
Yes. As you say, it is a basis of the tangent space. It is derived from the coordinates, but it is not a basis of the coordinates because the coordinates are not a vector space in general.
 
  • Like
Likes grass near river and cianfa72
  • #15
Dale said:
Yes. As you say, it is a basis of the tangent space. It is derived from the coordinates, but it is not a basis of the coordinates because the coordinates are not a vector space in general.
I think nomenclature is also somewhat to blame here as the holonomic basis is sometimes referred to as a "coordinate basis". That just means a holonomic basis, not a basis for the coordinates.
 
  • Like
Likes Dale
  • #16
Emil_M said:
I'm sorry, I don't understand. A basis for ## \mathbb{R}^2## needs two basis vectors. And any vector in ## \mathbb{R}^2## is then a linear combination of said basis vectors, right? Are the basis vectors of polar coordinates not given by ##\partial_r## and ##\partial_\phi##? If so, how can a single basis vector form a basis for a two-dimensional vector space?

Cartesian coordinates lead to bad habits that only show up when you start using non-Cartesian coordinates. One of them is talking about "position vectors". A location is not a vector. People think of the point with coordinates ##(x,y)## this way:
  1. Start at the origin (##x=0, y=0##).
  2. Travel ##x## units in the x-direction.
  3. Travel ##y## units in the y-direction.
  4. Then you have arrived at the point ##(x,y)##
Non-Cartesian coordinates don't work that way. The point with coordinates ##(r, \theta)## cannot be described as:
  1. Start at the origin.
  2. Travel ##r## units in the r-direction.
  3. Travel ##\theta## units in the ##\theta##-direction
One reason this description makes no sense is because "the r-direction" or "the ##\theta##-direction" is not a unique direction. What direction is meant by "the r-direction" depends on your location.

So ##(x,y)## can be associated with a vector in a way that ##(r, \theta)## cannot be.
 
  • Like
Likes cianfa72 and Dale
  • #17
stevendaryl said:
One of them is talking about "position vectors". A location is not a vector.
This is a problem of affine space, not of Cartesian coordinates. Given an affine space, you can select an origin and by the definition of an affine space, there is a bijection from the tangent space to the affine space. In this sense, it is perfectly fine to talk about a position vector in an affine space as long as you have defined an origin. The position vector takes a vector value at each point and is therefore actually a vector field. It is perfectly well defined to express this vector field in any coordinates you want to. The problem appears when one starts to assume that the coordinates are the components of this field in all coordinate systems, which is simply not true for the reasons you stated.

stevendaryl said:
So (x,y)(x,y)(x,y) can be associated with a vector in a way that (r,θ)(r,θ)(r, \theta) cannot be.
The position vector can perfectly well be related to the ##r## and ##\theta## coordinates in an affine space as long as you have chosen your origin. If the origin is chosen to be the point ##r = 0## (as is customary), the position vector field is given by ##r\partial_r##.
 
  • #18
Hmm, when is a manifold an affine space?
 
  • #19
Orodruin said:
The position vector can perfectly well be related to the ##r## and ##\theta## coordinates in an affine space as long as you have chosen your origin. If the origin is chosen to be the point ##r = 0## (as is customary), the position vector field is given by ##r\partial_r##.

Yes, but the original confusion was that in the case of Cartesian coordinates, the point ##(x,y)## means "start at the origin, and go x units in the x-direction and then y units in the y-direction". The point ##(r,\theta)## cannot be interpreted that way. For one thing, "the r-direction" is undefined at the origin. You can associate a position ##(r,\theta)## with a vector at the origin, but that vector is not one with components ##(r,\theta)##.
 
  • #20
Dale said:
Hmm, when is a manifold an affine space?
When it is homeomorphic to ##\mathbb R^n##, see also https://en.wikipedia.org/wiki/Affine_manifold (an affine manifold is not necessarily an affine space, it does not need to be all of ##\mathbb R^n##, just a subset).

stevendaryl said:
Yes, but the original confusion was that in the case of Cartesian coordinates, the point ##(x,y)## means "start at the origin, and go x units in the x-direction and then y units in the y-direction". The point ##(r,\theta)## cannot be interpreted that way. For one thing, "the r-direction" is undefined at the origin. You can associate a position ##(r,\theta)## with a vector at the origin, but that vector is not one with components ##(r,\theta)##.
Yes, which is why I find it an inherently bad idea to represent vectors as (a,b,c) without any reference to the basis used and prefer to write out the basis explicitly.
 
  • Like
Likes cianfa72 and Dale
  • #21
Emil_M said:
I am really confused about coordinate transformations right now, specifically, from cartesian to polar coordinates.

A vector in cartesian coordinates is given by ##x=x^i \partial_i## with ##\partial_x, \partial_y \in T_p \mathcal{M}## of some manifold ##\mathcal{M}## and and ##x^i## being some coefficients.

Assuming an euclidean metric ##[\delta_{ij}]=
\left( \begin{array}{cc} 1 & 0 \\ 0 & 1 \end{array} \right)##, the norm of the vector ##x## is given by $$\sqrt{\delta(x,x)}=\sqrt{\delta_{ij}x^i x^j}=\sqrt{x^2+y^2}=:r$$.

Now, we make a transformation into polar coordinates:

##x=r \cos{\phi}##
##y=r \sin{\phi}##

Which gives us the vector ##x=y^i \partial_i## in terms of the basis vectors ##\partial_r, \partial_\phi##.

The euclidean metric in polar coordinates looks as follows:
##[\hat{\delta_{ij}}]=
\left( \begin{array}{cc} 1 & 0 \\ 0 & r^2 \end{array} \right)##

Computing the norm in the polar coordinates yields:

$$\sqrt{\delta(x,x)}=\sqrt{\hat{\delta_{ij}}y^i y^j}=\sqrt{r^2+r^2\phi^2}.$$

As ##\delta(x,x)## is a tensor relation, though, it should be coordinate independent. Furthermore, the inner product is invariant over coordinate transformations. So why is the norm different?

To add to the confusion, I tried transforming the coefficients from cartesian to polar coordinates:

$$x'^i=\frac{\partial f^i}{\partial x^j} x^j \;\;\; (1)$$

With ##\frac{\partial f^i}{\partial x^j}=\left( \begin{array}{cc} \cos{\phi} & \sin{\phi} \\ -\frac{\sin{\phi}}{r} & \frac{\cos{\phi}}{r} \end{array} \right)## being the matrix of partial derivatives.Applying ##(1)## for the first component ##r## yields:

$$x'^1= \frac{\partial f^1}{\partial x^j} x^j= \cos{\phi}\cdot r \cos{\phi} + \sin{\phi}\cdot r \sin{\phi}=r$$

So far so good. For the second component ##\phi##, however, we get:

$$x'^2= \frac{\partial f^2}{\partial x^j} x^j=-\frac{\sin{\phi}}{r} \cdot r \cos{\phi}+\frac{\cos{\phi}}{r} \cdot r \sin{\phi}=0$$

So what's going on here? Why does any general vector ##x=(x,y)^T## have a zero second component in polar coordinates?

Help!
Don't overcomplicate things. It's an ingenious trick of the mathematicians to write ##\partial_i## for the holonomous basis vectors. You can just read it as the corresnponding differential operator, i.e., for arbitrary generalized coordinates you treat it as the partial derivative ##\partial_i=\partial/\partial q^i##. Now we have
$$x^1=r \cos \varphi, \quad x^2=r \sin \varphi.$$
Then you get
$$\frac{\partial}{\partial x^i}=\frac{\partial q^j}{\partial x^i} \frac{\partial}{\partial q^i}.$$
Setting
$${T^i}_j=\frac{\partial q^j}{\partial x^i},$$
we have
$$\hat{T}=\hat{U}^{-1} \quad \text{with} \quad {U^i}_j=\frac{\partial x^i}{\partial q^j}.$$
So we first calculate ##\hat{U}##:
$$\hat{U}=\begin{pmatrix}\cos \varphi & -r \sin \varphi \\ \sin \varphi & r \cos \varphi \end{pmatrix}.$$
Inverting gives
$$\hat{T}=\hat{U}^{-1} = \begin{pmatrix} \cos \varphi & \sin \varphi \\ -\sin \varphi/r & \cos \varphi/r \end{pmatrix}.$$
Thus you get
$$\frac{\partial}{\partial x^i} = {T^{i}}_j \frac{\partial}{\partial q_i} = (\partial_r,\partial_{\varphi}) \hat{T}=(\cos \varphi \partial_r-\sin \varphi/r \partial_{\varphi}, \sin \varphi \partial_r+\cos \varphi/r \partial_r)$$.
The position vector thus reads
$$x^i \frac{\partial}{\partial x^i}=(\cos \varphi \partial_r-\sin \varphi/r \partial_{\varphi}, \sin \varphi \partial_r+\cos \varphi/r \partial_r) \begin{pmatrix}r \cos \varphi \\ r \sin \varphi \end{pmatrix}=r \partial_r.$$
This is of course already obvious without all this formalism, but it's a nice exercise. Note that ##\vec{x}## is not a "general vector" but a special vector, namely the position vector.

The norm transforms differently. This is also most easily seen in the Cartan notation. The metric coefficients in the two metrics are given by taking ##\mathrm{d} q^i## as the increments of the coordinates, i.e., you have
$$\mathrm{d} s^2=\delta_{ij} \mathrm{d} x^i \mathrm{d} x^j = \delta_{ij} \frac{\partial x^i}{\partial q^k} \frac{\partial x^j}{\partial q^l} \mathrm{d} q^j \mathrm{d} q^l.$$
The metric coefficients in cylinder coordinates are thus given by
$$g_{kl}=\delta_{ij} {U^{i}}_k {U^{j}}_l =[(\hat{U}^{T} \hat{U}]_{kl}.$$
Using the above result for ##\hat{T}## we get
$$\hat{g}\hat{T}^T \hat{T}=\mathrm{diag}(1,r^2).$$
For the position vector you get thus indeed
$$\delta_{ij} x^i x^j=(x^2+y^2)=r^2=(r,0) \hat{g} \begin{pmatrix} r \\ 0 \end{pmatrix}.$$
So everything is consistent, as it should be.
 
  • Like
Likes Emil_M, weirdoguy and Dale
  • #22
Thanks everybody for your amazing input!
I will think about all the information you have given me, and might return with follow-up questions :)
 
  • Like
Likes Dale
  • #23
stevendaryl said:
Yes, but the original confusion was that in the case of Cartesian coordinates, the point ##(x,y)## means "start at the origin, and go x units in the x-direction and then y units in the y-direction". The point ##(r,\theta)## cannot be interpreted that way. For one thing, "the r-direction" is undefined at the origin. You can associate a position ##(r,\theta)## with a vector at the origin, but that vector is not one with components ##(r,\theta)##.
I found this interesting old thread. As far as I understand, as long as an origin is fixed in the affine space, each point maps to an unique vector (namely the position vector). So we get a position vector field defined at all points in the affine space.

Now pick for instance polar coordinates having ##r=0## at the chosen origin point O. At point P with polar coordinates ##(r,\theta)## the position vector field is well defined and its value is ##r\partial_r## in the given coordinate chart. However it lacks of a straightforward interpretation when compared w.r.t cartesian coordinates for the same case.

As @stevendaryl pointed out we cannot basically interpret ##(r,\theta)## as an instruction: move of ##r## units in r-direction starting from the chosen origin.
 
Last edited:
  • #24
The here discussed polar coordinates have a coordinate singularity at ##r=0##. So you can't use them at this point.
 
  • #25
Orodruin said:
Given an affine space, you can select an origin and by the definition of an affine space, there is a bijection from the tangent space to the affine space.
Yes, there is also a bijection from the translation vector space (which is part of affine space definition) to the affine space.

Actually the position vector field evaluated at each point P in the affine space (i.e. the vector that lies in the tangent space defined at each affine point P) is, let me say, another copy of the vector lying in the translation vector space that we get when an origin point has been selected (basically the vector represented by the 'arrow' from the origin to the point P).

Thus what we assign using the coordinate/holonomic basis vectors are actually the components of the latter (i.e. the components of the vectors lying in each tangent space).

What do you think about ? Thank you.
 
Last edited:
  • #26
The holonomic basis vectors by definition are in the tangent space. They are vectors, not components.
 
  • Like
Likes cianfa72
  • #27
cianfa72 said:
Yes, there is also a bijection from the translation vector space (which is part of affine space definition) to the affine space.
The translation vector space is the tangent space. Due to the affine structure, there is really no need to make a distinction between the vector space of translations and the tangent spaces at each point.
 
  • Like
Likes cianfa72 and vanhees71
  • #28
vanhees71 said:
The holonomic basis vectors by definition are in the tangent space. They are vectors, not components.
Yes of course. My point was that an expression such as ##r\partial_r## does mean the position vector field evaluated at point P has components ##(r,0)## in the holonomic basis vectors for the tangent space at P.
Orodruin said:
The translation vector space is the tangent space. Due to the affine structure, there is really no need to make a distinction between the vector space of translations and the tangent spaces at each point.
Yes, however strictly speaking I believe they are actually two different things. Then, due to the affine structure, we can obviously identify them and any distinction is irrelevant.
 
  • Like
Likes vanhees71
  • #29
cianfa72 said:
the tangent space at P
Just wanted to point out that this is the correct usage. There is not “the tangent space” it should always be “the tangent space at P”. You can blur the lines in flat spaces because the tangent spaces can be trivially identified, but it is a bad habit. So I am glad to see the precision.
 
  • Like
Likes vanhees71
  • #30
Dale said:
You can blur the lines in flat spaces because the tangent spaces can be trivially identified, but it is a bad habit.
Yes, since they can be trivially identified with the (unique) translation vector space that enters in the definition of affine space.
 
  • Like
Likes vanhees71
  • #31
Orodruin said:
there is really no need to make a distinction between the vector space of translations and the tangent spaces at each point
I disagree. You can get away with this in flat spaces, but not in curved spaces. Since we are in the special and general relativity forum we often deal with curved spacetime here. So I would recommend making the distinction here.

I think, however, that the point you are arguing is maybe more about the basis vectors than about the tangent space. So I can see how the tangent space discussion gets in the way of making that point succinctly.
 
  • Like
Likes PeterDonis and vanhees71
  • #32
Here, explicitly an affine space is discussed, and there the distinction is indeed not needed, i.e., you usually identify the tangent spaces at any point with the "global vector space" contained in the definition of the affine space, and with that choice you get a flat space.

@Dale is right in warning that often students have problems that the concept of a "position vector" does not exist in the general case of a differentiable manifold, and that it is important that without an additional definition of a connection it is impossible to identify tangent vectors in tangent spaces at different points of the manifold.
 
  • Like
  • Informative
Likes Dale, Orodruin and cianfa72
  • #33
Dale said:
I disagree. You can get away with this in flat spaces, but not in curved spaces.
An affine space - which was the context of the quoted text - is flat.
 
Last edited:
  • Like
Likes Dale and vanhees71
  • #34
Orodruin said:
An affine space - which was the context of the quoted text - is flat.
Can "flat" even be defined for an affine space?
 
  • #35
PeterDonis said:
Can "flat" even be defined for an affine space?
Well, the obvious connection is flat so ...
 
  • Like
Likes vanhees71

Similar threads

  • Special and General Relativity
Replies
8
Views
1K
  • Special and General Relativity
Replies
13
Views
2K
  • Special and General Relativity
Replies
18
Views
2K
  • Special and General Relativity
Replies
8
Views
1K
  • Special and General Relativity
Replies
14
Views
785
  • Special and General Relativity
Replies
5
Views
333
  • Special and General Relativity
Replies
4
Views
255
  • Special and General Relativity
Replies
4
Views
766
  • Special and General Relativity
Replies
11
Views
129
  • Special and General Relativity
Replies
17
Views
1K
Back
Top