Polar coordinate system Points in the polar coordinate system with pole O and polar axis L. In green, the point with radial coordinate 3 and angular coordinate 60 degrees, or (3,60°). In blue, the point (4,210°).

In mathematics, the polar coordinate system is a two-dimensional coordinate system in which each point on a plane is determined by a distance from a fixed point and an angle from a fixed direction.

The fixed point (analogous to the origin of a Cartesian system) is called the pole, and the ray from the pole with the fixed direction is the polar axis. The distance from the pole is called the radial coordinate or radius, and the angle is the angular coordinate, polar angle, or azimuth.

History

The concepts of angle and radius were already used by ancient peoples of the 1st millennium BCE. The astronomer Hipparchus (190-120 BCE) created a table of chord functions giving the length of the chord for each angle, and there are references to his using polar coordinates in establishing stellar positions. In On Spirals, Archimedes describes the Archimedean spiral, a function whose radius depends on the angle. The Greek work, however, did not extend to a full coordinate system.

In the 9th century CE, the Persian mathematician, Habash al-Hasib al-Marwazi, employed spherical trigonometry and map projection methods in order to convert polar coordinates to a different coordinate system centred on a specific point on the sphere, in this the Qibla, the direction to Mecca. The Persian geographer, Abū Rayhĝn Bīrūnī (973-1048), developed ideas which are seen as an anticipation of the polar coordinate system. Around 1025 CE, he was the first to describe a polar equi-azimuthal equidistant projection of the celestial sphere.

There are various accounts of the introduction of polar coordinates as part of a formal coordinate system. The full history of the subject is described in Harvard professor Julian Lowell Coolidge's Origin of Polar Coordinates. Grégoire de Saint-Vincent and Bonaventura Cavalieri independently introduced the concepts in the mid-seventeenth century. Saint-Vincent wrote about them privately in 1625 and published his work in 1647, while Cavalieri published his in 1635 with a corrected version appearing in 1653. Cavalieri first used polar coordinates to solve a problem relating to the area within an Archimedean spiral. Blaise Pascal subsequently used polar coordinates to calculate the length of parabolic arcs.

In Method of Fluxions (written 1671, published 1736), Sir Isaac Newton examined the transformations between polar coordinates, which he referred to as the "Seventh Manner; For Spirals", and nine other coordinate systems. In the journal Acta Eruditorum (1691), Jacob Bernoulli used a system with a point on a line, called the pole and polar axis respectively. Coordinates were specified by the distance from the pole and the angle from the polar axis. Bernoulli's work extended to finding the radius of curvature of curves expressed in these coordinates.

The actual term polar coordinates has been attributed to Gregorio Fontana and was used by 18th-century Italian writers. The term appeared in English in George Peacock's 1816 translation of Lacroix's Differential and Integral Calculus. Alexis Clairaut was the first to think of polar coordinates in three dimensions, and Leonhard Euler was the first to actually develop them.

Common conventions

The radial coordinate is often denoted by r, and the angular coordinate by θ or t.

Angles in polar notation are generally expressed in either degrees or radians (2π rad being equal to 360°). Degrees are traditionally used in navigation, surveying, and many applied disciplines, while radians are more common in mathematics and mathematical physics.

In many contexts, a positive angular coordinate means that the angle θ is measured counterclockwise from the axis.

In mathematical literature, the polar axis is often drawn horizontal and pointing to the right.

Uniqueness of polar coordinates

Adding any number of full turns (360°) to the angular coordinate does not change the corresponding direction. Also, a negative radial coordinate is best interpreted as the corresponding positive distance measured in the opposite direction. Therefore, the same point can be expressed with an infinite number of different polar coordinates (r, θ ± n×360°) or (−r, θ ± (2n + 1)180°), where n is any integer. Moreover, the pole itself can be expressed as (0, θ) for any angle θ.

Where a unique representation is needed for any point, it is usual to limit r to non-negative numbers (r ≥ 0) and θ to the interval [0, 360°) or (−180°, 180°] (in radians, [0, 2π) or (−π, π]). One must also choose a unique azimuth for the pole, e.g. θ = 0.

Converting between polar and Cartesian coordinates A diagram illustrating the relationship between polar and Cartesian coordinates.

The two polar coordinates r and θ can be converted to the Cartesian coordinates x and y by using the trigonometric functions sine and cosine: $x = r \cos \theta \,$ $y = r \sin \theta, \,$

