🌱 Tony's Memex Tony's Intertwingled Memex
Digital Garden | OER Curriculum
Home / Digital Garden / Polar Coordinate Conversions

Polar Coordinate Conversions

Core Definition

Polar coordinate conversion is the reversible algebraic mapping between two-dimensional Cartesian coordinates (x,y)(x, y) on a rectangular grid and polar coordinates (r,θ)(r, \theta) on a concentric circular grid:

x=rcos⁡θ,y=rsin⁡θ,r2=x2+y2,tan⁡θ=yxx = r \cos \theta, \qquad y = r \sin \theta, \qquad r^2 = x^2 + y^2, \qquad \tan \theta = \frac{y}{x}
where r≥0r \ge 0 represents the directed radial distance from the origin (pole) and θ\theta represents the directed counterclockwise angle measured from the positive xx-axis (polar axis).

Concept Explanation

In rectangular coordinates, a point is positioned by two orthogonal linear displacements: horizontally by xx and vertically by yy. In polar coordinates, that same physical position is specified by a radius rr and an angle θ\theta.

                     y ^
                       |       (x, y) = (r cos θ, r sin θ)
                       |        *
                       |       /|
                       |   r  / |
                       |     /  | y = r sin θ
                       |    / θ |
                       +---/----+--------> x
                          O   x = r cos θ

1. Polar-to-Cartesian Conversion (r,θ→x,yr, \theta \to x, y)

Given a radial distance rr and angle θ\theta, projection onto orthogonal Cartesian axes is given directly by right-triangle trigonometry:

x=rcos⁡θx = r \cos \theta
y=rsin⁡θy = r \sin \theta

2. Cartesian-to-Polar Conversion (x,y→r,θx, y \to r, \theta)

