Category: Trigonometry Level: 201
r = cos(2θ), (r, θ) → (r cos θ, r sin θ)
A polar point is a direction θ and a distance r. Tracing r = cos 2θ as θ sweeps a full turn draws a rose with four petals, including two drawn backward when r is negative.
A polar point gives a direction θ and a distance r from the center. The point (0.5, 30°) sits halfway out along the 30° ray. Polar grids are just rings and spokes.
(r, θ) = (0.5, 30°) → (0.5 cos 30°, 0.5 sin 30°) ≈ (0.433, 0.25)
Now let r = cos 2θ. At θ = 0, r = 1. As θ grows to 45°, r shrinks to 0, so the curve pulls into the center. The point from step 1 lies on this path.
θ: 0, 15°, 30°, 45° → r: 1, 0.866, 0.5, 0
From 45° to 135°, cos 2θ is negative. A negative r means walk backward through the center, so at θ = 90° with r = −1 the point lands at the bottom. This stretch draws the bottom petal.
θ = 90°: r = cos 180° = -1 → (0, -1)
Keep going. From 135° to 225°, r is positive again and draws the left petal. From 225° to 315°, r is negative and draws the top petal. The last 45° closes the right petal.
r > 0: right and left petals; r < 0: bottom and top petals
Four petals for r = cos 2θ. For r = cos nθ the rule is 2n petals when n is even and n petals when n is odd. Roses, unlike gardeners, follow rules.
r = cos(nθ): 2n petals (n even), n petals (n odd)
cd svg-generator python3 -m svgmath render polar-rose --out /tmp/polar-rose
Source: svgmath/diagrams/polar_curves.py