Physics Library
 An open source physics library
Encyclopedia | Forums | Docs | Random |  
Login
create new user
Username:
Password:
forget your password?
Main Menu
Sections

Meta

Talkback

Downloads

Information
Coordinate Systems for Mechanics (Topic)

Coordinate Systems for Mechanics

A coordinate system is a mathematical scheme for assigning numbers to positions and directions. The physical motion does not depend on which coordinates are chosen, but a good coordinate system can make the geometry, constraints, and equations of a mechanics problem much simpler.

The central principle is therefore not that one coordinate system is more “correct” than another. Instead,

choose coordinates that follow the geometry  and symmetry  of the problem.
(1)

Cartesian coordinates are natural for straight-line motion, projectiles, rectangular geometry, and many Free-body diagrams. Polar and cylindrical coordinates are natural when distance from an axis and rotation about that axis are important. Spherical coordinates are natural when distance from a point is the dominant geometric variable, as in central-force problems.

This article develops the geometry needed to use these systems in mechanics without yet deriving the full velocity and acceleration formulas of curvilinear kinematics. Those derivatives belong to later kinematics articles.

1 Coordinate system versus reference frame

A coordinate system and a reference frame are related but distinct ideas.

A reference frame identifies the physical observer or laboratory whose origin and axes have a specified motion. A coordinate system is the mathematical labeling used inside that frame.

For example, one inertial laboratory frame may describe a particle using Cartesian coordinates (x,y,z) or cylindrical coordinates (ρ,ϕ,z). Changing from one of those coordinate systems to the other does not by itself create a new physical observer.

This distinction becomes important later when mechanics is written in accelerating or rotating reference frames.

2 Cartesian coordinates

In a three-dimensional Cartesian coordinate system, mutually perpendicular axes define fixed unit vectors

ex,    ey,     ez.
(2)

A position vector is

r = xex + yey + zez.
(3)

The coordinates x, y, and z are signed distances measured along the three axes.

Because the Cartesian basis vectors are fixed in orientation, they are especially convenient when differentiating vector components with respect to time.

The infinitesimal displacement is

dr = e dx +  e dy + e  dz,
      x       y      z
(4)

and the differential distance satisfies

ds2 = dx2 + dy2 + dz2.
(5)

2.1 Rotated Cartesian axes

The axes need not be horizontal and vertical. In an inclined-plane problem, for example, it is often convenient to choose one Cartesian axis parallel to the incline and another normal to it.

If a new x′ axis is rotated counterclockwise through an angle α from the original x axis, then

ex′ = cosα ex + sin α ey,
(6)

and

ey′ = − sin α ex + cos α ey.
(7)

For a vector

A =  Axex + Ayey,
(8)

the components in the rotated basis are

Ax ′ = Ax cos α + Ay sin α,
(9)

Ay ′ = − Ax sinα + Ay cosα.
(10)

The geometric vector is unchanged; only its numerical components have changed.

3 Plane polar coordinates

For two-dimensional problems with circular or radial geometry, a point may be described by

(r,𝜃),
(11)

where r is the nonnegative distance from the origin and 𝜃 is the angular coordinate measured from the positive x axis.

The Cartesian and polar coordinates are related by

x = r cos𝜃,
(12)

y =  rsin𝜃.
(13)

Conversely,

    ∘ --------
r =   x2 + y2,
(14)

and the angle should be determined with the signs of both x and y taken into account. Computationally, a quadrant-aware two-argument arctangent is preferred.

PIC

Figure 1. The same physical point may be represented by Cartesian coordinates (x,y) or polar coordinates (r,𝜃).

3.1 The polar basis

Polar coordinates use position-dependent unit vectors. The radial unit vector points away from the origin,

er = cos𝜃ex + sin𝜃 ey,
(15)

and the transverse unit vector points in the direction of increasing 𝜃,

e 𝜃 = − sin 𝜃ex + cos 𝜃ey.
(16)

The position vector is particularly simple:

r = rer.
(17)

Unlike ex and ey, the polar basis vectors change direction when 𝜃 changes. This fact is responsible for important extra terms when velocity and acceleration are differentiated in polar coordinates. Those terms are geometric consequences of the moving basis, not fictitious forces created merely by choosing polar coordinates.

PIC

Figure 2. The polar basis is attached locally to the point. As the angular coordinate changes, er and e𝜃 rotate.

4 Deriving the polar differential displacement

The geometry of polar coordinates becomes especially clear by differentiating the coordinate transformation. Starting with

x = r cos𝜃,
(18)

we obtain

dx  = cos𝜃 dr − rsin𝜃 d𝜃.
(19)

Similarly,

dy = sin 𝜃dr + r cos𝜃 d𝜃.
(20)

Insert these into

dr =  exdx + ey dy.
(21)

Collecting terms gives

dr = er dr + e𝜃 rd 𝜃.
(22)

The two perpendicular differential distances are therefore

dr
(23)

and

r d𝜃.
(24)

Hence

ds2 = dr2 + r2d𝜃2.
(25)

For motion along a circle of fixed radius,

dr = 0,
(26)

so

ds = r |d𝜃|.
(27)

The angle must be expressed in radians for this differential arc-length relation.

5 Cylindrical coordinates

Cylindrical coordinates extend plane polar coordinates by retaining an independent vertical coordinate:

(ρ, ϕ,z).
(28)

Here ρ is distance from the z axis, ϕ is the azimuth about the z axis, and z is the usual Cartesian height.

The transformation is

x = ρ cosϕ,
(29)

y = ρ sin ϕ,
(30)

z = z.
(31)

Conversely,

    ∘ --------
ρ =   x2 + y2.
(32)

The local basis is

eρ,    eϕ,     ez,
(33)

and the differential displacement is

dr = eρ dρ + eϕρ dϕ + ez dz.
(34)

Therefore

ds2 = dρ2 + ρ2dϕ2 + dz2.
(35)

The differential volume is

dV =  ρdρ dϕ dz.
(36)

The factor ρ is geometric: an angular increment dϕ corresponds to a longer physical arc when the point lies farther from the axis.

Cylindrical coordinates are useful for shafts, disks, cylinders, circular or helical motion, and systems with symmetry about an axis.

6 Spherical coordinates

Spherical coordinates are natural for problems centered on a point. Several notation conventions exist, so every article or problem should state its convention explicitly.

This mechanics article uses

(r,𝜃,ϕ),
(37)

where

  • r is distance from the origin;
  • 𝜃 is the polar angle measured downward from the positive z axis;
  • ϕ is the azimuth measured in the xy plane from the positive x axis.

The Cartesian transformation is

x = r sin 𝜃cos ϕ,
(38)

y = r sin 𝜃sinϕ,
(39)

z = r cos𝜃.
(40)

Conversely,

    ∘  ------------
r =    x2 + y2 + z2,
(41)

cos𝜃 = z-.
        r
(42)

The azimuth ϕ is determined from x and y with quadrant information retained.

The differential displacement is

dr = er dr + e𝜃 rd 𝜃 + e ϕr sin 𝜃dϕ.
(43)

Thus

  2     2    2  2    2   2    2
ds =  dr +  r d𝜃 +  r sin  𝜃 dϕ ,
(44)

and the differential volume is

dV  = r2sin𝜃 dr d𝜃dϕ.
(45)

Spherical coordinates are especially useful for gravitational and other central-force fields, spherical bodies, and three-dimensional systems with symmetry about a point.

PIC

Figure 3. Cylindrical coordinates organize geometry about an axis, while spherical coordinates organize geometry about a point. The spherical-angle convention must always be stated.

7 Scale factors and orthogonal curvilinear coordinates

