Harmonic Oscilator Lecture Notes

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

Newtonian Mechanics - part 2

L Del Debbio, University of Edinburgh

January 23, 2014

Harmonic oscillators

Harmonic oscillator

One-dimensional point-like system: particle attached to a spring. Force acting on the particle is given by Hookes law: f = kx . Newtons law yields a dierential equation for x (t ): kx = m d2 x dt 2

Introducing 2 = k /m, the equation of motion can be rewritten in a more familiar form: x + x = 0. The most general solution to this equation is: x (t ) = A cos( t ) + B sin( t ) , where A and B are constants determined by the initial conditions of the system. Exercise 2.1 provides an explicit example. The solution of the equation of motion shows that is the frequency of the oscillations. You can check that indeed it has the right dimensions! (See Exercise 2.2.)
2

Motion of the oscillator


Let us consider the case: x (0) v (0) then the solution of the equation of motion is: x (t ) = x0 cos( t ) . Here is a sketch of the solution x (t ) for t [0, 10], x0 = 2, and = 1: = x0 , = 0.

Check that you understand the mathematical features of this solution, and their physical interpretation. Taking the derivative of x (t ) with respect to t , compute the velocity of this system. You may nd it useful to sketch the velocity in a graph similar to the one above for x (t ).

Energy conservation
The potential energy is dened by the relations: f = dV . dx

Note that the derivative is taken with respect to x , NOT with respect to time. Hence for the harmonic oscillator: V = 1 1 2 2 kx = m x . 2 2

You can check this relation, by taking the derivative of V with respect to x . At t = 0, the system is at rest (v = 0), the only energy is potential energy: E0 = V (x0 ) = and clearly T = 0. Using the solution x (t ), we can compute the potential and kinetic energies for all times - not just t = 0. 2 1 1 sin2 ( t ) T = 2 mx (t )2 = 2 m 2 x0 2 1 1 V = 2 m 2 x (t )2 = 2 m 2 x0 cos2 ( t ) Using the fact that cos2 ( ) + sin2 ( ) = 1, for all values of , we nd that for all values of t : E = i.e. energy is conserved. 1 2 2 m x0 = E0 2 1 2 2 m x0 . 2

You might also like