Menu
Back to projects and outputs

Summer / Department Projects

Lagrangian Mechanics Project

May 2026 · completed · Mathematical report

A Year 1 summer mathematics department project on Lagrangian mechanics, variational calculus, the Euler-Lagrange equation, and classical extremal-path examples.

  • analytical mechanics
  • numerical integration
  • physics

Research question

How does variational calculus generalise ordinary optimisation, and why does that generalisation matter for Lagrangian mechanics?

Background

This project began as an extra Year 1 summer mathematics department project with Rebecca Withey. The presentation introduced ordinary extrema through a spring-mass equilibrium problem, then used functionals to motivate the Euler-Lagrange equation and classical examples such as shortest paths and the brachistochrone problem.

Mathematical model

The central object is a functional [ J[y] = \int_{x_0}^{x_1} F(x,y,y’),dx, ] where the unknown is a path rather than a single number. Stationarity under fixed-endpoint variations leads to the Euler-Lagrange equation. The report also uses the Beltrami identity when the integrand has no explicit dependence on the independent variable.

Methods

The material was rewritten from slides into a short LaTeX report. I kept the presentation’s conceptual sequence but made the mathematical derivations more explicit: ordinary calculus, spring-mass potential energy, functionals, Euler-Lagrange derivation, shortest path, Beltrami identity, and brachistochrone.

Implementation

The public artifact is a compiled PDF generated from maintained LaTeX source. The source is intentionally simple: article class, standard amsmath notation, and inline references rather than a heavy bibliography system.

Results

The report produces a five-page written version of the project and turns an oral presentation into a durable portfolio artifact. It explains why the shortest path is a straight line and why the brachistochrone is a cycloid.

Validation

The report was compiled with Tectonic and checked for LaTeX warnings. The derivations are standard and are cross-checked against the references listed in the original presentation.

Limitations

The report is expository rather than a new research result. It does not yet include numerical simulations, diagrams, or a full action-principle treatment for multi-coordinate systems.

What I learned

The project clarified the difference between optimising a finite-dimensional function and optimising an entire path. It also gave a first route into Lagrangian thinking before more advanced mechanics and computational physics work.

Future work

Possible extensions include a beamer version, diagrams for the brachistochrone, numerical demonstrations of extremal paths, and a follow-up note connecting the Euler-Lagrange equation to Hamilton’s principle.