When the restoring force on an oscillating object is proportional to its displacement (that is, when ), then the oscillation is called simple harmonic motion. If we graph the displacement of such an oscillation as a function of time, we find that the displacement is sinusoidal-- it looks like a sine or cosine function.
We can write the displacement as a cosine (in radians mode):
where
is the amplitude of the oscillation
is the period of the oscillation
is a number called the initial phase, which depends on where in the cycle the oscillation is at . Most times we'll assume that for simplicity.
For example, if , then because (see Trigonometric Functions). At , it will have completed exactly one cycle, and its displacement is now because . (We must work with radians in this section!)
Because , we can also write the displacement as
Physicists like this version because we don't like writing fractions if we can avoid it.