Skip to content
Family Table Math

Polar Coordinates and Derivatives

Rectangular coordinates locate a point by going across and then up. Polar coordinates locate it by turning to face a direction and then walking a distance. Curves that are messy in xx and yy, like flowers and heart shapes, often have very simple polar equations. Because xx and yy can be written in terms of θ\theta, finding slopes is just parametric differentiation with θ\theta as the parameter.

The point (r,θ)(r, \theta) is found by turning through angle θ\theta from the positive xx-axis (counterclockwise is positive) and moving a distance rr from the origin, which is called the pole. Angles are in radians: π2\dfrac{\pi}{2} is a quarter turn and π\pi is a half turn.

If rr is negative, you face direction θ\theta and then walk backwards. So (−2,0)(-2, 0) is the same point as (2,π)(2, \pi). Every point has many polar names: adding 2π2\pi to θ\theta gives the same point.

Polar to rectangularRectangular to polar
x=rcos⁡θx = r\cos\thetar2=x2+y2r^2 = x^2 + y^2
y=rsin⁡θy = r\sin\thetatan⁡θ=yx\tan\theta = \dfrac{y}{x} (check the quadrant)

To convert an equation, the substitutions rcos⁡θ=xr\cos\theta = x, rsin⁡θ=yr\sin\theta = y and r2=x2+y2r^2 = x^2 + y^2 are the main tools. Multiplying both sides by rr often helps.

EquationShape
r=ar = acircle of radius ∣a∣\lvert a \rvert centred at the pole
θ=α\theta = \alphaline through the pole
r=2acos⁡θr = 2a\cos\theta, r=2asin⁡θr = 2a\sin\thetacircle of radius ∣a∣\lvert a \rvert through the pole (traced once for 0≤θ≤π0 \le \theta \le \pi)
r=a+bcos⁡θr = a + b\cos\theta or a+bsin⁡θa + b\sin\thetalimaçon: a cardioid (heart) if ∣a∣=∣b∣\lvert a \rvert = \lvert b \rvert, an inner loop if ∣a∣<∣b∣\lvert a \rvert \lt \lvert b \rvert
r=acos⁡(nθ)r = a\cos(n\theta) or asin⁡(nθ)a\sin(n\theta)rose: nn petals if nn is odd, 2n2n petals if nn is even; each petal has length ∣a∣\lvert a \rvert

When in doubt, make a table of θ\theta and rr values and plot the points, or graph it on your calculator in polar mode.

Four polar curves: the circle r = 2 cos theta through the pole with centre (1, 0); the cardioid r = 1 + cos theta with its point at the pole; the limacon r = 1 + 2 cos theta with a small inner loop; and the three-petal rose r = 2 sin 3 theta. −2 −1 1 2 3 −2 −1 1 2 circle: r = 2 cos θ −2 −1 1 2 3 −2 −1 1 2 cardioid: r = 1 + cos θ −2 −1 1 2 3 −2 −1 1 2 limaçon: r = 1 + 2 cos θ −2 −1 1 2 3 −2 −1 1 2 rose: r = 2 sin 3θ
Four standard polar curves: a circle through the pole, a cardioid, a limaçon with an inner loop, and a three-petal rose.

A polar curve r=f(θ)r = f(\theta) is a parametric curve with parameter θ\theta:

x=rcos⁡θ=f(θ)cos⁡θ,y=rsin⁡θ=f(θ)sin⁡θx = r\cos\theta = f(\theta)\cos\theta, \qquad y = r\sin\theta = f(\theta)\sin\theta

Differentiate each with the product rule, then divide:

dydx=dy/dθdx/dθ=f′(θ)sin⁡θ+f(θ)cos⁡θf′(θ)cos⁡θ−f(θ)sin⁡θ\frac{dy}{dx} = \frac{dy/d\theta}{dx/d\theta} = \frac{f'(\theta)\sin\theta + f(\theta)\cos\theta}{f'(\theta)\cos\theta - f(\theta)\sin\theta}

You don’t need to memorize the big fraction: just write xx and yy in terms of θ\theta and differentiate. Horizontal and vertical tangents work as before: horizontal where dydθ=0\dfrac{dy}{d\theta} = 0 and dxdθ≠0\dfrac{dx}{d\theta} \ne 0, vertical where dxdθ=0\dfrac{dx}{d\theta} = 0 and dydθ≠0\dfrac{dy}{d\theta} \ne 0.

