ArticleslgStudy

mathematics

Hamilton's principle

Hamilton's principle is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Hamilton's principle rather than just read about it. In short: In physics, Hamilton's principle is William Rowan Hamilton's formulation of the principle of stationary action. It states that the dynamics of a physical system are determined by a variational problem for a functional based on a single function, the Lagrangian, which may contain all physical information concerning the system and the forces acting on it.

Hamilton's principle — main illustration
Hamilton's principle — illustration

Key takeaways

  • Hamilton's principle belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Hamilton's principle to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Hamilton's principle from memory before moving on to harder problems.

Reference excerpt

In physics, Hamilton's principle is William Rowan Hamilton's formulation of the principle of stationary action. It states that the dynamics of a physical system are determined by a variational problem for a functional based on a single function, the Lagrangian, which may contain all physical information concerning the system and the forces acting on it. The variational problem is equivalent to and allows for the derivation of the differential equations of motion of the physical system. Although formulated originally for classical mechanics, Hamilton's principle also applies to classical fields such as the electromagnetic and gravitational fields, and plays an important role in quantum mechanics, quantum field theory and criticality theories.

Mathematical formulation Hamilton's principle states that the true evolution q(t) of a system described by N generalized coordinates q = (q1, q2, ..., qN) between two specified states q1 = q(t1) and q2 = q(t2) at two specified times t1 and t2 is a stationary point (a point where the variation is zero) of the action functional 𝒮[𝐪] =def ∫t1t2L(𝐪(t),𝐪˙(t),t)dt where L(𝐪,𝐪˙,t) is the Lagrangian function for the system. In other words, any first-order perturbation of the true evolution results in (at most) second-order changes in 𝒮. The action 𝒮 is a functional, i.e., something that takes as its input a function and returns a single number, a scalar. In terms of functional analysis, Hamilton's principle states that the true evolution of a physical system is a solution of the functional equation

That is, the system takes a path in configuration space for which the action is stationary, with fixed boundary conditions at the beginning and the end of the path.

Derivation from Newton's laws of motion Although Hamilton's principle can be viewed as a postulate effectively replacing Newton's laws of motion, it can also be derived from Newton's laws. Starting with d'Alembert's principle: ∑i(𝐅i−mi𝐚i)⋅δ𝐫i=0. Where i is the index of a mass, 𝐅i is applied force (excluding constraint forces), 𝐚i is acceleration of the mass, and δ𝐫i is the virtual displacement of the i-th mass consistent with the constraints. The above equation holds true for all times t so a definite integral with respect to t must also be 0: ∫t1t2∑i(𝐅i−mi𝐫¨i)⋅δ𝐫idt=0. δ𝐫i, the sum, and the integral can all be distributed: ∫t1t2∑i𝐅i⋅δ𝐫idt−∫t1t2∑imi𝐫¨i⋅δ𝐫idt=0 Looking at the second term we can use the product rule to find the relation: ddt(mi𝐫˙i⋅δ𝐫i)=mi𝐫¨i⋅δ𝐫i+mi𝐫˙i⋅ddt(δ𝐫i) Variation δ and the time derivative ddt commute (meaning ddtδ𝐫=δ𝐫˙), so we can rearrange this to isolate our acceleration term: mi𝐫¨i⋅δ𝐫i=ddt(mi𝐫˙i⋅δ𝐫i)−mi𝐫˙i⋅δ𝐫˙i Substituting this into the integral we get: ∫t1t2∑imi𝐫¨i⋅δ𝐫idt=∑i[mi𝐫˙i⋅δ𝐫i]t1t2−∫t1t2∑imi𝐫˙i⋅δ𝐫˙idt In Hamilton's principle, we define the variations such that they vanish at the endpoints: δ𝐫i(t1)=δ𝐫i(t2)=0. This makes the first term on the right disappear completely. Also δ(𝐫˙2)=2𝐫˙⋅δ𝐫˙ so the remaining term is: −∫t1t2δ(∑i12mi𝐫˙i2)dt=−∫t1t2δTdt Where T is the total kinetic energy. Looking at the applied force term, if the forces are conservative, they can be derived from a potential energy V(𝐫1,𝐫2,…). The work done by these forces during a virtual displacement is: ∑i𝐅i⋅δ𝐫i=−∑i∇iV⋅δ𝐫i=−δV Substituting everything back into the integral gives: ∫t1t2(−δV−(−δT))dt=0 δ∫t1t2(T−V)dt=0 Here the Lagrangian L=T−V. This is Hamilton's principle for a non-relativistic system of masses in the absence of an electromagnetic field.

