◀ Back to Note

Tony's Intertwingled Memex • Reference Manual

Polar Coordinate Conversions

Formulas & Definitions
Core Definition

Polar coordinate conversion is the reversible algebraic mapping between two-dimensional Cartesian coordinates (x,y)(x, y)(x,y) on a rectangular grid and polar coordinates (r,θ)(r, \theta)(r,θ) 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}x=rcosθ,y=rsinθ,r2=x2+y2,tanθ=xy​
where r≥0r \ge 0r≥0 represents the directed radial distance from the origin (pole) and θ\thetaθ represents the directed counterclockwise angle measured from the positive xxx-axis (polar axis).

Concept Explanation

In rectangular coordinates, a point is positioned by two orthogonal linear displacements: horizontally by xxx and vertically by yyy. In polar coordinates, that same physical position is specified by a radius rrr 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, yr,θ→x,y)

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

x=rcos⁡θx = r \cos \thetax=rcosθ
y=rsin⁡θy = r \sin \thetay=rsinθ

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

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

  1. Compute the Radial Distance rrr: Applying the Pythagorean theorem yields:
    r=x2+y2r = \sqrt{x^2 + y^2}r=x2+y2​
  2. Determine the Angle θ\thetaθ with Quadrant Awareness: The reference angle satisfies tan⁡θ=yx\tan \theta = \frac{y}{x}tanθ=xy​ (for x≠0x \neq 0x=0). Because the tangent function has a period of π\piπ, relying solely on arctan⁡(y/x)\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)(−2π​<θ<2π​). You must inspect the signs of xxx and yyy 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}θ=⎩⎨⎧​arctan(y/x)arctan(y/x)+π2π​23π​ (or −2π​)​if x>0 (Quadrant I or IV)if x<0 (Quadrant II or III)if x=0 and y>0if x=0 and y<0​

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 = ax2+y2=a2⟹r2=a2⟹r=a
    Notice that a curved quadratic equation in Cartesian coordinates collapses into a constant line r=ar = 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)y=mx⟹xy​=m⟹tanθ=m⟹θ=arctan(m)
  • Vertical and Horizontal Lines:
    x=c  ⟹  rcos⁡θ=c  ⟹  r=csec⁡θx = c \implies r \cos \theta = c \implies r = c \sec \thetax=c⟹rcosθ=c⟹r=csecθ
    y=d  ⟹  rsin⁡θ=d  ⟹  r=dcsc⁡θy = d \implies r \sin \theta = d \implies r = d \csc \thetay=d⟹rsinθ=d⟹r=dcscθ
  • Offset Circles Passing Through the Origin:
    A circle of radius aaa centered at (a,0)(a, 0)(a,0) on the xxx-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(x−a)2+y2=a2⟹x2−2ax+a2+y2=a2⟹x2+y2=2ax
    Substituting x2+y2=r2x^2 + y^2 = r^2x2+y2=r2 and x=rcos⁡θx = r \cos \thetax=rcosθ:
    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)r2=2arcosθ⟹r=2acosθ(−2π​≤θ≤2π​)
    Similarly, a circle of radius bbb centered at (0,b)(0, b)(0,b) on the yyy-axis simplifies to:
    r=2bsin⁡θ(0≤θ≤π)r = 2b \sin \theta \quad (0 \le \theta \le \pi)r=2bsinθ(0≤θ≤π)

When to Use It / Method Comparison

Problem Characteristic Cartesian Approach (x,y)(x, y)(x,y) Polar Approach (r,θ)(r, \theta)(r,θ) 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}y=±a2−x2​ Constant radial bounds a≤r≤ba \le r \le ba≤r≤b and angular sweeps α≤θ≤β\alpha \le \theta \le \betaα≤θ≤β Polar eliminates radical limits of integration
Integrand Functions Combinations of xxx and yyy like x+2yx + 2yx+2y or xyxyxy Combinations of x2+y2x^2 + y^2x2+y2 like x2+y2\sqrt{x^2+y^2}x2+y2​, (x2+y2)2(x^2+y^2)^2(x2+y2)2, or e−(x2+y2)e^{-(x^2+y^2)}e−(x2+y2) Polar simplifies sum-of-squares to r2r^2r2 and introduces the Jacobian factor rrr

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∫−aa​∫−a2−x2​a2−x2​​f(x,y)dydx. 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∫02π​∫0a​f(rcosθ,rsinθ)rdrdθ.
  2. Chain-Rule Multiplier via the Jacobian: When transforming dx dy→r dr dθdx \, dy \to r \, dr \, d\thetadxdy→rdrdθ, the Jacobian area scaling factor rrr naturally pairs with terms like e−(x2+y2)=e−r2e^{-(x^2+y^2)} = e^{-r^2}e−(x2+y2)=e−r2, enabling standard single-variable uuu-substitution (u=−r2,du=−2r dru = -r^2, du = -2r\,dru=−r2,du=−2rdr) 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\thetar=2acosθ) 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)P(−23​,2) into polar coordinates (r,θ)(r, \theta)(r,θ) with r>0r > 0r>0 and 0≤θ<2π0 \le \theta < 2\pi0≤θ<2π.

Solution

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

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} = 4r=(−23​)2+(2)2​=4(3)+4​=12+4​=16​=4

Step 2: Identify quadrant and compute reference angle
Notice that x=−23<0x = -2\sqrt{3} < 0x=−23​<0 and y=2>0y = 2 > 0y=2>0, so point PPP 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}tanθ=xy​=−23​2​=−3​1​=−33​​
The reference angle in Quadrant I is θref=π6\theta_{\text{ref}} = \frac{\pi}{6}θref​=6π​.
In Quadrant II, the angle is:
θ=π−θref=π−π6=5π6\theta = \pi - \theta_{\text{ref}} = \pi - \frac{\pi}{6} = \frac{5\pi}{6}θ=π−θref​=π−6π​=65π​

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


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(x−3)2+y2=9 into polar coordinate form r=g(θ)r = g(\theta)r=g(θ), 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 = 9x2−6x+9+y2=9
Subtract 9 from both sides:
x2+y2−6x=0  ⟹  x2+y2=6xx^2 + y^2 - 6x = 0 \implies x^2 + y^2 = 6xx2+y2−6x=0⟹x2+y2=6x

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

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

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

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

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


Connections & References

  • Parent Concepts: Calculus Foundations, Vectors in 2D and 3D
  • Related Concepts: Double Integrals in Polar Coordinates, Polar Rectangles and Annular Sectors, Trigonometric Identities, Trigonometric Power-Reduction Formulas
  • Course Links: Calc-3 Session 15, Calc-3 Discussion 08