Polar coordinate system
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 reference point and an angle from a reference direction. The reference point (analogous to the origin of a Cartesian coordinate system) is called the "pole", and the ray from the pole in the reference direction is the "polar axis". The distance from the pole is called the "radial coordinate", "radial distance" or simply "radius", and the angle is called the "angular coordinate", "polar angle", or "azimuth". Angles in polar notation are  generally expressed in either degrees or radians (2 rad being equal to 360°). Grégoire de Saint-Vincent and Bonaventura Cavalieri independently introduced the concepts in the mid-17th century, though the actual term "polar coordinates" has been attributed to Gregorio Fontana in the 18th century. The initial motivation for the introduction of the polar system was the study of circular and orbital motion. Polar coordinates are most appropriate in any context where the phenomenon being considered is inherently tied to direction and length from a center point in a plane, such as spirals. Planar physical systems with bodies moving around  a central point, or phenomena originating from a central point, are often simpler and more intuitive to model using polar coordinates. The polar coordinate system is extended to three dimensions in two ways: the cylindrical and spherical coordinate systems. History. The concepts of angle and radius were already used by ancient peoples of the first millennium BC. The Greek astronomer and astrologer Hipparchus (190–120 BC) 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. From the 8th century AD onward, astronomers developed methods for approximating and calculating the direction to Mecca (qibla)—and its distance—from any location on the Earth. From the 9th century onward they were using spherical trigonometry and map projection methods to determine these quantities accurately. The calculation is essentially the conversion of the equatorial polar coordinates of Mecca (i.e. its longitude and latitude) to its polar coordinates (i.e. its qibla and distance) relative to a system whose reference meridian  is the great circle through the given location and the Earth's poles and whose polar axis is the line through the location and its antipodal point. 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. Conventions. The radial coordinate is often denoted by "r" or "ρ", and the angular coordinate by  φ, "θ", or "t". The angular coordinate is specified as "φ" by ISO standard 31-11. However, in mathematical literature the angle is often denoted by θ instead. 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. The angle "φ" is defined to start at 0° from a "reference direction", and to increase for rotations in either clockwise (cw) or counterclockwise (ccw) orientation. For example, in mathematics, the  reference direction is usually drawn as a ray from the pole horizontally to the right, and the polar angle increases to positive angles for ccw rotations, whereas in navigation (bearing, heading) the 0°-heading is drawn vertically upwards and the angle increases for cw rotations. The polar angles decrease towards negative values for rotations in the respectively opposite orientations. Uniqueness of polar coordinates. Adding any number of full turns (360°) to the angular coordinate does not change the corresponding direction. Similarly, any polar coordinate is identical to the coordinate with the negative radial component and the opposite direction  (adding 180° to the polar angle). Therefore, the same point ("r", "φ") can be expressed with an infinite number of different polar coordinates and , where "n" is an arbitrary integer. Moreover, the pole itself can be expressed as (0, "φ") for any angle "φ". Where a unique representation is needed for any point besides the pole, it is usual to limit "r" to positive numbers () and "φ" to either the interval or the interval , which in radians are or . Another convention, in reference to the usual codomain of the arctan function, is to allow for arbitrary nonzero real values  of the radial component and restrict the polar angle to . In all cases a unique azimuth for the pole ("r" = 0) must be chosen, e.g., "φ" = 0. Converting between polar and Cartesian coordinates. The polar coordinates "r" and "φ" can be converted to the Cartesian coordinates "x" and "y" by using the trigonometric functions sine and cosine: formula_1 The Cartesian coordinates "x" and "y" can be converted to polar coordinates "r" and "φ" with "r" ≥ 0 and "φ" in the interval (−, ] by: formula_2 where hypot is the Pythagorean sum and atan2 is a common variation on  the arctangent function defined as formula_3 If "r" is calculated first as above, then this formula for "φ" may be stated more simply using the arccosine function: formula_4 Complex numbers. 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 formula_5 where "i" is the imaginary unit, or can alternatively be written in polar form as formula_6 and from  there, by Euler's formula, as formula_7 where "e" is Euler's number, and "φ", expressed in radians, is the principal value of the complex number function arg applied to "x" + "iy". To convert between the rectangular and polar forms of a complex number, the conversion formulae given above can be used. Equivalent are the and angle notations: formula_8 For the operations of multiplication, division, exponentiation, and root extraction 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: 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". Note that, in contrast to Cartesian coordinates, the independent variable "φ" is the "second" entry in the ordered pair. Different forms of symmetry can be deduced from the equation of a polar function "r": 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 formula_13 and radius "a" is formula_14 This can be simplified in various ways, to conform to more specific cases, such as the equation formula_15 for a  circle with a center at the pole and radius "a". When , or when the origin lies on the circle, the equation becomes formula_16 In the general case, the equation can be solved for , giving formula_17 The solution with a minus sign in front of the square root gives the same curve. Line. "Radial" lines (those running through the pole) are represented by the equation formula_18 where formula_19 is the angle of elevation of the line; that is, formula_20, where formula_21 is the slope of the line in the Cartesian coordinate system. The non-radial line that crosses the radial line  formula_22 perpendicularly at the point formula_13 has the equation formula_24 Otherwise stated formula_13 is the point in which the tangent intersects the imaginary circle of radius formula_26 Polar rose. A polar rose is a mathematical curve that looks like a petaled flower, and that can be expressed as a simple polar equation, formula_27 for any constant γ (including 0). If "k" is an integer, these equations will produce a "k"-petaled rose if "k" is odd, or a 2"k"-petaled 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" directly represents the length or amplitude of the petals of the rose, while "k" relates to their spatial frequency. The constant γ can be regarded as a phase angle. Archimedean spiral. The Archimedean spiral is a spiral discovered by Archimedes which can also be expressed as a simple polar equation. It is represented by the equation formula_28 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 and one for . The two arms are smoothly connected at the pole. If , 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 a prime example of a curve best defined by a polar equation. Conic sections. 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: formula_29 where "e" is the eccentricity and formula_30 is the semi-latus rectum (the perpendicular distance at a focus from the major axis to the curve). If , this equation defines a hyperbola; if , it defines a parabola; and if , it defines an ellipse. The special case of the latter results in a circle of the radius formula_30. Intersection of two polar curves. The graphs of two polar functions formula_32 and formula_33 have possible intersections of three types: 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 and , one can derive a relationship between derivatives in Cartesian and polar coordinates. For a given function, "u"("x","y"), it follows that (by computing its total derivatives) or formula_44 Hence, we have the following formulae: formula_45 Using the inverse coordinates transformation, an analogous reciprocal relationship can be derived between the derivatives. Given a function "u"("r","φ"), it follows that formula_46 or formula_47 Hence, we have the following formulae: formula_48 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. formula_49 Differentiating both equations with respect to "φ" yields formula_50 Dividing the second equation by the first yields the Cartesian slope of the tangent line to the curve at the point : formula_51 For other useful formulas including divergence, gradient, and Laplacian in polar coordinates, see curvilinear coordinates. Integral calculus (arc length). The arc length (length of a line segment) defined by a polar function is found by the integration over the curve "r"("φ"). Let "L" denote this length along the curve starting from points  A through to point "B", where these points correspond to "φ" = "a" and "φ" = "b" such that . The length of "L" is given by the following integral formula_52 Integral calculus (area). Let "R" denote the region enclosed by a curve "r"("φ") and the rays "φ" = "a" and "φ" = "b", where . Then, the area of "R" is formula_53 This result can be found as follows. First, the interval is divided into "n" subintervals, where "n" is some positive integer. Thus Δ"φ", the angle measure of each subinterval, is equal to (the total angle measure of the interval ), divided by "n", the number of subintervals. For each subinterval "i" = 1, 2, ..., "n", let "φ" be the midpoint of the subinterval, and construct a sector with the center at the pole, radius "r"("φ"), central angle Δ"φ" and arc length "r"("φ")Δ"φ". The area of each constructed sector is therefore equal to formula_54 Hence, the total area of all of the sectors is formula_55 As the number of subintervals "n" is increased, the approximation of the area improves. Taking , 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: formula_56 Hence, an area element in polar coordinates can be written as formula_57 Now, a function, that is given in polar  coordinates, can be integrated as follows: formula_58 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" is retrieved by taking "f" identically equal to 1. A more surprising application of this result yields the Gaussian integral: formula_59 Vector calculus. Vector calculus can also be applied to polar coordinates. For a planar motion, let formula_60 be the position vector , with "r" and "φ" depending on time "t". We define the unit vectors formula_61 in the direction of  formula_60 and formula_63 in the plane of the motion perpendicular to the radial direction, where formula_64 is a unit vector normal to the plane of the motion. Then formula_65 Centrifugal and Coriolis terms. The term formula_66 is sometimes referred to as the "centripetal acceleration", and the term formula_67 as the "Coriolis acceleration". For example, see Shankar. Note: these terms, that appear when acceleration is expressed in polar coordinates, are a mathematical consequence of differentiation; they appear whenever polar coordinates are used. In planar particle dynamics these accelerations appear when setting up Newton's second law of motion in a rotating  frame of reference. Here these extra terms are often called fictitious forces; fictitious because they are simply a result of a change in coordinate frame. That does not mean they do not exist, rather they exist only in the rotating frame. 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 the co-rotating frame is "mr"Ω, radially outward. The velocity of the particle in the co-rotating frame also is radially outward, because "dφ"′/"dt" = 0. The "fictitious Coriolis force" therefore has a value −2"m"("dr"/"dt")Ω, pointed in the direction of increasing "φ" only. Thus, using these forces in Newton's second law we find: formula_68 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: formula_69 which can be compared to the equations for  the inertial frame: formula_70 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. Differential geometry. In the modern terminology of differential geometry, polar coordinates provide coordinate charts for the differentiable manifold , the plane minus the origin. In these coordinates, the Euclidean metric tensor is given byformula_71This can be seen via the change of variables formula for the metric tensor, or by computing the differential forms "dx", "dy" via the exterior derivative of the 0-forms , and substituting them in the Euclidean metric tensor . An orthonormal frame with respect to this  metric is given byformula_72with dual coframeformula_73The connection form relative to this frame and the Levi-Civita connection is given by the skew-symmetric matrix of 1-formsformula_74and hence the curvature form vanishes. Therefore, as expected, the punctured plane is a flat manifold. Extensions in 3D. The polar coordinate system is extended into three dimensions with two different coordinate systems, the cylindrical and spherical coordinate system. 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. Position and navigation. Polar coordinates are used  often in navigation as the destination or direction of travel can be given as an angle and distance from the object being considered. For instance, aircraft use a slightly modified version of the polar coordinates for navigation. In this system, the one generally used for any sort of navigation, the 0° ray is generally called heading 360, and the angles continue in a clockwise direction, rather than counterclockwise, as in the mathematical system. Heading 360 corresponds to magnetic north, while headings 90, 180, and 270 correspond to magnetic east, south, and west, respectively. Thus, an aircraft traveling 5 nautical  miles due east will be traveling 5 units at heading 90 (read zero-niner-zero by air traffic control). Modeling. Systems displaying radial symmetry provide natural settings for the polar coordinate system, with the central point acting as the pole. A prime example of this usage is the groundwater flow equation when applied to radially symmetric wells. Systems with a radial force are also good candidates for the use of the polar coordinate system. These systems include gravitational fields, which obey the inverse-square law, as well as systems with point sources, such as radio antennas. Radially asymmetric systems may  also be modeled with polar coordinates. For example, a microphone's pickup pattern illustrates its proportional response to an incoming sound from a given direction, and these patterns can be represented as polar curves. The curve for a standard cardioid microphone, the most common unidirectional microphone, can be represented as at its target design frequency. The pattern shifts toward omnidirectionality at lower frequencies.