SHM as the Projection of a Uniform Circular Morion

SHM as the Projection of a Uniform Circular Motion
The motion of an oscillator undergoing as simple harmonic motion could be mapped to a uniform circular motion. To see that better, let's look at the trigonometric unit circle:

Let's choose angle θto be equal to ωtwhere ωis the angular frequency of SHM.
From the picture, using trigonometric relations for the triangle shown at any moment:
Above equations are similar to the functions which describe the position of an oscillator in a SHM.
Example: SHM from Circular Motion
The image below shows the coordinates of a particle moving around a circle at t=0, as well as the direction of motion. Find the equation of its position x as a cos function. Then find the velocity and acceleration equations as well.

Begin with the position equation for SHM:
x=Acos(ωt+ϕ)
We see that the circular motion has a radius r=1 because the coordinates of the point are on the unit circle, so the amplitude is A=1. (Alternately, find the radius = hypothenuse of the triangle using the Pythagorean Theorem.)
When t=0, the position is x=−21. Put these into the equation to find the phase shift:
x=Acos(ωt+ϕ)
−21=cosϕ
Ignoring the negative sign, we get a reference angle of ϕ=3π. But since cos is negative, the angle could be in Quadrants II or III.
To figure out which one it is, we have to look at the velocity. From the diagram, the particle is moving in the negative direction (clockwise), so the velocity should be negative.
The velocity is given by:
v=−Aωsin(ωt+ϕ)
At time t=0 we have:
v=−ωsin(ϕ)
and since the velocity is negative and ω positive, sinϕ should be positive, so the angle could be in Quadrants I or II.
Therefore to satisfy both conditions, the angle has to be in Quadrant II and our phase shift is:
ϕ=32π
Now we have the position equation:
x=Acos(ωt+ϕ)
x=cos(ωt+32π)
The velocity equation is:
v=−Aωsin(ωt+ϕ)
v=−ωsin(ωt+32π)
The acceleration is:
a=−Aω2cos(ωt+ϕ)
a=−ω2cos(ωt+32π)