while the two Cartesian coordinates x and y can be converted to polar coordinate r by $r = \sqrt{y^2 + x^2} \quad$ (as in the Pythagorean theorem), and $\theta = \begin{cases} 0 & \mbox{if } x = 0 \mbox{ and } y = 0\\ \arcsin(\frac{y}{r}) & \mbox{if } x \geq 0 \\ -\arcsin(\frac{y}{r}) + \pi & \mbox{if } x < 0\\ \end{cases}$

All these formulae assume that the pole is the Cartesian origin (0,0), that the polar axis is the Cartesian x axis, and that the direction of the Cartesian y axis has azimuth +π/2 rad = +90° (rather than −π/2). The arcsin function is the inverse of the sine function, which is assumed to yield an angle in the range [−π/2,+π/2] = [−90°,+90°].

The formula for θ above yields an angle in the range [-π/2,+3π/2) = [−90°,+270°). To obtain θ in the interval [0, 2π) directly, one may use instead $\theta = \begin{cases} \arctan(\frac{y}{x}) & \mbox{if } x > 0 \mbox{ and } y \ge 0\\ \arctan(\frac{y}{x}) + 2\pi & \mbox{if } x > 0 \mbox{ and } y < 0\\ \arctan(\frac{y}{x}) + \pi & \mbox{if } x < 0\\ \frac{\pi}{2} & \mbox{if } x = 0 \mbox{ and } y > 0\\ \frac{3\pi}{2} & \mbox{if } x = 0 \mbox{ and } y < 0\\ 0 & \mbox{if } x = 0 \mbox{ and } y = 0 \end{cases}$

The $\arctan$ function is the inverse of the tangent function, which is assumed to yield an angle in the range (−π/2,+π/2) = (−90°,+90°).

To obtain θ in the interval (−π, π], one may use instead $\theta = \begin{cases} \arctan(\frac{y}{x}) & \mbox{if } x > 0\\ \arctan(\frac{y}{x}) + \pi & \mbox{if } x < 0 \mbox{ and } y \ge 0\\ \arctan(\frac{y}{x}) - \pi & \mbox{if } x < 0 \mbox{ and } y < 0\\ \frac{\pi}{2} & \mbox{if } x = 0 \mbox{ and } y > 0\\ -\frac{\pi}{2} & \mbox{if } x = 0 \mbox{ and } y < 0\\ 0 & \mbox{if } x = 0 \mbox{ and } y = 0 \end{cases}$

Many modern programming languages have a function that will compute the correct angular coordinate θ 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. In both cases, the result is an angle in radians in the range (−π, π].

Polar equation of a curve

The equation defining an algebraic curve expressed in polar coordinates is known as a polar equation. In many cases, such an equation can simply be specified by defining r as a function of θ. The resulting curve then consists of points of the form (r(θ), θ) and can be regarded as the graph of the polar function r.

Different forms of symmetry can be deduced from the equation of a polar function r. If r(−θ) = r(θ) the curve will be symmetrical about the horizontal (0°/180°) ray, if r(π − θ) = r(θ) it will be symmetric about the vertical (90°/270°) ray, and if r(θ − α°) = r(θ) it will be rotationally symmetric α° counterclockwise about the pole.

Because of the circular nature of the polar coordinate system, many curves can be described by a rather simple polar equation, whereas their Cartesian form is much more intricate. Among the best known of these curves are the polar rose, Archimedean spiral, lemniscate, limaçon, and cardioid.

For the circle, line, and polar rose below, it is understood that there are no restrictions on the domain and range of the curve.

Circle

The general equation for a circle with a center at (r0, φ) and radius a is $r^2 - 2 r r_0 \cos(\theta - \varphi) + r_0^2 = a^2.\,$

This can be simplified in various ways, to conform to more specific cases, such as the equation $r(\theta)=a \,$

for a circle with a center at the pole and radius a.

Line

Radial lines (those running through the pole) are represented by the equation $\theta = \varphi \,$,

where φ is the angle of elevation of the line; that is, φ = arctan m where m is the slope of the line in the Cartesian coordinate system. The non-radial line that crosses the radial line θ = φ perpendicularly at the point (r0, φ) has the equation $r(\theta) = {r_0}\sec(\theta-\varphi). \,$

Polar rose

A polar rose is a famous mathematical curve that looks like a petalled flower, and that can be expressed as a simple polar equation, $r(\theta) = a \cos (k\theta + \phi_0)\,$

