Recap of Newtonian Mechanics
In Newtonian mechanics, the motion of a particle is described through a few important quantities:
for a particle of (inertial) mass
and the relations between these quantities, in presence of external forces
The work done by such forces is given by the inner product of the motion and the force:
This is the energy change of the particle through the motion:
meaning that
Definition: Kinetic Energy
Now, often, an external force acting on the particle is due to a potential
For example, for a 1D spring, the potential
Example: 1D Spring/ Harmonic Potential
or the electrostatic potential:
Electrostatic potential
D’Alembert’s Principle
Now, for a particle whose the external forces are given by a potential:
This looks as if the forces
at any time
Action and Lagrangian
Then, the integral of this equation over the time interval
now, we can apply integration by parts:
where we used the commutitivity of
\cite{maeno-leastAction}
\subsection{Lagrangian and Variational Principle}
In Lagrangian mechanics, we will use a different approach to describe the motion of a particle than the Newtonian mechanics.
Instead of using the usual 3D Euclidean space, we will use a configuration space of a system.
This space is spanned by the so-called generalized coordinate
Lagrangian
and Action Lagrangian
is defined as the difference between the kinetic energy and potential energy of a particle:
Now, variation of the action
which is an identical expression to \eqref{eq:newton-variation}.
Variational Principle
So, we postulate that the motion of the particle is such that the action is stationary:
Variational Principle
The motion of a particle is such that the action
is stationary, i.e., .
As to show why this maybe useful, let us compare between \cref{eq:eom-variation}:
and \cref{eq:func_deriv_euler_lagrange}:
which immidiately gives that the EoM is the Euler-Lagrange equation, if we set
The generalization to multiple particles is straightforward:
The Euler-Lagrange equation is given by
Harmonic Oscillator
Let us consider a particle of mass
then the Lagrangian is given by
The Euler-Lagrange equation yields
which is the equation of motion of a harmonic oscillator in Newtonian mechanics. Here, notice that
and
these derivatives of the Lagrangian are the generalized force and conjugate momentum, respectively.