Watch out: drdθ\dfrac{dr}{d\theta} is not the slope of the curve.

The distance from the pole is ∣r∣\lvert r \rvert. So drdθ\dfrac{dr}{d\theta} tells you whether the point is moving toward or away from the pole as θ\theta increases:

  • r>0r \gt 0 and drdθ>0\dfrac{dr}{d\theta} \gt 0: moving away from the pole.
  • r>0r \gt 0 and drdθ<0\dfrac{dr}{d\theta} \lt 0: moving toward the pole.
  • If r<0r \lt 0, it’s reversed. In short: same signs means away, opposite signs means toward.

Similarly, the sign of dydθ\dfrac{dy}{d\theta} says whether yy is increasing (moving up), and the sign of dxdθ\dfrac{dx}{d\theta} says whether xx is increasing (moving right). AP questions often ask you to interpret these in a sentence.

Example 1: Converting points and equations

Section titled “Example 1: Converting points and equations”
  • (a) Convert the polar point (4,2π3)\left( 4, \dfrac{2\pi}{3} \right) to rectangular coordinates.
  • (b) Convert the rectangular point (−3,3)(-3, 3) to polar coordinates with r>0r \gt 0 and 0≤θ<2π0 \le \theta \lt 2\pi.
  • (c) Write r=6sin⁡θr = 6\sin\theta in rectangular form and describe the curve.

Solution. (a) x=4cos⁡2π3=4(−12)=−2x = 4\cos\dfrac{2\pi}{3} = 4\left( -\dfrac{1}{2} \right) = -2 and y=4sin⁡2π3=4⋅32=23y = 4\sin\dfrac{2\pi}{3} = 4 \cdot \dfrac{\sqrt{3}}{2} = 2\sqrt{3}. The point is (−2,23)\left( -2, 2\sqrt{3} \right).

(b) r=9+9=32r = \sqrt{9 + 9} = 3\sqrt{2}. tan⁡θ=3−3=−1\tan\theta = \dfrac{3}{-3} = -1, and the point is in quadrant II, so θ=3π4\theta = \dfrac{3\pi}{4} (not −π4-\dfrac{\pi}{4}, which points into quadrant IV). The point is (32,3π4)\left( 3\sqrt{2}, \dfrac{3\pi}{4} \right).

(c) Multiply both sides by rr, then substitute:

r2=6rsin⁡θ⇒x2+y2=6y⇒x2+(y−3)2=9r^2 = 6r\sin\theta \quad\Rightarrow\quad x^2 + y^2 = 6y \quad\Rightarrow\quad x^2 + (y - 3)^2 = 9

It’s a circle with centre (0,3)(0, 3) and radius 33, passing through the pole.

Sketch r=1+cos⁡θr = 1 + \cos\theta for 0≤θ≤2π0 \le \theta \le 2\pi.

Solution. Make a table:

θ\theta00π2\frac{\pi}{2}π\pi3π2\frac{3\pi}{2}2π2\pi
rr2211001122

Start at (2,0)(2, 0) on the positive xx-axis. As θ\theta goes to π2\dfrac{\pi}{2}, rr shrinks to 11, reaching the point (0,1)(0, 1). At θ=π\theta = \pi, r=0r = 0: the curve reaches the pole. Then it repeats the same shape below the xx-axis and returns to (2,0)(2, 0). The result is the heart-shaped cardioid in the figure, with its point at the pole.

Example 3: A tangent line to a polar curve

Section titled “Example 3: A tangent line to a polar curve”

Find the slope of r=1+cos⁡θr = 1 + \cos\theta at θ=π2\theta = \dfrac{\pi}{2}, and the equation of the tangent line there.

Solution. Write xx and yy in terms of θ\theta:

x=(1+cos⁡θ)cos⁡θ=cos⁡θ+cos⁡2θ,y=(1+cos⁡θ)sin⁡θ=sin⁡θ+sin⁡θcos⁡θx = (1 + \cos\theta)\cos\theta = \cos\theta + \cos^2\theta, \qquad y = (1 + \cos\theta)\sin\theta = \sin\theta + \sin\theta\cos\theta

Differentiate:

dxdθ=−sin⁡θ−2sin⁡θcos⁡θ,dydθ=cos⁡θ+cos⁡2θ−sin⁡2θ\frac{dx}{d\theta} = -\sin\theta - 2\sin\theta\cos\theta, \qquad \frac{dy}{d\theta} = \cos\theta + \cos^2\theta - \sin^2\theta

