Foundations — Hamilton's principle — least action
The parent note Hamilton's Principle throws a lot of symbols at you very fast: , , , , , , , , , . This page builds every single one from absolute zero, in the order they need each other. If you can read line one, you can read all of it.
1. Position, but flexible: the coordinate
The picture. Think of a bead on a bent wire. You don't need and — one number "how far along the wire" already says everything. That one number is .
Why the topic needs it. Forces live in and you must chop them into components. A well-chosen (like the pendulum's angle ) absorbs the geometry so you never decompose anything. That is the entire practical payoff of the whole subject.

2. Speed of the coordinate: and the dot
The picture. If is the position of a runner on a track, is the speedometer reading, and is whether they're accelerating or braking.
Why the notation. Physicists put the dot specifically for time derivatives, freeing the prime for space derivatives. In the system's "state" needs both where it is () and how fast it moves () — position alone can't tell you its kinetic energy.
3. Two kinds of change: and (energy)
The picture. A ball rolling in a valley. Deep in the valley it moves fast ⇒ big , small . At the top of the slope it pauses ⇒ big , small . As it rolls, energy sloshes back and forth between the two buckets.

Why the topic needs both. The whole machine is built from the difference . We need each bucket separately before we can subtract them.
4. The star of the show: the Lagrangian
The picture. At every tick of the clock the ball has some and some ; subtract them to get one number . As the ball moves, traces out a curve over time.
Why is written . It depends on where you are (, through ), how fast you move (, through ), and possibly the clock (, if the setup changes in time). Three slots — remember them, they matter in step 8.
5. Adding up over the journey: the integral
The picture. Slice the journey into millions of tiny time-steps. In each step, has some value; multiply by the tiny duration (a thin strip). Stack all the strips ⇒ the total shaded area under the -versus- curve.
Why the topic needs it. A path isn't judged at one instant — it's judged over its whole duration. Integration is precisely the tool that collapses "value at every instant" into "one total score."
6. The score itself: the action and the word functional
The picture. Feed in a path — any wiggly curve from start to end — and out pops a number. A different path gives a different number. Note the square brackets : they warn you the input is a whole function, not just a value.

Why "functional" and not "function"? A plain function eats a number and gives a number (). A functional eats a function. This is one level up, and it's the reason we need the Calculus of Variations — ordinary calculus differentiates with respect to a number; here we must "differentiate with respect to a whole curve."
7. The tiny nudge: , , and the wiggle
To find the best path we compare it against nearby paths. We make a nearby path by adding a small bump:
The picture. Take the true path and gently pluck it in the middle like a guitar string, holding both ends fixed. The pluck shape is ; how hard you pluck is . Because the ends are nailed down, every trial path still starts and finishes at the same two points.

Why pinned at the ends. Hamilton's principle asks "of all paths with the same start and finish, which is best?" We're not allowed to move the endpoints, so the nudge must vanish there. (This pinning is exactly what kills a leftover term later — see Euler–Lagrange equation.)
8. Two flavours of derivative: vs
The picture. is like a dashboard with three dials: , , . A partial derivative turns one dial and watches . A total time-derivative lets the clock run and all the dials move at once (because and both drift as time passes).
Why the topic needs both. The Euler–Lagrange equation mixes them: first take a partial (isolate the -slot), then a total time derivative (let it evolve). Confusing the two is the single most common slip.
9. The stationary condition:
The picture. Imagine the action-score as the height of a landscape, where each point on the ground is a whole path. The true path sits at a flat point — a valley bottom, a hilltop, or a saddle — where the ground is level in every direction. A ball placed there wouldn't roll.
How the foundations feed the topic
Each foundation is a prerequisite for Euler–Lagrange equation, which in turn powers the parent Hamilton's Principle. From there you can branch to Lagrangian Mechanics, Noether's Theorem, Hamiltonian Mechanics, Fermat's Principle, and see how it all reduces to Newton's Laws.
Equipment checklist
Test yourself — cover the right side and answer before revealing.