# Analytical mechanics

In theoretical physics and mathematical physics, analytical mechanics, or theoretical mechanics is a collection of closely related alternative formulations of classical mechanics. It was developed by many scientists and mathematicians during the 18th century and onward, after Newtonian mechanics. Since Newtonian mechanics considers vector quantities of motion, particularly accelerations, momenta, forces, of the constituents of the system, an alternative name for the mechanics governed by Newton's laws and Euler's laws is vectorial mechanics.

By contrast, analytical mechanics uses scalar properties of motion representing the system as a whole—usually its total kinetic energy and potential energy—not Newton's vectorial forces of individual particles.[1] A scalar is a quantity, whereas a vector is represented by quantity and direction. The equations of motion are derived from the scalar quantity by some underlying principle about the scalar's variation.

Analytical mechanics takes advantage of a system's constraints to solve problems. The constraints limit the degrees of freedom the system can have, and can be used to reduce the number of coordinates needed to solve for the motion. The formalism is well suited to arbitrary choices of coordinates, known in the context as generalized coordinates. The kinetic and potential energies of the system are expressed using these generalized coordinates or momenta, and the equations of motion can be readily set up, thus analytical mechanics allows numerous mechanical problems to be solved with greater efficiency than fully vectorial methods. It does not always work for non-conservative forces or dissipative forces like friction, in which case one may revert to Newtonian mechanics or use the Udwadia–Kalaba equation.

Two dominant branches of analytical mechanics are Lagrangian mechanics (using generalized coordinates and corresponding generalized velocities in configuration space) and Hamiltonian mechanics (using coordinates and corresponding momenta in phase space). Both formulations are equivalent by a Legendre transformation on the generalized coordinates, velocities and momenta, therefore both contain the same information for describing the dynamics of a system. There are other formulations such as Hamilton–Jacobi theory, Routhian mechanics, and Appell's equation of motion. All equations of motion for particles and fields, in any formalism, can be derived from the widely applicable result called the principle of least action. One result is Noether's theorem, a statement which connects conservation laws to their associated symmetries.

Analytical mechanics does not introduce new physics and is not more general than Newtonian mechanics. Rather it is a collection of equivalent formalisms which have broad application. In fact the same principles and formalisms can be used in relativistic mechanics and general relativity, and with some modifications, quantum mechanics and quantum field theory.

Analytical mechanics is used widely, from fundamental physics to applied mathematics, particularly chaos theory.

The methods of analytical mechanics apply to discrete particles, each with a finite number of degrees of freedom. They can be modified to describe continuous fields or fluids, which have infinite degrees of freedom. The definitions and equations have a close analogy with those of mechanics.

## Intrinsic motion

Generalized coordinates and constraints

In Newtonian mechanics, one customarily uses all three Cartesian coordinates, or other 3D coordinate system, to refer to a body's position during its motion. In physical systems, however, some structure or other system usually constrains the body's motion from taking certain directions and pathways. So a full set of Cartesian coordinates is often unneeded, as the constraints determine the evolving relations among the coordinates, which relations can be modeled by equations corresponding to the constraints. In the Lagrangian and Hamiltonian formalisms, the constraints are incorporated into the motion's geometry, reducing the number of coordinates to the minimum needed to model the motion. These are known as generalized coordinates, denoted qi (i = 1, 2, 3...).[2]

Difference between curvillinear and generalized coordinates

Generalized coordinates incorporate constraints on the system. There is one generalized coordinate qi for each degree of freedom (for convenience labelled by an index i = 1, 2...N), i.e. each way the system can change its configuration; as curvilinear lengths or angles of rotation. Generalized coordinates are not the same as curvilinear coordinates. The number of curvilinear coordinates equals the dimension of the position space in question (usually 3 for 3d space), while the number of generalized coordinates is not necessarily equal to this dimension; constraints can reduce the number of degrees of freedom (hence the number of generalized coordinates required to define the configuration of the system), following the general rule:[3]

