What is the origin of x=e^(rt) in Simple Harmonic Motion?

Click For Summary
SUMMARY

The origin of the equation x = e^(rt) in Simple Harmonic Motion (SHM) arises from solving the second-order linear differential equation d²x/dt² + (k/m)x = 0, where k is the spring constant and m is mass. The proposed solution x = e^(rt) is an ansatz, which simplifies the process of finding solutions to such equations. By substituting this form into the differential equation, it is established that r² + (k/m) = 0, leading to complex solutions involving imaginary numbers. The final expression for SHM is x(t) = Acos(αt + δ), where α = √(k/m) and δ represents the initial phase.

PREREQUISITES
  • Understanding of Newton's second law of motion.
  • Familiarity with differential equations and their solutions.
  • Knowledge of complex numbers and Euler's formula.
  • Basic concepts of Simple Harmonic Motion (SHM).
NEXT STEPS
  • Study the derivation of solutions for second-order linear differential equations.
  • Learn about the application of Euler's formula in solving differential equations.
  • Explore the concept of "ansatz" in mathematical problem-solving.
  • Investigate the physical implications of complex solutions in oscillatory systems.
USEFUL FOR

Students of physics and engineering, mathematicians, and anyone interested in the mathematical foundations of oscillatory motion and differential equations.

velvetmist
Messages
15
Reaction score
1
This may be a fool question, but i can't figure where does this come from. I would really appreciate if someone can help me. Thanks.
 

Attachments

  • 4668465.JPG
    4668465.JPG
    15.3 KB · Views: 534
Physics news on Phys.org
The answer should have been X= ei√(k/m)t note the i
 
Hello!
First, Newton's second law. (mass m)
F = ma
-kx = ma
ma + kx = 0
You can divide all by mass.
a + kx/m = 0
We have a differential equation.
d2x/dt2 + kx/m = 0 (Homogeneous)

It was considered that the solution is of the type: x = ert
This is a strategy to solve this kind of second order linear equation.
Then the expression is:(Just by putting ert in place of x.)

d2(ert)/dt2 + ertk/m = 0

Deriving: x = ert ; dx/dt = rert ; d2x/dt2 = r2ert

r2 . ert + ertk/m = 0

We have ert in both parts. Therefore, it is one of the advantages of using exponential because you will always retain this expression when deriving or integrating.

ert . (r2 + k/m) = 0

Another advantage: e^rt≠0. This means that our expression r2 + k / m = 0

r = sqrt(-k/m)

in this case, k / m is constant. For simplicity, I will say that: sqrt (k / m) = α

r = ± i α
i = sqrt(-1) = imaginary number
So we have two expressions: (using x = ert; r = ± i α)

x1 = e+i αt
x2 = e- i αt

Using Euler's formula: Another advantage of e

x1 = cos(αt) + i sin(αt)
x2 = cos(-αt) + i sin(-αt)

Putting in the general solution of this type of equation:

x = c1 x1 + c2 x2
c1 and c2 are constants.

x = c1 ( cos(αt) + i sin(αt) ) + c2 ( cos(-αt) + i sin(-αt) )
x = c1 ( cos(αt) + i sin(αt) ) + c2 ( cos(αt) - i sin(αt) )
x = c1 cos(αt) + c1 i sin(αt) + c2 cos(αt) - c2 i sin(αt)
x = (c1 + c2) cos(αt) + (c1 - c2) i sin(αt)

Only the real part matters here.

x(t) = (c1+c2) cos(αt + δ)
x(t) = Acos(αt + δ)

δ is used to indicate the initial phase. Example: When δ = 0,it means that at time 0 its x is the farthest from the equilibrium position.

x (t) = Acos (αt + δ)
x (0) = Acos (α.0 + 0) = A.The e is very useful for this type of calculation. you may notice some characteristics through it. Example: When the e is accompanied by an imaginary number, wait for an oscillation.

Another situation
In a more "manual" way, you can see the math mechanics that do this e appears.
For example in the drag force. Imagine a body in horizontal motion in which only drag force acts on it.
Drag Force = -kv ; k = constant ; v = speed

F = ma
-kv = ma

m . d2x/dt2 = -kv

dv/dt . 1/v = -k/m

dv . 1/v = -k/m . dt

∫1/v . dv = -∫k/m . dt
limits of integration: initial speed (vi) to final speed (vf).
limits of integration: Initial time(I will consider equal to 0) to final time(T)

ln(vf) - ln (vi) = -k/m T

ln(vf/vi) = -k/m . T

vf/vi = e -k/m . T

vf = vi e-k/m . T

But this way of solving, in more complex problems, can be very laborious.
I hope I've helped. If I made a mistake, please correct me.
 
Last edited:
Freaky Fred said:
It was considered that the solution is of the type: x = ert
This is a strategy to solve this kind of second order linear equation.
I understand the rest of your argument, but this was my original question and i still not getting why this is a possible solution, i mean, i can´t made a proper demostration or something. Is like I'm not taking into account the constants that integrals implies.
 
velvetmist said:
I understand the rest of your argument, but this was my original question and i still not getting why this is a possible solution, i mean, i can´t made a proper demostration or something. Is like I'm not taking into account the constants that integrals implies.
Are you asking where ##x=e^{rt}## came from?

It's an educated guess as to the form of the solution. You look at ##\frac{d^2x}{dx^2}+\frac{k}{m}x=0##, you see that this can only work if the second time derivative of ##x## is a multiple of ##x##, you remember that ##x=e^{rt}## has this property so you try substituting that into the equation and see if it works. Differential equations are solved this way so often that there's even a word for the initial educated guess as to the form of the solution: "ansatz".
 
  • Like
Likes   Reactions: velvetmist
Nugatory said:
Are you asking where ##x=e^{rt}## came from?

It's an educated guess as to the form of the solution. You look at ##\frac{d^2x}{dx^2}+\frac{k}{m}x=0##, you see that this can only work if the second time derivative of ##x## is a multiple of ##x##, you remember that ##x=e^{rt}## has this property so you try substituting that into the equation and see if it works. Differential equations are solved this way so often that there's even a word for the initial educated guess as to the form of the solution: "ansatz".
Thank you so much! I feel pretty silly now tbqh.
 

Similar threads

  • · Replies 51 ·
2
Replies
51
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 11 ·
Replies
11
Views
15K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 18 ·
Replies
18
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K