for any constant φ0 (including 0). If k is an integer, these equations will produce a k-petalled rose if k is odd, or a 2k-petalled rose if k is even. If k is rational but not an integer, a rose-like shape may form but with overlapping petals. Note that these equations never define a rose with 2, 6, 10, 14, etc. petals. The variable a represents the length of the petals of the rose.

Archimedean spiral

The Archimedean spiral is a famous spiral that was discovered by Archimedes, which also can be expressed as a simple polar equation. It is represented by the equation $r(\theta) = a+b\theta. \,$

Changing the parameter a will turn the spiral, while b controls the distance between the arms, which for a given spiral is always constant. The Archimedean spiral has two arms, one for θ > 0 and one for θ < 0. The two arms are smoothly connected at the pole. Taking the mirror image of one arm across the 90°/270° line will yield the other arm. This curve is notable as one of the first curves, after the conic sections, to be described in a mathematical treatise, and as being a prime example of a curve that is best defined by a polar equation.

Conic sections

semi-latus rectum A conic section with one focus on the pole and the other somewhere on the 0° ray (so that the conic's major axis lies along the polar axis) is given by: $r = { \ell\over {1 + e \cos \theta}}$

where e is the eccentricity and $\ell$ is the semi-latus rectum (the perpendicular distance at a focus from the major axis to the curve). If e > 1, this equation defines a hyperbola; if e = 1, it defines a parabola; and if e < 1, it defines an ellipse. The special case e = 0 of the latter results in a circle of radius $\ell$.

Complex numbers

Euler's formula Every complex number can be represented as a point in the complex plane, and can therefore be expressed by specifying either the point's Cartesian coordinates (called rectangular or Cartesian form) or the point's polar coordinates (called polar form). The complex number z can be represented in rectangular form as $z = x + iy\,$

where i is the imaginary unit, or can alternatively be written in polar form (via the conversion formulae given above) as $z = r\cdot(\cos\theta+i\sin\theta)$

and from there as $z = re^{i\theta} \,$

where e is Euler's number, which are equivalent as shown by Euler's formula. (Note that this formula, like all those involving exponentials of angles, assumes that the angle θ is expressed in radians.) To convert between the rectangular and polar forms of a complex number, the conversion formulae given above can be used.

For the operations of multiplication, division, and exponentiation of complex numbers, it is generally much simpler to work with complex numbers expressed in polar form rather than rectangular form. From the laws of exponentiation:

• Multiplication: $r_0 e^{i\theta_0} \cdot r_1 e^{i\theta_1}=r_0 r_1 e^{i(\theta_0 + \theta_1)} \,$
• Division: $\frac{r_0 e^{i\theta_0}}{r_1 e^{i\theta_1}}=\frac{r_0}{r_1}e^{i(\theta_0 - \theta_1)} \,$
• Exponentiation (De Moivre's formula): $(re^{i\theta})^n=r^ne^{in\theta} \,$

Calculus

Calculus can be applied to equations expressed in polar coordinates.

The angular coordinate θ is expressed in radians throughout this section, which is the conventional choice when doing calculus.

Differential calculus

Using x = r cos(θ) and y = r sin(θ), one can derive a relationship between derivatives in Cartesian and polar coordinates. For a given function, u(x,y), it follows that $r \tfrac{\partial u}{\partial r} = r \tfrac{\partial u}{\partial x}\tfrac{\partial x}{\partial r} + r \tfrac{\partial u}{\partial y}\tfrac{\partial y}{\partial r},$ $\tfrac{\partial u}{\partial \theta} = \tfrac{\partial u}{\partial x}\tfrac{\partial x}{\partial \theta} + \tfrac{\partial u}{\partial y}\tfrac{\partial y}{\partial \theta},$

or $r \tfrac{\partial u}{\partial r} = r \tfrac{\partial u}{\partial x} \cos(\theta) + r \tfrac{\partial u}{\partial y} \sin(\theta) = x \tfrac{\partial u}{\partial x} + y \tfrac{\partial u}{\partial y},$ $\tfrac{\partial u}{\partial \theta} = - \tfrac{\partial u}{\partial x} r \sin(\theta) + \tfrac{\partial u}{\partial y} r \cos(\theta) = -y \tfrac{\partial u}{\partial x} + x \tfrac{\partial u}{\partial y}.$

Hence, we have the following formulae: $r \tfrac{\partial}{\partial r}= x \tfrac{\partial}{\partial x} + y \tfrac{\partial}{\partial y} \,$ $\tfrac{\partial}{\partial \theta} = -y \tfrac{\partial}{\partial x} + x \tfrac{\partial}{\partial y} .$

To find the Cartesian slope of the tangent line to a polar curve r(θ) at any given point, the curve is first expressed as a system of parametric equations. $x=r(\theta)\cos\theta \,$ $y=r(\theta)\sin\theta \,$

Differentiating both equations with respect to θ yields $\frac{dx}{d\theta}=r'(\theta)\cos\theta-r(\theta)\sin\theta \,$ $\frac{dy}{d\theta}=r'(\theta)\sin\theta+r(\theta)\cos\theta. \,$

Dividing the second equation by the first yields the Cartesian slope of the tangent line to the curve at the point (r, r(θ)): $\frac{dy}{dx}=\frac{r'(\theta)\sin\theta+r(\theta)\cos\theta}{r'(\theta)\cos\theta-r(\theta)\sin\theta}.$

Integral calculus

Let R denote the region enclosed by a curve r(θ) and the rays θ = a and θ = b, where 0 < ba < 2π. Then, the area of R is $\frac12\int_a^b \left[r(\theta)\right]^2\, d\theta.$

This result can be found as follows. First, the interval [a, b] is divided into n subintervals, where n is an arbitrary positive integer. Thus Δθ, the length of each subinterval, is equal to ba (the total length of the interval), divided by n, the number of subintervals. For each subinterval i = 1, 2, …, n, let θi be the midpoint of the subinterval, and construct a sector with the center at the pole, radius ri), central angle Δθ and arc length ri)Δθ. The area of each constructed sector is therefore equal to 12ri)2Δθ. Hence, the total area of all of the sectors is $\sum_{i=1}^n \tfrac12r(\theta_i)^2\,\Delta\theta.$

