1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Trig Identies

  1. Jun 21, 2010 #1
    Hello. I am studying second-order differential equations, and I am currently studying simple harmonic oscillations, like those in a spring-block system. When solving the differential equation, I get answers in the form of y^2=

    [tex]x(t)^2=(c_1^2+c_2^2)(cos^2(\omega t)-(c_2^2/(c_1^2+c_2^2))sin^2(\pi/\omega))[/tex]

    How can I convert this to the general form of the SHM equation:

    [tex]x(t)^2=(c_1^2+c_2^2)cos^2(\omega t+\phi)[/tex]

    where [tex]cos(\phi)=c_1/\sqrt{c_1^2+c_2^2}[/tex] and [tex]sin(\phi)=-c_2/\sqrt{c_1^2+c_2^2}[/tex]

    I'm really close here, but I do not know how to use trig identities to convert the squared constant plus squared cosine function into just a single cosine function containing a shift. Thank you.


    (PS- I am also trying to use Latex, so check back to see if I've edited the post to make it more readable. Hopefully, you can at least see what I'm going for)
     
    Last edited: Jun 21, 2010
  2. jcsd
  3. Jun 21, 2010 #2
    In general you can use
    [tex]\cos(x)=\Re e^{ix}[/tex]
    and
    [tex]\cos^2 x=\Re e^{ix}\cdot\frac{e^{ix}+e^{-ix}}{2}[/tex]
    You get the idea?

    Hmm, in your equation the [itex]/\omega[/itex] looks funny. And are you sure that you don't have too many squares in there?
     
    Last edited: Jun 21, 2010
  4. Jun 21, 2010 #3
    No, that's the correct equation. This is how far I got solving back from:

    [tex]x(t)=c_1cos(\omega t)+c_2sin(\omega t) [/tex]

    I already used Euler's formula on the solution to the differential equation to get the above equation, which I then manipulated using trig identities to get the equation I printed above. How would I use the formula again to make progress on the problem? Basically, I am looking for a way to show with trig identities that a cosine squared function plus a constant is the same as a cosine squared function with a shifted argument.
     
  5. Jun 21, 2010 #4
    Then start from the latter equation you quote and use the idea I propose. It's pretty easy then.
     
  6. Jun 21, 2010 #5

    uart

    User Avatar
    Science Advisor

    wil3, if your equation in post #3 is correct then your other equation (post #1) is definitely incorrect.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook