Polar Graphing Calculator

Type r = f(θ) to graph a polar curve, or (x(t), y(t)) for a parametric curve. Change the θ range, add sliders for any letter and switch between polar and rectangular grids.

Runs in your browser; nothing you type is sent anywhere. · Updated

How to use the polar graphing calculator

  1. Type a polar equation such as r = 2sin(3θ). You can type theta instead of θ, and you can leave out r =.
  2. For a parametric curve, type a pair in parentheses using t: (3cos(t), 2sin(t)).
  3. Set the θ and t range below the list. The default is 0 to 2π; use 0 to 12π for curves that need more turns. You can type pi or π.
  4. Drag to move, scroll or pinch to zoom. The grid button switches between the polar grid (circles and angle rays) and a square grid.

Common polar curves

Curve Equation Notes
Circle r = 3 Radius 3, centered at the origin
Circle through the origin r = 4cos(θ) Diameter 4 along the x-axis
Cardioid r = 1 + cos(θ) Heart shape
Limaçon with inner loop r = 1 + 2cos(θ) Loop appears when the second number is bigger
Rose, odd k r = 2sin(3θ) k petals: 3 here
Rose, even k r = 2cos(4θ) 2k petals: 8 here
Lemniscate r = sqrt(4cos(2θ)) Figure-eight
Archimedean spiral r = θ / 2 Set θ up to 6π or more
Logarithmic spiral r = e^(0.15θ) Grows by the same ratio each turn
Butterfly curve r = e^(sin(θ)) - 2cos(4θ) Set θ up to 12π

Common parametric curves

Curve Type this
Ellipse (3cos(t), 2sin(t))
Lissajous figure (sin(3t), sin(2t))
Cycloid (t - sin(t), 1 - cos(t)) with t from 0 to 6π
Astroid (cos(t)^3, sin(t)^3)
Heart (16sin(t)^3, 13cos(t) - 5cos(2t) - 2cos(3t) - cos(4t))

Polar and rectangular coordinates

Convert Formula
Polar to rectangular x = r·cos θ, y = r·sin θ
Rectangular to polar r = √(x² + y²), θ = atan2(y, x)
Circle x² + y² = 9 is r = 3
Line through the origin y = x is θ = π/4

The θ in polar equations is in radians. One full turn is 2π ≈ 6.283.

Sliders

Letters other than r, θ, t, x and y become sliders. Try r = a sin(kθ) and move k through 2, 3, 4 and 5 to watch the number of petals change, or r = 1 + b cos(θ) to move from a cardioid (b = 1) to a limaçon with a loop (b > 1).

FAQ

How many petals does a rose curve have?

For r = a·sin(kθ) or r = a·cos(kθ) with a whole number k: k petals when k is odd, 2k petals when k is even. With θ from 0 to 2π the whole rose is drawn either way.

Why is only part of my polar graph showing?

The curve is drawn only for the θ range you set. Spirals and curves like the butterfly need a larger range, such as 0 to 12π.

Can I graph regular y = f(x) functions here too?

Yes. Rows with x in them, like y = x^2, are graphed normally. The graphing calculator is set up for those with a square grid by default.

What happens when r is negative?

A negative r is plotted in the opposite direction, at angle θ + π. That's why r = cos(2θ) draws all four petals.