Cartesian, polar, cylindrical, and spherical coordinates are all examples of orthogonal coordinate systems: their local basis directions are mutually perpendicular.

A useful general form for the differential distance is

ds2 =  h21dq21 + h22dq22 + h23dq23,
(46)

where the quantities hi are called scale factors.

For Cartesian coordinates,

hx =  1,    hy = 1,     hz = 1.
(47)

For cylindrical coordinates,

h ρ = 1,    hϕ = ρ,     hz = 1.
(48)

For the spherical convention used here,

hr = 1,     h𝜃 = r,    h ϕ = rsin𝜃.
(49)

These factors encode how a coordinate increment translates into an actual physical distance. They later enter velocity, acceleration, gradients, divergence, curl, and volume integration in curvilinear coordinates.

8 Worked example 1: Cartesian to polar

A point in the plane has Cartesian coordinates

(x, y) = (3.00, 4.00 ) mm.
(50)

Find its polar coordinates.

The radial coordinate is

    ∘ --------
r =   x2 + y2,
(51)

so

    √ -------
r =   32 + 42 = 5.00 mm.
(52)

The point lies in the first quadrant, and

tan𝜃 =  4.
        3
(53)

Therefore

𝜃 = 53.13∘.
(54)

Thus the same point may be written

                       ∘
(r,𝜃) = (5.00 mm,  53.13 ).
(55)

9 Worked example 2: Cartesian to cylindrical

A point has Cartesian coordinates

(x,y,z ) = (− 2.00,2.00,3.00) mm.
(56)

Find its cylindrical coordinates.

The distance from the z axis is

    ∘  --------  √ --
ρ =    x2 + y2 =   8 = 2.828  mm.
(57)

Because x < 0 and y > 0, the point is in the second quadrant of the xy plane. The azimuth is therefore

        ∘
ϕ = 135  .
(58)

The vertical coordinate is unchanged:

z = 3.00 mm.
(59)

Hence

(ρ,ϕ,z) = (2.828 mm,  135∘,3.00 mm  ).
(60)

10 Worked example 3: Cartesian to spherical

A point has coordinates

                  --
(x,y, z) = (1,1,√ 2) mm.
(61)

Using the spherical convention of this article, find (r,𝜃,ϕ).

First,

    ∘ ----------------
       2    2   √ --2
r =   1  + 1 +  ( 2)  = 2.00 mm.
(62)

Next,

            √ --
       z-   --2-
cos𝜃 = r =   2 ,
(63)

so

      ∘
𝜃 = 45 .
(64)

Since x = y > 0,

ϕ = 45∘.
(65)

Thus

(r,𝜃,ϕ) = (2.00 mm,  45∘,45∘).
(66)

11 Worked example 4: choose axes that follow an incline

A 2.00 kg block rests on a frictionless plane inclined at

       ∘
α = 30
(67)

above the horizontal. Choose a rotated Cartesian basis with +x′ up the incline and +y′ outward normal to the surface. Resolve the weight into this basis.

The weight magnitude is

mg =  (2.00 )(9.80) = 19.6 mN  .
(68)

The component along the incline is opposite +x′:

Wx ′ = − mg sin α.
(69)

Thus

Wx ′ = − 9.80 mN .
(70)

The normal component points into the plane, opposite +y′:

Wy ′ = − mg cosα = − 16.97 mN  .
(71)

Therefore

W  = − 9.80ex′ − 16.97ey ′ mN .
(72)

The physics has not changed. The coordinate choice simply aligns the components with the natural directions of the constraint.

12 How to choose a coordinate system

A useful coordinate system usually reflects either a geometric constraint or a symmetry.

PIC

Figure 4. Coordinate choice should follow the geometry or symmetry of the mechanics problem.

