The polar angle is denoted by : it is the angle between the z-axis and the radial vector connecting the origin to the point in question.
The azimuthal angle is denoted by : it is the angle between the x-axis and the projection of the radial vector onto the xy-plane.
The function atan2(y, x) can be used instead of the mathematical function arctan(y/x) owing to its domain and image. The classical arctan function has an image of (−π/2, +π/2), whereas atan2 is defined to have an image of (−π, π].
Coordinate conversions
Conversion between Cartesian, cylindrical, and spherical coordinates[1]
From
Cartesian
Cylindrical
Spherical
To
Cartesian
Cylindrical
Spherical
Note that the operation must be interpreted as the two-argument inverse tangent, atan2.
Unit vector conversions
Conversion between unit vectors in Cartesian, cylindrical, and spherical coordinate systems in terms of destination coordinates[1]
Cartesian
Cylindrical
Spherical
Cartesian
Cylindrical
Spherical
Conversion between unit vectors in Cartesian, cylindrical, and spherical coordinate systems in terms of source coordinates
Cartesian
Cylindrical
Spherical
Cartesian
Cylindrical
Spherical
Del formula
Table with the del operator in cartesian, cylindrical and spherical coordinates
^α This page uses for the polar angle and for the azimuthal angle, which is common notation in physics. The source that is used for these formulae uses for the azimuthal angle and for the polar angle, which is common mathematical notation. In order to get the mathematics formulae, switch and in the formulae shown in the table above.
^β Defined in Cartesian coordinates as . An alternative definition is .
^γ Defined in Cartesian coordinates as . An alternative definition is .
The unit vector of a coordinate parameter u is defined in such a way that a small positive change in u causes the position vector to change in direction.
Therefore,
where s is the arc length parameter.
For two sets of coordinate systems and , according to chain rule,
Now, we isolate the th component. For , let . Then divide on both sides by to get: