Hamiltonian
The Hamiltonian is a quantity of great importance in both classical and quantum mechanics.
Classical mechanics
In classical dynamics, the Hamiltonian is defined to be
where are the generalised co-ordinates and are the momenta conjugate to these co-ordinates, and is the Lagrangian. For many problems the Hamiltonian is the same as the energy.
Example
For a mass attached to a spring of spring constant extended by a distance , and so
Failed to parse (MathML with SVG or PNG fallback (recommended for modern browsers and accessibility tools): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle H=\frac{m\dot{x}}{2}+\frac{kx^2}{2} }
which is the familiar expression for the energy of a simple harmonic oscillator.
Quantum mechanics
The Hamiltonian for many quantum mechanical systems can be obtained by writing down a corresponding classical Hamiltonian and promoting all of the co-ordinates and momenta to operators. The quantum mechanical Hamiltonian is of central importance to the Schrodinger equation.