Office Hours/⚛️ Physics/10
Physics · Document 11

Classical Mechanics

Lagrangian and Hamiltonian formulations, the foundation for all physics

1. From Newton to Lagrange

Newton gave us F = ma, but there's a more powerful formulation. The Lagrangian approach starts from a single function and derives all equations of motion.

L = T - V = (Kinetic Energy) - (Potential Energy)
The Lagrangian
The Principle of Least Action: Nature chooses the path that minimizes (or extremizes) the action S = integral of L dt. This single principle generates all of classical mechanics!

Euler-Lagrange Equations

From the principle of least action, we derive:

d/dt (partial L / partial q-dot) - partial L / partial q = 0
Euler-Lagrange Equation

This single equation replaces all of Newton's laws for any coordinate system!

2. The Simple Harmonic Oscillator

The pendulum (for small angles) and the spring-mass system are both examples of simple harmonic motion - the most fundamental oscillating system in physics.

🎮 Interactive: Pendulum Oscillator
Time
0.00s
Period
2.01s
KE
0%
PE
134%
Period: T = 2pi * sqrt(L/g) - independent of mass and amplitude (for small angles)

Why Oscillators Matter

Near any minimum
Every stable equilibrium looks like a harmonic oscillator locally
Quantum field theory
Free fields are infinite collections of oscillators!

3. The Lagrangian

The Lagrangian L = T - V encodes all the dynamics. For a harmonic oscillator:

L = (1/2)m*v^2 - (1/2)k*x^2
🎮 Interactive: Lagrangian for Harmonic Oscillator
KEPELE
KE = (1/2)mv^2
2.00
PE = (1/2)kx^2
0.00
L = KE - PE
2.00
E = KE + PE
2.00
Notice that the Lagrangian is NOT the total energy. It's the difference T - V. The total energy E = T + V is conserved, but L oscillates between positive and negative values.

4. The Hamiltonian and Phase Space

The Hamiltonian approach uses position q and momentum p as coordinates:

H(q, p) = p * q-dot - L(q, q-dot)
Legendre Transform

For many systems, H equals the total energy. The equations of motion become symmetric:

dq/dt = partial H / partial p, dp/dt = - partial H / partial q
Hamilton's Equations
🎮 Interactive: Phase Space Trajectories
xpclockwise
Phase Space Trajectory
x^2 + p^2 = 2E = 4.0
Liouville's Theorem
Phase space volume is conserved!
Key insight: In phase space (x, p), each point represents a complete state. The trajectory never crosses itself (determinism) and the area is conserved.

Poisson Brackets

Time evolution is generated by the Hamiltonian via Poisson brackets:

df/dt = {f, H} = (partial f / partial q)(partial H / partial p) - (partial f / partial p)(partial H / partial q)

This structure directly maps to quantum mechanics: {,} becomes [,]/ih-bar!

5. Symmetry and Conservation

Noether's Theorem: Every continuous symmetry corresponds to a conserved quantity.

SymmetryConserved QuantityGenerator
Time translationEnergyH
Space translationMomentump
RotationAngular momentumL
Gauge symmetryChargeQ
Symmetry <-> Conservation
This deep connection underlies all of physics, including gauge theories

6. Connection to Z^2 Framework

Classical mechanics provides the foundation for understanding the Z^2 framework:

S = integral L dt
The action principle extends to field theory and strings
{q, p} = 1
Poisson brackets become commutators [q, p] = ih-bar in quantum mechanics
Phase space volume
Liouville's theorem connects to unitarity in quantum mechanics

Why Classical Mechanics Matters for Z^2

  • * Lagrangian formulation: Extends to quantum field theory via path integrals
  • * Hamiltonian structure: Essential for canonical quantization
  • * Symmetries: Gauge symmetries determine the Standard Model
  • * Phase space: Becomes Hilbert space in quantum mechanics

Exercises

  1. Derive the equation of motion for a simple pendulum using the Euler-Lagrange equation.
  2. Show that for a free particle, the Hamiltonian equals the kinetic energy.
  3. Verify that {q, p} = 1 using the definition of Poisson brackets.
  4. For V(x) = (1/2)kx^2, find the phase space trajectory and show it's an ellipse.
  5. Use Noether's theorem to show that if L doesn't depend on x, momentum is conserved.