Do Not Skip Variational Calculus
May 18, 2020

Ordinary calculus varies a number. Variational calculus varies an entire path, function, surface, or field. That one enlargement produces the equations that govern mechanics, action principles, optimal control, physical models, and many learning objectives.

Local Changes Determine Global Form

Choose a candidate path and perturb it by an infinitesimal admissible variation. Measure how an objective functional changes. Requiring the first-order change to vanish produces an Euler-Lagrange equation—the local condition that every stationary path must satisfy.

This method turns the global search for an action-extremizing trajectory into differential equations that a model can analyze or compute.

Virtual Work Led to a General Mathematics Engine

The principle of virtual work grew through centuries of mechanics, from levers and statics to Bernoulli’s explicit infinitesimal displacements. Lagrange and Hamilton turned that reasoning into a reusable formalism for constrained motion and action.

Modern physics, optimization, control, neural training, and Bayesian methods keep encountering the same form: define a functional, identify admissible variation, and derive the condition that organizes the optimum or stationary solution.

Start With One Path

The linked introduction and full course provide a direct entry. Work one mechanical trajectory by hand, then recognize the same structure in a field, policy, loss functional, or physical simulation.

Originally posted on LinkedIn

Brian Greenforest · (2020-05-18 00:19:41 UTC)

Open the original LinkedIn post · LinkedIn activity 6667941682060914688

LinkedIn status when archived: Visible to anyone on or off LinkedIn.

Make sure you haven't skipped the introduction into Variational Calculus, otherwise nothing in physics and computer science will make sense. This is the VERY BEGINNING - I bet you have all required prerequisites, but this thing never was explained with clarity to actually "get it" well enough to understand advanced quantum mechanics and AI (the "Hamiltonian thing"). Enjoy, happy Sunday! https://lnkd.in/gepa9Jz

Comments added by Brian Greenforest on LinkedIn

These 5 comments were also preserved verbatim from Brian Greenforest’s LinkedIn data export or the public post page.

Full course: https://ocw.mit.edu/courses/physics/8-01sc-classical-mechanics-fall-2016/week-4-drag-forces-constraints-and-continuous-systems/week-4-introduction/

View the LinkedIn post

Rationale: https://arxiv.org/abs/physics/0510204

View the LinkedIn post

The principle of virtual work had always been used in some form since antiquity in the study of statics. It was used by the Greeks, medieval Arabs and Latins, and Renaissance Italians as "the law of lever". The idea of virtual work was invoked by many notable physicists of the 17th century, such as Galileo, Descartes, Torricelli, Wallis, and Huygens, in varying degrees of generality, when solving problems in statics. Working with Leibnizian concepts, Johann Bernoulli systematized the virtual work principle and made explicit the concept of infinitesimal displacement. He was able to solve problems for both rigid bodies as well as fluids. Bernoulli's version of virtual work law appeared in his letter to Pierre Varignon in 1715, which was later published in Varignon's second volume of Nouvelle mécanique ou Statique in 1725. This formulation of the principle is today known as the principle of virtual velocities and is commonly considered as the prototype of the contemporary virtual work principles.

View the LinkedIn post

https://en.wikipedia.org/wiki/Johann_Bernoulli

View the LinkedIn post

The Bernoulli family have contributed to many foundations of modern physics and mathematics, sometimes I can't believe that they are not time travelers :-) https://digitalcommons.chapman.edu/e-Research/vol2/iss2/6/

View the LinkedIn post