Calculus · Grade 12 and undergraduate

Calculus with Polar Curves: Slopes and Tangents

Quick answer

A polar curve r = f(θ) is the parametric curve x = f(θ) cos θ, y = f(θ) sin θ, with θ as the parameter. Its slope is therefore dy/dx = (dy/dθ)/(dx/dθ), which works out to (f′ sin θ + f cos θ)/(f′ cos θ − f sin θ). Horizontal tangents occur where dy/dθ = 0 and vertical ones where dx/dθ = 0. The derivative dr/dθ answers a different question: whether the curve is moving away from the origin or toward it as θ increases.

What you'll learn

  • Write a polar curve as a parametric curve in θ
  • Find dy/dx and tangent lines for polar curves
  • Locate horizontal and vertical tangents of polar curves
  • Interpret dr/dθ as motion toward or away from the origin

A polar curve is a parametric curve

The polar curve r=f(θ)r = f(\theta) puts the point at distance f(θ)f(\theta) in the direction θ\theta. In rectangular coordinates, that is

x=f(θ)cos⁡θy=f(θ)sin⁡θx = f(\theta)\cos\theta \qquad\qquad y = f(\theta)\sin\theta

a parametric curve with θ\theta as the parameter. Everything from parametric calculus applies, including the slope:

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}

The numerator and denominator come from the product rule. There is no need to memorize the fraction: write xx and yy and differentiate.

Why dr/dθ is not the slope

The derivative drdθ\tfrac{dr}{d\theta} measures how fast the distance from the origin changes as the direction turns. The slope measures how the curve tilts in the xyxy-plane. On the circle r=2r = 2, drdθ=0\tfrac{dr}{d\theta} = 0 everywhere, yet the slope takes every value as the circle goes around. drdθ\tfrac{dr}{d\theta} says whether the curve moves away from the origin or toward it; dydx\tfrac{dy}{dx} says which way it tilts. When r>0r > 0, a positive drdθ\tfrac{dr}{d\theta} means moving away, and a negative one means moving closer.

The cardioid r = 1 + cos θ with three tangent lines The heart-shaped cardioid r = 1 + cos θ, reaching 2 units to the right of the origin and pinched at the origin on the left. At its top, where θ = π/2, a dashed tangent line of slope 1 touches it at (0, 1). Dashed horizontal lines touch the curve at its highest point, (0.75, 1.30), and its lowest point, (0.75, −1.30). -112-11xy θ = π/2 θ = π/3 θ = 5π/3
  • r = 1 + cos θ
  • tangent lines
The cardioid r = 1 + cos θ with three tangent lines

Horizontal and vertical tangents

As for any parametric curve, the tangent is horizontal where dydθ=0\tfrac{dy}{d\theta} = 0 with dxdθ≠0\tfrac{dx}{d\theta} \ne 0, and vertical where dxdθ=0\tfrac{dx}{d\theta} = 0 with dydθ≠0\tfrac{dy}{d\theta} \ne 0. Where the curve passes through the origin, with r=0r = 0 at θ=α\theta = \alpha and drdθ≠0\tfrac{dr}{d\theta} \ne 0, it leaves along the ray at angle α\alpha.

Worked examples

Common mistakes

