Exercises — Hamilton-Jacobi equation
Before we start, one shared vocabulary reminder, because every problem uses it:
Level 1 — Recognition
Exercise 1.1 (L1)
For a 1D system with (here the coordinate is ), write the Hamilton-Jacobi equation without solving it.
Recall Solution
What to do: every becomes , and we append . Why: those come from the generating-function relations and , together with the defining demand (the new Hamiltonian was defined in the vocabulary box above). Killing leaves: That is the answer. No integration needed — recognition only.
Exercise 1.2 (L1)
State which is the principal function and which is the characteristic function, and the one equation that links them.
Recall Solution
- Principal — carries time.
- Characteristic — no time inside it (defined in the vocabulary box above).
- Link (only valid when is time-independent, so energy is conserved): Why the minus : if then , exactly the conserved-energy statement.
Exercise 1.3 (L1)
The HJ equation is a PDE of what order and is it linear or nonlinear? Give the reason in one sentence.
Recall Solution
It is first order (only first derivatives of appear) and nonlinear (the momentum enters typically squared, e.g. , and a square is not linear).
Level 2 — Application
Exercise 2.1 (L2)
Free particle, with coordinate . Solve the time-independent HJ equation for and write full .
Recall Solution
Step 1 — restricted HJ. With : . Step 2 — solve for slope. (take the root for rightward motion; the root gives leftward motion — both are legal branches). Step 3 — integrate. . Why we drop : is a pure additive constant. Since only derivatives of ever enter the physics (, ), adding a constant to changes nothing measurable. We set without loss of generality — the solution stays fully general. Step 4 — assemble. . Matches the parent note's Example A.
Exercise 2.2 (L2)
Continuing 2.1, identify with the new momentum . Compute the constant new coordinate and solve for .
Recall Solution
Step 1. Why: . Step 2. is constant (because ); call it , so . Step 3. — uniform velocity . Sanity: . ✅
Exercise 2.3 (L2)
A particle in free fall, , where the coordinate is the height . Write and separate the HJ equation to get .
Recall Solution
Step 1 — HJ: . Step 2 — separate . Why this separation is allowed: the Hamiltonian contains no explicit , so energy is conserved. Whenever is time-independent the whole -dependence of can only be a steady drift (that is precisely what says). Peeling it off leaves a purely spatial function — this is the same time-separation move used in every exercise here and in Separation of Variables. Substituting : Step 3 — solve for slope: . Notice at the turning height where all energy is potential — the momentum vanishes there, exactly as physics demands. Integrating again introduces an additive constant which we drop (only derivatives matter, as in 2.1).
Level 3 — Analysis
Exercise 3.1 (L3)
Harmonic oscillator, (coordinate ). Starting from , derive explicitly, showing the substitution.
Recall Solution
Step 0 — the two branches. Solving for the slope gives . The branch describes the particle moving right (toward ), the branch moving left. They meet and swap at the turning points where . A full oscillation is these two branches stitched together — exactly the L2 lesson. Below we integrate the branch; the branch gives the returning half and the two combine into one continuous . Step 1 — make the constant coordinate well-posed with an explicit lower limit. First write as a genuine definite integral from a fixed reference point (a constant that does not depend on ): Choosing a fixed lower limit is exactly what "dropping the additive constant" means: shifting only adds an -independent constant to , which never affects any physics (only derivatives of enter). Because the lower limit is -independent and the upper limit is -independent too, differentiation under the integral sign is now legitimate: only the integrand depends on . With , Why the pulls down : . Step 2 — substitute . Then the radicand becomes and . The integral collapses: Step 3 — undo the substitution: , so (absorbing the fixed lower-limit contribution into the constant ) . Step 4 — invert (set ): . The amplitude is fixed entirely by the energy — see the figure below.
The figure below plots this solution so you can see what the algebra produced: the horizontal axis is time , the vertical axis is position . The lavender curve is . The two coral dashed lines mark the amplitude — the classical turning points where the two branches of (the and roots from Step 0) meet and the momentum vanishes. The mint dot marks a zero crossing , where the speed is maximum and all energy is kinetic. Reading the picture: energy sets how tall the wave is (the amplitude), while sets how fast it wiggles.

