{
  "id": "polar-coordinates",
  "title": "Polar Coordinates",
  "lang": "en",
  "source_lang": "en",
  "summary": "Polar coordinates describe points in a plane by distance and direction from a fixed origin, simplifying circular geometry, integration, and rotationally symmetric problems.",
  "category": "mathematics",
  "subcategory": "geometry",
  "type": "concept",
  "aliases": [
    "Polar coordinate system",
    "Plane polar coordinates"
  ],
  "generated_at": "2026-11-03",
  "model": "pro/gpt-6.1-sol",
  "url": "https://aiwiki.page/en/polar-coordinates/",
  "translations": {
    "zh-Hans": {
      "url": "https://aiwiki.page/zh/polar-coordinates/",
      "json": "https://aiwiki.page/zh/polar-coordinates.json"
    }
  },
  "sections": [
    {
      "heading": "",
      "text": "Polar coordinates are a coordinate system for a plane in which a point is specified by its distance from a fixed point and its direction from a fixed reference ray. The fixed point is called the pole, the reference ray the polar axis, and the coordinates are conventionally written \\((r,\\theta)\\). The radial coordinate \\(r\\) measures distance, while the angular coordinate \\(\\theta\\) measures direction. Unlike the Cartesian coordinate system, which describes position using perpendicular linear displacements, polar coordinates separate position into radial and angular components.\n\nThis description is especially effective when a problem involves circles, rotations, spirals, or forces directed toward a fixed center. A circle centered at the pole has the simple equation \\(r=a\\), and a rotation about the pole changes only the angular coordinate. Polar coordinates consequently appear throughout analytic geometry, calculus, complex analysis, and physics. Their advantages come with important qualifications: angles are periodic, the pole has no unique direction, and the area represented by a small coordinate rectangle depends on its distance from the pole."
    },
    {
      "heading": "Coordinate conventions and geometric foundations",
      "text": "To establish polar coordinates in an oriented Euclidean plane, one chooses a pole \\(O\\), a polar axis starting at \\(O\\), and a positive sense of rotation. The usual mathematical convention takes the positive horizontal axis as the polar axis and measures positive angles counterclockwise. With \\(r\\geq 0\\), a point \\(P\\neq O\\) is represented by the distance \\(r=OP\\) and an angle \\(\\theta\\) from the polar axis to the ray \\(OP\\). The coordinate curves are concentric circles \\(r=\\text{constant}\\) and rays \\(\\theta=\\text{constant}\\). Away from the pole, these two families meet at right angles.\n\nAngles may be expressed in degrees, but formulas in analysis ordinarily use radians. One complete revolution is \\(2\\pi\\) radians. Radian measure makes arc length proportional to angle through \\(s=r\\theta\\), without an additional conversion factor. This is essential to the standard differentiation and integration formulas: for example, the derivative of \\(\\sin\\theta\\) is \\(\\cos\\theta\\) when the variable is measured in radians.\n\nPolar representations are not unique. For any integer \\(k\\),\n\n\\[(r,\\theta)\\sim(r,\\theta+2\\pi k).\\]\n\nIf negative radial coordinates are allowed, there is also the identification\n\n\\[(r,\\theta)\\sim(-r,\\theta+\\pi).\\]\n\nA negative radius means traveling opposite to the direction indicated by the angle. Thus \\((-2,\\pi/6)\\) and \\((2,7\\pi/6)\\) represent the same point. At \\(r=0\\), every angular value represents the pole. These are properties of the coordinate description, not ambiguities in the underlying geometric point.\n\nFor calculations requiring a unique representation away from the pole, a common convention is \\(r>0\\) and \\(0\\leq\\theta<2\\pi\\), or alternatively \\(-\\pi<\\theta\\leq\\pi\\). Such an angular interval necessarily has a discontinuity at its seam: points approaching the positive horizontal axis from opposite sides can have angles approaching \\(0\\) and \\(2\\pi\\), even though their positions approach one another. No single real-valued choice of angle is continuous throughout the punctured plane.\n\nDistance-and-direction descriptions developed in astronomy and geometry before modern coordinate terminology. Archimedes studied the spiral now bearing his name in the third century BCE, describing a construction based on uniform rotation and uniform motion along a rotating line. Modern polar coordinates turn such constructions into equations and support operations that require a precise distinction between a point, its coordinate representation, and the path used to reach it."
    },
    {
      "heading": "Conversion to Cartesian coordinates and transformations",
      "text": "When the Cartesian origin coincides with the pole and the positive \\(x\\)-axis is the polar axis, elementary trigonometry gives\n\n\\[x=r\\cos\\theta,\\qquad y=r\\sin\\theta.\\]\n\nThese equations define the coordinate map from polar parameters to the plane. With nonnegative radius, the inverse radial formula is\n\n\\[r=\\sqrt{x^2+y^2}.\\]\n\nFinding the angle requires more care. The equation \\(\\tan\\theta=y/x\\) does not determine the quadrant and is undefined when \\(x=0\\). Computational systems therefore commonly use the two-argument function \\(\\operatorname{atan2}(y,x)\\), which uses the signs of both coordinates to select an angle in a specified interval. At \\((0,0)\\), the geometric angle remains undefined, regardless of any numerical convention adopted by software.\n\nFor example, the Cartesian point \\((-1,\\sqrt{3})\\) has \\(r=2\\) and can be assigned \\(\\theta=2\\pi/3\\). Using only \\(\\arctan(y/x)\\) would produce \\(-\\pi/3\\) under the usual principal-value convention, incorrectly selecting the opposite ray. This distinction matters in navigation, graphics, and any calculation that derives an orientation from vector components.\n\nThe distance between points with coordinates \\((r_1,\\theta_1)\\) and \\((r_2,\\theta_2)\\) follows from the cosine rule:\n\n\\[d^2=r_1^2+r_2^2-2r_1r_2\\cos(\\theta_1-\\theta_2).\\]\n\nUnlike Cartesian coordinates, radial and angular differences cannot simply be squared and added. An angular difference represents a larger physical separation at a larger radius. Locally, this fact leads to the line element \\(ds^2=dr^2+r^2d\\theta^2\\).\n\nRotations and dilations have particularly simple polar descriptions. A counterclockwise rotation through \\(\\alpha\\) sends \\((r,\\theta)\\) to \\((r,\\theta+\\alpha)\\), while a dilation by a positive factor \\(c\\) sends it to \\((cr,\\theta)\\). Reflection across the polar axis sends \\((r,\\theta)\\) to \\((r,-\\theta)\\). These formulas express why polar coordinates suit problems dominated by rotational or scaling symmetry. Translations, by contrast, generally mix radius and angle in a less convenient way.\n\nConverting equations requires attention to exceptional points and sign restrictions. The Cartesian equation \\(x^2+y^2=ax\\) becomes \\(r^2=ar\\cos\\theta\\). Dividing by \\(r\\) gives \\(r=a\\cos\\theta\\) only for \\(r\\neq0\\); the pole must be checked separately. In this example it belongs to both curves, but division, squaring, or multiplication by a denominator can otherwise remove valid points or introduce extraneous ones. Coordinate conversion is therefore an equivalence problem involving both equations and their permitted domains."
    },
    {
      "heading": "Curves, symmetries, and polar equations",
      "text": "A polar equation specifies a relation between radius and angle. It need not be a single-valued equation \\(r=f(\\theta)\\), although that form is common. A circle centered at the pole is \\(r=a\\), while a line through the pole has a fixed direction modulo \\(\\pi\\). A line at perpendicular distance \\(d>0\\) from the pole, with normal direction \\(\\alpha\\), can be written\n\n\\[r\\cos(\\theta-\\alpha)=d.\\]\n\nFor a nonnegative-radius convention, only angles giving a positive denominator yield points on this line. Thus even simple polar equations must be read together with their angular and radial conventions.\n\nPolar coordinates are particularly effective for conic sections when the pole is a focus. With an appropriate orientation, an ellipse, parabola, or hyperbola has the equation\n\n\\[r=\\frac{p}{1+e\\cos\\theta},\\]\n\nwhere \\(p>0\\) is the semilatus rectum and \\(e\\) is the eccentricity. For \\(0\\leq e<1\\) this describes an ellipse, with \\(e=0\\) giving a circle. The case \\(e=1\\) gives a parabola, and \\(e>1\\) gives a hyperbolic branch on the angular intervals where \\(r\\) is positive. The formula follows from the focus–directrix definition of a conic and later reappears in inverse-square orbital dynamics.\n\nAn Archimedean spiral has a form such as\n\n\\[r=a+b\\theta.\\]\n\nSuccessive turns differ in radius by \\(2\\pi b\\), so their radial spacing is constant. A logarithmic spiral, by contrast, has the form\n\n\\[r=ae^{b\\theta},\\qquad a>0.\\]\n\nIncreasing the angle by a fixed amount multiplies the radius by a fixed factor. Rotation therefore reproduces the same curve up to a dilation. It also meets radial lines at a constant angle, a property that distinguishes it geometrically from the Archimedean spiral.\n\nOther familiar families include cardioids, limaçons, and rose curves. The equation \\(r=a(1+\\cos\\theta)\\), with \\(a>0\\), describes a cardioid with a cusp at the pole. For a positive integer \\(n\\), the rose \\(r=a\\cos(n\\theta)\\), interpreted with signed radii, has \\(n\\) petals when \\(n\\) is odd and \\(2n\\) petals when \\(n\\) is even. This difference results from how negative radii identify directions separated by \\(\\pi\\).\n\nSymmetry tests provide useful sufficient conditions: invariance under \\(\\theta\\mapsto-\\theta\\) gives reflection symmetry about the polar axis, while invariance under \\(\\theta\\mapsto\\theta+\\pi\\) gives symmetry about the pole. Their apparent failure does not always disprove geometric symmetry, because different parameter values may represent the same point. For the same reason, intersections cannot always be found merely by equating two radial functions at the same angle. The pole and alternative signed-radius representations require separate examination."
    },
    {
      "heading": "Tangents, arc length, and curvature",
      "text": "A differentiable polar curve \\(r=f(\\theta)\\) is a Cartesian parametric curve:\n\n\\[x(\\theta)=f(\\theta)\\cos\\theta,\\qquad y(\\theta)=f(\\theta)\\sin\\theta.\\]\n\nWriting \\(r'=dr/d\\theta\\), differentiation gives\n\n\\[x'=r'\\cos\\theta-r\\sin\\theta,\\qquad y'=r'\\sin\\theta+r\\cos\\theta.\\]\n\nConsequently, wherever \\(x'\\neq0\\), the tangent slope is\n\n\\[\\frac{dy}{dx} = \\frac{r'\\sin\\theta+r\\cos\\theta} {r'\\cos\\theta-r\\sin\\theta}.\\]\n\nA horizontal tangent requires \\(y'=0\\) and \\(x'\\neq0\\); a vertical tangent requires \\(x'=0\\) and \\(y'\\neq0\\). If both derivatives vanish, this ratio does not determine a tangent, and higher-order behavior must be examined.\n\nThe speed with respect to the angular parameter is\n\n\\[\\sqrt{(x')^2+(y')^2}=\\sqrt{r^2+(r')^2}.\\]\n\nThus the arc length of the parameterized curve over \\([\\alpha,\\beta]\\) is\n\n\\[L=\\int_\\alpha^\\beta \\sqrt{r^2+\\left(\\frac{dr}{d\\theta}\\right)^2}\\,d\\theta.\\]\n\nThis is a line-integral calculation: it measures distance along the curve rather than area enclosed by it. For a circle \\(r=a>0\\), it reduces to \\(L=a(\\beta-\\alpha)\\). For the spiral \\(r=b\\theta\\), with \\(b>0\\), the length from \\(0\\) to \\(T\\) is\n\n\\[L=\\frac b2 \\left[ T\\sqrt{1+T^2} +\\log\\!\\left(T+\\sqrt{1+T^2}\\right) \\right].\\]\n\nAt a regular point, the unsigned curvature is\n\n\\[\\kappa= \\frac{\\left|r^2+2(r')^2-r r''\\right|} {\\left(r^2+(r')^2\\right)^{3/2}}.\\]\n\nFor \\(r=a\\), this gives the expected constant value \\(1/a\\). For a logarithmic spiral \\(r=ae^{b\\theta}\\), it gives\n\n\\[\\kappa=\\frac{1}{r\\sqrt{1+b^2}}.\\]\n\nIts curvature therefore decreases inversely with distance from the pole. The formula applies where the denominator is nonzero; singular parameter values require separate treatment.\n\nBehavior at the pole is especially informative. If \\(r(\\theta_0)=0\\) but \\(r'(\\theta_0)\\neq0\\), the tangent vector is\n\n\\[r'(\\theta_0)(\\cos\\theta_0,\\sin\\theta_0),\\]\n\nso the tangent line has direction \\(\\theta_0\\). If both \\(r\\) and \\(r'\\) vanish, the point may instead be a cusp or another singularity. Moreover, several angular values may map to the same point, giving distinct branches or tangents there. A polar graph can therefore self-intersect even when its radius is a perfectly smooth function of angle."
    },
    {
      "heading": "Area, Jacobians, and multiple integration",
      "text": "The area of a circular sector of radius \\(r\\) and small angle \\(d\\theta\\) is \\(\\tfrac12r^2d\\theta\\). This leads to the familiar polar area formula\n\n\\[A=\\frac12\\int_\\alpha^\\beta f(\\theta)^2\\,d\\theta\\]\n\nfor a region bounded by the pole and the curve \\(r=f(\\theta)\\), provided the selected interval describes the region without overlapping coverage. If an outer boundary is \\(r=g(\\theta)\\) and an inner boundary is \\(r=f(\\theta)\\), with \\(0\\leq f\\leq g\\), the corresponding formula is\n\n\\[A=\\frac12\\int_\\alpha^\\beta \\left[g(\\theta)^2-f(\\theta)^2\\right]\\,d\\theta.\\]\n\nThe more general foundation is the change-of-variables theorem for a double integral. The Jacobian matrix of the polar coordinate map is\n\n\\[\\frac{\\partial(x,y)}{\\partial(r,\\theta)} = \\begin{pmatrix} \\cos\\theta&-r\\sin\\theta\\\\ \\sin\\theta&r\\cos\\theta \\end{pmatrix},\\]\n\nwhose determinant is \\(r\\). For the standard convention \\(r\\geq0\\),\n\n\\[dx\\,dy=r\\,dr\\,d\\theta.\\]\n\nGeometrically, a small coordinate cell has radial width approximately \\(dr\\) and transverse width approximately \\(r\\,d\\theta\\). Its area is therefore approximately their product. The factor \\(r\\) is not optional: equal coordinate intervals cover larger physical areas farther from the pole.\n\nFor a disk of radius \\(R\\), this yields\n\n\\[\\iint_{x^2+y^2\\leq R^2}F(x,y)\\,dx\\,dy = \\int_0^{2\\pi}\\int_0^R F(r\\cos\\theta,r\\sin\\theta)\\,r\\,dr\\,d\\theta.\\]\n\nTaking \\(F=1\\) gives \\(\\pi R^2\\). Taking \\(F=x^2+y^2\\) gives \\(\\pi R^4/2\\), a quantity relevant to moments of area. A region bounded along each ray by a radial function is particularly convenient; more complicated regions may require several angular intervals or multiple radial subintervals on a single ray.\n\nPolar integration also supplies the classic evaluation of the Gaussian integral. If\n\n\\[I=\\int_{-\\infty}^{\\infty}e^{-x^2}\\,dx,\\]\n\nthen, using a double integral of a nonnegative function,\n\n\\[I^2 = \\int_0^{2\\pi}\\int_0^\\infty e^{-r^2}r\\,dr\\,d\\theta =\\pi.\\]\n\nSince \\(I>0\\), it follows that \\(I=\\sqrt{\\pi}\\). The calculation works because the integrand depends only on distance from the origin.\n\nTwo cautions distinguish geometric area from a formal parameter integral. First, repeated traversal can count the same region more than once. Second, the coordinate map degenerates at \\(r=0\\). For ordinary area integrals, the pole and an angular seam have zero planar area and do not affect the result. Singular integrands, however, still require an integrability check. Near the pole, \\(r^{-p}\\) has finite area integral precisely when \\(p<2\\), because the relevant radial integral is \\(\\int_0^\\varepsilon r^{1-p}\\,dr\\)."
    },
    {
      "heading": "Complex numbers, angle branches, and topology",
      "text": "A complex number \\(z=x+iy\\) has polar form\n\n\\[z=r(\\cos\\theta+i\\sin\\theta)=re^{i\\theta},\\]\n\nwhere \\(r=|z|\\) and \\(\\theta\\) is an argument of \\(z\\). Euler’s formula expresses the relationship between the exponential function and angular rotation. The full set of arguments of a nonzero number is \\(\\theta+2\\pi k\\), with \\(k\\in\\mathbb Z\\); a principal argument selects one representative according to an interval convention.\n\nMultiplication becomes especially transparent in polar form. If \\(z_1=r_1e^{i\\theta_1}\\) and \\(z_2=r_2e^{i\\theta_2}\\), then\n\n\\[z_1z_2=r_1r_2e^{i(\\theta_1+\\theta_2)}.\\]\n\nMultiplication therefore combines a dilation with a rotation. Division divides moduli and subtracts arguments. Integer powers satisfy\n\n\\[(re^{i\\theta})^n=r^ne^{in\\theta},\\]\n\nwhile the \\(n\\)th roots of a nonzero number are\n\n\\[r^{1/n} e^{i(\\theta+2\\pi k)/n}, \\qquad k=0,\\ldots,n-1.\\]\n\nThese roots are equally spaced around a circle, so an algebraic operation acquires a direct geometric interpretation.\n\nThe periodicity of angle has deeper consequences in topology. The punctured plane cannot be assigned a globally continuous, single-valued real angle. Following a point once around a circle forces a continuously tracked angle to increase by \\(2\\pi\\), even though the endpoint equals the starting point. A discontinuity somewhere is unavoidable if the angle must return to a fixed principal interval.\n\nA continuous branch of angle can instead be chosen after removing a ray from the plane. This construction supports a branch of the complex logarithm:\n\n\\[\\log z=\\ln|z|+i\\arg z.\\]\n\nOn an appropriate slit plane, this is a single-valued analytic function. It cannot be extended as a single-valued analytic logarithm over the entire punctured plane. The obstruction comes from loops around the missing origin, not from an inadequacy of the logarithm formula.\n\nFor a piecewise smooth closed curve avoiding the origin,\n\n\\[\\frac{1}{2\\pi} \\oint \\frac{-y\\,dx+x\\,dy}{x^2+y^2}\\]\n\nis an integer measuring its net number of turns around the origin. Locally, the numerator divided by the denominator is the angular differential \\(d\\theta\\), although no globally defined single-valued angle exists on the whole punctured plane. This distinction between locally valid coordinates and global structure is a basic theme of differential geometry. Polar coordinates provide a concrete example: the plane itself is smooth at the origin, but the angular coordinate and its associated basis cannot be defined there uniquely."
    },
    {
      "heading": "Vector calculus and differential equations",
      "text": "The natural unit vectors for polar coordinates are\n\n\\[\\mathbf e_r=(\\cos\\theta,\\sin\\theta),\\qquad \\mathbf e_\\theta=(-\\sin\\theta,\\cos\\theta).\\]\n\nThey form an orthonormal basis at every point with \\(r>0\\), but unlike Cartesian basis vectors they depend on position. Their angular derivatives are\n\n\\[\\frac{\\partial\\mathbf e_r}{\\partial\\theta} =\\mathbf e_\\theta,\\qquad \\frac{\\partial\\mathbf e_\\theta}{\\partial\\theta} =-\\mathbf e_r.\\]\n\nThe coordinate tangent vectors are \\(\\partial\\mathbf x/\\partial r=\\mathbf e_r\\) and \\(\\partial\\mathbf x/\\partial\\theta=r\\mathbf e_\\theta\\). Thus a component along the unit angular direction is not the same as a coefficient multiplying the angular coordinate tangent vector.\n\nFor a scalar field \\(f(r,\\theta)\\), the gradient is\n\n\\[\\nabla f = \\mathbf e_r\\frac{\\partial f}{\\partial r} + \\mathbf e_\\theta\\frac1r\\frac{\\partial f}{\\partial\\theta}.\\]\n\nThe factor \\(1/r\\) converts change per unit angle into change per unit physical distance. If a vector field is expressed using unit-vector components as \\(\\mathbf A=A_r\\mathbf e_r+A_\\theta\\mathbf e_\\theta\\), its divergence is\n\n\\[\\nabla\\cdot\\mathbf A = \\frac1r\\frac{\\partial(rA_r)}{\\partial r} + \\frac1r\\frac{\\partial A_\\theta}{\\partial\\theta}.\\]\n\nThe out-of-plane component of its curl is\n\n\\[(\\nabla\\times\\mathbf A)_z = \\frac1r \\left[ \\frac{\\partial(rA_\\theta)}{\\partial r} -\\frac{\\partial A_r}{\\partial\\theta} \\right].\\]\n\nApplying divergence to the gradient gives the Laplace operator:\n\n\\[\\nabla^2f = \\frac{\\partial^2f}{\\partial r^2} +\\frac1r\\frac{\\partial f}{\\partial r} +\\frac1{r^2}\\frac{\\partial^2f}{\\partial\\theta^2}.\\]\n\nFor a radial field \\(f=f(r)\\), the angular term vanishes. In Laplace’s equation, a radial solution on an annulus consequently satisfies \\((rf')'=0\\), giving \\(f=A\\ln r+B\\). A nonzero logarithmic term is singular at the origin, so an annular solution need not extend smoothly over a disk.\n\nPolar coordinates also allow separation of variables in many partial differential equations. In a full disk, angular single-valuedness normally requires integer-frequency modes \\(\\cos(n\\theta)\\) and \\(\\sin(n\\theta)\\). For the Helmholtz equation \\(\\nabla^2u+k^2u=0\\), the associated radial equation is\n\n\\[r^2R''+rR'+(k^2r^2-n^2)R=0,\\]\n\nwhose solutions are Bessel functions. These functions describe radial mode shapes in problems such as the vibration of a circular membrane.\n\nThe factors \\(1/r\\) and \\(1/r^2\\) signal a coordinate singularity, not necessarily a singular physical field. Smoothness at the origin imposes compatibility conditions on angular modes. For example, \\(r\\cos\\theta=x\\) is smooth there, while \\(\\cos\\theta=x/\\sqrt{x^2+y^2}\\) has no unique limiting value at the origin."
    },
    {
      "heading": "Motion, central forces, and orbital geometry",
      "text": "For a moving particle, polar coordinates become functions \\(r(t)\\) and \\(\\theta(t)\\). Because the basis vectors rotate with the particle’s direction, differentiating position requires more than differentiating scalar components. With dots denoting time derivatives, velocity is\n\n\\[\\mathbf v=\\dot r\\,\\mathbf e_r+r\\dot\\theta\\,\\mathbf e_\\theta,\\]\n\nand acceleration is\n\n\\[\\mathbf a= (\\ddot r-r\\dot\\theta^2)\\mathbf e_r + (r\\ddot\\theta+2\\dot r\\dot\\theta)\\mathbf e_\\theta.\\]\n\nThe radial term \\(-r\\dot\\theta^2\\) gives centripetal acceleration in circular motion. The angular term \\(2\\dot r\\dot\\theta\\) arises from the changing radial distance and the rotation of the basis.\n\nFor a particle of mass \\(m\\), kinetic energy is\n\n\\[T=\\frac m2\\left(\\dot r^2+r^2\\dot\\theta^2\\right).\\]\n\nIf the potential energy depends only on radius, \\(V=V(r)\\), the Lagrangian \\(L=T-V\\) does not explicitly depend on \\(\\theta\\). The Euler–Lagrange equations then imply conservation of\n\n\\[\\ell=\\frac{\\partial L}{\\partial\\dot\\theta} =mr^2\\dot\\theta.\\]\n\nThis is the component of angular momentum perpendicular to the plane. Its conservation expresses rotational symmetry and is equivalent to equal areas being swept out in equal times, since\n\n\\[\\frac{dA}{dt} =\\frac12r^2\\dot\\theta =\\frac{\\ell}{2m}.\\]\n\nEliminating \\(\\dot\\theta\\) converts the radial energy equation into\n\n\\[E=\\frac m2\\dot r^2+V_{\\mathrm{eff}}(r), \\qquad V_{\\mathrm{eff}}(r)=V(r)+\\frac{\\ell^2}{2mr^2}.\\]\n\nThe second term is the angular-momentum contribution to the effective potential. It allows turning points and circular orbits to be analyzed through a one-dimensional radial problem. A circular orbit occurs at a stationary point of \\(V_{\\mathrm{eff}}\\); its stability depends on the local behavior of that effective potential.\n\nFor an attractive inverse-square acceleration,\n\n\\[\\mathbf a=-\\frac{\\mu}{r^2}\\mathbf e_r,\\]\n\ndefine \\(h=r^2\\dot\\theta\\) and set \\(u=1/r\\). For nonzero \\(h\\), the orbit equation becomes\n\n\\[\\frac{d^2u}{d\\theta^2}+u=\\frac{\\mu}{h^2}.\\]\n\nIts solution gives\n\n\\[r= \\frac{h^2/\\mu} {1+e\\cos(\\theta-\\theta_0)}.\\]\n\nThe trajectory is therefore a conic with a focus at the force center. The eccentricity distinguishes an ellipse, parabola, or hyperbola, while \\(\\theta_0\\) fixes the orientation. The polar conic equation is thus both a geometric description and a consequence of the dynamical law.\n\nThese formulas assume that the motion is described relative to an inertial frame, even though its coordinate basis varies with position. A frame that itself rotates in time introduces additional inertial-force terms. Distinguishing a position-dependent basis from a physically rotating reference frame prevents two different sources of rotational terms from being confused."
    },
    {
      "heading": "Probability distributions and circular data",
      "text": "Polar coordinates transform planar probability densities by the same Jacobian used in area integration. If \\((X,Y)\\) has density \\(f_{X,Y}(x,y)\\), define\n\n\\[R=\\sqrt{X^2+Y^2},\\qquad \\Theta=\\operatorname{atan2}(Y,X)\\]\n\nusing a fixed angular interval. For \\(r>0\\),\n\n\\[f_{R,\\Theta}(r,\\theta) = f_{X,Y}(r\\cos\\theta,r\\sin\\theta)\\,r.\\]\n\nThe extra factor \\(r\\) accounts for the increasing area available at larger radii. A distribution containing a point mass at the origin needs separate treatment, because angle is geometrically undefined there.\n\nIf a planar density depends only on radius, so that \\(f_{X,Y}(x,y)=g(\\sqrt{x^2+y^2})\\), then\n\n\\[f_{R,\\Theta}(r,\\theta)=r\\,g(r).\\]\n\nIntegrating over a complete turn gives \\(f_R(r)=2\\pi r g(r)\\), and the joint density factors as \\(f_R(r)/(2\\pi)\\). Thus the angle is uniform and is independent of the radius. Rotational symmetry produces uniform direction, but it does not generally produce a uniform radial distribution.\n\nFor example, a point chosen uniformly by area from a disk of radius \\(a\\) has\n\n\\[f_R(r)=\\frac{2r}{a^2}, \\qquad 0\\leq r\\leq a.\\]\n\nOuter radial intervals contain more area than equally wide inner intervals. A standard sampling construction is therefore\n\n\\[R=a\\sqrt U,\\qquad \\Theta=2\\pi V,\\]\n\nwhere \\(U\\) and \\(V\\) are independent uniform random variables on \\([0,1]\\). Choosing \\(R=aU\\) instead overrepresents the center relative to uniform area sampling. This distinction matters in simulation and Monte Carlo methods.\n\nAnother important example comes from independent zero-mean normal variables \\(X\\) and \\(Y\\), each with variance \\(\\sigma^2\\). Their joint density transforms to\n\n\\[f_{R,\\Theta}(r,\\theta) = \\frac{r}{2\\pi\\sigma^2} e^{-r^2/(2\\sigma^2)}.\\]\n\nThe angle is uniform, while the radius has the Rayleigh distribution,\n\n\\[f_R(r)=\\frac r{\\sigma^2} e^{-r^2/(2\\sigma^2)},\\qquad r\\geq0.\\]\n\nEquivalently, \\(R^2/\\sigma^2\\) has a chi-squared distribution with two degrees of freedom.\n\nAngular measurements also require statistics that respect periodicity. The arithmetic mean of \\(1^\\circ\\) and \\(359^\\circ\\) is \\(180^\\circ\\), despite both observations lying near \\(0^\\circ\\). A directional mean instead uses\n\n\\[C=\\frac1n\\sum_{j=1}^n\\cos\\theta_j,\\qquad S=\\frac1n\\sum_{j=1}^n\\sin\\theta_j,\\]\n\nand takes \\(\\operatorname{atan2}(S,C)\\) when \\((C,S)\\neq(0,0)\\). If the resultant vector vanishes, this mean direction is undefined. The appropriate representation also depends on whether observations are directed angles or unoriented axes, for which directions separated by \\(\\pi\\) are equivalent."
    },
    {
      "heading": "Higher-dimensional extensions and computational practice",
      "text": "In three dimensions, cylindrical coordinates extend planar polar coordinates by retaining height:\n\n\\[x=r\\cos\\theta,\\qquad y=r\\sin\\theta,\\qquad z=z.\\]\n\nTheir volume element is\n\n\\[dV=r\\,dr\\,d\\theta\\,dz.\\]\n\nThey are adapted to pipes, cylinders, and fields symmetric about an axis. The angular coordinate is undefined along the entire axis \\(r=0\\), rather than only at a single point. This illustrates how a lower-dimensional coordinate degeneracy extends when another independent coordinate is added.\n\nSpherical coordinates instead use distance from the origin and two angles. Under the convention that \\(\\rho\\) is distance, \\(\\vartheta\\) is inclination from the positive \\(z\\)-axis, and \\(\\varphi\\) is azimuth,\n\n\\[x=\\rho\\sin\\vartheta\\cos\\varphi,\\qquad y=\\rho\\sin\\vartheta\\sin\\varphi,\\qquad z=\\rho\\cos\\vartheta,\\]\n\nwith volume element\n\n\\[dV=\\rho^2\\sin\\vartheta\\,d\\rho\\,d\\vartheta\\,d\\varphi.\\]\n\nThe names and symbols for the two angles vary between disciplines, so formulas must state their convention. In \\(n\\)-dimensional Euclidean space, the analogous radial integration factor is \\(r^{n-1}\\), reflecting the growth of spherical shells with radius.\n\nIn planar polar coordinates, the metric tensor is\n\n\\[g= \\begin{pmatrix} 1&0\\\\ 0&r^2 \\end{pmatrix}, \\qquad ds^2=dr^2+r^2d\\theta^2.\\]\n\nThis encodes distances and the area factor \\(\\sqrt{\\det g}=r\\). It also explains a practical numerical issue: a fixed angular grid spacing \\(\\Delta\\theta\\) corresponds to physical spacing approximately \\(r\\Delta\\theta\\). Grid cells become narrow near the origin and wider at larger radii. Methods for circular domains must account for this nonuniform physical spacing and for the special treatment required at the central point.\n\nPolar plots and sampled images introduce further complications. When a curve passes through the pole, a plotting routine may connect inappropriate branches or miss a small loop if angular sampling is too coarse. For signed radial functions, automatically replacing negative radii by zero changes the curve; replacing \\((r,\\theta)\\) by \\((-r,\\theta+\\pi)\\) preserves its points. In image resampling, the angular seam requires periodic treatment, while interpolation near the center must recognize that many angular samples refer to nearby or identical locations.\n\nReliable numerical conversion commonly uses a scaled hypotenuse calculation for \\(\\sqrt{x^2+y^2}\\), avoiding unnecessary overflow or underflow, and \\(\\operatorname{atan2}\\) for direction. Angle differences are usually reduced modulo \\(2\\pi\\) into a chosen interval rather than subtracted without adjustment. Tracking an angle continuously along a sampled path may require adding multiples of \\(2\\pi\\), a process called angle unwrapping. Near \\(r=0\\), however, small Cartesian perturbations can cause large angular changes. That sensitivity is intrinsic to the geometry of polar coordinates and cannot be eliminated by more precise arithmetic alone."
    }
  ],
  "links": [
    "cartesian-coordinate-system",
    "analytic-geometry",
    "calculus",
    "complex-analysis",
    "physics",
    "euclidean-space",
    "circle",
    "radian",
    "integer",
    "archimedes",
    "trigonometry",
    "conic-section",
    "archimedean-spiral",
    "line-integral",
    "integral",
    "jacobian-matrix",
    "determinant",
    "complex-number",
    "exponential-function",
    "topology",
    "logarithm",
    "analytic-function",
    "differential-geometry",
    "orthonormal-basis",
    "gradient",
    "vector-field",
    "laplace-operator",
    "laplace-equation",
    "partial-differential-equation",
    "mass",
    "euler-lagrange-equations",
    "angular-momentum",
    "probability-density-function",
    "statistical-independence",
    "monte-carlo-method",
    "normal-distribution",
    "chi-squared-distribution",
    "metric-tensor"
  ],
  "sources": [],
  "license": "https://creativecommons.org/licenses/by/4.0/"
}