Euler–Lagrange equations derived from the action integral

Requiring that the true trajectory q(t) be a stationary point of the action functional 𝒮 is equivalent to a set of differential equations for q(t) (the Euler–Lagrange equations), which may be derived as follows. Let q(t) represent the true evolution of the system between two specified states q1 = q(t1) and q2 = q(t2) at two specified times t1 and t2, and let ε(t) be a small perturbation that is zero at the endpoints of the trajectory 𝜺(t1)=𝜺(t2) =def 0 To first order in the perturbation ε(t), the change in the action functional δ𝒮 would be δ𝒮=∫t1t2[L(𝐪+𝜺,𝐪˙+𝜺˙)−L(𝐪,𝐪˙)]dt=∫t1t2(𝜺⋅∂L∂𝐪+𝜺˙⋅∂L∂𝐪˙)dt where we have expanded the Lagrangian L to first order in the perturbation ε(t). Applying integration by parts to the last term results in δ𝒮=[𝜺⋅∂L∂𝐪˙]t1t2+∫t1t2(𝜺⋅∂L∂𝐪−𝜺⋅ddt∂L∂𝐪˙)dt The boundary conditions 𝜺(t1)=𝜺(t2) =def 0 causes the first term to vanish δ𝒮=∫t1t2𝜺⋅(∂L∂𝐪−ddt∂L∂𝐪˙)dt Hamilton's principle requires that this first-order change δ𝒮 is zero for all possible perturbations ε(t), i.e., the true path is a stationary point of the action functional 𝒮 (either a minimum, maximum or saddle point). This requirement can be satisfied if and only if

These equations are called the Euler–Lagrange equations for the variational problem.

Example: Free particle in polar coordinates Trivial examples help to appreciate the use of the action principle via the Euler–Lagrange equations. A free particle (mass m and velocity v) in Euclidean space moves in a straight line. Using the Euler–Lagrange equations, this can be shown in polar coordinates as follows. In the absence of a potential, the Lagrangian is simply equal to the kinetic energy L=12mv2=12m(x˙2+y˙2) in orthonormal (x,y) coordinates, where the dot represents differentiation with respect to the curve parameter (usually the time, t). Therefore, upon application of the Euler–Lagrange equations, ddt(∂L∂x˙)−∂L∂x=0⇒mx¨=0 And likewise for y. Thus the Euler–Lagrange formulation can be used to derive Newton's laws. In polar coordinates (r, φ) the kinetic energy and hence the Lagrangian becomes L=12m(r˙2+r2φ˙2). The radial r and φ components of the Euler–Lagrange equations become, respectively ddt(∂L∂r˙)−∂L∂r=0⇒r¨−rφ˙2=0 ddt(∂L∂φ˙)−∂L∂φ=0⇒φ¨+2rr˙φ˙=0. remembering that r is also dependent on time and the product rule is needed to compute the total time derivative ddtmr2φ˙. The solution of these two equations is given by r=(at+b)2+c2 φ=tan−1(at+bc)+d for a set of constants a, b, c, d determined by initial conditions. Thus, indeed, the solution is a straight line given in polar coordinates: a is the velocity, c is the distance of the closest approach to the origin, and d is the angle of motion.

… excerpt ends here. Continue reading the full article.

Illustrations

Hamilton's principle: 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).[1]
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).[1]

Worked examples

Example 1 — a first encounter with Hamilton's principle

Start with the simplest possible case. Write down what Hamilton's principle claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Hamilton's principle before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Hamilton's principle ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Hamilton's principle

In research
Hamilton's principle appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Hamilton's principle in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Hamilton's principle is common in secondary-school and first-year university syllabi. It links to neighbouring topics Calculus of variations, Lagrangian mechanics, Principles, so understanding it makes those chapters shorter.
In everyday life
Look for Hamilton's principle outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Hamilton's principle” →

How to study Hamilton's principle in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Hamilton's principle means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Hamilton's principle out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Hamilton's principle in simple terms?

In physics, Hamilton's principle is William Rowan Hamilton's formulation of the principle of stationary action. It states that the dynamics of a physical system are determined by a variational problem for a functional based on a single function, the Lagrangian, which may contain all physical inform…

Why does Hamilton's principle matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Hamilton's principle?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Hamilton's principle.

Tags

  • Calculus of variations
  • Lagrangian mechanics
  • Principles
  • William Rowan Hamilton

Keep exploring