- #1
Catalina-
- 2
- 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.
$$
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.