Spherical coordinates in this visualization
In spherical coordinates , the angle is measured down from the positive z-axis to the segment , from straight up to straight down. The angle is the same as in cylindrical coordinates: the direction of ’s projection onto the xy-plane, measured counterclockwise from the positive x-axis. The projection is from the origin and ’s signed height is , which gives the conversion.
A sphere, a half-plane and a cone
Fixing gives a sphere about the origin ( leaves only the origin), fixing a half-plane hinged on the z-axis, and fixing a cone with its tip at the origin. The cone opens upward for , flattens into the floor at and opens downward for ; at and it closes up into the positive and the negative half of the z-axis. Through each point off the axis run three coordinate lines: a ray from the origin, a circle of latitude, and a meridian half-circle joining the poles. On the z-axis every names the same point, and at the origin every does too.
Where ρ² sin φ comes from
Step out by , down by and round by . The first edge of the small piece is . The second is an arc of a circle of radius , so it is long, with the angle in radians (as in every formula here; the panel shows degrees). The third is an arc of the circle of latitude, whose radius is the distance to the z-axis, : it is long. Their product is . The exact volume differs because the factor changes across the piece, but at a point with and the ratio goes to 1 as the three increments go to 0. Near a pole the circles of latitude are small, so the pieces are thin, and that is what the records. For a ball of radius , .
When to use them, and whose angles
Spherical coordinates suit problems arranged around a point, such as the field of a point charge. On a spherical model of the Earth, latitude is . Watch the names. This page uses a common calculus convention, with around the axis as in cylindrical coordinates. Physics books usually swap the two letters and write for the angle from the z-axis and for the angle around it, so check the definition before using a formula.
Things to notice
- is the determinant of the Jacobian of , up to sign; change of variables explains why that factor appears.
- With , and , every point off the z-axis has exactly one set of coordinates.
Controls
- Drag P over its sphere to change θ and φ; change ρ on the panel. Drag anywhere else to turn the view.
- The Δ knob scales Δρ, Δθ and Δφ by the same factor (1, 1/2, 1/4, 1/8); turning it shows the volume element. Near the south pole the piece stops at φ = 180°.