Exercise 3.2 (L3)
For that oscillator, verify that the amplitude carries exactly the energy at maximum displacement.
Recall Solution
At maximum displacement all energy is potential (): The HJ construction is self-consistent: the amplitude the algebra spat out is precisely the classical turning point marked by the coral dashed lines in the figure.
Exercise 3.3 (L3)
Numerical check. Oscillator with , , . Find the amplitude and the maximum speed .
Recall Solution
Amplitude: . Max speed (all energy kinetic at ): . Cross-check: . ✅ Consistent.
Level 4 — Synthesis
Exercise 4.1 (L4)
Separable 2D problem. (oscillator in , free in ; the two generalized coordinates are and ). Use an additive separation to split the HJ equation into two independent 1D pieces. Identify the separation constants.
Recall Solution
Step 1 — restricted HJ: . Step 2 — why additive? Because is a sum of an -only part and a -only part. Guessing makes each depend on only (Separation of Variables). Step 3 — regroup: A function of equals a function of for all only if both equal a constant. Call it . Step 4 — the two 1D equations: Separation constants: (energy in the -oscillator) and (energy in the free -motion). Following our notation guard, we identify these constants with the new momenta: — same objects, two hats. This links directly to Action-Angle Variables, where such constants become the actions.
Exercise 4.2 (L4)
In 4.1, solve the -piece completely and give .
Recall Solution
Step 1: (taking the branch for rightward drift; additive constant dropped as before). Step 2 — conjugate coordinate: treat as the new momentum , so . The relevant piece of is (the -share of ), so Step 3 — invert: — a free particle drifting at speed , exactly as expected. The oscillator part follows Exercise 3.1 with .
Level 5 — Mastery
Exercise 5.1 (L5)
The bridge to quantum mechanics. Insert (the "wave built from the action") into the time-dependent Schrodinger Equation (coordinate ). Show that as you recover the HJ equation, and identify the leftover term.
Recall Solution
Step 1 — compute derivatives of . Using the chain rule (and, for the second -derivative, the product rule on the two factors it creates): Notice the two terms in : the square from differentiating the exponent twice, and the from differentiating the slope once — this second term is the whole point of the exercise. Step 2 — substitute and divide by (nonzero everywhere): Step 3 — simplify. Left side: , so it is . Right side, distribute the : Step 4 — rearrange into HJ shape (move everything to one side): Step 5 — take . The right-hand side is proportional to , so it vanishes in the limit, leaving — exactly the Hamilton-Jacobi equation. The leftover is the first quantum correction (the seed of the WKB expansion). So HJ is the classical (short-wavelength) limit of Schrödinger's equation — Hamilton anticipated wave mechanics by a century.
Exercise 5.2 (L5)
Design problem. You are told the desired trajectory is (constant velocity ) for a free particle. Reverse-engineer the principal function that generates it, and confirm gives the right momentum.
Recall Solution
Step 1 — pick energy. Constant speed means . Step 2 — use free-particle : , since . Step 3 — check momentum: . ✅ Correct: constant momentum for speed . Step 4 — check the constant coordinate: . With , better to differentiate the general form: . Setting gives . ✅ The design reproduces the target trajectory.
Exercise 5.3 (L5)
Numerical mastery. Free particle, , prescribed speed . Compute , the momentum , and evaluate at .
Recall Solution
- .
- .
- . All consistent with . ✅
Recall Final self-test (hide and answer)
- Order and linearity of HJ? ::: First order, nonlinear.
- How many separation constants for the 2D oscillator-plus-free system? ::: Two: and .
- What term survives Schrödinger→HJ before ? ::: .
- Amplitude of oscillator with ? ::: .