[dimension of position space (usually 3)] × [number of constituents of system ("particles")] − (number of constraints)
= (number of degrees of freedom) = (number of generalized coordinates)

For a system with N degrees of freedom, the generalized coordinates can be collected into an N-tuple:

${\displaystyle \mathbf {q} =(q_{1},q_{2},\cdots q_{N})}$

and the time derivative (here denoted by an overdot) of this tuple give the generalized velocities:

${\displaystyle {\frac {d\mathbf {q} }{dt}}=\left({\frac {dq_{1}}{dt}},{\frac {dq_{2}}{dt}},\cdots {\frac {dq_{N}}{dt}}\right)\equiv \mathbf {\dot {q}} =({\dot {q}}_{1},{\dot {q}}_{2},\cdots {\dot {q}}_{N})}$ .
D'Alembert's principle

The foundation which the subject is built on is D'Alembert's principle.

This principle states that infinitesimal virtual work done by a force across reversible displacements is zero, which is the work done by a force consistent with ideal constraints of the system. The idea of a constraint is useful - since this limits what the system can do, and can provide steps to solving for the motion of the system. The equation for D'Alembert's principle is:

${\displaystyle \delta W={\boldsymbol {\mathcal {Q}}}\cdot \delta \mathbf {q} =0\,,}$

where

${\displaystyle {\boldsymbol {\mathcal {Q}}}=({\mathcal {Q}}_{1},{\mathcal {Q}}_{2},\cdots {\mathcal {Q}}_{N})}$

are the generalized forces (script Q instead of ordinary Q is used here to prevent conflict with canonical transformations below) and q are the generalized coordinates. This leads to the generalized form of Newton's laws in the language of analytical mechanics:

${\displaystyle {\boldsymbol {\mathcal {Q}}}={\frac {\mathrm {d} }{\mathrm {d} t}}\left({\frac {\partial T}{\partial \mathbf {\dot {q}} }}\right)-{\frac {\partial T}{\partial \mathbf {q} }}\,,}$

where T is the total kinetic energy of the system, and the notation

${\displaystyle {\frac {\partial }{\partial \mathbf {q} }}=\left({\frac {\partial }{\partial q_{1}}},{\frac {\partial }{\partial q_{2}}},\cdots {\frac {\partial }{\partial q_{N}}}\right)}$

is a useful shorthand (see matrix calculus for this notation).

If the curvilinear coordinate system is defined by the standard position vector r, and if the position vector can be written in terms of the generalized coordinates q and time t in the form:

${\displaystyle \mathbf {r} =\mathbf {r} (\mathbf {q} (t),t)}$

and this relation holds for all times t, then q are called Holonomic constraints.[4] Vector r is explicitly dependent on t in cases when the constraints vary with time, not just because of q(t). For time-independent situations, the constraints are also called scleronomic, for time-dependent cases they are called rheonomic.[3]

## Lagrangian mechanics

The introduction of generalized coordinates and the fundamental Lagrangian function:

${\displaystyle L(\mathbf {q} ,\mathbf {\dot {q}} ,t)=T(\mathbf {q} ,\mathbf {\dot {q}} ,t)-V(\mathbf {q} ,\mathbf {\dot {q}} ,t)}$

where T is the total kinetic energy and V is the total potential energy of the entire system, then either following the calculus of variations or using the above formula - lead to the Euler–Lagrange equations;

${\displaystyle {\frac {d}{dt}}\left({\frac {\partial L}{\partial \mathbf {\dot {q}} }}\right)={\frac {\partial L}{\partial \mathbf {q} }}\,,}$

which are a set of N second-order ordinary differential equations, one for each qi(t).

This formulation identifies the actual path followed by the motion as a selection of the path over which the time integral of kinetic energy is least, assuming the total energy to be fixed, and imposing no conditions on the time of transit.

The Lagrangian formulation uses the configuration space of the system, the set of all possible generalized coordinates:

