Problem with last step of SHM derivation

  • Thread starter Thread starter funcosed
  • Start date Start date
  • Tags Tags
    Derivation Shm
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
funcosed
Messages
35
Reaction score
0

Homework Statement


A masss m ossilates on a spring, find the position as a function of time.


Homework Equations


F=ma
F=-ky


The Attempt at a Solution



Well known problem, set
m(dx/dt) = -kx
get roots of characteristic equation and sub into general solution,
x = Aexp(iwt) +Bexp(-iwt)
or
x = Asin(wt) + Bcos(wt)
I'm ok down as far as here however I know this can be written as Ccos(wt-) but I can't see how?
 
Physics news on Phys.org
(1) probably just typo, not mx'=-kx but mx''=-kx

(2) if you want to go from x = Asin(wt) + Bcos(wt) to x=Ccos(wt+phi), you would have to rewrite the first expression as

x = sqrt(AA+BB) (Asin(wt)/sqrt(AA+BB) + Bcos(wt)/sqrt(AA+BB))

( sqrt(a) is squared root from a)

as soon as (A/sqrt(AA+BB))^2+(B/sqrt(AA+BB))^2 = 1, you can say that there is some angle phi for which cos(phi)= B/sqrt(AA+BB), sin(phi)=A/sqrt(AA+BB). Then use formula for cos of difference.