Deriving equation of simple harmonic motion

In summary, Derivation of simple harmonic motion:- SHM is a type of oscillation that comes about when a mass is displaced from its equilibrium position. - The equation of motion for SHM is F= -kx (- because it is a restoring force and displacement is a vector) K is a constant and = F/x - Setting [\itex]\omega=\sqrt{k/m}[/itex] gives- \ddot{x}+\omega^2 x=0. This is a linear ordinary differential equation with constant coefficients. It's general solution is the superposition of two linearly independent solutions. Here, we have a real equation
  • #1
johnathon
40
0
Derivation of simple harmonic motion

I'm looking at the wikipedia page for simple harmonic motion (http://en.wikipedia.org/wiki/Simple_harmonic_motion) and I'm confused by this line:
[tex]c_1cos(\omega t) + c_2sin(\omega t)=A*cos(\omega t - \phi)[/tex]
How did they get from the left hand side to the right hand side?
Also what is the significance of omega? Apparently it means angular frequency but why does it equal [tex]\sqrt{\frac{k}{m}}[/tex]
 
Last edited:
Physics news on Phys.org
  • #2
Do you know how to expand [itex]\cos (\omega t - \phi)[/itex]?
 
  • #3
The meaning of ω in SHM.
Harmonic motion is defined as oscillations that come about when a mass is displaced from its equilibrium position. Oscillations occur if the mass experiences a RESTORING force acting back towards the equilibrium position. SIMPLE harmonic motion occurs when the restoring force is proportional to the displacement.
i.e the defining equation for SHM is F = -kx (- because it is a restoring force and displacement is a vector) K is a constant and = F/x i.e it is a STIFFNESS of the system (units = N/m)

This means that the acceleration in SHM = F/m = -(k/m)x
SHM is very closely linked to circular motion... you could say that SHM is circular motion viewed 'edge on'...All of the equations in SHM can be seen in the associated circular motion.
In particular the maximum acceleration in SHM (at max displacement) is equal to the acceleration in the circular motion...
This gives -(k/m)A = ω^2 A (radius of circle is equivalent to amplitude in SHM r = A..)
so ω^2 = k/m
The max velocity in SHM (at zero displacement) v = ωA ... the equivalent velocity in circular motion.

Hope this helps
 
  • #4
As already said, the equation of motion reads

[tex]m \ddot{x}=-k x,[/tex]

where on the right-hand side Hook's Law for a spring has been applied. It's valid, if the elongation of the spring is not too large.

Setting [\itex]\omega=\sqrt{k/m}[/itex] gives

[tex]\ddot{x}+\omega^2 x=0.[/tex]

This is a linear ordinary differential equation with constant coefficients. It's general solution is the superposition of two linearly independent solutions. Here, we have a real equation, and thus we chose two real solutions, leading to

[tex]x(t)=a_1 \cos(\omega t)+b_1 \sin(\omega t).[/tex]

The two integration constants, [itex]a_1[/itex] and [itex]a_2[/itex], are fixed by appropriate initial conditions. In our case we need to specify [itex]x(t_0)[/itex] and [itex]\dot{x}(t_0)[/itex].

The other form of the solution can be found as follows: Just use the theorem for additions of angles in the cosine:

[tex]\cos(\alpha-\beta)=\cos \alpha \cos \beta+\sin \alpha \sin \beta.[/tex]

From this you get

[tex]x(t)=a_1 \cos(\omega t)+b_1 \sin(\omega t) = A \cos(\omega t-\phi)=A [\cos(\omega t) \cos \phi + \sin(\omega t) \sin(\phi)].[/tex]

The two expressions can only be equal if the two coefficients in front of the two linearly independent solutions are equal, and thus you find

[tex]a_1=A \cos \phi, \quad a_2=A \sin \phi.[/tex]

Usually one choses [itex]A>0[/itex]. From this you get

[tex]A=\sqrt{a_1^2+a_2^2}[/tex]

and then

[tex]\phi=\mathrm{sign}(a_2) \arccos \left(\frac{a_1}{A} \right ).[/tex]

This gives you the phase shift, [itex]\phi[/itex], in a range between [itex]-\pi[/itex] and [/itex]\pi[/itex].

Sometimes you find also an equation using the tangens, but this is not good since you don't get the full range of angles in an interval of the length of [itex]2 \pi[/itex] from it!
 
  • #5
But I thought that the initial conditions were that [tex]x(0)=A[/tex] and [tex]x'(0)=0[/tex]
So doing that I get:
[tex]a_1=A[/tex]
[tex]b_1=0[/tex]
So I'm left with:
[tex]x(t)=A*cos(\omega t)[/tex]
Why's what I did wrong?
 
  • #6
johnathon said:
But I thought that the initial conditions were that [tex]x(0)=A[/tex] and [tex]x'(0)=0[/tex]
So doing that I get:
[tex]a_1=A[/tex]
[tex]b_1=0[/tex]
So I'm left with:
[tex]x(t)=A*cos(\omega t)[/tex]
Why's what I did wrong?
Nothing wrong with what you did, but it's just not general enough. You chose t = 0 to be the point where the object is at maximum displacement; under that assumption, your result is correct. But that assumption is arbitrary. You can set t = 0 at any point in the motion. That's why the most general description has a phase factor.
 
  • #7
Doc Al said:
Nothing wrong with what you did, but it's just not general enough. You chose t = 0 to be the point where the object is at maximum displacement; under that assumption, your result is correct. But that assumption is arbitrary. You can set t = 0 at any point in the motion. That's why the most general description has a phase factor.

In what situations would you not want t=0 to be at max displacement? Would an example be when I release it at equilibrium but give it a bit of a push? And I'm still kind of confused at the what the phase angle is? Do you know of an example that links all the stuff together?
 
