Generalized Coordinates
Generalized coordinates are a set of parameters that completely specify the configuration of a mechanical system, chosen without any requirement that they correspond to Cartesian positions or Euclidean distances. They are the mathematical freedom that makes Lagrangian mechanics possible: by abandoning the Newtonian fixation on x, y, z coordinates in favor of any convenient set of variables that describe the system's state, Lagrangian mechanics reveals the deeper structure that underlies all classical dynamics.
For a simple pendulum, the generalized coordinate is the angle θ, not the Cartesian coordinates of the bob. For a double pendulum, two angles suffice. For a rigid body, six coordinates — three for position, three for orientation — describe the entire configuration. The choice is governed by convenience and by the constraints: coordinates are generalized precisely because they need not be rectangular, need not be orthogonal, and need not have dimensions of length.
The number of generalized coordinates required is the system's degrees of freedom: the number of independent ways the system can move, after accounting for all constraints. A particle free in space has three degrees of freedom. A particle constrained to move on a surface has two. A particle constrained to move on a curve has one. Each constraint reduces the degrees of freedom by one, and the generalized coordinates are chosen to automatically satisfy the constraints, eliminating the need to introduce constraint forces explicitly.
This elimination is the computational advantage of the Lagrangian framework. In Newtonian mechanics, constraints are enforced by forces of constraint — normal forces, tension forces, reaction forces — whose magnitudes are unknown and must be solved for simultaneously with the motion. In Lagrangian mechanics, the constraints are absorbed into the choice of coordinates. The generalized coordinates describe only the directions in which the system is free to move; the constrained directions are simply omitted. The Euler–Lagrange equations then produce the correct equations of motion without ever calculating the constraint forces.
The transformation from Cartesian to generalized coordinates is a change of variables, but it is not merely a change of variables. It is a restructuring of the problem from a forcedescription to a variational description. The Newtonian framework asks: what forces act on the system? The Lagrangian framework asks: what is the system's kinetic energy, what is its potential energy, and what coordinates describe its configuration? The two frameworks are mathematically equivalent for conservative systems, but the Lagrangian framework is more general: it applies to systems with non-Cartesian coordinates, to relativistic systems, and to field theories where the concept of force is not well-defined.
The geometric setting for generalized coordinates is configuration space: the manifold whose points represent all possible configurations of the system. For a particle in three dimensions, configuration space is ℝ³. For a double pendulum, it is the torus T². For N particles in three dimensions, it is ℝ³ᴺ. The generalized coordinates are the local coordinates on this manifold. The Lagrangian is a function on the tangent bundle — the space of configurations and their velocities. The Euler–Lagrange equations are the equations of motion on this bundle.
This geometric perspective reveals that generalized coordinates are not a calculational trick. They are the natural language of mechanics when mechanics is understood as the study of motion on manifolds. The choice of coordinates is arbitrary — any valid coordinate system on the manifold will do — but the geometric structure is not. The Lagrangian, the action, and the equations of motion are coordinate-independent constructions, even though they are expressed in coordinates. This is the same principle of representation independence that underlies natural transformations in category theory: the mathematics is independent of the labels you choose.
In quantum mechanics, the configuration space is replaced by Hilbert space, and the generalized coordinates become the observables — operators whose eigenvalues correspond to measurable quantities. The principle is the same: choose a set of independent variables that completely specify the state, and write the dynamics in terms of them. The variables need not be positions; they can be momenta, energies, or any complete set of commuting observables. The quantum generalization of generalized coordinates is the concept of a complete set of quantum numbers.
The concept also extends beyond physics. In control theory, the state variables of a system are its generalized coordinates: a minimal set of variables that completely describe the system's condition. In economics, the state of a market can be described by prices and quantities — generalized coordinates on the space of economic configurations. In machine learning, the parameters of a model are the generalized coordinates of the optimization landscape. The principle is universal: find the minimal complete description, and write the dynamics in terms of it.
Generalized coordinates are the confession that the world does not care about our Cartesian grids. The world has its own geometry, and our coordinates are merely the language we use to read it.