# Finding aplitude of free undamped motion

1. Jul 12, 2009

I have a problem I'm trying to solve:

A mass weighing 32 pounds stretches a spring 2 feet. Determine the amplitude and period of motion if the mass is initially released from a point 1 foot above the equilibrium position with an upward velocity of 2ft/s. How many complete cycles will the mass have completed at the end of 4$$\pi$$ seconds?

I understand that F=kx so I can say 32=k(2) therefore k=16. And a period can be found by T= 2$$\pi$$/$$\omega$$ where $$\omega$$=$$\sqrt{k/m}$$. So in this case $$\omega$$=4 and so the period, T, equals $$\pi$$/2. What I can't figure out though is how to find the amplitude of motion. Any ideas? Thanks for the help.

2. Jul 12, 2009

### djeitnstine

Since this is in the differential equations section I assume you need to solve a differential equation in order to get the information you need. Once you do so, the amplitude becomes obvious.

Have you tried constructing an ODE yet? Since it is undamped the solution is quite simple.

3. Jul 13, 2009

### HallsofIvy

Staff Emeritus
Presumably, you have a function of the form $f(t)= A cos(\omega t)+ B sin(\omega t)$. There are two ways to find the amplitude:

1) Find max and min values by differentiating. $f'(t)= -A sin(\omega t)+ B cos(\omega t)= 0$ gives $B cos(\omega t)= A sin(\omega t)$ so $tan(\omega t)= A/B$ $t= arctan(A/B)/\omega$. Putting that back into the f(t) gives $A cos(arctan(A/B))+ B sin(arctan(A/B))$.

You could use trig identities to change those cosine and sine functions into tangents but simpler is this: imagine a right triangle with opposite side A, near side B. By the Pythagorean theorem, the hypotenuse has length $\sqrt{A^2+ B^2}$. Then the angle is arctan(A/B) and cosine of that angle is $B/\sqrt{A^2+ B^2}$ while the sine is $A/\sqrt{A^2+ B^2}$.

2) Convert $Acos(\omega t)+ Bsin(\omega t)$ to a single function. sin(x+y)= sin(y)cos(x)+ cos(y)sin(x) so, taking $x= \omega t$, we just need to find "y" so that sin(y)= A and cos(y)= B. Of course, we can't do that is $A^2+ B^2$ is not equal to 1 but we can fix that by multiplying and dividing by $\sqrt{A^2+ B^2}$.
$$A cos(\omega t)+ B sin(\omega t)= \sqrt{A^2+ B^2}\left(\frac{A}{\sqrt{A^2+ B^2}}cos(\omega t)+ \frac{B}{\sqrt{A^2+ B^2}}sin(\omega t)\right)$$
$$= \sqrt{A^2+ B^2}cos(\omega t+ y)$$
where y is such that $sin(y)= A/\sqrt{A^2+ B^2}$ and $sin(y)= B/\sqrt{A^2+ B^2}$.

Of course, it is easy to look at that last formula and see what the amplitude is without need to find "y".

Last edited: Mar 28, 2011
4. Mar 28, 2011

### Daman

My trig is a bit rusty.... How do you go from Acos(wt) +Bsin(wt) to sin(wt+y)