Practice problems

  1. Write r=3sin⁡θr = 3\sin\theta as parametric equations in θ\theta.

    Answer

    x=3sin⁡θcos⁡θx = 3\sin\theta\cos\theta, y=3sin⁡2θy = 3\sin^2\theta

    Full solution

    Multiply rr by cos⁡θ\cos\theta for xx and by sin⁡θ\sin\theta for yy.

  2. Find the slope of r=2r = 2 at θ=π6\theta = \tfrac{\pi}{6}.

    Answer

    −3-\sqrt{3}

    Full solution

    x=2cos⁡θx = 2\cos\theta and y=2sin⁡θy = 2\sin\theta, so dydx=2cos⁡θ−2sin⁡θ=−cot⁡θ=−3\tfrac{dy}{dx} = \tfrac{2\cos\theta}{-2\sin\theta} = -\cot\theta = -\sqrt{3} at π6\tfrac{\pi}{6}.

  3. Find the slope of r=θr = \theta at θ=π2\theta = \tfrac{\pi}{2}.

    Answer

    −2π-\tfrac{2}{\pi}

    Full solution

    x=θcos⁡θx = \theta\cos\theta, y=θsin⁡θy = \theta\sin\theta. dxdθ=cos⁡θ−θsin⁡θ=−π2\tfrac{dx}{d\theta} = \cos\theta - \theta\sin\theta = -\tfrac{\pi}{2} and dydθ=sin⁡θ+θcos⁡θ=1\tfrac{dy}{d\theta} = \sin\theta + \theta\cos\theta = 1 at π2\tfrac{\pi}{2}. The slope is 1−π/2\tfrac{1}{-\pi/2}.

  4. Find the tangent line to r=1+cos⁡θr = 1 + \cos\theta at θ=π2\theta = \tfrac{\pi}{2}.

    Answer

    y=x+1y = x + 1

    Full solution

    Example 1 gives slope 11 at the point (0,1)(0, 1).

  5. For r=2+sin⁡θr = 2 + \sin\theta, is the curve moving toward the origin or away from it at θ=π\theta = \pi?

    Answer

    Toward it

    Full solution

    drdθ=cos⁡θ=−1<0\tfrac{dr}{d\theta} = \cos\theta = -1 < 0 at θ=π\theta = \pi, and r=2>0r = 2 > 0, so the distance from the origin is shrinking.

  6. Find the vertical tangents of r=2cos⁡θr = 2\cos\theta for 0≤θ<π0 \le \theta < \pi.

    Answer

    At (0,0)(0, 0) and (2,0)(2, 0)

    Full solution

    x=1+cos⁡2θx = 1 + \cos 2\theta, so dxdθ=−2sin⁡2θ=0\tfrac{dx}{d\theta} = -2\sin 2\theta = 0 at θ=0\theta = 0 and π2\tfrac{\pi}{2}. There dydθ=2cos⁡2θ=±2≠0\tfrac{dy}{d\theta} = 2\cos 2\theta = \pm 2 \ne 0. θ=0\theta = 0 gives (2,0)(2, 0) and θ=π2\theta = \tfrac{\pi}{2} gives the origin.

  7. At which angles does the rose r=cos⁡2θr = \cos 2\theta pass through the origin, and along which lines does it leave?

    Answer

    At θ=π4\theta = \tfrac{\pi}{4}, 3π4\tfrac{3\pi}{4}, 5π4\tfrac{5\pi}{4}, 7π4\tfrac{7\pi}{4}, along the lines y=xy = x and y=−xy = -x

    Full solution

    r=0r = 0 when 2θ2\theta is an odd multiple of π2\tfrac{\pi}{2}. There drdθ=−2sin⁡2θ=±2≠0\tfrac{dr}{d\theta} = -2\sin 2\theta = \pm 2 \ne 0, so the curve leaves along the rays at those angles, which lie on y=±xy = \pm x.

  8. Find dydx\tfrac{dy}{dx} for r=eθr = e^{\theta} in general, and at θ=0\theta = 0.

    Answer

    sin⁡θ+cos⁡θcos⁡θ−sin⁡θ\tfrac{\sin\theta + \cos\theta}{\cos\theta - \sin\theta}; 11 at θ=0\theta = 0

    Full solution

    With f=f′=eθf = f' = e^{\theta}, the factor eθe^{\theta} cancels from top and bottom of the slope formula. At θ=0\theta = 0 the slope is 0+11−0=1\tfrac{0 + 1}{1 - 0} = 1.

  9. Where on 0≤θ≤π0 \le \theta \le \pi does r=1+cos⁡θr = 1 + \cos\theta have a vertical tangent?

    Answer

    At θ=0\theta = 0, the point (2,0)(2, 0), and at θ=2π3\theta = \tfrac{2\pi}{3}, the point (−14,34)\left(-\tfrac{1}{4}, \tfrac{\sqrt{3}}{4}\right)

    Full solution

    x=cos⁡θ+cos⁡2θx = \cos\theta + \cos^2\theta, so dxdθ=−sin⁡θ(1+2cos⁡θ)\tfrac{dx}{d\theta} = -\sin\theta(1 + 2\cos\theta), which is 00 at θ=0\theta = 0, π\pi and 2π3\tfrac{2\pi}{3}. At θ=π\theta = \pi, dydθ=0\tfrac{dy}{d\theta} = 0 too: the cusp. At the other two, dydθ=cos⁡θ+cos⁡2θ\tfrac{dy}{d\theta} = \cos\theta + \cos 2\theta is 22 and −1-1, not 00.

  10. A student says r=3r = 3 has slope 00 everywhere, because drdθ=0\tfrac{dr}{d\theta} = 0. What went wrong?

    Hint

    What shape is r=3r = 3?

    Answer

    drdθ\tfrac{dr}{d\theta} is not the slope. r=3r = 3 is a circle, whose slope is −cot⁡θ-\cot\theta.

    Full solution

    drdθ=0\tfrac{dr}{d\theta} = 0 says the distance from the origin never changes, which is exactly what a circle centered at the origin does.

    The slope comes from x=3cos⁡θx = 3\cos\theta and y=3sin⁡θy = 3\sin\theta: dydx=3cos⁡θ−3sin⁡θ=−cot⁡θ\tfrac{dy}{dx} = \tfrac{3\cos\theta}{-3\sin\theta} = -\cot\theta.

Frequently asked questions

How do I find dy/dx for a polar curve r = f(θ)?

Write x = f(θ) cos θ and y = f(θ) sin θ, differentiate both with respect to θ, and divide: dy/dx = (dy/dθ)/(dx/dθ).

Is dr/dθ the slope of a polar curve?

No. dr/dθ is how fast the distance from the origin changes as θ increases. The slope is dy/dx, which needs both x and y.

What does a positive dr/dθ mean?

The curve is moving away from the origin as θ increases (when r > 0). A negative dr/dθ means it is moving toward the origin.

Where does a polar curve have a horizontal tangent?

Where dy/dθ = 0 and dx/dθ ≠ 0. Where dx/dθ = 0 and dy/dθ ≠ 0, the tangent is vertical.

What is the slope of a polar curve where it passes through the origin?

If r = 0 at θ = α and dr/dθ ≠ 0 there, the curve leaves the origin along the line at angle α, so the slope is tan α.

What to learn next