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

  • Thread starter wil3
  • Start date
  • Tags
    Shm
In summary, the conversation is about solving a second-order differential equation for simple harmonic oscillations in a spring-block system. The equation is in the form of y^2= 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)). The person is trying to convert this to the general form of the SHM equation, x(t)^2=(c_1^2+c_2^2)cos^2(\omega t+\phi), where cos(\phi)=c_1/\sqrt{c_1^2+c_2^2} and sin
  • #1
wil3
179
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:
Mathematics news on Phys.org
  • #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:
  • #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.
 
  • #4
Then start from the latter equation you quote and use the idea I propose. It's pretty easy then.
 
  • #5
wil3, if your equation in post #3 is correct then your other equation (post #1) is definitely incorrect.
 

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

How do you convert x(t)^2 to cos^2(wt+φ)?

To convert x(t)^2 to cos^2(wt+φ), you can use the trigonometric identity cos^2x = (1+cos2x)/2. Substitute x(t) for x and solve for cos^2(wt+φ) to get the desired conversion.

What is the purpose of converting x(t)^2 to cos^2(wt+φ)?

The purpose of converting x(t)^2 to cos^2(wt+φ) is to simplify the equations and make it easier to solve for the position and velocity of an object undergoing simple harmonic motion (SHM).

How does the value of φ affect the conversion of x(t)^2 to cos^2(wt+φ)?

The value of φ affects the conversion of x(t)^2 to cos^2(wt+φ) by shifting the cosine function horizontally on the x-axis. This can change the starting position of the object undergoing SHM.

Can you use this conversion for any type of SHM?

Yes, this conversion can be used for any type of SHM as long as the position function, x(t), is known and can be written in the form x(t) = A cos(wt+φ).

Are there any limitations to using this conversion method?

One limitation of using this conversion method is that it assumes the object undergoing SHM is moving in a straight line. It may not be applicable for cases where the motion is not one-dimensional or follows a curved path.

Back
Top