How does one get the solution to the differential equation for SHM?

Click For Summary
SUMMARY

The solution to the differential equation for simple harmonic motion (SHM), represented as x''(t) + (k/m)x = 0, is derived as x = A cos(wt + ∅). This solution emerges from the relationship between exponential functions and trigonometric functions as described by Euler's equation, where the guess-and-check method is a practical approach to solving such differential equations. The use of complex exponentials, such as A e^(-wt) + B e^(wt), leads to the transformation into sine and cosine functions. Understanding eigenvectors can provide a more systematic approach, though it may complicate initial learning.

PREREQUISITES
  • Understanding of differential equations, specifically second-order linear equations
  • Familiarity with simple harmonic motion concepts and equations
  • Knowledge of Euler's formula relating complex exponentials to trigonometric functions
  • Basic skills in guess-and-check methods for solving equations
NEXT STEPS
  • Study the derivation of solutions for second-order linear differential equations
  • Learn about Euler's formula and its applications in physics and engineering
  • Explore the use of eigenvectors in solving differential equations
  • Investigate computational tools for solving differential equations, such as MATLAB or Mathematica
USEFUL FOR

Students of physics and engineering, mathematicians, and anyone interested in understanding the principles of simple harmonic motion and differential equations.

mahrap
Messages
37
Reaction score
0
I understand the derivation for the simple harmonic motion equation:

F = -kx ( in a 1-D case)

acceleration = x''(t) = (-k/m)x

so x''(t) + (k/m)x = 0

But why is the solution to this equation

x = A cos (wt + ∅ )

How does one come up with this solution? I tried understanding this by reading my textbook however I get very confused. Any help is appreciated. Thank you.
 
Last edited:
Physics news on Phys.org
I think initially

ei k θ

Is the real basis of the solution.

That's because e^x is its own derivative.

Euler's equation relates e^i theta to sin and cos functions hence the solution you see.
 
You basically guess that the solution is an exponential because of the form of the DE. So something along the lines of A_e^-wx+B_e^wx, and then you discover that w is complex and you rewrite those complex exponentials into sines and cosines with eulers equation.
 
mahrap said:
How does one come up with this solution?
Guess and check. Unfortunately, that is one of the most effective ways of coming up with solutions to differential equations. Computers can be helpful with that, they aren't as good at the guessing part, but they can do the checking part very quickly.
 
@mahrap: You don't have to guess. If you enjoy eigenvectors and all that stuff, then it follows naturally. But if you are learning this the first time, then maybe it is too long a detour. That is probably why your textbook is giving a weird explanation. They want to reassure you that there is a proper way to get the answer, but it would take up too much writing to actually explain it.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K