Justice Hunter said:
For simplicity sake, let's just start with the Lagrangian. What exactly is it? When is it applied, and can someone offer an example of its use?
The Lagrangian is an object called a functional, a device that returns a number for any given function. For instance, a definite integral is a simple case of functional. We also have the functional derivative, which explains how the value of the functional will change when the function put into it is changed, defined:
(δF[f(x)]/δf(x)) = lim
ε→0 (1/ε)(F[f(y) + εδ(x - y)] - F[f(y)]) Where F is some functional, f(x) some function, y is a dummy variable, and δ(x-y) is a Dirac delta function. The subject of calculus of variations deals with operations on functionals.
When you're considering the trajectory of a particle, there are two functionals you want to think of: the averages over some duration τ of potential energy V and kinetic energy T of a particle following a trajectory x(t) connecting two points a and b. These are defined:
T
ave = τ
-1∫
0τ(1/2)m[x
t(t)]
2dt
V
ave = τ
-1∫
0τV[x(t)]dt
We can take the functional derivatives of V
ave and T
ave to find that
δV
ave[x(t)]/δx(t) = δT
ave[x(t)]/δx(t)
meaning that if we vary the trajectory x(t) by a small amount, the average kinetic energy and average potential energy for the duration will each change by the same amount, or that the difference between the average kinetic energy and average potential energy does not change as the trajectory changes
(δ/δx(t))(T
ave[x(t)] - V
ave[x(t)]) = 0
That observation motivates us to define the Lagrangian, L = T-V. The Lagrangian is special because it does not change as the particle moves through its trajectory. We can also define a quantity S called the action, which is the time integral from 0 to τ of the Lagrangian, measured in Joule-Seconds (if you've taken an elementary QM course, reflect on the fact that Planck's constant h is also defined in Joule-Seconds). We also have Hamilton's Principle of Least Action,
δS/δx(t) = 0
which tells us that the path that will be taken by a particle between points a and b is the one for which the action will be stationary (a maximum, minimum, or saddle trajectory, analogous to maxima and minima in calculus). By using the Lagrangian and the Principle of Least Action, we can we can derive the Euler-Lagrange equation, and then from there we can solve the Euler-Lagrange equation to determine the laws of motion for the system. Intuitively, the Lagrangian and the action contain the dynamics for a system.
Here's an example:
https://en.wikipedia.org/wiki/Lagrangian#An_example_from_classical_mechanics