Calculus in Polar Coordinates

Section 7.4: how to work the HW 7.4 problems

Published

December 1, 2026

This section does three kinds of calculus with polar curves \(r = f(\theta)\): area, arc length, and slopes of tangent lines. The formulas are short. Most of the work, and most of the mistakes, are in choosing the limits of integration, so most of these notes are about that.

These notes follow HW 7.4:

  1. Area inside one curve (HW 7.4 #1–4, #6, #12): §1–§3
  2. Area between loops, and area common to two curves (HW 7.4 #5, #7–9): §4–§5
  3. Arc length (HW 7.4 #10, #11, #13): §6
  4. Tangent lines (HW 7.4 #14, #15): §7

You’ll need the graphs from last section’s notes, especially the limaçons and roses in §6 of Polar Coordinates.

1. The area formula

A thin wedge with angle \(d\theta\) and radius \(r\) is almost a sector of a circle, with area \(\frac12 r^2\,d\theta\). Adding up the wedges:

NoteArea in polar coordinates

The area swept out by \(r = f(\theta)\) as \(\theta\) goes from \(\alpha\) to \(\beta\) is \[ A = \int_\alpha^\beta \tfrac12\, r^2 \, d\theta = \frac12\int_\alpha^\beta f(\theta)^2 \, d\theta. \] The interval \([\alpha, \beta]\) must trace the region exactly once.

You will almost always need these two identities to integrate \(r^2\): \[ \cos^2\theta = \tfrac12(1 + \cos 2\theta), \qquad \sin^2\theta = \tfrac12(1 - \cos 2\theta). \]

Example 1. Find the area inside the cardioid \(r = 1 + \sin\theta\).

\(r \ge 0\) for all \(\theta\), and the curve is traced once for \(0 \le \theta \le 2\pi\): \[ A = \frac12\int_0^{2\pi} (1 + \sin\theta)^2\,d\theta = \frac12\int_0^{2\pi}\left(1 + 2\sin\theta + \tfrac12 - \tfrac12\cos 2\theta\right)d\theta = \frac12\left(\tfrac32\cdot 2\pi\right) = \frac{3\pi}{2}. \] The \(\sin\theta\) and \(\cos 2\theta\) terms integrate to \(0\) over a full period.

For one quadrant of this region, just change the limits. Because \(r \ge 0\), a point is in quadrant I exactly when \(0 \le \theta \le \frac{\pi}{2}\), so that part is \(\frac12\int_0^{\pi/2}(1+\sin\theta)^2\,d\theta\).

Tip“Set up the integral” problems

HW 7.4 #1–4 ask for \(\alpha\), \(\beta\) and the integrand \(g(\theta)\) in \(A = \int_\alpha^\beta g(\theta)\,d\theta\). So \(g(\theta) = \frac12 r^2\), including the \(\frac12\). Many different intervals can trace the same region, so each problem states which range to use (for example \(0 \le \alpha < \beta \le 2\pi\)). Read that line before choosing your limits.

2. Choosing the limits: find where \(r = 0\)

A loop or petal starts and ends at the origin, where \(r = 0\). So:

  1. Solve \(r = 0\) for \(\theta\).
  2. Between consecutive solutions, \(r\) keeps one sign, and the curve traces one loop or petal.
  3. Sketch, or test one angle, to see which loop it is. Remember that negative \(r\) plots in the opposite direction.

3. Petals and inner loops

Example 2 (a petal). Find the area of the petal of \(r = \sin 3\theta\) that crosses the negative \(y\)-axis.

Three-petal rose r = sin 3 theta with petals in quadrant I, quadrant II, and pointing straight down. The downward petal is shaded. Dashed rays at angles pi/3 and 2pi/3 point upward, showing the directions of theta while r is negative.

\(r = \sin 3\theta\) for \(0 \le \theta \le \pi\). The shaded bottom petal is traced for \(\frac{\pi}{3} \le \theta \le \frac{2\pi}{3}\), where \(r \le 0\): the dashed rays point up, but the points land below the origin.

\(r = \sin 3\theta = 0\) when \(3\theta = 0, \pi, 2\pi, 3\pi\), i.e. \(\theta = 0, \frac{\pi}{3}, \frac{2\pi}{3}, \pi\). The rose is traced once for \(0 \le \theta \le \pi\), one petal per interval:

\(\theta\) interval sign of \(r\) petal
\(\left[0, \frac{\pi}{3}\right]\) \(+\) quadrant I
\(\left[\frac{\pi}{3}, \frac{2\pi}{3}\right]\) \(-\) \(\theta\) points up, but \(r < 0\), so the petal points down
\(\left[\frac{2\pi}{3}, \pi\right]\) \(+\) quadrant II

So \[ A = \frac12\int_{\pi/3}^{2\pi/3} \sin^2 3\theta\,d\theta = \frac14\int_{\pi/3}^{2\pi/3}(1 - \cos 6\theta)\,d\theta = \frac14\cdot\frac{\pi}{3} = \frac{\pi}{12}. \] (Each petal of \(r = \sin 3\theta\) has area \(\frac{\pi}{12}\).)

ImportantA petal can be traced with negative \(r\)

HW 7.4 #3 asks for the petal of \(r = \cos 3\theta\) (or \(\cos 5\theta\)) in quadrant III, using \(0 \le \theta \le \pi\). No angle in that range points into quadrant III. The petal is traced while \(\theta\) is in quadrant I and \(r < 0\). Find the interval with the “where is \(r = 0\)” table above.

Example 3 (an inner loop). Find the area enclosed by the inner loop of \(r = 1 + 2\cos\theta\).

Two copies of the limaçon r = 1 + 2cos theta. Left: the small inner loop, just right of the origin, is shaded. Right: the region inside the large outer loop but outside the inner loop is shaded.

Left: the inner loop of \(r = 1 + 2\cos\theta\), traced for \(\frac{2\pi}{3} \le \theta \le \frac{4\pi}{3}\). Right: the region between the loops (Example 4).

\(r = 0\) when \(\cos\theta = -\frac12\), i.e. \(\theta = \frac{2\pi}{3}\) and \(\frac{4\pi}{3}\). Between them \(\cos\theta < -\frac12\), so \(r < 0\): that’s the inner loop.

Expand: \(r^2 = 1 + 4\cos\theta + 4\cos^2\theta = 3 + 4\cos\theta + 2\cos 2\theta\), with antiderivative \(3\theta + 4\sin\theta + \sin 2\theta\). Then \[ A_{\text{inner}} = \frac12\Big[3\theta + 4\sin\theta + \sin 2\theta\Big]_{2\pi/3}^{4\pi/3} = \frac12\left(2\pi - 4\sqrt3 + \sqrt3\right) = \pi - \frac{3\sqrt3}{2} \approx 0.544. \] If a problem asks you to use \(-\pi < \alpha < \beta \le \pi\) instead, find the same kind of interval inside that range. For \(r = a - b\cos\theta\), for example, the inner loop is \(-\arccos\frac{a}{b} \le \theta \le \arccos\frac{a}{b}\).

4. Between two loops

The outer loop of a limaçon contains the inner loop. So the region between them is

\[ A_{\text{between}} = A_{\text{outer}} - A_{\text{inner}}. \]

Example 4. Find the area inside the outer loop of \(r = 1 + 2\cos\theta\) but outside the inner loop.

The outer loop is traced while \(r \ge 0\): \(-\frac{2\pi}{3} \le \theta \le \frac{2\pi}{3}\). Using the same antiderivative as Example 3, \[ A_{\text{outer}} = \frac12\Big[3\theta + 4\sin\theta + \sin 2\theta\Big]_{-2\pi/3}^{2\pi/3} = \frac12\left(4\pi + 4\sqrt3 - \sqrt3\right) = 2\pi + \frac{3\sqrt3}{2}. \] Subtract the inner loop: \[ A_{\text{between}} = \left(2\pi + \tfrac{3\sqrt3}{2}\right) - \left(\pi - \tfrac{3\sqrt3}{2}\right) = \pi + 3\sqrt3 \approx 8.34. \]

5. The region common to two curves

  1. Find the intersections by setting the two \(r\)’s equal. Also check the origin separately: both curves can pass through it at different angles, so setting them equal won’t find it.
  2. Split at the intersection angles. On each piece, the boundary of the common region is the curve closer to the origin (smaller \(r\)).
  3. Add up \(\frac12\int r^2\,d\theta\) for each piece, using the inner curve. Symmetry often halves the work.

Example 5. Find the area inside both \(r = 3\cos\theta\) and \(r = 1 + \cos\theta\).

A circle of radius 1.5 centered at (1.5, 0) and a cardioid r = 1 + cos theta, crossing at two points marked at angle plus and minus pi/3. The overlap is shaded: its right edge is the cardioid and its left edges near the origin are the circle.

The circle \(r = 3\cos\theta\) and the cardioid \(r = 1 + \cos\theta\) meet at \(\theta = \pm\frac{\pi}{3}\). The common region (shaded) is bounded by the cardioid for \(|\theta| \le \frac{\pi}{3}\) and by the circle beyond that.

\(3\cos\theta = 1 + \cos\theta\) gives \(\cos\theta = \frac12\), so \(\theta = \pm\frac{\pi}{3}\).

  • For \(0 \le \theta \le \frac{\pi}{3}\): at \(\theta = 0\) the circle has \(r = 3\) and the cardioid \(r = 2\), so the cardioid is inside.
  • For \(\frac{\pi}{3} \le \theta \le \frac{\pi}{2}\): the circle is inside (it reaches the origin at \(\theta = \frac{\pi}{2}\)).

The region is symmetric about the \(x\)-axis, so double the top half: \[ A = 2\left[\frac12\int_0^{\pi/3}(1 + \cos\theta)^2\,d\theta + \frac12\int_{\pi/3}^{\pi/2} 9\cos^2\theta\,d\theta\right] = \left(\frac{\pi}{2} + \frac{9\sqrt3}{8}\right) + \left(\frac{3\pi}{4} - \frac{9\sqrt3}{8}\right) = \frac{5\pi}{4}. \]

TipWhen one curve has \(r < 0\) everywhere

In HW 7.4 #8 the second curve is something like \(r = -3 + 2\sin\theta\), which is negative for every \(\theta\). Since \((-r, \theta)\) is the point \((r, \theta + \pi)\), it is the same curve as \(r = 3 + 2\sin\theta\): the first limaçon reflected through the origin. Rewrite it first, then sketch.

Example: the region inside both \(r = 2 - \sin\theta\) and \(r = -2 + \sin\theta\) (that is, \(r = 2 + \sin\theta\)). They cross where \(\sin\theta = 0\). On \([0, \pi]\) the curve \(2 - \sin\theta\) is inside, so \(A = 2\cdot\frac12\int_0^\pi (2 - \sin\theta)^2\,d\theta = \frac{9\pi}{2} - 8\).

6. Arc length

Treat the polar curve as the parametric curve \(x = r\cos\theta\), \(y = r\sin\theta\). The parametric arc length formula simplifies to:

NoteArc length in polar coordinates

\[ L = \int_\alpha^\beta \sqrt{r^2 + \left(\frac{dr}{d\theta}\right)^2}\,d\theta. \]

Example 6. Find the length of \(r = \theta^2\) for \(0 \le \theta \le \sqrt5\).

\(\frac{dr}{d\theta} = 2\theta\), so \(r^2 + (r')^2 = \theta^4 + 4\theta^2 = \theta^2(\theta^2 + 4)\). Since \(\theta \ge 0\), \[ L = \int_0^{\sqrt5} \theta\sqrt{\theta^2 + 4}\,d\theta = \frac13(\theta^2 + 4)^{3/2}\Big|_0^{\sqrt5} = \frac{27 - 8}{3} = \frac{19}{3}. \] Factor before you take the root. For \(r = e^{k\theta}\) (HW 7.4 #11), \(r^2 + (r')^2 = (1 + k^2)e^{2k\theta}\), so the integrand is just \(\sqrt{1 + k^2}\,e^{k\theta}\).

Example 7 (set up only). Set up the length of the cardioid \(r = 1 + \cos\theta\).

\(\frac{dr}{d\theta} = -\sin\theta\), so \[ L = \int_0^{2\pi}\sqrt{(1 + \cos\theta)^2 + \sin^2\theta}\,d\theta = \int_0^{2\pi}\sqrt{2 + 2\cos\theta}\,d\theta. \] Either form of the integrand is fine for a set-up question. (Evaluating it, with \(2 + 2\cos\theta = 4\cos^2\frac{\theta}{2}\), gives \(L = 8\).)

TipCircles: use geometry instead of integrating

HW 7.4 #12–13 give curves like \(r = 6\cos\theta\) on \(0 \le \theta \le \pi\). Convert to rectangular form first: \((x - 3)^2 + y^2 = 9\), a circle of radius \(3\) traced exactly once. So \[ \frac12\int_0^\pi (6\cos\theta)^2\,d\theta = \pi(3)^2 = 9\pi, \qquad \int_0^\pi\sqrt{r^2 + (r')^2}\,d\theta = 2\pi(3) = 6\pi. \] For \(r = a\sin\theta + a\cos\theta\), completing both squares gives a circle with center \(\left(\frac a2, \frac a2\right)\) and radius \(\frac{a}{\sqrt2}\).

7. Tangent lines

Again treat the curve as parametric, with \(x = r\cos\theta\) and \(y = r\sin\theta\), and use the product rule:

NoteSlope of a polar curve

\[ \frac{dy}{dx} = \frac{dy/d\theta}{dx/d\theta} = \frac{\dfrac{dr}{d\theta}\sin\theta + r\cos\theta}{\dfrac{dr}{d\theta}\cos\theta - r\sin\theta}. \]

Example 8. Find the slope of the tangent line to \(r = 1 + \sin\theta\) at \(\theta = \frac{\pi}{3}\).

\(\frac{dr}{d\theta} = \cos\theta\). Then \[ \frac{dy}{d\theta} = \cos\theta\sin\theta + (1 + \sin\theta)\cos\theta, \qquad \frac{dx}{d\theta} = \cos^2\theta - (1 + \sin\theta)\sin\theta. \] At \(\theta = \frac{\pi}{3}\) (\(\sin = \frac{\sqrt3}{2}\), \(\cos = \frac12\)): \[ \frac{dy}{d\theta} = \frac{\sqrt3}{4} + \frac{2 + \sqrt3}{4} = \frac{1 + \sqrt3}{2}, \qquad \frac{dx}{d\theta} = \frac14 - \frac{2\sqrt3 + 3}{4} = -\frac{1 + \sqrt3}{2}, \] so \(\dfrac{dy}{dx} = -1\).

Simplify first when you can. With the double-angle identities \(\cos^2\theta - \sin^2\theta = \cos 2\theta\) and \(2\sin\theta\cos\theta = \sin 2\theta\), the slope of \(r = 3\cos\theta\) simplifies to \(-\cot 2\theta\).

Horizontal and vertical tangents work just as they did for parametric curves (7.2):

Tangent Condition
horizontal \(\dfrac{dy}{d\theta} = 0\) and \(\dfrac{dx}{d\theta} \ne 0\)
vertical \(\dfrac{dx}{d\theta} = 0\) and \(\dfrac{dy}{d\theta} \ne 0\)

Example 9. Find the points on the cardioid \(r = 1 + \cos\theta\) where the tangent line is horizontal or vertical, for \(0 \le \theta < 2\pi\).

Cardioid r = 1 + cos theta. Short horizontal segments touch it at its top and bottom points near (0.75, plus or minus 1.3). Short vertical segments touch it at (2, 0) and at two points near (-0.25, plus or minus 0.43). The cusp at the origin is marked with an x.

\(r = 1 + \cos\theta\) with its horizontal tangents (circles), vertical tangents (squares), and the cusp at the origin (×).

With \(\frac{dr}{d\theta} = -\sin\theta\): \[ \frac{dy}{d\theta} = -\sin^2\theta + (1 + \cos\theta)\cos\theta = 2\cos^2\theta + \cos\theta - 1 = (2\cos\theta - 1)(\cos\theta + 1), \] \[ \frac{dx}{d\theta} = -\sin\theta\cos\theta - (1 + \cos\theta)\sin\theta = -\sin\theta\,(1 + 2\cos\theta). \]

  • \(\frac{dy}{d\theta} = 0\) at \(\cos\theta = \frac12\) (\(\theta = \frac{\pi}{3}, \frac{5\pi}{3}\)) and at \(\cos\theta = -1\) (\(\theta = \pi\)).
  • \(\frac{dx}{d\theta} = 0\) at \(\sin\theta = 0\) (\(\theta = 0, \pi\)) and at \(\cos\theta = -\frac12\) (\(\theta = \frac{2\pi}{3}, \frac{4\pi}{3}\)).

At \(\theta = \pi\) both are \(0\); that’s the cusp at the origin, where neither test applies. The rest:

  • Horizontal: \(\left(\frac32, \frac{\pi}{3}\right)\) and \(\left(\frac32, \frac{5\pi}{3}\right)\).
  • Vertical: \((2, 0)\), \(\left(\frac12, \frac{2\pi}{3}\right)\) and \(\left(\frac12, \frac{4\pi}{3}\right)\).

The HW asks for the points in polar form \((r, \theta)\) with \(r = f(\theta)\), so plug each \(\theta\) into \(r = 1 + \cos\theta\). If \(r\) comes out negative or zero, keep that value. For \(r = 4\cos\theta\) at \(\theta = \frac{3\pi}{4}\), for example, the point is \(\left(-2\sqrt2, \frac{3\pi}{4}\right)\).

Common mistakes

  • Dropping the \(\frac12\) in the area formula, or leaving it out of \(g(\theta)\) when the problem asks for the whole integrand.
  • Integrating over \([0, 2\pi]\) by habit. Roses with odd \(n\) and circles like \(r = 4\cos\theta\) are traced once on \([0, \pi]\). Going around twice doubles the answer.
  • Ignoring negative \(r\) when deciding which loop or petal an interval traces.
  • Using the wrong curve on a piece of a common region. On each piece, use the curve closer to the origin.
  • Forgetting the origin as an intersection point. It doesn’t show up when you set the \(r\)’s equal.
  • Expanding \(\sqrt{r^2 + (r')^2}\) instead of factoring, which turns an easy integral into a hard one.
  • Calling a point where both derivatives are \(0\) a horizontal or vertical tangent.

Summary

Task Key idea HW 7.4
Area inside a curve \(\frac12\int_\alpha^\beta r^2\,d\theta\); trace the region once #1, #2, #12
A petal or inner loop limits from \(r = 0\); watch for negative \(r\) #3, #4, #6
Between loops \(A_{\text{outer}} - A_{\text{inner}}\) #7
Common region split at the intersections; use the inner curve on each piece #5, #8, #9
Arc length \(\int\sqrt{r^2 + (r')^2}\,d\theta\); factor first #10, #11
Circles convert to rectangular form; use \(\pi R^2\) or \(2\pi R\) #12, #13
Slope \(\dfrac{r'\sin\theta + r\cos\theta}{r'\cos\theta - r\sin\theta}\) #14
Horizontal / vertical tangents \(\frac{dy}{d\theta} = 0\) / \(\frac{dx}{d\theta} = 0\); give points as \((r, \theta)\) #15