Last edited:
  • #8
And isn't using the addition formula defeating the purpose of a derivation because you're going from the solution then working backwards with that?
 
  • #9
johnathon said:
In what situations would you not want t=0 to be at max displacement?
The point is that the starting point (t = 0) for describing the motion is arbitrary. If you get to choose the starting point, you can use whatever you like.
Would an example be when I release it at equilibrium but give it a bit of a push?
Sure. But don't get hung up on the idea of how the motion started. Something is oscillating in SHM. You can start your timer at any point in the motion--when it's at maximum displacement, when it's at equilibrium, or any point in between. You should be able to produce an expression that describes the position as a function of time.
And I'm still kind of confused at the what the phase angle is? Do you know of an example that links all the stuff together?
The phase angle is just a way of describing where your starting point is for plotting the position as a function of time. If phase = 0, that means (using the cosine form) that you are starting at maximum displacement; if phase = 90°, it means you are starting at equilibrium. The motion is the same, just the description changes.

An example where you will want to use a phase angle might be: At t = 0 you are given the position and velocity of the object. You are asked to come up with an expression for the position at any time.
johnathon said:
And isn't using the addition formula defeating the purpose of a derivation because you're going from the solution then working backwards with that?
No. The general solution of the differential equation will be some combination of sine and cosine functions.
 
  • #10
whatever version of the equations you use must give max acceleration at max displacement (the amplitude) and max velocity passing through the equilibrium point (displacement = 0)
 
  • #11
Doc Al said:
You can start your timer at any point in the motion--when it's at maximum displacement, when it's at equilibrium, or any point in between. You should be able to produce an expression that describes the position as a function of time.
Ah thanks, that makes a lot more sense

Doc Al said:
The general solution of the differential equation will be some combination of sine and cosine functions.
But what I'm trying to say is, if you hadn't seen the equation before how would you know that:
[tex]a_1cos(\omega t) + b_1sin(\omega t)=A*cos(\omega t-\phi)[/tex]
 
  • #12
Here is a diagram I use with my students to , hopefully, clear up the timing issue.
I have shown the 2 most common starting points...at the equilibrium position or the max displacement
 

Attachments

  • shm.jpg
    shm.jpg
    48 KB · Views: 2,785
  • #13
technician said:
Here is a diagram I use with my students to , hopefully, clear up the timing issue.
I have shown the 2 most common starting points...at the equilibrium position or the max displacement

Thanks, I get the timing thing now. But I still don't get how you continued from:
[tex]x(t)=c_1cos(\omega t)+c_2sin(\omega t)[/tex]
If I were to take initial conditions:
[tex]x(0)=x_0[/tex]
[tex]x'(0)=v_0[/tex]
I get:
[tex]x(t)=x_0cos(\omega t)+\frac{v_0}{\omega}sin(\omega t)[/tex]
 
  • #14
Ok. I draw out the cosine graph and I think I'm able to see why:
[tex]x_0=A*cos(\phi)[/tex]
Is it because you're scaling the cosine function by the amplitude, so instead of going from -1 to 1 it's going from -A to A?
But I still can't figure out why:
[tex]\frac{v_0}{\omega}=A*sin(\phi)[/tex]
I kind of see that v is the derivative of x and -sin is the derivative of cos so I see how that works. I just don't see how the 1/omega comes into it
 
  • #15
I think you should have
x = ACos(ωt)
then v = dx/dt = -ωASin(ωt)
and then a = dv/dt = -ω^2.A.Cos(ωt)
 
  • #16
But why does
[tex]\frac{v_0}{\omega}=A*sin(\phi)[/tex]
 
  • #17
Is it not just v = -ωASin(ωt) rearranged to be

v/ω = -ASin(ωt)
 
  • #18
I'm looking at this:
http://people.ccmr.cornell.edu/~muchomas/P214/Notes/SHM/notes.pdf
I completely get how the formula gets there now apart from one thing:
[tex]\phi=\omega t_{el}[/tex]
where t_el is the time since the last maximum displacement.
Why is that?

Edit: Think I've finally got it. Is it because omega is the angular speed, so the angular speed multiplied by the time since the last max displacement will be the angle on the graph since the last displacement (which is the phase shift)?
 
Last edited by a moderator:

FAQ: Deriving equation of simple harmonic motion

1. What is the equation for simple harmonic motion?

The equation for simple harmonic motion is x = A sin(ωt + φ), where x is the displacement from equilibrium, A is the amplitude, ω is the angular frequency, and φ is the phase angle.

2. How is the equation for simple harmonic motion derived?

The equation for simple harmonic motion can be derived using the principles of calculus and Newton's second law of motion. It involves finding the position, velocity, and acceleration functions and using trigonometric identities to simplify the equation.

3. What is the significance of the amplitude in the equation for simple harmonic motion?

The amplitude, represented by A, is the maximum displacement from equilibrium. It determines the range of motion and is directly related to the energy of the system. A larger amplitude corresponds to a higher energy and a more vigorous oscillation.

4. Can the equation for simple harmonic motion be applied to real-life situations?

Yes, the equation for simple harmonic motion can be applied to various real-life situations, such as the motion of a pendulum, the vibrations of a guitar string, or the movement of a mass on a spring. It is a fundamental concept in understanding many physical phenomena.

5. How does changing the frequency affect the equation for simple harmonic motion?

The frequency, represented by ω, is inversely proportional to the period of oscillation. As the frequency increases, the period decreases, and the oscillations occur more rapidly. This results in a shorter wavelength and a higher angular velocity in the equation for simple harmonic motion.

Back
Top