Line element in cylindrical coordinates

Click For Summary
SUMMARY

The discussion focuses on converting the line element from Cartesian to cylindrical coordinates, specifically addressing the error in the derivation of the total derivative for the radial component, \( dr \). The participant initially derived the equations incorrectly, leading to an erroneous factor of \( r^2 \) in the expression for \( dr \). The correct approach involves expressing \( dx \) and \( dy \) in terms of \( dr \) and \( d\phi \) using the relationships \( x = r \cos \phi \) and \( y = r \sin \phi \). The final line element in cylindrical coordinates is confirmed as \( ds^2 = -dt^2 + r^2 dr^2 + r^2 d\phi^2 + dz^2 \).

PREREQUISITES
  • Understanding of cylindrical coordinates and their definitions
  • Familiarity with total derivatives and partial derivatives
  • Knowledge of differential geometry concepts
  • Basic proficiency in calculus, particularly in manipulating equations
NEXT STEPS
  • Study the derivation of total derivatives in cylindrical coordinates
  • Learn about the geometric interpretation of line elements in differential geometry
  • Explore the relationship between Cartesian and polar coordinates
  • Investigate common mistakes in coordinate transformations in physics
USEFUL FOR

Students and professionals in physics, particularly those studying general relativity or differential geometry, as well as anyone involved in mathematical modeling using cylindrical coordinates.

Catalina-
Messages
2
Reaction score
1
Homework Statement
As part of a recent homework I have to convert the line element
$$
ds²=-dt²+dx²+dy²+dz²
$$
to cylindrical coordinates
Relevant Equations
The cylindrical coordinates were given by
$$
r=\sqrt{x²+y²}
$$
$$
\phi=arctan(\frac{y}{x})
$$
First I took the total derivative of these and arrived at
$$
dr=\frac{\partial r}{\partial x}dx+\frac{\partial r}{\partial y}dy \quad\rightarrow \quad r²dr=xdx+ydy
$$
$$
d\phi=\frac{\partial \phi}{\partial x}dx+\frac{\partial \phi}{\partial y}dy \quad\rightarrow \quad r²dr
\phi=-ydx+xdy
$$
After solving the system of equations I got
$$
dx= xdr-yd\phi
$$
$$
dy=ydr+xd\phi
$$
After squaring these separately and adding them I got
$$
dx²+dy²=r²dr²+r²d\phi²
$$
and therefor the line element
$$
ds²=-dt²+r²dr²+r²d\phi²+dz²
$$
However the solution is not supposed to have a r² factor with the dr² term. I have looked at it for a while now but I cant seem to find my error.
 
Physics news on Phys.org
Catalina- said:
Homework Statement: As part of a recent homework I have to convert the line element
$$
ds²=-dt²+dx²+dy²+dz²
$$
to cylindrical coordinates
Relevant Equations: The cylindrical coordinates were given by
$$
r=\sqrt{x²+y²}
$$
$$
\phi=arctan(\frac{y}{x})
$$

First I took the total derivative of these and arrived at
$$
dr=\frac{\partial r}{\partial x}dx+\frac{\partial r}{\partial y}dy \quad\rightarrow \quad r²dr=xdx+ydy
$$
$$
d\phi=\frac{\partial \phi}{\partial x}dx+\frac{\partial \phi}{\partial y}dy \quad\rightarrow \quad r²dr
\phi=-ydx+xdy
$$
You have an extra factor of r on the left hand side of your result for dr. But since you haven't shown us how you calculated the partial derivatives, we can't tell you how it got there.

But none of this is necessary. You need to find dx^2 + dy^2 in terms of dr and d\phi. The easiest way is to start from <br /> \left. \begin{aligned} x = r \cos \phi \\ y = r \sin \phi \end{aligned}\right\} \Rightarrow <br /> \left\{\begin{aligned} dx = \cos \phi\,dr - r\sin \phi\,d\phi \\<br /> dy = \sin \phi \,dr + r\cos \phi\,d\phi \end{aligned}\right.
 
Hi. Welcome to PF. In addition to what @pasmith said, it may be worth noting that
Catalina- said:
$$r²dr=xdx+ydy$$
can easily be seen to be wrong on dimensional grounds. The left side has dimensions ##L^3## (length cubed) but the right hand side has dimensions ##L^2## so there's an error.
 
  • Like
Likes   Reactions: vela and WWGD
Thank you very much for your help @pasmith & @Steve4Physics.

You pointed me in the exact right direction, I made a silly mistake in the derivation of dr.
 
  • Like
Likes   Reactions: Steve4Physics

Similar threads

  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 6 ·
Replies
6
Views
4K
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 2 ·
Replies
2
Views
1K