Category: Trigonometry Level: 201
r = cos(3θ): 3 petals, traced twice in one full turn
The rose r = cos 3θ has three petals, not six. Half a turn already draws all three, and the second half turn walks over the same petals again.
At θ = 0, r = cos 0 = 1. By θ = 30°, 3θ = 90° and r drops to 0. That is half a petal, pointing right.
θ: 0 → 30°, r: 1 → 0
From 30° to 90°, r is negative, so each point lands across the center. The petal appears down and to the left, centered on 60° + 180° = 240°.
θ = 60°: r = cos 180° = -1 → direction 240°
From 90° to 150°, r is positive and the curve draws a petal centered on 120°.
θ = 120°: r = cos 360° = 1
From 150° to 180°, r is negative and closes the first petal from below. After only half a turn, all three petals are done.
θ = 180°: r = cos 540° = -1 → the point (1, 0)
From 180° to 360°, cos 3θ just repeats with the sign flipped, and a flipped r in the opposite direction is the same point. The pen goes over the same three petals again. Odd n gives n petals, even n gives 2n.
r(θ + π) = -r(θ) ⇒ same point
cd svg-generator python3 -m svgmath render polar-rose-odd --out /tmp/polar-rose-odd
Source: svgmath/diagrams/polar_curves.py