Coordinate Systems

A coordinate system assigns an ordered triple of numbers to each point in R3\mathbb{R}^3. Cylindrical and spherical coordinates use distances and angles instead of 3 signed distances along the axes. They simplify regions and integrands that have an axis or a center of symmetry.

Rectangular Coordinates

Rectangular coordinates, also called Cartesian coordinates, locate a point PP by 3 signed distances from 3 mutually perpendicular coordinate planes.

P=(x,y,z)P = (x, y, z)
Here:
xx
signed distance from the yzyz-plane
yy
signed distance from the zxzx-plane
zz
signed distance from the xyxy-plane
Drag to rotate. Use the arrow keys for precise rotation. Signed distances x, y, and z locate P.

Cylindrical Coordinates

Cylindrical coordinates extend polar coordinates in the xyxy-plane with the height zz.

x=rcos⁡θ,y=rsin⁡θ,z=z,r≥0x = r\cos\theta, \quad y = r\sin\theta, \quad z = z, \quad r \ge 0
Here:
rr
distance from the zz-axis
θ\theta
angle in the xyxy-plane from the positive xx-axis
zz
signed height above the xyxy-plane
Drag to rotate. Use the arrow keys for precise rotation. The parameters are radial distance r, azimuth θ, and height z.

Spherical Coordinates

Spherical coordinates are defined by

x=ρsin⁡ϕcos⁡θ,y=ρsin⁡ϕsin⁡θ,z=ρcos⁡ϕx = \rho\sin\phi\cos\theta, \quad y = \rho\sin\phi\sin\theta, \quad z = \rho\cos\phi
Here:
ρ\rho
distance from the origin to the point
θ\theta
angle in the xyxy-plane from the positive xx-axis
ϕ\phi
angle from the positive zz-axis

Standard ranges are ρ≥0\rho \ge 0, 0≤θ≤2π0 \le \theta \le 2\pi, 0≤ϕ≤π0 \le \phi \le \pi.

Drag to rotate. Use the arrow keys for precise rotation. The parameters are radius ρ, azimuth θ, and polar angle φ.

Common Spherical Regions

  • Spherical shell between ρ=ρ1\rho = \rho_1 and ρ=ρ2\rho = \rho_2, ρ1<ρ2\rho_1 < \rho_2
    ρ1≤ρ≤ρ2\rho_1 \le \rho \le \rho_2, 0≤ϕ≤π0 \le \phi \le \pi, 0≤θ≤2π0 \le \theta \le 2\pi
  • Sphere ρ=ρ0\rho = \rho_0 restricted to the first octant
    0≤ρ≤ρ00 \le \rho \le \rho_0, 0≤ϕ≤π20 \le \phi \le \frac{\pi}{2}, 0≤θ≤π20 \le \theta \le \frac{\pi}{2}
  • Sphere ρ=ρ0\rho = \rho_0 cut by the cone ϕ=ϕ0\phi = \phi_0
    0≤ρ≤ρ00 \le \rho \le \rho_0, 0≤ϕ≤ϕ00 \le \phi \le \phi_0, 0≤θ≤2π0 \le \theta \le 2\pi
  • Sphere ρ=ρ0\rho = \rho_0 cut by 2 cones ϕ=ϕ1\phi = \phi_1 and ϕ=ϕ2\phi = \phi_2, ϕ1<ϕ2\phi_1 < \phi_2
    0≤ρ≤ρ00 \le \rho \le \rho_0, ϕ1≤ϕ≤ϕ2\phi_1 \le \phi \le \phi_2, 0≤θ≤2π0 \le \theta \le 2\pi
  • Solid enclosed laterally by the cone ϕ=ϕ0\phi = \phi_0, 0<ϕ0<π20 < \phi_0 < \frac{\pi}{2}, and above by the plane z=az = a, a>0a > 0
    0≤ρ≤asec⁡ϕ0 \le \rho \le a\sec\phi, 0≤ϕ≤ϕ00 \le \phi \le \phi_0, 0≤θ≤2π0 \le \theta \le 2\pi
The region between the outer sphere and the inner sphere. A quarter is cut away to show the hollow.
The part of a ball of radius ρ0 in the first octant. Its flat faces are the coordinate planes, and it is bounded above by the sphere.
A ball cut by the cone φ = φ0. The sphere caps the cone, which has its tip at the origin.
A ball between 2 cones φ = φ1 and φ = φ2, capped by the sphere. The cones cut a hole through the top and bottom.
A solid enclosed laterally by the cone φ = φ 0 and above by the plane z = a.

Worked Example

Convert P=(1,1,2)P=(1,1,\sqrt{2}) from rectangular coordinates to cylindrical and spherical coordinates.

Solution Reveal Hide

For cylindrical coordinates,

r=x2+y2=2,θ=π4,z=2r=\sqrt{x^2+y^2}=\sqrt{2}, \qquad \theta=\frac{\pi}{4}, \qquad z=\sqrt{2}P=(2,π4,2)cylindricalP=\left(\sqrt{2},\frac{\pi}{4},\sqrt{2}\right)_{\mathrm{cylindrical}}

For spherical coordinates,

ρ=x2+y2+z2=2,θ=π4,ϕ=arccos⁡(zρ)=π4\rho=\sqrt{x^2+y^2+z^2}=2, \qquad \theta=\frac{\pi}{4}, \qquad \phi=\arccos\left(\frac{z}{\rho}\right)=\frac{\pi}{4}P=(2,π4,π4)sphericalP=\left(2,\frac{\pi}{4},\frac{\pi}{4}\right)_{\mathrm{spherical}}
Written by November 11, 2026 2 min read
Was this helpful?