At θ=π2\theta = \dfrac{\pi}{2} (where sin⁡θ=1\sin\theta = 1, cos⁡θ=0\cos\theta = 0):

dxdθ=−1−0=−1,dydθ=0+0−1=−1,dydx=−1−1=1\frac{dx}{d\theta} = -1 - 0 = -1, \qquad \frac{dy}{d\theta} = 0 + 0 - 1 = -1, \qquad \frac{dy}{dx} = \frac{-1}{-1} = 1

The point is r=1r = 1 at θ=π2\theta = \dfrac{\pi}{2}, which is (x,y)=(0,1)(x, y) = (0, 1). The tangent line is y=x+1y = x + 1.

For r=2+3cos⁡θr = 2 + 3\cos\theta, is the point on the curve moving toward or away from the pole at (a) θ=π2\theta = \dfrac{\pi}{2}, (b) θ=3π4\theta = \dfrac{3\pi}{4}? Give a reason.

Solution. drdθ=−3sin⁡θ\dfrac{dr}{d\theta} = -3\sin\theta.

(a) At θ=π2\theta = \dfrac{\pi}{2}: r=2>0r = 2 \gt 0 and drdθ=−3<0\dfrac{dr}{d\theta} = -3 \lt 0. Since r>0r \gt 0 and rr is decreasing, the distance from the pole is decreasing: the point is moving toward the pole.

(b) At θ=3π4\theta = \dfrac{3\pi}{4}: r=2−322≈−0.121<0r = 2 - \dfrac{3\sqrt{2}}{2} \approx -0.121 \lt 0 and drdθ=−322<0\dfrac{dr}{d\theta} = -\dfrac{3\sqrt{2}}{2} \lt 0. Now rr is negative and getting more negative, so ∣r∣\lvert r \rvert is increasing: the point is moving away from the pole. (Same signs, so away.) This part of the curve is the limaçon’s inner loop.

Thinking dr/dθ is the slope. drdθ\dfrac{dr}{d\theta} is how fast the distance from the pole changes, not dydx\dfrac{dy}{dx}. For the slope you must go through x=rcos⁡θx = r\cos\theta and y=rsin⁡θy = r\sin\theta.

Forgetting the product rule. y=f(θ)sin⁡θy = f(\theta)\sin\theta is a product, so dydθ=f′(θ)sin⁡θ+f(θ)cos⁡θ\dfrac{dy}{d\theta} = f'(\theta)\sin\theta + f(\theta)\cos\theta. Dropping either term is a frequent error.

Taking θ straight from the calculator’s inverse tangent. tan⁡−1(yx)\tan^{-1}\left( \dfrac{y}{x} \right) only gives angles between −π2-\dfrac{\pi}{2} and π2\dfrac{\pi}{2}. For points in quadrants II and III, add π\pi.

Ignoring negative r. When r<0r \lt 0, the point is on the opposite side of the pole, and the “toward or away” rule reverses. Check the signs of both rr and drdθ\dfrac{dr}{d\theta}.

Degree mode and degree angles. Polar work in AP calculus uses radians throughout. If you learned trig in degrees, convert: 30∘=π630^\circ = \dfrac{\pi}{6}, 45∘=π445^\circ = \dfrac{\pi}{4}, 60∘=π360^\circ = \dfrac{\pi}{3}, 90∘=π290^\circ = \dfrac{\pi}{2}.

1. (Warm-up) Convert (6,π6)\left( 6, \dfrac{\pi}{6} \right) to rectangular coordinates.

Solutionx=6cos⁡π6=6⋅32=33,y=6sin⁡π6=6⋅12=3x = 6\cos\frac{\pi}{6} = 6 \cdot \frac{\sqrt{3}}{2} = 3\sqrt{3}, \qquad y = 6\sin\frac{\pi}{6} = 6 \cdot \frac{1}{2} = 3

The point is (33,3)\left( 3\sqrt{3}, 3 \right).

2. (Warm-up) Convert (−1,3)\left( -1, \sqrt{3} \right) to polar coordinates with r>0r \gt 0 and 0≤θ<2π0 \le \theta \lt 2\pi.

Solution

r=1+3=2r = \sqrt{1 + 3} = 2. tan⁡θ=−3\tan\theta = -\sqrt{3} with the point in quadrant II, so θ=2π3\theta = \dfrac{2\pi}{3}. The point is (2,2π3)\left( 2, \dfrac{2\pi}{3} \right).

