2.1.17 · D1Analytical Mechanics

Foundations — Hamilton-Jacobi equation

2,426 words11 min readBack to topic

This page builds every symbol the parent note leans on, starting from a smart-12-year-old level. Read it before the Hamilton-Jacobi equation proper. Each entry gives plain meaning → the picture → why the topic needs it.


1. Position and momentum — the two numbers that fully describe a system

The picture. Draw a flat sheet. The horizontal axis is (where), the vertical axis is (how fast, mass-weighted). One dot on this sheet = one complete snapshot of the system. This sheet is called phase space.

Figure — Hamilton-Jacobi equation

Why the topic needs it. Hamilton-Jacobi lives entirely in phase space. It transforms the pair into a new pair . So we must first be comfortable that a point — not a curve — is the state, and that motion is that point sliding around. (More in Hamilton's Equations.)

For moving parts we have and . The subscript just labels which part. The parent's ("sum over ") means "add up the contribution from every part." When a system moves in a straight line we often call that one coordinate instead of — same idea, different letter.


2. The dot: means "rate of change"

The picture. On the phase-space sheet, and are the arrow of motion attached to the dot — the direction and speed the state is drifting. If and , the dot is frozen.


3. Derivative and partial derivative — WHY two kinds

A derivative answers: "if I nudge the input a tiny bit, how much does the output change?" Geometrically it is the slope of a curve.

The picture. Think of a hillside whose height is .

Figure — Hamilton-Jacobi equation

The partial is the steepness if you walk due east (only changes). The total is the steepness along the actual path you walk, which curves through both directions at once.


4. The Lagrangian and the action — "cost of a path"

Before the formula, two words of energy.

The picture. Imagine a path drawn in space over time. At each instant it has some value. Lay all those values side by side and shade the area underneath — that shaded area is the action for that path. The true motion is the path whose action is stationary (see Action and Hamilton's Principle).

Why the topic needs it. The parent's punchline is that Hamilton's principal function is the action: . So is not an abstract fudge — it is the accumulated "cost" along the real trajectory. Knowing what and the action mean makes that identity feel inevitable rather than magical.


5. The Hamiltonian — total energy as a function of

The picture. Above the phase-space sheet, imagine a landscape whose height at each point is the energy . A system with fixed energy is a hiker forced to walk along one contour line of that landscape.

Why the topic needs it. is the engine of the HJ equation: you take the Hamiltonian and everywhere you see a momentum , you replace it with the derivative . Understanding as "energy in language" is what lets that substitution mean something.


6. Legendre transform — the bridge

First, where momentum comes from in the Lagrangian world:

Why the topic needs it. In §3 of the parent, the chain is exactly this relation run backwards. It is the hinge that turns " equals " into the clean statement "." You don't need to re-derive it here — just recognize the shape when it appears, knowing is what makes it true.


7. Canonical transformation and the generating function

The picture. Take the phase-space sheet and repaint the grid lines: new axes and drawn over the old ones. A canonical transformation is a special repainting that does not distort the underlying flow rules — like changing from Cartesian to polar graph paper without breaking the geometry.

Figure — Hamilton-Jacobi equation

Why type 2? We want the new momenta to be constants. A type-2 function already treats as an independent input, so it is the natural tool to design constant new momenta. (Full menagerie in Canonical Transformations.)


8. The new Hamiltonian (the "Kamiltonian")


9. Separation of variables and "complete integral" constants

First, the constant that shows up when energy is conserved:

The picture. Peeling off is like separating a receipt into a fixed "per-second rate " times elapsed time, plus a purely spatial remainder . Only possible when the energy rate is constant — i.e. energy conserved.

Why the topic needs it. These constants are not leftovers — they are the new momenta that make the whole canonical transformation exist. Without them there is no map. (This becomes Action-Angle Variables later.)


Prerequisite map

Position q and momentum p

Phase space picture

Derivative and partial derivative

Chain rule for dS/dt

Kinetic and potential energy

Lagrangian L and action

S equals the action

Hamiltonian H as energy

HJ substitution p to dS/dq

Legendre transform

p equals dL by dqdot

Canonical transformation

Generating function S type 2

New Hamiltonian K

Demand K equals 0

Hamilton-Jacobi equation

Separation and energy constant E

Everything on the left is what THIS page builds; the single node Hamilton-Jacobi equation is the parent topic it all feeds. See also the bridge to wave mechanics in Schrodinger Equation.


Equipment checklist

Hide the right side and test yourself. You are ready when each is instant.

What does a single dot in phase space represent?
One complete state — position and momentum together, all info needed to predict the future.
What does the dot in mean?
, the rate of change per second (velocity).
Difference between and ?
Partial nudges only (all else frozen); total lets everything that depends on move together via the chain rule.
Write the chain rule for .
.
What is kinetic energy and potential energy ?
(energy of motion); (energy stored by position, e.g. for a spring).
What is the Lagrangian ?
, kinetic minus potential, evaluated instant by instant.
What is the action?
, the running total of along a path.
How is the conjugate momentum defined from ?
; for this is .
What is the Hamiltonian ?
Total energy written as a function of and momentum (and maybe ).
State the Legendre relation between and .
, i.e. .
What does stand for?
The conserved total energy — the fixed value when has no explicit time dependence.
What makes a transformation "canonical"?
It preserves the form of Hamilton's equations.
What are the three type-2 relations for ?
, , .
Why does freeze the motion?
and , so new variables are constants.
How many independent constants in a complete integral for DOF, and what are they?
constants , identified with the new momenta .