# The Physics of Simple Harmonic Motion

An object moving in an SHM must obey the relation

where is the displacement and is the angular frequency of the oscillator. is related to the frequency of the oscillator by the relation .

A body is moving in SHM if its acceleration is directly proportional to the displacement and in the opposite direction to the displacement.

In this equation, we observe the following:

- the acceleration of the oscillator is always opposite to the displacement,
- the magnitude of the acceleration is directly proportional to the displacement.

From these two points, we see that the acceleration is greatest when the oscillator is at the maximum displacement while it is zero when the oscillator is at equilibrium. Since force and acceleration is directly proportional , we see that the restoring force of the oscillator is correspondingly largest at the maximum displacement and zero at equilibrium.

### SHM in a spring

When a object hung on a spring oscillates, it is moving in SHM. There is a restoring force from the spring causing the object to move up and down. There are two ways to start the motion:

- displace the object to a certain distance and release, or
- with the oscillator at equilibrium, give it a push such that it starts moving.

Which colour of the graphs would case 1 and 2 belong?

The red graph would have an equation of while the blue graph is .

For the rest of this post, I will use the first equation (red), .

Since velocity is the derivative of displacement with time,

Acceleration is the derivative of velocity with time, hence

But from the first equation , we have

### Equation relating velocity to displacement

In the above equations, we have relationships with respect to time. We can also determine the velocity of the object if the displacement is known.

From the original displacement-time equation,

Squaring both equations, we have

Simplifying,

Hence,

### The Restoring Force

It is important to understand that the restoring force is the resultant of both the spring force and the weight of the oscillator. Since weight is constant, the restoring force would be proportional to the spring force, . Hence, the restoring force is never constant.

where is the restoring force and is the spring force.

From the equation, it can be seen that the maximum restoring force occurs when is maximum, which occurs when the displacement is at maximum. This is also the position where the acceleration is maximum(and zero velocity).

### Phases of an SHM

As we can see,

- the velocity of SHM and displacement has a phase difference of .
- The acceleration and the displacement has a phase difference of .
- The acceleration and velocity has a phase difference of

### Review Question 1

Using the blue graph above, sketch the corresponding graphs of and .