Difference between revisions of "Lagrangian Dynamics"
m (linked dynamics) |
|||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
| − | '''Lagrangian dynamics''' are an alternative to [[Newtonian mechanics]]. Lagrangian dynamics are particularly useful in solving for the equations of a motion of a system operating under constraints. Often it is possible, using Lagrangian dynamics, to solve for the equations of motion for a system without needing to solve for the constraint forces, which is why they are often preferred over Newtonian mechanics for these types of problems. It is important to note that both methods will yield the same end result, the only thing that changes is the method of arriving at the end result. | + | '''Lagrangian [[dynamics]]''' are an alternative to [[Newtonian mechanics]]. Lagrangian dynamics are particularly useful in solving for the equations of a motion of a system operating under constraints. Often it is possible, using Lagrangian dynamics, to solve for the equations of motion for a system without needing to solve for the constraint forces, which is why they are often preferred over [[Newtonian mechanics]] for these types of problems. It is important to note that both methods will yield the same end result, the only thing that changes is the method of arriving at the end result. |
| − | + | An important concept in Lagrangian mechanics is that of a generalised coordinate, <math>q_k</math>. The position coordinate <math>q_k</math> and corresponding velocity coordinate <math>\dot q_k</math> are taken to be independent of each other so that: | |
| − | <math>\frac{\partial}{\partial t}({\partial L } | + | <math>\frac{\partial}{\partial q_k}(\dot q_k) = \frac{\partial}{\partial \dot q_k}(q_k) = 0</math> |
| + | |||
| + | The Euler-Lagrange equation produces a [[differential equation]] for each generalised coordinate and is as follows: | ||
| + | |||
| + | <math> | ||
| + | \frac{\partial}{\partial t} \bigg(\frac{\partial L }{\partial \dot q_k} \bigg) - \frac{\partial L}{\partial q_k} = Q | ||
| + | </math> | ||
Where: | Where: | ||
| − | L | + | :<math>L</math> is the [[Lagrangian]], is defined as <math>L = T - V</math> (<math>T</math> is the total [[kinetic energy]] of the system and <math>V</math> is the total [[potential energy]] of the system) |
| + | :<math>q_k</math> is the k<sup>th</sup> generalised coordinate | ||
| + | :<math>Q</math> is the generalised force | ||
| + | |||
| + | These can then be solved to get the equations of motion for each object in the system. | ||
| + | If the Lagrangian has no dependence on a particular coordinate, then that coordinate is said to be ignorable and there is a [[conservation law|conserved quantity]] associated with it. | ||
| + | <math>{\partial L }/ {\partial \dot q}</math> is known as the generalised momentum. | ||
| − | + | ==Example== | |
| − | Consider a mass m attached a spring with spring constant k. The system has | + | Consider a mass <math>m</math> attached a spring with spring constant <math>k</math>. The system has two degrees of freedom: <math>x</math>, the displacement of the mass from its equilibrium position and its velocity <math>\dot x</math>. Then, |
<math>T=\frac{1}{2}m\dot x^2</math> | <math>T=\frac{1}{2}m\dot x^2</math> | ||
| Line 18: | Line 30: | ||
<math> | <math> | ||
| − | {\partial L } | + | \frac{\partial L }{\partial \dot x} = m\dot x |
</math> | </math> | ||
<math> | <math> | ||
| − | {\partial L} | + | \frac{\partial L}{\partial x} = -kx |
</math> | </math> | ||
| − | (Note that the | + | (Note that the generalised momentum is the same as the "normal" Newtonian momentum of mass times velocity in this problem.) <math>Q=0</math> for this simple problem, and so the equation of motion is |
<math> m\ddot x = -kx </math> | <math> m\ddot x = -kx </math> | ||
| − | which is the same as the result one arrives at by just considering the forces acting on the mass in Newtonian mechanics. | + | which is the same as the result one arrives at by just considering the forces acting on the mass in Newtonian mechanics. This can then be solved to get the mass's equation of motion. |
| − | [[ | + | [[Category:Mechanics]] |
Latest revision as of 16:19, July 5, 2019
Lagrangian dynamics are an alternative to Newtonian mechanics. Lagrangian dynamics are particularly useful in solving for the equations of a motion of a system operating under constraints. Often it is possible, using Lagrangian dynamics, to solve for the equations of motion for a system without needing to solve for the constraint forces, which is why they are often preferred over Newtonian mechanics for these types of problems. It is important to note that both methods will yield the same end result, the only thing that changes is the method of arriving at the end result.
An important concept in Lagrangian mechanics is that of a generalised coordinate, <math>q_k</math>. The position coordinate <math>q_k</math> and corresponding velocity coordinate <math>\dot q_k</math> are taken to be independent of each other so that:
<math>\frac{\partial}{\partial q_k}(\dot q_k) = \frac{\partial}{\partial \dot q_k}(q_k) = 0</math>
The Euler-Lagrange equation produces a differential equation for each generalised coordinate and is as follows:
<math> \frac{\partial}{\partial t} \bigg(\frac{\partial L }{\partial \dot q_k} \bigg) - \frac{\partial L}{\partial q_k} = Q </math>
Where:
- <math>L</math> is the Lagrangian, is defined as <math>L = T - V</math> (<math>T</math> is the total kinetic energy of the system and <math>V</math> is the total potential energy of the system)
- <math>q_k</math> is the kth generalised coordinate
- <math>Q</math> is the generalised force
These can then be solved to get the equations of motion for each object in the system. If the Lagrangian has no dependence on a particular coordinate, then that coordinate is said to be ignorable and there is a conserved quantity associated with it. <math>{\partial L }/ {\partial \dot q}</math> is known as the generalised momentum.
Example
Consider a mass <math>m</math> attached a spring with spring constant <math>k</math>. The system has two degrees of freedom: <math>x</math>, the displacement of the mass from its equilibrium position and its velocity <math>\dot x</math>. Then,
<math>T=\frac{1}{2}m\dot x^2</math>
<math>V=\frac{1}{2}kx^2</math>
Thus,
<math> \frac{\partial L }{\partial \dot x} = m\dot x </math>
<math> \frac{\partial L}{\partial x} = -kx </math>
(Note that the generalised momentum is the same as the "normal" Newtonian momentum of mass times velocity in this problem.) <math>Q=0</math> for this simple problem, and so the equation of motion is
<math> m\ddot x = -kx </math>
which is the same as the result one arrives at by just considering the forces acting on the mass in Newtonian mechanics. This can then be solved to get the mass's equation of motion.