3. (Warm-up) Write r=4cos⁡θr = 4\cos\theta in rectangular form and describe the curve.

Solutionr2=4rcos⁡θ⇒x2+y2=4x⇒(x−2)2+y2=4r^2 = 4r\cos\theta \quad\Rightarrow\quad x^2 + y^2 = 4x \quad\Rightarrow\quad (x - 2)^2 + y^2 = 4

A circle with centre (2,0)(2, 0) and radius 22, passing through the pole.

4. (Core) Write each rectangular equation in polar form.

  • (a) x+y=4x + y = 4
  • (b) x2+y2=10xx^2 + y^2 = 10x
Solution

(a) rcos⁡θ+rsin⁡θ=4r\cos\theta + r\sin\theta = 4, so r=4cos⁡θ+sin⁡θr = \dfrac{4}{\cos\theta + \sin\theta}.

(b) r2=10rcos⁡θr^2 = 10r\cos\theta, so r=10cos⁡θr = 10\cos\theta (dividing by rr loses nothing, since r=10cos⁡θr = 10\cos\theta already passes through the pole at θ=π2\theta = \tfrac{\pi}{2}).

5. (Core) For the rose r=4sin⁡(3θ)r = 4\sin(3\theta):

  • (a) How many petals does it have, and how long is each?
  • (b) The first petal is traced for 0≤θ≤π30 \le \theta \le \dfrac{\pi}{3}. At what angle is its tip?
  • (c) How many petals does r=4sin⁡(2θ)r = 4\sin(2\theta) have?
Solution

(a) n=3n = 3 is odd, so 33 petals. The largest value of ∣r∣\lvert r \rvert is 44, so each petal has length 44.

(b) r=0r = 0 at θ=0\theta = 0 and θ=π3\theta = \dfrac{\pi}{3}, and rr is largest when sin⁡(3θ)=1\sin(3\theta) = 1, at 3θ=π23\theta = \dfrac{\pi}{2}, so θ=π6\theta = \dfrac{\pi}{6}.

(c) n=2n = 2 is even, so 2n=42n = 4 petals.

6. (Core) Find the tangent line to the spiral r=θr = \theta at θ=π2\theta = \dfrac{\pi}{2}.

Solution

x=θcos⁡θx = \theta\cos\theta and y=θsin⁡θy = \theta\sin\theta, so

dxdθ=cos⁡θ−θsin⁡θ,dydθ=sin⁡θ+θcos⁡θ\frac{dx}{d\theta} = \cos\theta - \theta\sin\theta, \qquad \frac{dy}{d\theta} = \sin\theta + \theta\cos\theta

At θ=π2\theta = \dfrac{\pi}{2}: dxdθ=0−π2=−π2\dfrac{dx}{d\theta} = 0 - \dfrac{\pi}{2} = -\dfrac{\pi}{2} and dydθ=1+0=1\dfrac{dy}{d\theta} = 1 + 0 = 1, so

dydx=1−π/2=−2π\frac{dy}{dx} = \frac{1}{-\pi/2} = -\frac{2}{\pi}

The point is (x,y)=(0,π2)(x, y) = \left( 0, \dfrac{\pi}{2} \right). Tangent line: y=−2πx+π2y = -\dfrac{2}{\pi}x + \dfrac{\pi}{2}.

7. (Core) Find the points on r=2cos⁡θr = 2\cos\theta, 0≤θ<π0 \le \theta \lt \pi, where the tangent line is horizontal.

Solution

x=2cos⁡2θx = 2\cos^2\theta and y=2sin⁡θcos⁡θ=sin⁡(2θ)y = 2\sin\theta\cos\theta = \sin(2\theta), so

dxdθ=−4cos⁡θsin⁡θ=−2sin⁡(2θ),dydθ=2cos⁡(2θ)\frac{dx}{d\theta} = -4\cos\theta\sin\theta = -2\sin(2\theta), \qquad \frac{dy}{d\theta} = 2\cos(2\theta)

dydθ=0\dfrac{dy}{d\theta} = 0 when 2θ=π22\theta = \dfrac{\pi}{2} or 3π2\dfrac{3\pi}{2}, so θ=π4\theta = \dfrac{\pi}{4} or 3π4\dfrac{3\pi}{4}. There dxdθ=−2\dfrac{dx}{d\theta} = -2 and 22, both nonzero.

  • θ=π4\theta = \dfrac{\pi}{4}: (x,y)=(1,1)(x, y) = (1, 1).
  • θ=3π4\theta = \dfrac{3\pi}{4}: (x,y)=(1,−1)(x, y) = (1, -1).