Given Cartesian coordinates (x,y)(x, y):

  1. Compute the Radial Distance rr: Applying the Pythagorean theorem yields:
    r=x2+y2r = \sqrt{x^2 + y^2}
  2. Determine the Angle θ\theta with Quadrant Awareness: The reference angle satisfies tan⁡θ=yx\tan \theta = \frac{y}{x} (for x≠0x \neq 0). Because the tangent function has a period of π\pi, relying solely on arctan⁡(y/x)\arctan(y/x) only returns values in Quadrants I and IV (−π2<θ<π2)\left(-\frac{\pi}{2} < \theta < \frac{\pi}{2}\right). You must inspect the signs of xx and yy to place θ\theta in the correct quadrant:
    θ={arctan⁡(y/x)if x>0 (Quadrant I or IV)arctan⁡(y/x)+πif x<0 (Quadrant II or III)π2if x=0 and y>03π2 (or −π2)if x=0 and y<0\theta = \begin{cases} \arctan(y/x) & \text{if } x > 0 \text{ (Quadrant I or IV)} \\ \arctan(y/x) + \pi & \text{if } x < 0 \text{ (Quadrant II or III)} \\ \frac{\pi}{2} & \text{if } x = 0 \text{ and } y > 0 \\ \frac{3\pi}{2} \text{ (or } -\frac{\pi}{2}\text{)} & \text{if } x = 0 \text{ and } y < 0 \end{cases}

3. Converting Equations Between Coordinate Systems

  • Circles Centered at the Origin:
    x2+y2=a2  ⟹  r2=a2  ⟹  r=ax^2 + y^2 = a^2 \implies r^2 = a^2 \implies r = a
    Notice that a curved quadratic equation in Cartesian coordinates collapses into a constant line r=ar = a in polar coordinates.
  • Rays and Straight Lines Through the Origin:
    y=mx  ⟹  yx=m  ⟹  tan⁡θ=m  ⟹  θ=arctan⁡(m)y = mx \implies \frac{y}{x} = m \implies \tan \theta = m \implies \theta = \arctan(m)
  • Vertical and Horizontal Lines:
    x=c  ⟹  rcos⁡θ=c  ⟹  r=csec⁡θx = c \implies r \cos \theta = c \implies r = c \sec \theta
    y=d  ⟹  rsin⁡θ=d  ⟹  r=dcsc⁡θy = d \implies r \sin \theta = d \implies r = d \csc \theta
  • Offset Circles Passing Through the Origin:
    A circle of radius aa centered at (a,0)(a, 0) on the xx-axis has Cartesian equation:
    (x−a)2+y2=a2  ⟹  x2−2ax+a2+y2=a2  ⟹  x2+y2=2ax(x - a)^2 + y^2 = a^2 \implies x^2 - 2ax + a^2 + y^2 = a^2 \implies x^2 + y^2 = 2ax
    Substituting x2+y2=r2x^2 + y^2 = r^2 and x=rcos⁡θx = r \cos \theta:
    r2=2arcos⁡θ  ⟹  r=2acos⁡θ(−π2≤θ≤π2)r^2 = 2ar \cos \theta \implies r = 2a \cos \theta \quad \left(-\frac{\pi}{2} \le \theta \le \frac{\pi}{2}\right)
    Similarly, a circle of radius bb centered at (0,b)(0, b) on the yy-axis simplifies to:
    r=2bsin⁡θ(0≤θ≤π)r = 2b \sin \theta \quad (0 \le \theta \le \pi)

When to Use It / Method Comparison

Problem Characteristic Cartesian Approach (x,y)(x, y) Polar Approach (r,θ)(r, \theta) Recommended Choice
Domain Geometry Rectangles, straight polygons, parallel slabs Disks, concentric rings (annuli), circular sectors, cardioids Polar for any domain with rotational symmetry
Boundary Equations Involves square roots like y=±a2−x2y = \pm\sqrt{a^2 - x^2} Constant radial bounds a≤r≤ba \le r \le b and angular sweeps α≤θ≤β\alpha \le \theta \le \beta Polar eliminates radical limits of integration
Integrand Functions Combinations of xx and yy like x+2yx + 2y or xyxy Combinations of x2+y2x^2 + y^2 like x2+y2\sqrt{x^2+y^2}, (x2+y2)2(x^2+y^2)^2, or e−(x2+y2)e^{-(x^2+y^2)} Polar simplifies sum-of-squares to r2r^2 and introduces the Jacobian factor rr

Why We Use It in Calculus (Calculus III Context)

In multivariable calculus (MATH-283), polar coordinate conversion is the cornerstone of Double Integrals in Polar Coordinates (Session 15) and serves as the 2D foundation for Cylindrical Coordinates in 3D integration:

  1. Eliminating Radical Boundary Limits: Setting up double integrals over circular domains in Cartesian coordinates forces radicals into inner bounds: ∫−aa∫−a2−x2a2−x2f(x,y) dy dx\int_{-a}^a \int_{-\sqrt{a^2-x^2}}^{\sqrt{a^2-x^2}} f(x, y) \, dy \, dx. In polar coordinates, the exact same domain becomes a simple constant box: ∫02π∫0af(rcos⁡θ,rsin⁡θ) r dr dθ\int_0^{2\pi} \int_0^a f(r\cos\theta, r\sin\theta) \, r \, dr \, d\theta.
  2. Chain-Rule Multiplier via the Jacobian: When transforming dx dy→r dr dθdx \, dy \to r \, dr \, d\theta, the Jacobian area scaling factor rr naturally pairs with terms like e−(x2+y2)=e−r2e^{-(x^2+y^2)} = e^{-r^2}, enabling standard single-variable uu-substitution (u=−r2,du=−2r dru = -r^2, du = -2r\,dr) on functions that have no closed-form Cartesian antiderivative (such as the Gaussian distribution).
  3. Offset Circular Domains in Engineering: Engineering models of cylindrical fluid pipes, offset drilling shafts, and turbine housing clearances require bounding offset circles (r=2acos⁡θr = 2a\cos\theta) to compute net fluid flux and torsional stress distributions.

Example Problems

Example Problem 1: Point Conversion with Quadrant Awareness

Convert the Cartesian coordinate point P(−23,2)P(-2\sqrt{3}, 2) into polar coordinates (r,θ)(r, \theta) with r>0r > 0 and 0≤θ<2π0 \le \theta < 2\pi.

Solution

Step 1: Compute radial distance rr
Use r=x2+y2r = \sqrt{x^2 + y^2}:

r=(−23)2+(2)2=4(3)+4=12+4=16=4r = \sqrt{(-2\sqrt{3})^2 + (2)^2} = \sqrt{4(3) + 4} = \sqrt{12 + 4} = \sqrt{16} = 4

Step 2: Identify quadrant and compute reference angle
Notice that x=−23<0x = -2\sqrt{3} < 0 and y=2>0y = 2 > 0, so point PP lies strictly in Quadrant II.
The tangent of the angle is:

tan⁡θ=yx=2−23=−13=−33\tan \theta = \frac{y}{x} = \frac{2}{-2\sqrt{3}} = -\frac{1}{\sqrt{3}} = -\frac{\sqrt{3}}{3}
The reference angle in Quadrant I is θref=π6\theta_{\text{ref}} = \frac{\pi}{6}.
In Quadrant II, the angle is:
θ=π−θref=π−π6=5π6\theta = \pi - \theta_{\text{ref}} = \pi - \frac{\pi}{6} = \frac{5\pi}{6}

Answer:
The polar coordinates of PP are (4,5π6)\left(4, \frac{5\pi}{6}\right).


Example Problem 2: Transforming a Cartesian Boundary into Polar Form

Transform the Cartesian equation (x−3)2+y2=9(x - 3)^2 + y^2 = 9 into polar coordinate form r=g(θ)r = g(\theta), and determine the appropriate angular sweep θ\theta that traces the entire boundary.

Solution

Step 1: Expand the Cartesian equation

x2−6x+9+y2=9x^2 - 6x + 9 + y^2 = 9
Subtract 9 from both sides:
x2+y2−6x=0  ⟹  x2+y2=6xx^2 + y^2 - 6x = 0 \implies x^2 + y^2 = 6x

Step 2: Substitute polar identities
Substitute x2+y2=r2x^2 + y^2 = r^2 and x=rcos⁡θx = r \cos \theta:

r2=6rcos⁡θr^2 = 6r \cos \theta
Dividing both sides by rr (for r≠0r \neq 0, with the pole r=0r=0 included when cos⁡θ=0\cos\theta = 0):
r=6cos⁡θr = 6 \cos \theta

Step 3: Determine the angular interval
Geometrically, the circle is centered at (3,0)(3, 0) with radius 3. It lies entirely in the right half-plane (x≥0x \ge 0).
Since r≥0r \ge 0, we require 6cos⁡θ≥06\cos\theta \ge 0, which occurs when:

−π2≤θ≤π2-\frac{\pi}{2} \le \theta \le \frac{\pi}{2}
Over this interval of length π\pi, the radius sweeps from r=0r = 0 at θ=−π2\theta = -\frac{\pi}{2}, reaches its maximum diameter r=6r = 6 at θ=0\theta = 0, and closes back to r=0r = 0 at θ=π2\theta = \frac{\pi}{2}, tracing the entire perimeter exactly once.

Answer:
r=6cos⁡θr = 6 \cos \theta for −π2≤θ≤π2-\frac{\pi}{2} \le \theta \le \frac{\pi}{2}.


Connections & References