Imagine laying out a very long row of identical masses on a frictionless table and connecting every neighboring pair with an identical spring. Pull one mass sideways and release it. That mass tugs on the next, the next tugs on the one after that, and a disturbance travels down the chain. Nothing mysterious has been added: this is ordinary mechanics, repeated many times.
Let the displacement of mass number from equilibrium be . If every mass is , every spring has spring constant , and neighboring equilibrium positions are separated by a distance , then the Lagrangian is
The first term is the kinetic energy of mass . The second is the elastic energy stored because neighboring masses have different displacements. Each is one degree of freedom, so a chain of masses is a mechanical system with degrees of freedom.
Now make the construction finer. Replace each mass by a smaller one, shorten every spring, and reduce the spacing , while keeping the total length fixed. As and , there is no longer a useful answer to "which mass?" Instead, we ask "at which position?" The discrete label is replaced by the continuous coordinate
and the displacement becomes
Neighboring displacements differ by
while a sum over masses becomes an integral over position:
This is not a formal trick performed after the physics is finished. It is a physical limiting process: more masses, smaller spacing, the same total object. A field is what mechanics becomes when the system has a degree of freedom at every point in space.
What is a field?
A field is a number, or a set of numbers, assigned to every point of space at every time. For a one-dimensional vibrating string, might be the vertical displacement of the string at position and time . In three dimensions, a field could depend on instead.
You have already met fields informally. A weather map assigns a temperature to every location. The surface of water assigns a height to every horizontal position. But classical field theory asks a more demanding question: if the entire field is a dynamical system, what law determines how its value at every point changes with time?
In ordinary Lagrangian mechanics, a trajectory is the object whose motion we solve for. In field theory, that object is replaced by a function . The field itself is the generalized coordinate, except that there is one coordinate value for every .
The Lagrangian density
For finitely many coordinates, the Lagrangian is a function such as . For a field spread through space, different regions contribute to the total kinetic and potential energy. The natural local object is therefore a Lagrangian density , defined so that
The density may depend on the field, its time derivative, its spatial derivative, and possibly position and time explicitly:
The action is the time integral of the Lagrangian, so for a field it becomes an integral over both space and time:
Why work with a density? Because the Lagrangian of the whole field is assembled by adding the contribution from every small interval of space. If an interval contributes , then is the local quantity from which the global dynamics is built.
The Euler-Lagrange equation for a field
For one coordinate , stationarity of the action gives the familiar Euler-Lagrange equation
A field can vary in time and from one spatial point to the next. The variational calculation must therefore account for derivatives in all of those directions. The result is
The index labels spacetime directions. In one space dimension, it runs over time and , so the compact equation means
In three space dimensions, runs over , and there is one derivative term for each direction. The generalization from particle mechanics is now visible: where the particle equation had only the time-derivative term involving , the field equation has a time-derivative term involving and spatial-derivative terms involving , , and .
The spatial term is precisely what lets neighboring points influence one another. Without it, every point would evolve as an isolated mechanical system, unaware that a disturbance had occurred next door.
Worked example
A free scalar field in one spatial dimension has Lagrangian density . Derive its equation of motion and verify a traveling cosine solution. (click to reveal the solution)
Setting up: the field Euler-Lagrange equation in one space dimension is
For
we evaluate its three required partial derivatives one at a time.
Derivative with respect to the time derivative of the field:
Taking its time derivative gives
Derivative with respect to the spatial derivative of the field:
Taking its spatial derivative gives
where is constant.
Derivative with respect to the field itself: the density contains derivatives of , but no undifferentiated . Therefore
Substituting all three results into the Euler-Lagrange equation,
Hence
which is the wave equation. The constant has the dimensions of speed and is the propagation speed of disturbances in the field.
Checking a traveling cosine: suppose
Its first time derivative is
and its second time derivative is
Its first spatial derivative is
and its second spatial derivative is
Substitution into the wave equation gives
For a nonzero wave, the common factor cancels, leaving
Taking the positive-frequency branch,
This is the same move used in simple harmonic motion: guess a cosine, differentiate it twice, and check whether the equation returns the same cosine multiplied by the required constant. For a mass on a spring, the cosine varies only with time. Here it also carries a spatial pattern, and the equation ties that pattern's wavenumber to its oscillation frequency . The familiar oscillator has not disappeared. It has acquired infinitely many places at which to move.
Where this leads
A general field configuration can be decomposed into independent oscillation modes, much as a complicated musical tone can be decomposed into pure frequencies. For the free field, each mode has its own amplitude and oscillates with its own frequency. Mathematically, the field is therefore an infinite collection of independent harmonic oscillators, one for each allowed mode.
The reader who knows the quantum harmonic oscillator has already seen what quantum mechanics does to one such oscillator: its energy comes in an evenly spaced ladder, and creation and annihilation operators move the system up and down that ladder. Quantizing a field means applying that construction to every mode at once.
One rung up the ladder of a particular field mode is what physics calls a particle. The particle is not an extra object placed into the field; it is a quantum of the field's oscillation. That is the central move of quantum field theory, and classical field theory is the half developed here: the mechanics of the continuous system before its infinitely many oscillators are quantized.