Harmonic Oscillator: Difference between revisions
From biophysics wiki
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
The harmonic oscillator is often used to model spring-mass systems. The force acting on the mass is proportianal to the deviation of the spring from its neutral point $q$. This force leads to a potential $\frac{k}{2} \cdot q^2$. The mass has the kinetic energy $\frac{m}{2} \cdot \dot{q}^2$. | The harmonic oscillator is often used to model spring-mass systems. The force acting on the mass is proportianal to the deviation of the spring from its neutral point $q$. This force leads to a potential $\frac{k}{2} \cdot q^2$. The mass has the kinetic energy $\frac{m}{2} \cdot \dot{q}^2$. The Lagrangian of the system reads | ||
\begin{align} | \begin{align} | ||
L=\frac{\dot{q}^2}{2}-\frac{ | L=\frac{\dot{q}^2}{2 m}-\frac{mq^2}{2} | ||
\end{align} | |||
We easily derive the equations of motion by the formulas | |||
\begin{align} | |||
label{eq1} | |||
\frac{\partial L}{\partial q}=\dot{p}=-mq | |||
\end{align} | |||
\begin{align} | |||
\label{eq2} | |||
\frac{\partial L}{\partial \dot{q}}=p=\frac{\dot{q}}{m} | |||
\end{align} | |||
This is a system of first order ordinary differntial equations, but we can reduce it to the more familiar second order equation by pluging equation \ref{eq2} into \ref{eq1} | |||
\begin{align} | |||
\frac{d}{dt}\frac{\dot{q}}{m}=-mq\\ | |||
\ddot{q}=-mq | |||
\end{align} | \end{align} | ||
Revision as of 13:56, 22 May 2013
The harmonic oscillator is often used to model spring-mass systems. The force acting on the mass is proportianal to the deviation of the spring from its neutral point $q$. This force leads to a potential $\frac{k}{2} \cdot q^2$. The mass has the kinetic energy $\frac{m}{2} \cdot \dot{q}^2$. The Lagrangian of the system reads \begin{align} L=\frac{\dot{q}^2}{2 m}-\frac{mq^2}{2} \end{align} We easily derive the equations of motion by the formulas \begin{align} label{eq1} \frac{\partial L}{\partial q}=\dot{p}=-mq \end{align} \begin{align} \label{eq2} \frac{\partial L}{\partial \dot{q}}=p=\frac{\dot{q}}{m} \end{align} This is a system of first order ordinary differntial equations, but we can reduce it to the more familiar second order equation by pluging equation \ref{eq2} into \ref{eq1} \begin{align} \frac{d}{dt}\frac{\dot{q}}{m}=-mq\\ \ddot{q}=-mq \end{align}