${\displaystyle {\mathcal {C}}=\{\mathbf {q} \in \mathbb {R} ^{N}\}\,,}$

where ${\displaystyle \mathbb {R} ^{N}}$  is N-dimensional real space (see also set-builder notation). The particular solution to the Euler–Lagrange equations is called a (configuration) path or trajectory, i.e. one particular q(t) subject to the required initial conditions. The general solutions form a set of possible configurations as functions of time:

${\displaystyle \{\mathbf {q} (t)\in \mathbb {R} ^{N}\,:\,t\geq 0,t\in \mathbb {R} \}\subseteq {\mathcal {C}}\,,}$

The configuration space can be defined more generally, and indeed more deeply, in terms of topological manifolds and the tangent bundle.

## Hamiltonian mechanics

The Legendre transformation of the Lagrangian replaces the generalized coordinates and velocities (q, ) with (q, p); the generalized coordinates and the generalized momenta conjugate to the generalized coordinates:

${\displaystyle \mathbf {p} ={\frac {\partial L}{\partial \mathbf {\dot {q}} }}=\left({\frac {\partial L}{\partial {\dot {q}}_{1}}},{\frac {\partial L}{\partial {\dot {q}}_{2}}},\cdots {\frac {\partial L}{\partial {\dot {q}}_{N}}}\right)=(p_{1},p_{2}\cdots p_{N})\,,}$

and introduces the Hamiltonian (which is in terms of generalized coordinates and momenta):

${\displaystyle H(\mathbf {q} ,\mathbf {p} ,t)=\mathbf {p} \cdot \mathbf {\dot {q}} -L(\mathbf {q} ,\mathbf {\dot {q}} ,t)}$

where denotes the dot product, also leading to Hamilton's equations:

${\displaystyle \mathbf {\dot {p}} =-{\frac {\partial H}{\partial \mathbf {q} }}\,,\quad \mathbf {\dot {q}} =+{\frac {\partial H}{\partial \mathbf {p} }}\,,}$

which are now a set of 2N first-order ordinary differential equations, one for each qi(t) and pi(t). Another result from the Legendre transformation relates the time derivatives of the Lagrangian and Hamiltonian:

${\displaystyle {\frac {dH}{dt}}=-{\frac {\partial L}{\partial t}}\,,}$

which is often considered one of Hamilton's equations of motion additionally to the others. The generalized momenta can be written in terms of the generalized forces in the same way as Newton's second law:

${\displaystyle \mathbf {\dot {p}} ={\boldsymbol {\mathcal {Q}}}\,.}$

Generalized momentum space

Analogous to the configuration space, the set of all momenta is the momentum space (technically in this context; generalized momentum space):

${\displaystyle {\mathcal {M}}=\{\mathbf {p} \in \mathbb {R} ^{N}\}\,.}$

"Momentum space" also refers to "k-space"; the set of all wave vectors (given by De Broglie relations) as used in quantum mechanics and theory of waves: this is not referred to in this context.

The set of all positions and momenta form the phase space;

${\displaystyle {\mathcal {P}}={\mathcal {C}}\times {\mathcal {M}}=\{(\mathbf {q} ,\mathbf {p} )\in \mathbb {R} ^{2N}\}\,,}$

that is, the Cartesian product × of the configuration space and generalized momentum space.

A particular solution to Hamilton's equations is called a phase path, a particular curve (q(t),p(t)) subject to the required initial conditions. The set of all phase paths, the general solution to the differential equations, is the phase portrait:

${\displaystyle \{(\mathbf {q} (t),\mathbf {p} (t))\in \mathbb {R} ^{2N}\,:\,t\geq 0,t\in \mathbb {R} \}\subseteq {\mathcal {P}}\,,}$
The Poisson bracket

All dynamical variables can be derived from position r, momentum p, and time t, and written as a function of these: A = A(q, p, t). If A(q, p, t) and B(q, p, t) are two scalar valued dynamical variables, the Poisson bracket is defined by the generalized coordinates and momenta:

{\displaystyle {\begin{aligned}\{A,B\}\equiv \{A,B\}_{\mathbf {q} ,\mathbf {p} }&={\frac {\partial A}{\partial \mathbf {q} }}\cdot {\frac {\partial B}{\partial \mathbf {p} }}-{\frac {\partial A}{\partial \mathbf {p} }}\cdot {\frac {\partial B}{\partial \mathbf {q} }}\\&\equiv \sum _{k}{\frac {\partial A}{\partial q_{k}}}{\frac {\partial B}{\partial p_{k}}}-{\frac {\partial A}{\partial p_{k}}}{\frac {\partial B}{\partial q_{k}}}\,,\end{aligned}}}

Calculating the total derivative of one of these, say A, and substituting Hamilton's equations into the result leads to the time evolution of A:

${\displaystyle {\frac {dA}{dt}}=\{A,H\}+{\frac {\partial A}{\partial t}}\,.}$

This equation in A is closely related to the equation of motion in the Heisenberg picture of quantum mechanics, in which classical dynamical variables become quantum operators (indicated by hats (^)), and the Poisson bracket is replaced by the commutator of operators via Dirac's canonical quantization:

${\displaystyle \{A,B\}\rightarrow {\frac {1}{i\hbar }}[{\hat {A}},{\hat {B}}]\,.}$

## Properties of the Lagrangian and Hamiltonian functions

Following are overlapping properties between the Lagrangian and Hamiltonian functions.[3][5]

• All the individual generalized coordinates qi(t), velocities i(t) and momenta pi(t) for every degree of freedom are mutually independent. Explicit time-dependence of a function means the function actually includes time t as a variable in addition to the q(t), p(t), not simply as a parameter through q(t) and p(t), which would mean explicit time-independence.
• The Lagrangian is invariant under addition of the total time derivative of any function of q and t, that is:
${\displaystyle L'=L+{\frac {d}{dt}}F(\mathbf {q} ,t)\,,}$
so each Lagrangian L and L' describe exactly the same motion. In other words, the Lagrangian of a system is not unique.
• Analogously, the Hamiltonian is invariant under addition of the partial time derivative of any function of q, p and t, that is:
${\displaystyle K=H+{\frac {\partial }{\partial t}}G(\mathbf {q} ,\mathbf {p} ,t)\,,}$
(K is a frequently used letter in this case). This property is used in canonical transformations (see below).
• If the Lagrangian is independent of some generalized coordinates, then the generalized momenta conjugate to those coordinates are constants of the motion, i.e. are conserved, this immediately follows from Lagrange's equations:
${\displaystyle {\frac {\partial L}{\partial q_{j}}}=0\,\rightarrow \,{\frac {dp_{j}}{dt}}={\frac {d}{dt}}{\frac {\partial L}{\partial {\dot {q}}_{j}}}=0}$
Such coordinates are "cyclic" or "ignorable". It can be shown that the Hamiltonian is also cyclic in exactly the same generalized coordinates.
• If the Lagrangian is time-independent the Hamiltonian is also time-independent (i.e. both are constant in time).
• If the kinetic energy is a homogeneous function of degree 2 of the generalized velocities, and the Lagrangian is explicitly time-independent, then:
${\displaystyle T((\lambda {\dot {q}}_{i})^{2},(\lambda {\dot {q}}_{j}\lambda {\dot {q}}_{k}),\mathbf {q} )=\lambda ^{2}T(({\dot {q}}_{i})^{2},{\dot {q}}_{j}{\dot {q}}_{k},\mathbf {q} )\,,\quad L(\mathbf {q} ,\mathbf {\dot {q}} )\,,}$
where λ is a constant, then the Hamiltonian will be the total conserved energy, equal to the total kinetic and potential energies of the system:
${\displaystyle H=T+V=E\,.}$
This is the basis for the Schrödinger equation, inserting quantum operators directly obtains it.

## Principle of least action

As the system evolves, q traces a path through configuration space (only some are shown). The path taken by the system (red) has a stationary action (δS = 0) under small changes in the configuration of the system (δq).[6]

Action is another quantity in analytical mechanics defined as a functional of the Lagrangian:

${\displaystyle {\mathcal {S}}=\int _{t_{1}}^{t_{2}}L(\mathbf {q} ,\mathbf {\dot {q}} ,t)dt\,.}$

A general way to find the equations of motion from the action is the principle of least action:[7]

${\displaystyle \delta {\mathcal {S}}=\delta \int _{t_{1}}^{t_{2}}L(\mathbf {q} ,\mathbf {\dot {q}} ,t)dt=0\,,}$

where the departure t1 and arrival t2 times are fixed.[1] The term "path" or "trajectory" refers to the time evolution of the system as a path through configuration space ${\displaystyle {\mathcal {C}}}$ , in other words q(t) tracing out a path in ${\displaystyle {\mathcal {C}}}$ . The path for which action is least is the path taken by the system.

From this principle, all equations of motion in classical mechanics can be derived. This approach can be extended to fields rather than a system of particles (see below), and underlies the path integral formulation of quantum mechanics,[8][9] and is used for calculating geodesic motion in general relativity.[10]

## Hamiltonian-Jacobi mechanics

Canonical transformations

The invariance of the Hamiltonian (under addition of the partial time derivative of an arbitrary function of p, q, and t) allows the Hamiltonian in one set of coordinates q and momenta p to be transformed into a new set Q = Q(q, p, t) and P = P(q, p, t), in four possible ways:

{\displaystyle {\begin{aligned}&K(\mathbf {Q} ,\mathbf {P} ,t)=H(\mathbf {q} ,\mathbf {p} ,t)+{\frac {\partial }{\partial t}}G_{1}(\mathbf {q} ,\mathbf {Q} ,t)\\&K(\mathbf {Q} ,\mathbf {P} ,t)=H(\mathbf {q} ,\mathbf {p} ,t)+{\frac {\partial }{\partial t}}G_{2}(\mathbf {q} ,\mathbf {P} ,t)\\&K(\mathbf {Q} ,\mathbf {P} ,t)=H(\mathbf {q} ,\mathbf {p} ,t)+{\frac {\partial }{\partial t}}G_{3}(\mathbf {p} ,\mathbf {Q} ,t)\\&K(\mathbf {Q} ,\mathbf {P} ,t)=H(\mathbf {q} ,\mathbf {p} ,t)+{\frac {\partial }{\partial t}}G_{4}(\mathbf {p} ,\mathbf {P} ,t)\\\end{aligned}}}

With the restriction on P and Q such that the transformed Hamiltonian system is:

${\displaystyle \mathbf {\dot {P}} =-{\frac {\partial K}{\partial \mathbf {Q} }}\,,\quad \mathbf {\dot {Q}} =+{\frac {\partial K}{\partial \mathbf {P} }}\,,}$

the above transformations are called canonical transformations, each function Gn is called a generating function of the "nth kind" or "type-n". The transformation of coordinates and momenta can allow simplification for solving Hamilton's equations for a given problem.

The choice of Q and P is completely arbitrary, but not every choice leads to a canonical transformation. One simple criterion for a transformation qQ and pP to be canonical is the Poisson bracket be unity,

${\displaystyle \{Q_{i},P_{i}\}=1}$

for all i = 1, 2,...N. If this does not hold then the transformation is not canonical.[3]

The Hamilton–Jacobi equation

By setting the canonically transformed Hamiltonian K = 0, and the type-2 generating function equal to Hamilton's principal function (also the action ${\displaystyle {\mathcal {S}}}$ ) plus an arbitrary constant C:

${\displaystyle G_{2}(\mathbf {q} ,t)={\mathcal {S}}(\mathbf {q} ,t)+C\,,}$

the generalized momenta become:

${\displaystyle \mathbf {p} ={\frac {\partial {\mathcal {S}}}{\partial \mathbf {q} }}}$

and P is constant, then the Hamiltonian-Jacobi equation (HJE) can be derived from the type-2 canonical transformation:

${\displaystyle H=-{\frac {\partial {\mathcal {S}}}{\partial t}}}$

where H is the Hamiltonian as before:

${\displaystyle H=H(\mathbf {q} ,\mathbf {p} ,t)=H\left(\mathbf {q} ,{\frac {\partial {\mathcal {S}}}{\partial \mathbf {q} }},t\right)}$

Another related function is Hamilton's characteristic function

${\displaystyle W(\mathbf {q} )={\mathcal {S}}(\mathbf {q} ,t)+Et}$

used to solve the HJE by additive separation of variables for a time-independent Hamiltonian H.

The study of the solutions of the Hamilton–Jacobi equations leads naturally to the study of symplectic manifolds and symplectic topology.[11][12] In this formulation, the solutions of the Hamilton–Jacobi equations are the integral curves of Hamiltonian vector fields.

## Routhian mechanics

Routhian mechanics is a hybrid formulation of Lagrangian and Hamiltonian mechanics, not often used but especially useful for removing cyclic coordinates. If the Lagrangian of a system has s cyclic coordinates q = q1, q2, ... qs with conjugate momenta p = p1, p2, ... ps, with the rest of the coordinates non-cyclic and denoted ζ = ζ1, ζ1, ..., ζN − s, they can be removed by introducing the Routhian:

${\displaystyle R=\mathbf {p} \cdot \mathbf {\dot {q}} -L(\mathbf {q} ,\mathbf {p} ,{\boldsymbol {\zeta }},{\dot {\boldsymbol {\zeta }}})\,,}$

which leads to a set of 2s Hamiltonian equations for the cyclic coordinates q,

${\displaystyle {\dot {\mathbf {q} }}=+{\frac {\partial R}{\partial \mathbf {p} }}\,,\quad {\dot {\mathbf {p} }}=-{\frac {\partial R}{\partial \mathbf {q} }}\,,}$

and Ns Lagrangian equations in the non cyclic coordinates ζ.

${\displaystyle {\frac {d}{dt}}{\frac {\partial R}{\partial {\dot {\boldsymbol {\zeta }}}}}={\frac {\partial R}{\partial {\boldsymbol {\zeta }}}}\,.}$

Set up in this way, although the Routhian has the form of the Hamiltonian, it can be thought of a Lagrangian with Ns degrees of freedom.

The coordinates q do not have to be cyclic, the partition between which coordinates enter the Hamiltonian equations and those which enter the Lagrangian equations is arbitrary. It is simply convenient to let the Hamiltonian equations remove the cyclic coordinates, leaving the non cyclic coordinates to the Lagrangian equations of motion.

## Appellian mechanics

Appell's equation of motion involve generalized accelerations, the second time derivatives of the generalized coordinates:

${\displaystyle \alpha _{r}={\ddot {q}}_{r}={\frac {d^{2}q_{r}}{dt^{2}}}\,,}$

as well as generalized forces mentioned above in D'Alembert's principle. The equations are

${\displaystyle {\mathcal {Q}}_{r}={\frac {\partial S}{\partial \alpha _{r}}}\,,\quad S={\frac {1}{2}}\sum _{k=1}^{N}m_{k}\mathbf {a} _{k}^{2}\,,}$

where

${\displaystyle \mathbf {a} _{k}={\ddot {\mathbf {r} }}_{k}={\frac {d^{2}\mathbf {r} _{k}}{dt^{2}}}}$

is the acceleration of the k particle, the second time derivative of its position vector. Each acceleration ak is expressed in terms of the generalized accelerations αr, likewise each rk are expressed in terms the generalized coordinates qr.

## Extensions to classical field theory

Lagrangian field theory

Generalized coordinates apply to discrete particles. For N scalar fields φi(r, t) where i = 1, 2, ... N, the Lagrangian density is a function of these fields and their space and time derivatives, and possibly the space and time coordinates themselves:

${\displaystyle {\mathcal {L}}={\mathcal {L}}(\phi _{1},\phi _{2},\ldots \nabla \phi _{1},\nabla \phi _{2},\ldots \partial \phi _{1}/\partial t,\partial \phi _{2}/\partial t,\ldots \mathbf {r} ,t)\,.}$

and the Euler–Lagrange equations have an analogue for fields:

${\displaystyle \partial _{\mu }\left({\frac {\partial {\mathcal {L}}}{\partial (\partial _{\mu }\phi _{i})}}\right)={\frac {\partial {\mathcal {L}}}{\partial \phi _{i}}}\,,}$

where μ denotes the 4-gradient and the summation convention has been used. For N scalar fields, these Lagranian field equations are a set of N second order partial differential equations in the fields, which in general will be coupled and nonlinear.

This scalar field formulation can be extended to vector fields, tensor fields, and spinor fields.

The Lagrangian is the volume integral of the Lagrangian density:[9][13]

${\displaystyle L=\int _{\mathcal {V}}{\mathcal {L}}\,dV\,.}$

Originally developed for classical fields, the above formulation is applicable to all physical fields in classical, quantum, and relativistic situations: such as Newtonian gravity, classical electromagnetism, general relativity, and quantum field theory. It is a question of determining the correct Lagrangian density to generate the correct field equation.

Hamiltonian field theory

The corresponding "momentum" field densities conjugate to the N scalar fields φi(r, t) are:[9]

${\displaystyle \pi _{i}(\mathbf {r} ,t)={\frac {\partial {\mathcal {L}}}{\partial {\dot {\phi }}_{i}}}\,\quad {\dot {\phi }}_{i}\equiv {\frac {\partial \phi _{i}}{\partial t}}.}$

where in this context the overdot denotes a partial time derivative, not a total time derivative. The Hamiltonian density ${\displaystyle {\mathcal {H}}}$  is defined by analogy with mechanics:

${\displaystyle {\mathcal {H}}(\phi _{1},\phi _{2},\ldots ,\pi _{1},\pi _{2},\ldots ,\mathbf {r} ,t)=\sum _{i=1}^{N}{\dot {\phi }}_{i}(\mathbf {r} ,t)\pi _{i}(\mathbf {r} ,t)-{\mathcal {L}}\,.}$

The equations of motion are:

${\displaystyle {\dot {\phi }}_{i}=+{\frac {\delta {\mathcal {H}}}{\delta \pi _{i}}}\,,\quad {\dot {\pi }}_{i}=-{\frac {\delta {\mathcal {H}}}{\delta \phi _{i}}}\,,}$

where the variational derivative

${\displaystyle {\frac {\delta }{\delta \phi _{i}}}={\frac {\partial }{\partial \phi _{i}}}-\partial _{\mu }{\frac {\partial }{\partial (\partial _{\mu }\phi _{i})}}}$

must be used instead of merely partial derivatives. For N fields, these Hamiltonian field equations are a set of 2N first order partial differential equations, which in general will be coupled and nonlinear.

Again, the volume integral of the Hamiltonian density is the Hamiltonian

${\displaystyle H=\int _{\mathcal {V}}{\mathcal {H}}\,dV\,.}$

## Symmetry, conservation, and Noether's theorem

Symmetry transformations in classical space and time

Each transformation can be described by an operator (i.e. function acting on the position r or momentum p variables to change them). The following are the cases when the operator does not change r or p, i.e. symmetries.[8]

Transformation Operator Position Momentum
Translational symmetry ${\displaystyle X(\mathbf {a} )}$  ${\displaystyle \mathbf {r} \rightarrow \mathbf {r} +\mathbf {a} }$  ${\displaystyle \mathbf {p} \rightarrow \mathbf {p} }$
Time translation ${\displaystyle U(t_{0})}$  ${\displaystyle \mathbf {r} (t)\rightarrow \mathbf {r} (t+t_{0})}$  ${\displaystyle \mathbf {p} (t)\rightarrow \mathbf {p} (t+t_{0})}$
Rotational invariance ${\displaystyle R(\mathbf {\hat {n}} ,\theta )}$  ${\displaystyle \mathbf {r} \rightarrow R(\mathbf {\hat {n}} ,\theta )\mathbf {r} }$  ${\displaystyle \mathbf {p} \rightarrow R(\mathbf {\hat {n}} ,\theta )\mathbf {p} }$
Galilean transformations ${\displaystyle G(\mathbf {v} )}$  ${\displaystyle \mathbf {r} \rightarrow \mathbf {r} +\mathbf {v} t}$  ${\displaystyle \mathbf {p} \rightarrow \mathbf {p} +m\mathbf {v} }$
Parity ${\displaystyle P}$  ${\displaystyle \mathbf {r} \rightarrow -\mathbf {r} }$  ${\displaystyle \mathbf {p} \rightarrow -\mathbf {p} }$
T-symmetry ${\displaystyle T}$  ${\displaystyle \mathbf {r} \rightarrow \mathbf {r} (-t)}$  ${\displaystyle \mathbf {p} \rightarrow -\mathbf {p} (-t)}$

where R(, θ) is the rotation matrix about an axis defined by the unit vector and angle θ.

Noether's theorem

Noether's theorem states that a continuous symmetry transformation of the action corresponds to a conservation law, i.e. the action (and hence the Lagrangian) doesn't change under a transformation parameterized by a parameter s:

${\displaystyle L[q(s,t),{\dot {q}}(s,t)]=L[q(t),{\dot {q}}(t)]}$

the Lagrangian describes the same motion independent of s, which can be length, angle of rotation, or time. The corresponding momenta to q will be conserved.[3]

## References and notes

1. ^ a b Lanczos, Cornelius (1970). The variational principles of mechanics (4th ed.). New York: Dover Publications Inc. Introduction, pp. xxi–xxix. ISBN 0-486-65067-7.
2. ^ The Road to Reality, Roger Penrose, Vintage books, 2007, ISBN 0-679-77631-1
3. Analytical Mechanics, L.N. Hand, J.D. Finch, Cambridge University Press, 2008, ISBN 978-0-521-57572-0
4. ^ McGraw Hill Encyclopaedia of Physics (2nd Edition), C.B. Parker, 1994, ISBN 0-07-051400-3
5. ^ Classical Mechanics, T.W.B. Kibble, European Physics Series, McGraw-Hill (UK), 1973, ISBN 0-07-084018-0
6. ^ Penrose, R. (2007). The Road to Reality. Vintage books. p. 474. ISBN 0-679-77631-1.
7. ^ Encyclopaedia of Physics (2nd Edition), R.G. Lerner, G.L. Trigg, VHC publishers, 1991, ISBN (Verlagsgesellschaft) 3-527-26954-1, ISBN (VHC Inc.) 0-89573-752-3
8. ^ a b Quantum Mechanics, E. Abers, Pearson Ed., Addison Wesley, Prentice Hall Inc, 2004, ISBN 978-0-13-146100-0
9. ^ a b c Quantum Field Theory, D. McMahon, Mc Graw Hill (US), 2008, ISBN 978-0-07-154382-8
10. ^ Relativity, Gravitation, and Cosmology, R.J.A. Lambourne, Open University, Cambridge University Press, 2010, ISBN 978-0-521-13138-4
11. ^ Arnolʹd, VI (1989). Mathematical methods of classical mechanics (2nd ed.). Springer. Chapter 8. ISBN 978-0-387-96890-2.
12. ^ Doran, C; Lasenby, A (2003). Geometric algebra for physicists. Cambridge University Press. p. §12.3, pp. 432–439. ISBN 978-0-521-71595-9.
13. ^ Gravitation, J.A. Wheeler, C. Misner, K.S. Thorne, W.H. Freeman & Co, 1973, ISBN 0-7167-0344-0