# 8.1: Introduction


The three major formulations of classical mechanics are

1. Newtonian mechanics which is the most intuitive vector formulation used in classical mechanics.
2. Lagrangian mechanics is a powerful algebraic formulation of classical mechanics derived using either d’Alembert’s Principle, or Hamilton’s Principle. The latter states ”A dynamical system follows a path that minimizes the time integral of the difference between the kinetic and potential energies”.
3. Hamiltonian mechanics has a beautiful superstructure that, like Lagrangian mechanics, is built upon variational calculus, Hamilton’s principle, and Lagrangian mechanics.

Hamiltonian mechanics is introduced at this juncture since it is closely interwoven with Lagrange mechanics. Hamiltonian mechanics plays a fundamental role in modern physics, but the discussion of the important role it plays in modern physics will be deferred until chapters $$15$$ and $$18$$ where applications to modern physics are addressed.

The following important concepts were introduced in chapter $$7$$:

The generalized momentum was defined to be given by

$p_{i}\equiv \frac{\partial L(\mathbf{q,\dot{q},}t\mathbf{)}}{\partial \dot{q} _{i}}$

Note that, as discussed in chapter $$7.2$$, if the potential is velocity dependent, such as the Lorentz force, then the generalized momentum includes terms in addition to the usual mechanical momentum.

Jacobi’s generalized energy function $$h(\mathbf{q,\dot{q}},t)$$ was introduced where $h(\mathbf{q,\dot{q}},t)=\sum_{i}^{n}\left( \dot{q}_{i}\frac{\partial L}{ \partial \dot{q}_{i}}\right) -L(\mathbf{q,\dot{q}},t) \label{8.2}$

The Hamiltonian function was defined to be given by expressing the generalized energy function, Equation \ref{8.2}, in terms of the generalized momentum. That is, the Hamiltonian $$H(\mathbf{q,p},t)$$ is expressed as

$H\left( \mathbf{q},\mathbf{p},t\right) =\sum_{i}^{n}p_{i}\dot{q}_{i}-L( \mathbf{q},\mathbf{\dot{q}},t) \label{8.3}$

The symbols $$\mathbf{q}$$, $$\mathbf{p}$$, designate vectors of $$n$$ generalized coordinates, $$\mathbf{q}\equiv (q_{1},q_{2},..q_{n}),$$ $$\mathbf{p}\equiv (p_{1},p_{2},..p_{n})$$. Equation \ref{8.3} can be written compactly in a symmetric form using the scalar product $$\mathbf{p\cdot \dot{q}=} \sum_{i}p_{i}\dot{q}_{i}$$. $H\left( \mathbf{q},\mathbf{p},t\right) +L(\mathbf{q},\mathbf{\dot{q}},t)= \mathbf{p\cdot \dot{q}}$

A crucial feature of Hamiltonian mechanics is that the Hamiltonian is expressed as $$H\left( \mathbf{q},\mathbf{p},t\right) ,$$ that is, it is a function of the $$n$$ generalized coordinates and their conjugate momenta, which are taken to be independent, plus the independent variable, time. This contrasts with the Lagrangian $$L(\mathbf{q},\mathbf{ \dot{q}},t)$$ which is a function of the $$n$$ generalized coordinates $$q_{j}$$, and the corresponding velocities $$\dot{q}_{j}$$, that is the time derivatives of the coordinates $$q_{i}$$, plus the independent variable, time.

This page titled 8.1: Introduction is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Douglas Cline via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.