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 Lagrangian of the system reads | 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 m}-\frac{ | L=\frac{\dot{q}^2}{2 m}-\frac{m\, q^2}{2} | ||
\end{align} | \end{align} | ||
We easily derive the equations of motion by the formulas | We easily derive the equations of motion by the formulas | ||
\begin{align} | \begin{align} | ||
label{eq1} | \label{eq1} | ||
\frac{\partial L}{\partial q}=\dot{p}=- | \frac{\partial L}{\partial q}=\dot{p}=-m\, q | ||
\end{align} | \end{align} | ||
\begin{align} | \begin{align} | ||
| Line 14: | Line 14: | ||
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} | 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} | \begin{align} | ||
\frac{d}{dt}\frac{\dot{q}}{m}=- | \frac{d}{dt}\frac{\dot{q}}{m}=-m\, q\\ | ||
\ddot{q}=- | \ddot{q}=-m\, q | ||
\end{align} | \end{align} | ||
We can derive the Hamiltonian formulation from the Lagrangian by plugging for $\dot{q}$ from \ref{eq1} | |||
\begin{align} | |||
H&= \dot{q} p - L=\dot{q} p - L\\ | |||
&=m\, p^2 - \frac{\dot{q}^2}{2 m}+\frac{m\, q^2}{2}\\ | |||
&=m\, p^2 - \frac{m \,p^2}{2}+\frac{m\, q^2}{2}\\ | |||
\end{align} | |||
\begin{align} | |||
H&=\frac{m p^2}{2}+\frac{m\, q^2}{2}=\frac{m}{2}(p^2 + q^2)= const. | |||
\end{align} | |||
This last equation describes a circle in $pq$-space, with radius $r^2=p^2+q^2$. Each radius corresponds to a certain energy. | |||
[[File:clharmonicoscillator.png|thumb|center|400px]] | |||
Revision as of 14:22, 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{m\, q^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}=-m\, q \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}=-m\, q\\ \ddot{q}=-m\, q \end{align}
We can derive the Hamiltonian formulation from the Lagrangian by plugging for $\dot{q}$ from \ref{eq1} \begin{align} H&= \dot{q} p - L=\dot{q} p - L\\ &=m\, p^2 - \frac{\dot{q}^2}{2 m}+\frac{m\, q^2}{2}\\ &=m\, p^2 - \frac{m \,p^2}{2}+\frac{m\, q^2}{2}\\ \end{align} \begin{align} H&=\frac{m p^2}{2}+\frac{m\, q^2}{2}=\frac{m}{2}(p^2 + q^2)= const. \end{align} This last equation describes a circle in $pq$-space, with radius $r^2=p^2+q^2$. Each radius corresponds to a certain energy.
