Cylindrical coordinates#rvy
The cylindrical coordinate system extends polar coordinates into 3D by using the standard vertical coordinate z. This gives coordinates (r,θ,z) consisting of:
coordinate | name | range | definition |
---|---|---|---|
r | radius | 0≤r<∞ | distance from the z-axis |
θ | azimuth | −π<θ≤π | angle from the x-axis in the x–y plane |
z | height | −∞<z<∞ | vertical height |
The diagram below shows the cylindrical coordinates of a point P. By changing the display options, we can see that the basis vectors are tangent to the corresponding coordinate lines. Changing θ moves P along the θ coordinate line in the direction ˆeθ, and similarly for the other coordinates.
|
Cylindrical coordinates are defined with respect to a set of Cartesian coordinates, and can be converted to and from these coordinates using the atan2 function as follows.
Conversion between cylindrical and Cartesian coordinates #rvy‑ec
x=rcosθr=√x2+y2y=rsinθθ=atan2(y,x)z=zz=z
Derivation#rvy‑ec‑d
The basis vectors are tangent to the coordinate lines and form a right-handed orthonormal basis ˆer,ˆeθ,ˆez that depends on the current position →P as follows. We can write either ˆez or ˆk for the vertical basis vector.
Cylindrical basis vectors #rvy‑eb
ˆer=cosθˆı+sinθˆȷˆeθ=−sinθˆı+cosθˆȷˆez=ˆkˆı=cosθˆer−sinθˆeθˆȷ=sinθˆer+cosθˆeθˆk=ˆez
Derivation#rvy‑eb‑d
If the cylindrical coordinates change with time then this causes the cylindrical basis vectors to rotate with the following angular velocity.
Angular velocity of the cylindrical basis #rvy‑ew
→ω=˙θˆez
Derivation#rvy‑ew‑d
The rotation of the basis vectors caused by changing coordinates gives the time derivatives below.
Time derivatives of cylindrical basis vectors #rvy‑et
˙ˆer=˙θˆeθ˙ˆeθ=−˙θˆer˙ˆez=0
Derivation#rvy‑et‑d
A point P at a time-varying position (r,θ,z) has position vector →ρ, velocity →v=˙→ρ, and acceleration →a=¨→ρ given by the following expressions in cylindrical components.
Position, velocity, and acceleration in cylindrical components #rvy‑ep
→ρ=rˆer+zˆez→v=˙rˆer+r˙θˆeθ+˙zˆez→a=(¨r−r˙θ2)ˆer+(r¨θ+2˙r˙θ)ˆeθ+¨zˆez
Derivation#rvy‑ep‑d
Warning!#rvy‑ir
We normally write →r for the position vector of a point, but if we are using cylindrical coordinates r,θ,z then this is dangerous. This is because r might mean the magnitude of →r or the radial coordinate, which are different. To avoid this confusion we use →ρ for the position vector and r for the radial coordinate.