As the number of subintervals n is increased, the approximation of the area continues to improve. In the limit as n → ∞, the sum becomes the Riemann sum for the above integral.

A mechanical device that computes area integrals is the planimeter, which measures the area of plane figures by tracing them out: this replicates integration in polar coordinates by adding a joint so that the 2-element linkage effects Green's theorem, converting the quadratic polar integral to a linear integral.

Generalization

Using Cartesian coordinates, an infinitesimal area element can be calculated as dA = dx dy. The substitution rule for multiple integrals states that, when using other coordinates, the Jacobian determinant of the coordinate conversion formula has to be considered: $J = \det\frac{\partial(x,y)}{\partial(r,\theta)} =\begin{vmatrix} \frac{\partial x}{\partial r} & \frac{\partial x}{\partial \theta} \\ \frac{\partial y}{\partial r} & \frac{\partial y}{\partial \theta} \end{vmatrix} =\begin{vmatrix} \cos\theta & -r\sin\theta \\ \sin\theta & r\cos\theta \end{vmatrix} =r\cos^2\theta + r\sin^2\theta = r.$

Hence, an area element in polar coordinates can be written as $dA = J\,dr\,d\theta = r\,dr\,d\theta.$

Now, a function that is given in polar coordinates can be integrated as follows: $\iint_R f(r,\theta) \, dA = \int_a^b \int_0^{r(\theta)} f(r,\theta)\,r\,dr\,d\theta.$

Here, R is the same region as above, namely, the region enclosed by a curve r(θ) and the rays θ = a and θ = b.

The formula for the area of R mentioned above is retrieved by taking f identically equal to 1. A more surprising application of this result yields the Gaussian integral $\int_{-\infty}^\infty e^{-x^2} \, dx = \sqrt\pi.$

Vector calculus

Vector calculus can also be applied to polar coordinates. Let $\mathbf{r}$ be the position vector (rcos(θ), rsin(θ)), with r and θ depending on time t.

Using the unit vectors $\hat{\mathbf{r}}=(\cos(\theta),\sin(\theta))$

in the direction of r and $\hat{\boldsymbol\theta}=(-\sin(\theta),\cos(\theta))$

at right angle to r the first and second derivatives of position are: $\frac{d\mathbf{r}}{dt} = \dot r\hat{\mathbf{r}} + r\dot\theta\hat{\boldsymbol\theta},$ $\frac{d^2\mathbf{r}}{dt^2} = (\ddot r - r\dot\theta^2)\hat{\mathbf{r}} + (r\ddot\theta + 2\dot r \dot\theta)\hat{\boldsymbol\theta} = (\ddot r - r\dot\theta^2)\hat{\mathbf{r}} + \frac{1}{r}\quad \dot {\overbrace{r^2\dot\theta}}\quad \hat{\boldsymbol\theta}$

