Solving the SHM differential equation

Click For Summary
SUMMARY

This discussion focuses on solving the homogeneous linear differential equation using various forms of its general solutions. The key expressions discussed include the exponential form ##x=C_1e^{i\omega t}+C_2e^{-i\omega t}##, the sine-cosine form ##x=A\sin\omega t+B\cos\omega t##, and the sine of a sum form ##x=D\sin(\omega t+\phi)##. The transition from line 5 to line 6 is clarified through the application of a trigonometric identity, specifically identifying coefficients A and B in terms of D and φ. The discussion emphasizes that arbitrary coefficients can be complex, allowing for flexibility in the solutions.

PREREQUISITES
  • Understanding of homogeneous linear differential equations
  • Familiarity with Euler's identity and complex numbers
  • Knowledge of trigonometric identities, particularly the sine of a sum
  • Ability to manipulate algebraic expressions involving arbitrary constants
NEXT STEPS
  • Study the derivation of solutions for homogeneous linear differential equations
  • Learn about the application of Euler's formula in differential equations
  • Explore trigonometric identities and their use in simplifying expressions
  • Investigate the implications of complex coefficients in differential equations
USEFUL FOR

Students and professionals in mathematics, physics, and engineering who are working with differential equations, particularly those interested in understanding the relationships between different forms of solutions and their applications in real-world scenarios.

member 731016
Homework Statement
Please see below
Relevant Equations
x(t) = Ae^(αt)
I am trying to solve this homogenous linear differential equation
1670471233862.png
.
Since it is linear, I can use the substitution
1670471362312.png
.
Which gives,
1670471550898.png
(line 1)
1670471600562.png
(line 2)
1670471665871.png
(line 3)
1670471754837.png
(line 4)
1670472195684.png
(line 5)
Which according to Morin's equals,
1670471844926.png
(line 6)

However, could someone please show me steps how he got from line 5 to 6?

Also was is line 4 is it not:
1670472319014.png
? In other words, why dose B ≠ A?

Many thanks!
 
Last edited by a moderator:
Physics news on Phys.org
All of the expressions below are general solutions of your equation
  1. ##x=C_1e^{i\omega t}+C_2e^{-i\omega t}##
  2. ##x=A\sin\omega t+B\cos\omega t##
  3. ##x=D\sin(\omega t+\phi)##
You can verify that this is so by substituting in your ODE. Note that each expression has two arbitrary constants that are determined by the initial conditions, usually the values of ##x## and ##\frac{dx}{dt}## at ##t=0## that are appropriate to a particular situation..

You are asking how to go from 5 to 6 which is essentially going from my item 2 to 3. It is more obvious to see how to go from 3 to 2. Once you see that, you can reverse the algebra, if you wish.

Using a well known trig identity for the sine of a sum of angles,
$$D\sin(\omega t+\phi)=D\cos\phi \sin\omega t+D\sin\phi \cos\omega t.$$ If you identify $$A\equiv D\cos\phi~~\text{and}~~B\equiv D\sin\phi,$$you have item 2 above.
 
  • Like
Likes   Reactions: member 731016
kuruman said:
All of the expressions below are general solutions of your equation
  1. ##x=C_1e^{i\omega t}+C_2e^{-i\omega t}##
  2. ##x=A\sin\omega t+B\cos\omega t##
  3. ##x=D\sin(\omega t+\phi)##
You can verify that this is so by substituting in your ODE. Note that each expression has two arbitrary constants that are determined by the initial conditions, usually the values of ##x## and ##\frac{dx}{dt}## at ##t=0## that are appropriate to a particular situation..

You are asking how to go from 5 to 6 which is essentially going from my item 2 to 3. It is more obvious to see how to go from 3 to 2. Once you see that, you can reverse the algebra, if you wish.

Using a well known trig identity for the sine of a sum of angles,
$$D\sin(\omega t+\phi)=D\cos\phi \sin\omega t+D\sin\phi \cos\omega t.$$ If you identify $$A\equiv D\cos\phi~~\text{and}~~B\equiv D\sin\phi,$$you have item 2 above.
Thanks for your reply @kuruman ! Why don't you have and imaginary unit when going from line 1 to line 2? I though from Euler's identity it should be:
1670475675127.png
. However, are you assuming that the constant B accounts for that?

Many thanks!
 
All arbitrary coefficients are, well, arbitrary which means they could be complex.
 
  • Like
Likes   Reactions: member 731016
Ok thank you @kuruman ! I guess that means we could have the coefficient without the imaginary unit, which is cool because even thought the answers look different, they are both correct.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
2K
Replies
16
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
21
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
9
Views
2K
Replies
5
Views
1K
  • · Replies 88 ·
3
Replies
88
Views
6K