# Difference between revisions of "Hamiltonian"

(added a bit more to the introduction) |
|||

Line 48: | Line 48: | ||

The Hamiltonian for many quantum mechanical systems can be obtained by writing down a corresponding classical Hamiltonian and promoting all of the coordinates and momenta to operators. The non-relativistic Hamiltonian is | The Hamiltonian for many quantum mechanical systems can be obtained by writing down a corresponding classical Hamiltonian and promoting all of the coordinates and momenta to operators. The non-relativistic Hamiltonian is | ||

− | <math>\hat{H} = \frac{\hat{p}^2}{2m} + V</math> | + | <math>\hat{H} = -\frac{\hat{p}^2}{2m} + V</math> |

− | with <math>\hat{p}</math> being the [[momentum (physics)|momentum]] operator, <math>m</math> the [[mass (science)|mass]] and <math>V</math> the potential. | + | with <math>\hat{p}</math> being the [[momentum (physics)|momentum]] operator, <math>m</math> the [[mass (science)|mass]] and <math>V</math> the potential. Substituting in for <math>\hat{p}</math> gives |

+ | |||

+ | <math>\hat{H} = -\frac{\hbar^2}{2m} \nabla^2 + V</math> | ||

The quantum mechanical Hamiltonian is of central importance to the [[Schrodinger equation]]. | The quantum mechanical Hamiltonian is of central importance to the [[Schrodinger equation]]. |

## Revision as of 10:18, 17 December 2016

The **Hamiltonian** is a quantity of great importance in both classical and quantum mechanics. Whereas the Lagrangian treats each generalised coordinate and its rate of change as independent, the Hamiltonian treats the generalised coordinate and its canonically conjugate momentum as independent. Lagrangian mechanics produces second order differential equations, one for each generalised coordinate. Hamiltonian mechanics leads to first order differential equations, which makes it often easier for solving problems computationally.

## Classical mechanics

In classical dynamics, the Hamiltonian is defined to be

where are the generalised coordinates and are the canonically conjugate momenta for these coordinates, and is the Lagrangian. The canonically conjugate momentum can be found as:

For many problems the Hamiltonian is the same as the total energy of the system.

Hamilton's equations are:

### Example

For a mass attached to a spring of spring constant extended by a distance . Therefore the Lagrangian is

The canonically conjugate momentum is

and so

which is the familiar expression for the energy of a simple harmonic oscillator.

The equations of motion are:

- .

Inserting this into the first equation, we get . This is same as if we had used Newton's second law, .

## Quantum mechanics

The Hamiltonian for many quantum mechanical systems can be obtained by writing down a corresponding classical Hamiltonian and promoting all of the coordinates and momenta to operators. The non-relativistic Hamiltonian is

with being the momentum operator, the mass and the potential. Substituting in for gives

The quantum mechanical Hamiltonian is of central importance to the Schrodinger equation.