Tag

Euler-Lagrange equations

When there are no non-conservative forces, the equations of motion can be derived by first determining our system's Lagrangian and then applying a set of partial differential equations known as the Euler-Lagrange equations to this Lagrangian. The Euler-Lagrange equations are:

ddt∂L∂q˙i−∂L∂qi=0,i∈{1,2,3,...,n}.\begin{align} \hspace{4cm}\dfrac{d}{dt} \dfrac{\partial L}{\partial \dot{q}_i} - \dfrac{\partial L}{\partial q_i} &= 0, \hspace{2cm} i\in \{1,2,3,...,n\}. \tag{1} \end{align}

qiq_i are the nn degrees of freedom of our problem and q˙i\dot{q}_i are their time derivatives. The ddt\dfrac{d}{dt} is not a partial derivative and this is purposeful, as when we differentiate ∂L∂q˙i\dfrac{\partial L}{\partial \dot{q}_i} with respect to tt, we treat qiq_i and q˙i\dot{q}_i as functions of tt and wherever they appear in ∂L∂q˙i\dfrac{\partial L}{\partial \dot{q}_i} we differentiate them against tt.

Next, I should explain what "degrees of freedom" are. They are also known as generalized coordinates and they are essentially our variables of interest. For simpler problems, the degrees of freedom in our problem are often the spatial dimensions of our problem. For instance, if we were to study an object in free fall and we were to try to simplify our problem as much as possible and not consider any movement in the horizontal directions then nn could be 1 and q1q_1 would just be the height of the object above ground level.

Likewise, when we study the simple pendulum — which is a problem in which we have an idealized rigid pendulum whose rod has zero mass, zero friction and for which there is absolutely no air resistance — typically we only consider a single degree of freedom, which is the angle our pendulum's rod makes with either the negative yy axis or the positive xx axis, depending on the preferences of whoever is setting up the problem.