AP subjects/AP Precalculus/Polar Function Grapher
CED 3.14AP Precalculus

Polar Function Grapher

Use this free polar grapher to trace curves of the form r=f(θ)r = f(\theta) one angle at a time: circles, roses, cardioids and limaçons. Watch the point (rcos⁡θ, rsin⁡θ)(r\cos\theta,\ r\sin\theta) move as θ\theta runs from 0° to 360°, including what happens when rr turns negative.

Controls
presetaparamtraceanimate

How to use the simulator

The plot is a polar grid of rings around the pole with spokes every 30°; the ring spacing adjusts to fit the curve and is labeled once (for example "r=1"). The traced curve is coral, and a dashed teal segment runs from the pole to a white dot at the current angle.
  • Family menu: Circle r=ar = a; Rose r=acos⁡(kθ)r = a\cos(k\theta) (the default); Cardioid r=a(1+cos⁡θ)r = a(1 + \cos\theta); Limaçon r=a+bcos⁡θr = a + b\cos\theta.
  • scale a: from 0.5 to 4 in steps of 0.1 (default 3).
  • Second parameter, shown only for two families: petals k for the rose, a whole number from 1 to 7; inner b for the limaçon, from 0 to 6 in steps of 0.1.
  • trace θ ≤: draws the curve only for angles from 0° up to this value, in 2° steps (default 360°).
  • ▶ Animate trace: resets the trace to 0° and sweeps it to 360°. Press ■ Stop to freeze it partway.
The readout under the equation gives the current angle, the value of r and the rectangular point, for example θ = 60° → r = -3 point (-1.50, -2.60). Drag the trace slider slowly: when r is negative, the dot sits on the opposite side of the pole from the direction θ points. Note that the slider is labeled "petals k", but k is only the petal count when k is odd.

The equations

A polar function gives the distance r as a function of the angle θ\theta. Every point converts to rectangular coordinates with x=rcos⁡θ,y=rsin⁡θ,x2+y2=r2.x = r\cos\theta, \qquad y = r\sin\theta, \qquad x^2 + y^2 = r^2. If r<0r < 0, the point (r,θ)(r, \theta) lies ∣r∣|r| units from the pole in the direction θ+180∘\theta + 180^\circ.
  • Circle r=ar = a: every point is a units from the pole.
  • Rose r=acos⁡(kθ)r = a\cos(k\theta): petals of length ∣a∣|a|. Odd k gives k petals; even k gives 2k petals. Petals are centered where ∣cos⁡(kθ)∣=1|\cos(k\theta)| = 1.
  • Limaçon r=a+bcos⁡θr = a + b\cos\theta with a,b>0a, b > 0: an inner loop if b>ab > a, a cardioid if b=ab = a, a dimple if a2<b<a\tfrac{a}{2} < b < a, and convex if b≤a2b \le \tfrac{a}{2}.
  • Cardioid r=a(1+cos⁡θ)r = a(1 + \cos\theta): the limaçon with b=ab = a; it touches the pole at θ=180∘\theta = 180^\circ.
The curve passes through the pole exactly where r=0r = 0. Between zeros, AP Precalculus Topic 3.15 asks how r is changing: if r is positive and increasing, the point is moving away from the pole; if r is positive and decreasing, it is moving toward the pole. When r is negative, the distance from the pole is ∣r∣|r|, so the reasoning flips.

Worked example

Graph r=3cos⁡(3θ)r = 3\cos(3\theta) and locate the points at θ=20∘\theta = 20^\circ and θ=60∘\theta = 60^\circ. This is the simulator's default setting.
Step 1: petals. k=3k = 3 is odd, so the rose has 3 petals, each of length 3. One petal is centered on θ=0∘\theta = 0^\circ, where r=3r = 3.
Step 2: θ = 20°. r=3cos⁡60∘=1.5r = 3\cos 60^\circ = 1.5. Then x=1.5cos⁡20∘≈1.41x = 1.5\cos 20^\circ \approx 1.41 and y=1.5sin⁡20∘≈0.51y = 1.5\sin 20^\circ \approx 0.51. Set the trace slider to 20° and the readout shows r = 1.50 and the point (1.41, 0.51).
Step 3: θ = 60°. r=3cos⁡180∘=−3r = 3\cos 180^\circ = -3. Because r is negative, the point lies 3 units in the direction 240∘240^\circ: x=−3cos⁡60∘=−1.5x = -3\cos 60^\circ = -1.5, y=−3sin⁡60∘≈−2.60y = -3\sin 60^\circ \approx -2.60. That is the tip of the petal in Quadrant III, not a point in Quadrant I.
Step 4: zeros. r=0r = 0 when 3θ=90∘3\theta = 90^\circ, so θ=30∘\theta = 30^\circ; the curve returns to the pole there between petals.
Step 5: watch it trace. Press Animate trace. The three petals are complete by 180°; from 180° to 360° the dot retraces the same petals. With k = 4 instead, nothing repeats, and all 8 petals need the full 360°.
Follow-up: choose Limaçon with a = 1 and b = 2. Since b>ab > a, there is an inner loop. r=0r = 0 when cos⁡θ=−12\cos\theta = -\tfrac12, at 120° and 240°, and at 180° the readout shows r = -1, the far edge of the inner loop.

Common mistakes on the AP exam

  • Plotting negative r on the wrong side. A negative r is not discarded or made positive; the point goes through the pole to the opposite direction.
  • Miscounting rose petals. r=acos⁡(4θ)r = a\cos(4\theta) has 8 petals, not 4. Check in the simulator with k = 4.
  • Confusing r with y. r is a distance from the pole, not a height.
  • Wrong conversion formula. It is x=rcos⁡θx = r\cos\theta, y=rsin⁡θy = r\sin\theta; swapping them rotates the whole curve.
  • Misreading rate of change. "r is decreasing" means moving toward the pole only when r is positive. If r is negative and decreasing, ∣r∣|r| is growing, so the point moves away.

When the AP exam uses this

Polar functions appear at the end of Unit 3 (Topics 3.13 to 3.15). Typical questions give a polar equation or its graph and ask for the point at a given θ\theta, for intervals where the distance from the origin is increasing or decreasing, or for the average rate of change of r over an interval, r(θ2)−r(θ1)θ2−θ1\frac{r(\theta_2) - r(\theta_1)}{\theta_2 - \theta_1}. Practise matching a graph of r against θ\theta to the polar picture.
Embed this simulator on your class page

Free for classroom use. Paste this into your site, LMS page or blog; keep the credit link under it.