Polar Graph
generator.
Plot r as a function of θ for roses, cardioids and spirals, with the area and length.
- Arc length
- 8
- Largest |r|
- 2
- Through the pole
- Yes, once
r reaches the pole once from θ = 0 to 2 × π, which splits the range into 2 stretches between visits to the pole. The area adds ½r² over every angle in the range, so any region the radius sweeps twice counts twice. The farthest point is 2 from the pole.
The polar graph
Drag the point along the curvePolar graph of r = 1 + cos(θ) for θ from 0 to 2 × π,. The largest distance from the pole is 2. The curve passes through the pole. Rings mark 1 tips: θ = 0, r = 2. The traced point at θ = 1.05 has r = 1.5.
The point at θ
- r
- 1.5
- θ in degrees
- 60°
- Point (x, y)
- (0.75, 1.299)
- dr/dθ
- −0.866
- Tangent slope dy/dx
- 0
Pieces between passes through the pole
| From θ | To θ | r is | |
|---|---|---|---|
| 0 | 3.1416 | 2.3562 | Positive |
| 3.1416 | 6.2832 | 2.3562 | Positive |
The pieces add up to the area above. Tips, the points farthest from the pole: r = 2 at θ = 0.
Tips
| r | x | y | |
|---|---|---|---|
| 0 | 2 | 2 | 0 |
Points around the curve
| θ | r | x | y |
|---|---|---|---|
| 0 | 2 | 2 | 0 |
| 0.2639 | 1.9654 | 1.8973 | 0.5127 |
| 0.5215 | 1.8671 | 1.6189 | 0.9301 |
| 0.7854 | 1.7071 | 1.2071 | 1.2071 |
| 1.0493 | 1.4982 | 0.7464 | 1.299 |
| 1.3069 | 1.2608 | 0.3289 | 1.2172 |
| 1.5708 | 1 | 0 | 1 |
| 1.8347 | 0.7392 | −0.1928 | 0.7136 |
| 2.0923 | 0.5018 | −0.25 | 0.4351 |
| 2.3562 | 0.2929 | −0.2071 | 0.2071 |
| 2.6201 | 0.1329 | −0.1153 | 0.0662 |
| 2.8777 | 0.0346 | −0.0334 | 0.009 |
| 3.1416 | 0 | 0 | 0 |
How it's worked out
In polar form, a point is a distance r from the center, called the pole, and an angle θ turned counterclockwise from the positive x-axis. A polar equation says how far out the curve is in each direction. To draw it, the tool turns each pair into ordinary x and y, using OpenStax equation 7.7:
When r is negative, the point goes the other way: along the ray opposite the angle, at distance |r|. That is how a limaçon gets its small inner loop, and how a rose with an even number in it gets its extra petals.
Area. The radius sweeps out thin wedges as θ turns. Each wedge is close to a sector with area , and adding them gives Theorem 7.6 in OpenStax section 7.4:
The tool works this out with Simpson's rule over 8,000 steps. Because r is squared, a stretch where r is negative still adds area.
Length uses Theorem 7.7, where r' is how fast r changes with θ:
OpenStax Example 7.18 finds 16 for the cardioid , and the tool gives 16. For it gives a length of 8 and an area of 4.7124, which is .
Tips and pole passes. The tool also finds each angle where r is 0, so the curve goes through the pole, and each angle where |r| peaks, the tip of a petal or loop. It splits the range at the zeros and gives the area of each piece.
Worked examples
Lena reads a cardioid microphone pattern
A cardioid microphone picks up sound best from the front and least from the back. Lena draws its pattern as , scaled so the front, at θ = 0, is 1.
Straight ahead r is 1. From the side, at , r is 0.5, so sound there is picked up at half the strength in this scale. From behind, at θ = π, r is 0 and the curve touches the pole.
The pattern is 4 units around. It is a cardioid, a special limaçon, because the two numbers in it are equal.
Jon finds the area of one petal of a rose
Jon's homework asks for the area of one petal of . The number by θ is even, so the rose has 4 petals, and the tool finds 4 tips, each 3 from the pole.
The pole passes split 0 to 2π into 4 pieces, one per petal. Each has an area of 3.5343, which is , as in OpenStax Example 7.16. All four together come to 14.1372.
At , the tip of the first petal, r is 3 and the tangent slope is −1, because the curve crosses the 45° line at a right angle there.
Maya separates the loops of a limaçon
For , r turns negative between and , down to −0.5. That stretch draws the small inner loop.
The full turn sweeps 2.3562. The pieces show where it comes from: the inner loop alone is 0.1359, and the rest of the turn sweeps the large outer loop.
The area inside the outer edge is 2.2203. The region between the two loops is 2.0844, because the inner loop sits inside the outer one and has to come out once more.
Reading your result
The big number is half the integral of r² over your θ range. It equals the area of the shape only when the radius sweeps each part of the plane once.
Through the pole says how many times r reaches 0. Each pass starts a new piece in the pieces table, and those pieces usually match the petals or loops you can see.
Tips are the points farthest from the pole on each petal or loop. A tip with a negative r is drawn on the opposite side of the pole from its angle.
The point at θ gives r, the x and y position, how fast r is changing, and the slope of the tangent in ordinary x and y.
Common mistakes
- Running an odd rose to 2π. is drawn in full by θ = π and then traced again. Over 0 to π the area is 0.7854, while over 0 to 2π it is 1.5708, double, with no change in the picture.
- Typing degrees. θ is in radians. A range from 0 to 360 runs about 57 turns, so gives an area of 89.93 instead of the 0.7854 of one circle. Use π for 180°, or multiply θ by inside the expression.
- Ignoring negative r. A point with r = −1 at θ = 0 sits at (−1, 0), not (1, 0). Sketching only positive values leaves out inner loops and petals.
- Adding the inner loop of a limaçon to the outer area. The outer sweep already covers the inner loop, so the full-turn area counts it twice.