Centrifugal and Coriolis terms

The term $r\dot\theta^2$ is sometimes referred to as the centrifugal term, and the term $2\dot r \dot\theta$ as the Coriolis term. For example, see Shankar. Although these equations bear some resemblance in form to the centrifugal and Coriolis effects found in rotating reference frames, nonetheless there is not a necessary physical connection. For example, the physical centrifugal and Coriolis forces appear only in non-inertial frames of reference. In contrast, these terms that appear when acceleration is expressed in polar coordinates are a mathematical consequence of differentiation; these terms appear wherever polar coordinates are used. In particular, these terms appear even when polar coordinates are used in inertial frames of reference, where the physical centrifugal and Coriolis forces never appear. Inertial frame of reference S and instantaneous non-inertial co-rotating frame of reference S′. The co-rotating frame rotates at angular rate Ω equal to the rate of rotation of the particle about the origin of S′ at the particular moment t. Particle is located at vector position r(t) and unit vectors are shown in the radial direction to the particle from the origin, and also in the direction of increasing angle θ normal to the radial direction. These unit vectors need not be related to the tangent and normal to the path. Also, the radial distance r need not be related to the radius of curvature of the path.
Co-rotating frame

For a particle in planar motion, one approach to attaching physical significance to these terms is based on the concept of an instantaneous co-rotating frame of reference. To define a co-rotating frame, first an origin is selected from which the distance r(t) to the particle is defined. An axis of rotation is set up that is perpendicular to the plane of motion of the particle, and passing through this origin. Then, at the selected moment t, the rate of rotation of the co-rotating frame Ω is made to match the rate of rotation of the particle about this axis, dθ/dt. Next, the terms in the acceleration in the inertial frame are related to those in the co-rotating frame. Let the location of the particle in the inertial frame be (r(t), θ(t)), and in the co-rotating frame be (r(t), θ′(t)). Because the co-rotating frame rotates at the same rate as the particle, dθ′/dt = 0. The fictitious centrifugal force in in co-rotating frame is mrΩ2, radially outward. The velocity of the particle in the co-rotating frame also is radially outward, because dθ′/dt = 0, and has a value −2m(dr/dt)Ω, pointed in the direction of θ. Thus, using these forces in Newton's second law we find: $\boldsymbol{F} + \boldsymbol{F_{cf}} + \boldsymbol{F_{Cor}} = m \ddot \boldsymbol{r} \ ,$

where over dots represent time differentiations, and F is the net real force (as opposed to the fictitious forces). In terms of components, this vector equation becomes: $F_r + mr\Omega^2 = m\ddot r$ $F_{\theta}-2m\dot r \Omega = mr \ddot {\theta} \ ,$

which can be compared to the equations for the inertial frame: $F_r = m \ddot r -mr \dot {\theta}^2 \$ $F_{\theta} = mr \ddot \theta +2m \dot r \dot {\theta} \ .$

This comparison, plus the recognition that by the definition of the co-rotating frame at time t it has a rate of rotation Ω = dθ/dt, shows that we can interpret the terms in the acceleration (multiplied by the mass of the particle) as found in the inertial frame as the negative of the centrifugal and Coriolis forces that would be seen in the instantaneous, non-inertial co-rotating frame.

For general motion of a particle (as opposed to simple circular motion), the centrifugal and Coriolis forces in a particle's frame of reference commonly are referred to the instantaneous osculating circle of its motion, not to a fixed center of polar coordinates. For more detail, see centripetal force.

Connection to spherical and cylindrical coordinates

The polar coordinate system is extended into three dimensions with two different coordinate systems, the cylindrical and spherical coordinate systems.

Applications

Polar coordinates are two-dimensional and thus they can be used only where point positions lie on a single two-dimensional plane. They are most appropriate in any context where the phenomenon being considered is inherently tied to direction and length from a center point. For instance, the examples above show how elementary polar equations suffice to define curves—such as the Archimedean spiral—whose equation in the Cartesian coordinate system would be much more intricate. Moreover, many physical systems—such as those concerned with bodies moving around a central point or with phenomena originating from a central point—are simpler and more intuitive to model using polar coordinates. The initial motivation for the introduction of the polar system was the study of circular and orbital motion.