Solving SHM: Converting x(t)^2 to cos^2(wt+φ)

  • Context: Graduate 
  • Thread starter Thread starter wil3
  • Start date Start date
  • Tags Tags
    Shm
Click For Summary

Discussion Overview

The discussion revolves around the conversion of the expression for simple harmonic motion (SHM) from a form involving cosine squared to a general form that incorporates a phase shift. Participants are exploring mathematical manipulations, particularly using trigonometric identities and Euler's formula, in the context of second-order differential equations related to SHM.

Discussion Character

  • Mathematical reasoning
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant presents an equation for SHM and seeks to convert it to a form with a phase shift, expressing uncertainty about using trigonometric identities effectively.
  • Another participant suggests using Euler's formula to manipulate the cosine terms, indicating a method for approaching the problem.
  • A third participant confirms their previous equation and expresses a desire to further manipulate it using trigonometric identities to achieve the desired form.
  • One participant questions the correctness of the initial equation presented, suggesting a potential error in the formulation.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correctness of the initial equation, with one participant asserting it is incorrect while others seem to support its validity. The discussion remains unresolved regarding the specific manipulations needed to achieve the desired form.

Contextual Notes

There are indications of potential misunderstandings regarding the manipulation of trigonometric identities and the application of Euler's formula. The discussion reflects varying levels of confidence in the correctness of the equations presented.

wil3
Messages
177
Reaction score
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:
Physics news on Phys.org
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:
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.
 
Then start from the latter equation you quote and use the idea I propose. It's pretty easy then.
 
wil3, if your equation in post #3 is correct then your other equation (post #1) is definitely incorrect.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
7
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
11K
  • · Replies 25 ·
Replies
25
Views
4K