Typical choices include:

  • Cartesian coordinates for projectiles, blocks, straight tracks, and rectangular geometries;
  • rotated Cartesian coordinates for inclined planes or motion constrained along a straight line;
  • polar coordinates for planar rotation or central motion;
  • cylindrical coordinates for rotation about an axis, disks, cylinders, and helical paths;
  • spherical coordinates for gravitational or other central fields and spherical bodies.

A good choice often reduces the number of nonzero components or turns a constraint into the statement that one coordinate is constant.

13 Coordinate singularities

Curvilinear coordinate systems contain locations where one or more coordinates become ambiguous.

At r = 0 in polar coordinates, the angle 𝜃 is undefined. In cylindrical coordinates, ϕ is undefined on the z axis. In spherical coordinates, the azimuth ϕ is undefined at the poles, and both angles are undefined at the origin.

These are often coordinate singularities, not singularities in the underlying physical space. A particle can pass smoothly through the origin even though polar coordinates temporarily become a poor description there.

14 Coordinates, components, and basis vectors

Three related ideas should not be confused:

  1. coordinates label the location of a point;
  2. components are numerical coefficients of a vector relative to a basis;
  3. basis vectors specify the directions used to construct the vector.

In Cartesian coordinates, the position coordinates and the coefficients in

r = xe  + ye  + ze
      x     y     z
(73)

happen to look very similar. In spherical coordinates the position vector is instead simply

r = re ,
      r
(74)

even though three coordinates (r,𝜃,ϕ) are needed to locate the point. The angles determine the direction of er rather than appearing as separate additive components of r.

15 Preview: from coordinates to kinematics

When coordinates depend on time, the position becomes

r = r(q1(t),q2(t),q3(t)).
(75)

In Cartesian coordinates the basis is fixed, while in polar, cylindrical, and spherical coordinates the local basis changes direction as the particle moves.

This distinction produces the characteristic radial and transverse terms in curvilinear velocity and acceleration. Later articles derive, for example, the polar-coordinate velocity

v = r˙er + r˙𝜃e𝜃
(76)

and the corresponding acceleration. Those are kinematic consequences of differentiating both the coordinates and the moving basis vectors.

At a still more general level, analytical mechanics uses generalized coordinates chosen to match the degrees of freedom and constraints of a system. Cartesian, cylindrical, and spherical coordinates are important examples, but they are not the end of the idea.

16 Common mistakes

  1. Confusing a coordinate system with a reference frame. A coordinate transformation need not represent a different observer.
  2. Using a one-argument arctangent without checking the quadrant. The ratio y∕x alone does not identify the correct angle.
  3. Mixing spherical conventions. Some texts interchange the symbols 𝜃 and ϕ. State the convention before calculating.
  4. Treating curvilinear basis vectors as fixed. er, e𝜃, eρ, and eϕ change direction with position.
  5. Using degrees in differential arc formulas. Relations such as ds = r d𝜃 assume radians.
  6. Mistaking coordinate singularities for physical singularities. An undefined angular coordinate may reflect only a poor labeling at that point.

17 Practice problems

MECH-COORD-001 — Choose the natural coordinates

For each system, identify a natural coordinate system and explain why: (a) a projectile near Earth’s surface, (b) a bead constrained to a circular hoop in a plane, and (c) a particle moving in a central gravitational field.

MECH-COORD-002 — Cartesian to polar

Convert

(x,y) = (− 3.00,3.00) mm
(77)

to polar coordinates.

MECH-COORD-003 — Polar to Cartesian

Convert

                      ∘
(r,𝜃) = (4.00 mm,  210 )
(78)

to Cartesian coordinates.

MECH-COORD-004 — Cylindrical to Cartesian

Convert

(ρ,ϕ,z ) = (5.00 mm, 53.13∘,− 2.00 mm  )
(79)

to Cartesian coordinates.

MECH-COORD-005 — Cartesian to spherical

Using the convention of this article, convert

               √ --
(x,y,z) = (− 1,  3,2) mm
(80)

to spherical coordinates.

MECH-COORD-006 — Arc length in polar coordinates

A particle moves along a circle of radius 2.00 m through an angular increment of 0.300 rad. Find the path length.

MECH-COORD-007 — Differential distance in cylindrical coordinates

At ρ = 3.00 m, a small coordinate change is

d ρ = 0.020  mm,      dϕ = 0.040 mrad,      dz = 0.010 mm.
(81)

Estimate ds.

MECH-COORD-008 — Differential distance in spherical coordinates

At r = 4.00 m and 𝜃 = 60∘, let

dr = 0.010 mm,      d𝜃 = 0.020 mrad,      dϕ =  0.030  mrad.
(82)

Estimate ds.

MECH-COORD-009 — Cylindrical volume element

At ρ = 2.00 m, estimate the volume of a small cylindrical-coordinate cell with

dρ = 0.10 mm,      dϕ = 0.050 mrad,      dz = 0.20 mm.
(83)

MECH-COORD-010 — Gravity in incline coordinates

A 5.00 kg block lies on a plane inclined at 20∘. Choose +x′ up the plane and +y′ outward normal to it. Find the two components of the weight using g = 9.80 m/s2.

18 Short answer key

  1. (a) Cartesian; (b) polar; (c) spherical.
  2. r = 4.243 m, 𝜃 = 135∘.
  3. x = −3.464 m, y = −2.000 m.
  4. x ≈ 3.00 m, y ≈ 4.00 m, z = −2.00 m.
  5. r = 2√ --
  2 = 2.828 m, 𝜃 = 45∘, ϕ = 120∘.
  6. s = 0.600 m.
  7. ds ≈ 0.122 m.
  8. ds ≈ 0.132 m.
  9. dV = 0.00200 m3.
  10. Wx′ = −16.8 N, Wy′ = −46.0 N.

19 Connections to later mechanics

Coordinate systems are used throughout the mechanics learning path. The next foundations article distinguishes coordinate descriptions from physical reference frames. Later kinematics articles derive velocity and acceleration in polar, cylindrical, and spherical coordinates. Central-force mechanics, rotating frames, rigid-body dynamics, and Lagrangian mechanics all rely on the coordinate ideas introduced here.

References

[1]   OpenStax, University Physics Volume 1, archived 2016 revision hosted by BCcampus, CC BY 4.0.

[2]   T. Weideman, UCD Physics 9A: Classical Mechanics, University of California, Davis / LibreTexts, CC BY-SA 4.0.

[3]   Wikibooks contributors, Classical Mechanics, CC BY-SA.

[4]   J. R. Taylor, Classical Mechanics, University Science Books, 2005.


"Coordinate Systems for Mechanics" is owned by bloftin.
(view preamble)
View style:
Other names:  M00-05
Also defines:  coordinate system, Plane polar coordinates, Cartesian coordinates, polar basis, polar coordinates, cylindrical coordinates, spherical coordinates
Keywords:  coordinate system, Cartesian coordinates, polar coordinates, cylindrical coordinates, spherical coordinates, basis vectors, curvilinear coordinates, coordinate transformation, mechanics foundations

Attachments:
GRE Physics Companion: Coordinate Systems for Mechanics (Topic) by bloftin

Cross-references: Lagrangian, magnitude, curl, divergence, gradients, fields, volume, relation, forces, two-dimensional, vector, vectors, position vector, unit vectors, particle, reference frame, kinematics, formulas, acceleration, velocity, systems, Free-body diagrams, mechanics, motion, positions
There are 4 references to this object.

This is version 1 of Coordinate Systems for Mechanics, born on 2026-09-27.
Object id is 1302, canonical name is CoordinateSystemsForMechanics.
Accessed 6 times total.

Classification:
Physics Classification: 02.40.Dr (Euclidean and projective geometries)
 01.40.-d (Education)
Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:

No messages.

Interact
rate | post | correct | update request | add example | add (any)