text: # Cylindrical coordinate system
  
  A cylindrical coordinate system with origin O, polar axis A, and longitudinal axis L. The dot is the point with radial distance ρ = 4, angular coordinate φ = 130°, and height z = 4.
  
  A cylindrical coordinate system is a three-dimensional coordinate system that specifies point positions by the distance from a chosen reference axis, the direction from the axis relative to a chosen reference direction, and the distance from a chosen reference plane perpendicular to the axis. The latter distance is given as a positive or negative number depending on which side of the reference plane faces the point.
  
  The origin of the system is the point where all three coordinates can be given as zero. This is the intersection between the reference plane and the axis.
  
  The axis is variously called the cylindrical or longitudinal axis, to differentiate it from the polar axis, which is the ray that lies in the reference plane, starting at the origin and pointing in the reference direction.
  
  The distance from the axis may be called the radial distance or radius, while the angular coordinate is sometimes referred to as the angular position or as the azimuth.The radius and the azimuth are together called the polar coordinates, as they correspond to a two-dimensional polar coordinate system in the plane through the point, parallel to the reference plane. The third coordinate may be called the height or altitude (if the reference plane is considered horizontal), longitudinal position,[1] or axial position.[2]
  
  Cylindrical coordinates are useful in connection with objects and phenomena that have some rotational symmetry about the longitudinal axis, such as water flow in a straight pipe with round cross-section, heat distribution in a metal cylinder, electromagnetic fields produced by an electric current in a long, straight wire, accretion disks in astronomy, and so on.
  
  They are sometimes called "cylindrical polar coordinates"[3] and "polar cylindrical coordinates",[4] and are sometimes used to specify the position of stars in a galaxy ("galactocentric cylindrical polar coordinates").[5]
  
  ## Definition
  
  The three coordinates (ρ, φ, z) of a point P are defined as:
  
  • The axial distance or radial distance ρ is the Euclidean distance from the z-axis to the point P.
  • The azimuth φ is the angle between the reference direction on the chosen plane and the line from the origin to the projection of P on the plane.
  • The axial coordinate or height z is the signed distance from the chosen plane to the point P.
  
  ### Unique cylindrical coordinates
  
  As in polar coordinates, the same point with cylindrical coordinates (ρ, φ, z) has infinitely many equivalent coordinates, namely (ρ, φ ± n×360°, z) and (−ρ, φ ± (2n + 1)×180°, z), where n is any integer. Moreover, if the radius ρ is zero, the azimuth is arbitrary.
  
  In situations where someone wants a unique set of coordinates for each point, one may restrict the radius to be non-negative (ρ ≥ 0) and the azimuth φ to lie in a specific interval spanning 360°, such as [−180°,+180°] or [0,360°].
  
  ### Conventions
  
  The notation for cylindrical coordinates is not uniform. The ISO standard 31-11 recommends (ρ, φ, z), where ρ is the radial coordinate, φ the azimuth, and z the height. However, the radius is also often denoted r or s, the azimuth by θ or t, and the third coordinate by h or (if the cylindrical axis is considered horizontal) x, or any context-specific letter.
  
  The coordinate surfaces of the cylindrical coordinates (ρ, φ, z). The red cylinder shows the points with ρ = 2, the blue plane shows the points with z = 1, and the yellow half-plane shows the points with φ = −60°. The z-axis is vertical and the x-axis is highlighted in green. The three surfaces intersect at the point P with those coordinates (shown as a black sphere); the Cartesian coordinates of P are roughly (1.0, −1.732, 1.0).
  Cylindrical coordinate surfaces. The three orthogonal components, ρ (green), φ (red), and z (blue), each increasing at a constant rate. The point is at the intersection between the three colored surfaces.
  
  In concrete situations, and in many mathematical illustrations, a positive angular coordinate is measured counterclockwise as seen from any point with positive height.
  
  ## Coordinate system conversions
  
  The cylindrical coordinate system is one of many three-dimensional coordinate systems. The following formulae may be used to convert between them.
  
  ### Cartesian coordinates
  
  For the conversion between cylindrical and Cartesian coordinates, it is convenient to assume that the reference plane of the former is the Cartesian xy-plane (with equation z = 0), and the cylindrical axis is the Cartesian z-axis. Then the z-coordinate is the same in both systems, and the correspondence between cylindrical (ρ,φ,z) and Cartesian (x,y,z) are the same as for polar coordinates, namely
  
  {\displaystyle {\begin{aligned}x&=\rho \cos \varphi \\y&=\rho \sin \varphi \\z&=z\end{aligned}}}
  
  in one direction, and
  
  {\displaystyle {\begin{aligned}\rho &={\sqrt {x^{2}+y^{2}}}\\\varphi &={\begin{cases}0&{\mbox{if }}x=0{\mbox{ and }}y=0\\\arcsin \left({\frac {y}{\rho }}\right)&{\mbox{if }}x\geq 0\\\arctan \left({\frac {y}{x}}\right)&{\mbox{if }}x>0\\-\arcsin \left({\frac {y}{\rho }}\right)+\pi &{\mbox{if }}x<0\end{cases}}\end{aligned}}}
  
  in the other. The arcsin function is the inverse of the sine function, and is assumed to return an angle in the range [−π/2,+π/2] = [−90°,+90°]. These formulas yield an azimuth φ in the range [−90°,+270°]. For other formulas, see the polar coordinate article.
  
  Many modern programming languages provide a function that will compute the correct azimuth φ, in the range (−π, π), given x and y, without the need to perform a case analysis as above. For example, this function is called by atan2(y,x) in the C programming language, and atan(y,x) in Common Lisp.
  
  ### Spherical coordinates
  
  Spherical coordinates (radius r, elevation or inclination θ, azimuth φ), may be converted into cylindrical coordinates by:
  
   θ is elevation: θ is inclination: {\displaystyle {\begin{aligned}\rho &=r\cos \theta \\\varphi &=\varphi \\z&=r\sin \theta \end{aligned}}} {\displaystyle {\begin{aligned}\rho &=r\sin \theta \\\varphi &=\varphi \\z&=r\cos \theta \end{aligned}}}
  
  Cylindrical coordinates may be converted into spherical coordinates by:
  
   θ is elevation: θ is inclination: {\displaystyle {\begin{aligned}r&={\sqrt {\rho ^{2}+z^{2}}}\\\theta &=\arctan \left({\tfrac {z}{\rho }}\right)\\\varphi &=\varphi \end{aligned}}} {\displaystyle {\begin{aligned}r&={\sqrt {\rho ^{2}+z^{2}}}\\\theta &=\arctan \left({\tfrac {\rho }{z}}\right)\\\varphi &=\varphi \end{aligned}}}
  
  ## Line and volume elements
  
  See multiple integral for details of volume integration in cylindrical coordinates, and Del in cylindrical and spherical coordinates for vector calculus formulae.
  
  In many problems involving cylindrical polar coordinates, it is useful to know the line and volume elements; these are used in integration to solve problems involving paths and volumes.
  
  The line element is
  
  ${\displaystyle \mathrm {d} \mathbf {r} =\mathrm {d} \rho \,{\boldsymbol {\hat {\rho }}}+\rho \,\mathrm {d} \varphi \,{\boldsymbol {\hat {\varphi }}}+\mathrm {d} z\,\mathbf {\hat {z}} .}$
  
  The volume element is
  
  ${\displaystyle \mathrm {d} V=\rho \,\mathrm {d} \rho \,\mathrm {d} \varphi \,\mathrm {d} z.}$
  
  The surface element in a surface of constant radius ρ (a vertical cylinder) is
  
  ${\displaystyle \mathrm {d} S_{\rho }=\rho \,\mathrm {d} \varphi \,\mathrm {d} z.}$
  
  The surface element in a surface of constant azimuth φ (a vertical half-plane) is
  
  ${\displaystyle \mathrm {d} S_{\varphi }=\mathrm {d} \rho \,\mathrm {d} z.}$
  
  The surface element in a surface of constant height z (a horizontal plane) is
  
  ${\displaystyle \mathrm {d} S_{z}=\rho \,\mathrm {d} \rho \,\mathrm {d} \varphi .}$
  
  The del operator in this system leads to the following expressions for gradient, divergence, curl and Laplacian:
  
  {\displaystyle {\begin{aligned}\nabla f&={\frac {\partial f}{\partial \rho }}{\boldsymbol {\hat {\rho }}}+{\frac {1}{\rho }}{\frac {\partial f}{\partial \varphi }}{\boldsymbol {\hat {\varphi }}}+{\frac {\partial f}{\partial z}}\mathbf {\hat {z}} \\[8px]\nabla \cdot {\boldsymbol {A}}&={\frac {1}{\rho }}{\frac {\partial }{\partial \rho }}\left(\rho A_{\rho }\right)+{\frac {1}{\rho }}{\frac {\partial A_{\varphi }}{\partial \varphi }}+{\frac {\partial A_{z}}{\partial z}}\\[8px]\nabla \times {\boldsymbol {A}}&=\left({\frac {1}{\rho }}{\frac {\partial A_{z}}{\partial \varphi }}-{\frac {\partial A_{\varphi }}{\partial z}}\right){\boldsymbol {\hat {\rho }}}+\left({\frac {\partial A_{\rho }}{\partial z}}-{\frac {\partial A_{z}}{\partial \rho }}\right){\boldsymbol {\hat {\varphi }}}+{\frac {1}{\rho }}\left({\frac {\partial }{\partial \rho }}\left(\rho A_{\varphi }\right)-{\frac {\partial A_{\rho }}{\partial \varphi }}\right)\mathbf {\hat {z}} \\[8px]\nabla ^{2}f&={\frac {1}{\rho }}{\frac {\partial }{\partial \rho }}\left(\rho {\frac {\partial f}{\partial \rho }}\right)+{\frac {1}{\rho ^{2}}}{\frac {\partial ^{2}f}{\partial \varphi ^{2}}}+{\frac {\partial ^{2}f}{\partial z^{2}}}\end{aligned}}}
  
  ## Cylindrical harmonics
  
  The solutions to the Laplace equation in a system with cylindrical symmetry are called cylindrical harmonics.
  
  ## References
  
  1. ^ Krafft, C.; Volokitin, A. S. (1 January 2002). "Resonant electron beam interaction with several lower hybrid waves". Physics of Plasmas. 9 (6): 2786–2797. Bibcode:2002PhPl....9.2786K. doi:10.1063/1.1465420. ISSN 1089-7674. Retrieved 9 February 2013. ...in cylindrical coordinates (r,θ,z) ... and Z = vbzt is the longitudinal position...
  2. ^ Groisman, Alexander; Steinberg, Victor (1997). "Solitary Vortex Pairs in Viscoelastic Couette Flow". Physical Review Letters. 78 (8): 1460–1463. Bibcode:1997PhRvL..78.1460G. doi:10.1103/PhysRevLett.78.1460. ...where r, θ, and z are cylindrical coordinates ... as a function of axial position...
  3. ^ Szymanski, J. E. (1989). Basic Mathematics for Electronic Engineers: models and applications. Tutorial Guides in Electronic Engineering (no. 16). Taylor & Francis. p. 170. ISBN 978-0-278-00068-1.
  4. ^ Nunn, Robert H. (1989). Intermediate Fluid Mechanics. Taylor & Francis. p. 3. ISBN 978-0-89116-647-4.
  5. ^ Sparke, Linda Siobhan; Gallagher, John Sill (2007). Galaxies in the Universe: An Introduction (2nd ed.). Cambridge University Press. p. 37. ISBN 978-0-521-85593-8.
metadata: {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 12, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}