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, or axial position. 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 discs in astronomy, and so on. It is sometimes called ‘cylindrical polar coordinate' and ‘polar cylindrical coordinate’, and is sometimes used to specify the position of stars in a galaxy (‘galactocentric cylindrical polar coordinate’). 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 one needs 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°). 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. In concrete situations, and in many mathematical illustrations, a positive angular coordinate is measured counterclockwise as seen from any point with positive height. The cylindrical coordinate system is one of many three-dimensional coordinate systems. The following formulae may be used to convert between them. For the conversion between cylindrical and Cartesian coordinate co-ordinates, it is convenient to assume that the reference plane of the former is the Cartesian x–y 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 (ρ,φ) and Cartesian (x,y) are the same as for polar coordinates, namely 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 (radius r, elevation or inclination θ, azimuth φ), may be converted into cylindrical coordinates by: 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 del operator in this system leads to the following expressions for gradient, divergence, curl and Laplacian: The solutions to the Laplace equation in a system with cylindrical symmetry are called cylindrical harmonics. Source.