Skip to content
Part IA Michaelmas, Lent, Easter Term

Coordinate Systems

Cartesian Coordinates

The standard Cartesian (rectangular) coordinate system uses three mutually perpendicular axes xx, yy, zz emanating from an origin OO.

Position vector: r=xi^+yj^+zk^\mathbf{r} = x\hat{\mathbf{i}} + y\hat{\mathbf{j}} + z\hat{\mathbf{k}}

Basis vectors i^\hat{\mathbf{i}}, j^\hat{\mathbf{j}}, k^\hat{\mathbf{k}} are constant — they point in the same direction everywhere.


Cylindrical Polar Coordinates (rr, θ\theta, zz)

Useful for systems with cylindrical symmetry (pipes, wires, cylindrical objects).

Cylindrical coordinates showing point P with coordinates (r, θ, z), and how r relates to x and y in the xy-plane

Coordinate Definitions

  • r0r \geq 0: perpendicular distance from zz-axis
  • θ\theta: azimuthal angle from xx-axis in the xyxy-plane
  • zz: height (same as Cartesian)

Relations to Cartesian

x=rcosθ,y=rsinθ,z=zx = r\cos\theta, \quad y = r\sin\theta, \quad z = z

r=x2+y2,θ=tan1yxr = \sqrt{x^2 + y^2}, \quad \theta = \tan^{-1}\frac{y}{x}

Basis Vectors

Unlike Cartesian, cylindrical basis vectors depend on position:

e^r=cosθi^+sinθj^\hat{\mathbf{e}}_r = \cos\theta\,\hat{\mathbf{i}} + \sin\theta\,\hat{\mathbf{j}}

e^θ=sinθi^+cosθj^\hat{\mathbf{e}}_\theta = -\sin\theta\,\hat{\mathbf{i}} + \cos\theta\,\hat{\mathbf{j}}

e^z=k^\hat{\mathbf{e}}_z = \hat{\mathbf{k}}

Position vector: r=re^r+ze^z\mathbf{r} = r\hat{\mathbf{e}}_r + z\hat{\mathbf{e}}_z

Warning: e^r\hat{\mathbf{e}}_r and e^θ\hat{\mathbf{e}}_\theta change direction as θ\theta changes.


Spherical Polar Coordinates (rr, θ\theta, ϕ\phi)

Useful for systems with spherical symmetry (atoms, planets, central forces).

Spherical coordinates showing point P with coordinates (r, θ, φ), where θ is the polar angle from z-axis and φ is the azimuthal angle in the xy-plane

Coordinate Definitions

  • r0r \geq 0: distance from origin
  • θ[0,π]\theta \in [0, \pi]: polar angle from zz-axis (inclination)
  • ϕ[0,2π)\phi \in [0, 2\pi): azimuthal angle from xx-axis

Note: Physics convention differs from mathematics — physicists use θ\theta for polar angle and ϕ\phi for azimuthal, while mathematicians often swap them.

Relations to Cartesian

x=rsinθcosϕ,y=rsinθsinϕ,z=rcosθx = r\sin\theta\cos\phi, \quad y = r\sin\theta\sin\phi, \quad z = r\cos\theta

r=x2+y2+z2r = \sqrt{x^2 + y^2 + z^2}

Basis Vectors

Again, position-dependent:

e^r=sinθcosϕi^+sinθsinϕj^+cosθk^\hat{\mathbf{e}}_r = \sin\theta\cos\phi\,\hat{\mathbf{i}} + \sin\theta\sin\phi\,\hat{\mathbf{j}} + \cos\theta\,\hat{\mathbf{k}}

e^θ=cosθcosϕi^+cosθsinϕj^sinθk^\hat{\mathbf{e}}_\theta = \cos\theta\cos\phi\,\hat{\mathbf{i}} + \cos\theta\sin\phi\,\hat{\mathbf{j}} - \sin\theta\,\hat{\mathbf{k}}

e^ϕ=sinϕi^+cosϕj^\hat{\mathbf{e}}_\phi = -\sin\phi\,\hat{\mathbf{i}} + \cos\phi\,\hat{\mathbf{j}}

Position vector: r=re^r\mathbf{r} = r\hat{\mathbf{e}}_r


Volume Elements

The volume element changes with coordinate system:

Cartesian: dV=dxdydzdV = dx\,dy\,dz

Cylindrical: dV=rdrdθdzdV = r\,dr\,d\theta\,dz

The extra factor rr accounts for the fact that rings at larger rr have larger circumference.

Spherical: dV=r2sinθdrdθdϕdV = r^2\sin\theta\,dr\,d\theta\,d\phi

The factor r2sinθr^2\sin\theta comes from the Jacobian determinant. At the poles (θ=0,π\theta = 0, \pi), sinθ=0\sin\theta = 0 and the volume element vanishes — this reflects the coordinate singularity.


Area Elements

For surface integrals:

Cylindrical (curved surface): dS=rdθdzdS = r\,d\theta\,dz

Spherical (surface of sphere): dS=r2sinθdθdϕdS = r^2\sin\theta\,d\theta\,d\phi


Why Different Coordinate Systems?

Choosing the right coordinates simplifies problems:

SymmetryBest CoordinatesExample
Cylindrical(r,θ,z)(r, \theta, z)Electric field of a wire
Spherical(r,θ,ϕ)(r, \theta, \phi)Gravitational field of Earth
TranslationalCartesianUniform field

Key insight: The physics remains the same; only the mathematical description changes. Choose coordinates that match the symmetry to reduce complexity.


Warning: Basis Vectors Change

In curvilinear coordinates, derivatives of basis vectors are non-zero:

Cylindrical: e^rθ=e^θ,e^θθ=e^r\frac{\partial \hat{\mathbf{e}}_r}{\partial \theta} = \hat{\mathbf{e}}_\theta, \quad \frac{\partial \hat{\mathbf{e}}_\theta}{\partial \theta} = -\hat{\mathbf{e}}_r

Spherical: More complex relations involving all three basis vectors.

This means rθ\frac{\partial \mathbf{r}}{\partial \theta} is not simply e^θ\hat{\mathbf{e}}_\theta — there are additional terms. Always compute vector products in Cartesian or use established formulas for operators like \nabla in curvilinear coordinates.