Skip to content
ihateDesmos

Rose curves: r = cos(kθ)

A rose curve, r = a cos(kθ), looks like a flower with petals arranged around the origin. The rule for counting the petals is simple and a little surprising: k petals when k is odd, 2k when k is even.

−3−2−1123−110
Open in calculator
r = 2.5 cos 4θ has eight petals; r = 1.5 cos 3θ has three.

Equations to type

Three petals
r = cos(3theta)
Open
Eight petals
r = cos(4theta)
Open
With a slider for k
r = cos(k theta) k = 5
Open
A fractional rose
r = cos(2theta/5)
Open

At a glance

Petals
k if k is odd, 2k if k is even
Petal length
|a|
Total area
πa²/4 for odd k, πa²/2 for even k

Why odd and even differ

As θ goes from 0 to 2π, cos(kθ) goes through k full cycles, each with a positive half and a negative half. Every half-cycle draws one petal, so 2k petals are drawn. When k is even, all 2k land in different places. When k is odd, each negative half draws its petal exactly on top of a positive one (because (−r, θ + π) is the same point as (r, θ)), so only k distinct petals appear.

Area of a rose

Each petal has area πa²/(4k). With 2k petals for even k the total is πa²/2; with k petals for odd k it is πa²/4. So a four-petal rose r = cos 2θ covers exactly half of the unit disc it sits in.

Fractional roses

When k = p/q is a fraction in lowest terms, the curve closes only after θ has gone round q or 2q times, and the petals overlap into intricate patterns. That is why the calculator draws polar curves over 0 ≤ θ ≤ 12π by default: it closes every rose with a denominator up to 6.

−1.5−1.0−0.50.51.01.5−0.50.50
Open in calculator
r = cos(5θ/3): the curve closes after θ = 3π.

Frequently asked questions

How many petals does a rose curve have?
For r = a cos(kθ) with whole-number k: k petals if k is odd, 2k petals if k is even.
What is the difference between sin and cos roses?
r = a sin(kθ) is the same rose rotated by π/(2k). They have the same number of petals.
How long are the petals?
Each petal reaches a distance |a| from the origin.
Who studied rose curves?
Guido Grandi, an Italian mathematician, in the early 1700s. They are also called rhodonea curves.

More curves

Make it your own

Every equation on this page opens in the calculator, where you can add sliders and watch the curve change.

Open the calculator