These are the top and bottom of the circle with centre (1,0)(1, 0) and radius 11, as expected.

8. (Challenge) For the limaçon r=1+2sin⁡θr = 1 + 2\sin\theta, decide whether the point on the curve is moving toward or away from the pole at (a) θ=5π6\theta = \dfrac{5\pi}{6} and (b) θ=4π3\theta = \dfrac{4\pi}{3}. Justify each answer.

Solution

drdθ=2cos⁡θ\dfrac{dr}{d\theta} = 2\cos\theta.

(a) r=1+2⋅12=2>0r = 1 + 2 \cdot \dfrac{1}{2} = 2 \gt 0 and drdθ=2(−32)=−3<0\dfrac{dr}{d\theta} = 2\left( -\dfrac{\sqrt{3}}{2} \right) = -\sqrt{3} \lt 0. Opposite signs: ∣r∣\lvert r \rvert is decreasing, so the point is moving toward the pole.

(b) r=1+2(−32)=1−3≈−0.732<0r = 1 + 2\left( -\dfrac{\sqrt{3}}{2} \right) = 1 - \sqrt{3} \approx -0.732 \lt 0 and drdθ=2(−12)=−1<0\dfrac{dr}{d\theta} = 2\left( -\dfrac{1}{2} \right) = -1 \lt 0. Same signs: ∣r∣\lvert r \rvert is increasing, so the point is moving away from the pole.

9. (Challenge) Find all points on the cardioid r=1+cos⁡θr = 1 + \cos\theta, 0≤θ<2π0 \le \theta \lt 2\pi, where the tangent line is vertical.

Solution

From Example 3,

dxdθ=−sin⁡θ−2sin⁡θcos⁡θ=−sin⁡θ(1+2cos⁡θ),dydθ=cos⁡θ+cos⁡(2θ)\frac{dx}{d\theta} = -\sin\theta - 2\sin\theta\cos\theta = -\sin\theta(1 + 2\cos\theta), \qquad \frac{dy}{d\theta} = \cos\theta + \cos(2\theta)

dxdθ=0\dfrac{dx}{d\theta} = 0 when sin⁡θ=0\sin\theta = 0 (θ=0,π\theta = 0, \pi) or cos⁡θ=−12\cos\theta = -\dfrac{1}{2} (θ=2π3,4π3\theta = \dfrac{2\pi}{3}, \dfrac{4\pi}{3}). Check dydθ\dfrac{dy}{d\theta} at each:

  • θ=0\theta = 0: 1+1=2≠01 + 1 = 2 \ne 0. Vertical tangent at r=2r = 2: the point (2,0)(2, 0).
  • θ=2π3\theta = \dfrac{2\pi}{3}: −12−12=−1≠0-\dfrac{1}{2} - \dfrac{1}{2} = -1 \ne 0. Here r=12r = \dfrac{1}{2}, so the point is (12cos⁡2π3,12sin⁡2π3)=(−14,34)\left( \dfrac{1}{2}\cos\dfrac{2\pi}{3}, \dfrac{1}{2}\sin\dfrac{2\pi}{3} \right) = \left( -\dfrac{1}{4}, \dfrac{\sqrt{3}}{4} \right).
  • θ=4π3\theta = \dfrac{4\pi}{3}: also −1≠0-1 \ne 0. The point is (−14,−34)\left( -\dfrac{1}{4}, -\dfrac{\sqrt{3}}{4} \right).
  • θ=π\theta = \pi: −1+1=0-1 + 1 = 0. Both derivatives are 00 (this is the pole), so this needs more work. Using L’Hôpital’s rule, lim⁡θ→πdy/dθdx/dθ=0\displaystyle\lim_{\theta \to \pi} \frac{dy/d\theta}{dx/d\theta} = 0, so the tangent at the cusp is horizontal, not vertical.

Vertical tangents: (2,0)(2, 0), (−14,34)\left( -\dfrac{1}{4}, \dfrac{\sqrt{3}}{4} \right) and (−14,−34)\left( -\dfrac{1}{4}, -\dfrac{\sqrt{3}}{4} \right).