Finding (Eq. 2) from (Eq. 3): A Simple Guide

  • Thread starter Thread starter DivGradCurl
  • Start date Start date
AI Thread Summary
The discussion focuses on deriving Equation 2 from Equation 3 in the context of damped simple harmonic motion (SHM). Participants clarify that Equation 2 is a specific case of the general solution represented in Equation 3, where both components are assumed to have the same amplitude. They emphasize the importance of initial conditions in determining the specific solution and discuss how to manipulate the equations to find the relationships between the parameters. The conversation also touches on potential errors in the derivation process, particularly regarding signs and trigonometric identities. Ultimately, the participants reach a consensus on the correct approach to derive Equation 2 from Equation 3.
DivGradCurl
Messages
364
Reaction score
0
Hello everybody...

In my school textbook, I have the following explanation to Damped SHM:

\hline
Soving the differential equation:

m \frac{d^2x}{dt^2}+\gamma m \frac{dx}{dt}+m\omega _0 ^2x = 0 (Eq. 1)

gives

x(t)=x_{m}e^{-\frac{\gamma}{2}t}\cos \left( \omega _{\gamma}t + \phi \right), (Eq. 2)

where:

\gamma = \frac{b}{m}
and
\omega _{\gamma}=\sqrt{\omega _0 ^2 - \frac{b^2}{4m^2}}
and
\omega _0 = \sqrt{\frac{k}{m}}.

\hline

It goes as simply as that. However, I've read on the web that this is an under damped SHM, and that the answer really goes like this:

\hline

x(t)=Ae^{-\frac{\gamma}{2}t}\cos \left( \omega _{\gamma}t + \phi _1 \right)+Be^{-\frac{\gamma}{2}t}\cos \left(- \omega _{\gamma}t + \phi _2 \right) (Eq. 3)

\hline

My question is: How do I go about finding (Eq. 2) out of (Eq. 3). Is there any special trick?

Thank you very much. :smile:
 
Physics news on Phys.org
Generally, a second order linear differential equation will have two solutions and the particular solution will be a linear superposition of the two. I think the author of your text was just being a little lazy and took both components to have the same amplitude.
 
What about the phase? Shall also I set \phi _1 = \phi and \phi _2 = \frac{\pi}{2} in order to get Eq. 2?

Thanks
 
You have not fully specified the problem. Where are, and what are, the initial conditions? The first solution may result in applying the initial conditions, while the second is the full general solution with no initial conditions applied.
 
Besides, you can have real solutions as well as imaginary solutions. it depends on the initial conditions and ofcourse you must also know the algorithm for solving second order differential equations. You can have a solution of the form exp(iAt) where A is a constant. But Euler's rule states that this is equal to cos(At) + isin(At). Now in differential equations You also need to implement constants that can be determined by using the initial conditions. A general solution would be of the form : Bcos(At) + Csin(At)

So basically all depends on the given initial conditions. I just wanted to give some general possibilities concerning solutions of the diff.equation...

regards
marlon
 
If you want to see how it is done completely, let me know...

regards
marlon
 
thiago_j said:
x(t)=x_{m}e^{-\frac{\gamma}{2}t}\cos \left( \omega _{\gamma}t + \phi \right), (Eq. 2)


It goes as simply as that. However, I've read on the web that this is an under damped SHM, and that the answer really goes like this:


x(t)=Ae^{-\frac{\gamma}{2}t}\cos \left( \omega _{\gamma}t + \phi _1 \right)+Be^{-\frac{\gamma}{2}t}\cos \left(- \omega _{\gamma}t + \phi _2 \right) (Eq. 3)



My question is: How do I go about finding (Eq. 2) out of (Eq. 3). Is there any special trick?


Yes. You can find the parameters of eq. 2 from those in eq. 3.

x_{m}e^{-\frac{\gamma}{2}t}\cos \left( \omega _{\gamma}t + \phi \right)=Ae^{-\frac{\gamma}{2}t}\cos \left( \omega _{\gamma}t + \phi _1 \right)+Be^{-\frac{\gamma}{2}t}\cos \left(- \omega _{\gamma}t + \phi _2 \right)

x_m\cos \left( \omega _{\gamma}t + \phi \right)=A\cos \left( \omega _{\gamma}t + \phi _1 \right)+B\cos \left(- \omega _{\gamma}t + \phi _2 \right)

x_m\cos( \omega _{\gamma}t)cos(\phi )-x_m\sin( \omega _{\gamma}t)sin(\phi)=A[cos (\omega _{\gamma}t)cos(\phi_1)-sin( \omega _{\gamma}t)sin(\phi1)]+B[cos( \omega _{\gamma}t)cos(\phi_2)+sin( \omega _{\gamma}t)sin(\phi_2)]

cos( \omega _{\gamma}t)[x_mcos(\phi)-Acos(\phi_1)-Bcos(\phi_2)]-sin( \omega _{\gamma}t)[x_msin(\phi)+Asin(\phi_1)-Bsin(\phi_2)]=0

The equation can hold for every value of t only if the coefficients of both terms cos( \omega _{\gamma}t)\mbox { and }sin( \omega _{\gamma}t) are zero.

x_mcos(\phi)=Acos(\phi_1)+Bcos(\phi_2)
x_msin(\phi)=Asin(\phi_1)-Bsin(\phi_2)

Solving these equations, we get

x_m^2= A^2+B^2+2ABcos(\phi_1-\phi_2)
tan(\phi)=\frac{Asin(\phi_1)-Bsin(\phi_2)}{Acos(\phi_1)+Bcos(\phi_2)}

I hope I haven't made too many mistakes in the derivations...


ehild
 
Well, I guess x_msin(\phi)=Asin(\phi_1)-Bsin(\phi_2) should actually be x_msin(\phi)=-Asin(\phi_1)+Bsin(\phi_2).

To be honest, I just could not understand how you found the expression: x_m^2= A^2+B^2+2ABcos(\phi_1-\phi_2). Anyway, great job!
 
thiago_j said:
Well, I guess x_msin(\phi)=Asin(\phi_1)-Bsin(\phi_2) should actually be x_msin(\phi)=-Asin(\phi_1)+Bsin(\phi_2).

To be honest, I just could not understand how you found the expression: x_m^2= A^2+B^2+2ABcos(\phi_1-\phi_2).

You are right, the signs are very confusing, especially if I have to write in TEX... :smile:
The error was in the formula

cos( \omega _{\gamma}t)[x_mcos(\phi)-Acos(\phi_1)-Bcos(\phi_2)]-sin( \omega _{\gamma}t)[x_msin(\phi)-Asin(\phi_1)+Bsin(\phi_2)]=0

I hope it is correct now, (but one never can be sure about signs) so

x_msin(\phi)=Asin(\phi_1)-Bsin(\phi_2)

is all right, but there is an other error in x_m^2. The correct form is

x_m^2= A^2+B^2+2ABcos(\phi_1+\phi_2).

You can get it by taking the square of both equations

x_mcos(\phi)=Acos(\phi_1)+Bcos(\phi_2)

and

x_msin(\phi)=Asin(\phi_1)-Bsin(\phi_2)

summing up the squared equations, collecting terms with A^2 \mbox{, } B^2 \mbox{ and } 2AB and using the trigonometric identities cos^2(\alpha)+sin^2(\alpha)=1 and cos(\alpha +\beta) = cos(\alpha)cos(\beta)-sin(\alpha)sin(\beta). You can use the same method any time when you want to replace the sum or difference of two harmonic motions(signals) of the same frequency with a single one. (You will bump into it when you learn about ac circuits or about interference of waves.)

ehild
 
  • #10
I get it

Thank you, ehild. That works!
 

Similar threads

Back
Top