Curvilinear coordinate systems

Definition

A curvilinear coordinate system describes points using coordinates whose coordinate lines may be curved, rather than only straight Cartesian axes.

In vector calculus, coordinate systems are different ways of labelling the same point in space.

The main three are:

  • Cartesian:
  • Cylindrical:
  • Spherical:

They are not different physical spaces. They are different coordinate descriptions of the same 3D space.

Big idea

Cartesian coordinates use straight grid lines.

Cylindrical and spherical coordinates use curved grid lines:

  • cylindrical is good when there is symmetry around an axis
  • spherical is good when there is symmetry around a point

This is why they show up constantly in fluids, electromagnetism, gravity, heat, and any problem where the geometry screams “stop using rectangular boxes, you absolute spreadsheet-cel”.

Interactive sandbox

Explore this visually in the browser: Curvilinear coordinate sandbox.

Cartesian coordinates

Cartesian coordinates label a point by three perpendicular distances:

The basis vectors are constant:

This makes Cartesian coordinates the easiest system for basic derivatives:

See Del operator ∇.

Cylindrical coordinates

Cylindrical coordinates are:

where:

  • is distance from the -axis
  • is the angle around the -axis
  • is vertical height

Conversion to Cartesian:

Conversion from Cartesian:

Use cylindrical coordinates when the problem has rotational symmetry around an axis, like pipes, cylinders, vortices, solenoids, or fields around a wire.

Spherical coordinates

Spherical coordinates are:

where:

  • is distance from the origin
  • is the polar angle down from the positive -axis
  • is the azimuthal angle around the -axis

Conversion to Cartesian:

Conversion from Cartesian:

Use spherical coordinates when the problem has symmetry around a central point, like gravity from a point mass, electric fields from a point charge, radiation, balls, shells, and planets.

Coordinate maps are not always linear

It is tempting to think of every coordinate conversion as a matrix transforming one 3D space into another.

That works for linear transformations like rotations, reflections, scales, and shears in Cartesian space:

But Cartesian to cylindrical or spherical coordinates is not globally linear:

The and terms are the giveaway. This is a nonlinear coordinate map.

The matrix-like object that matters locally is the Jacobian:

The Jacobian tells you how tiny coordinate changes stretch, rotate, or squish nearby space. Basically: matrices are the global tool for linear maps; Jacobians are the local tool for nonlinear maps.

Scale factors

Curvilinear coordinates have scale factors because one unit of coordinate change does not always mean one unit of physical distance.

For cylindrical coordinates:

So the scale factors are:

For spherical coordinates:

So the scale factors are:

These scale factors are why grad, div, curl, and volume integrals pick up extra terms in non-Cartesian coordinates.

Volume elements

Cartesian:

Cylindrical:

Spherical:

The extra and factors are not decoration. They account for the fact that curved coordinate grids spread out as you move away from the origin or axis.

Quick comparison

SystemCoordinatesBest forVolume element
Cartesianboxes, planes, simple grids
Cylindricalcylinders, pipes, axis symmetry
Sphericalspheres, shells, radial symmetry

Common pitfalls

  • Treating cylindrical or spherical conversion as a single global matrix transformation. Cope. It is nonlinear.
  • Forgetting and using plain , which loses quadrant information.
  • Mixing up spherical and . Convention matters. Here is polar angle from the -axis and is azimuth around the -axis.
  • Dropping the scale factors in vector calculus operators.
  • Forgetting the volume element when doing integrals.