Solving and manipulating the damped oscillator differential equation

Click For Summary

Discussion Overview

The discussion focuses on solving and manipulating the differential equation for a damped harmonic oscillator, specifically exploring the transition from exponential solutions to trigonometric forms. Participants examine the conditions under which the solutions remain real and the implications of complex coefficients in the context of both damped and simple harmonic motion.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant presents the damped harmonic oscillator equation and proposes a general solution involving complex exponentials, leading to a trigonometric form under the condition that the solution must be real.
  • Another participant suggests that if the solution is to be real, the coefficients must satisfy a specific relationship, implying that one coefficient is the complex conjugate of the other.
  • There is a discussion about the manipulation of the exponential form to derive the trigonometric representation using Euler's formula, with some participants questioning the correctness of the conversion and the resulting coefficients.
  • A participant attempts a similar manipulation for the simple harmonic motion equation, arriving at a trigonometric form and questioning the correctness of their derived coefficient.
  • Another participant provides a detailed breakdown of the conditions for the coefficients to ensure the solution remains real, leading to a conclusion about the relationship between the coefficients.

Areas of Agreement / Disagreement

Participants express differing views on the conversion from exponential to trigonometric forms and the implications of the coefficients involved. There is no consensus on the exact values of the coefficients or the necessity of certain relationships between them.

Contextual Notes

Some participants note that the conditions for the coefficients to ensure a real solution depend on the definitions and assumptions made about the coefficients, particularly in the context of complex numbers.

Who May Find This Useful

This discussion may be useful for students and practitioners interested in differential equations, particularly in the context of oscillatory systems, as well as those exploring the mathematical manipulation of complex numbers in physical applications.

Hamiltonian
Messages
296
Reaction score
193
the differential equation that describes a damped Harmonic oscillator is:
$$\ddot x + 2\gamma \dot x + {\omega}^2x = 0$$ where ##\gamma## and ##\omega## are constants.
we can solve this homogeneous linear differential equation by guessing ##x(t) = Ae^{\alpha t}##
from which we get the condition:
$$\alpha = -\gamma \pm ({\gamma}^2 - {\omega}^2)^{1/2}$$

we can then say that the most general solution for ##x(t)## is:
$$x(t) = e^{-\gamma t}(Ae^{\Omega t} + Be^{-\Omega t})$$ where ##\Omega = ({\gamma}^2 - {\omega}^2)^{1/2} ##

since I am trying to derive ##x(t)## for under damping i.e. ##\gamma < \omega## or ##{\Omega}^2 < 0##
say ##w' = ({\omega}^2 - {\gamma }^2 )^{1/2}##
then we have ##\Omega = (-1)^{1/2}w' = Iw'##

$$x(t) = e^{-\gamma t}(Ae^{Iw't} + Be^{-Iw't})$$

##x(t)## has to be real as it represents displacement.
My book thus concludes that $$x(t) = Ce^{-\gamma t}cos(w't + \phi) ->(1)$$
it suggests we can get this by using ##e^{i\theta} = cos\theta + isin\theta## and it also states that if ##x(t)## is to be real then ##A* = B## where ##A*## is the complex conjugate of ##A##(I don't see why this has to be true). I need help arriving at eqn(1).
 
Physics news on Phys.org
As you assume ##A=B^*=a e^{i\phi}##. Your result goes
x(t)=e^{-\gamma t} 2a [e^{i(\omega&#039;+\phi)t}+e^{-i(\omega&#039;+\phi)t}]
You see ##C=4a##

EDIT Correction
x(t)=e^{-\gamma t} 2a [e^{i(\omega&#039;t+\phi)}+e^{-i(\omega&#039;t+\phi)}]=e^{-\gamma t} 4a \cos(\omega&#039;t+\phi)
 
Last edited:
anuttarasammyak said:
As you assume ##A=B^*=a e^{i\phi}##. Your result goes
x(t)=e^{-\gamma t} 2a [e^{i(\omega&#039;+\phi)t}+e^{-i(\omega&#039;+\phi)t}]
You see ##C=4a##
i don't understand how they are converting the exponential form(i.e. ##x(t) = e^{-\gamma t}(Ae^{\Omega t} + Be^{-\Omega t})##) to the nice trigonometric form by applying Euler's formula.
 
Last edited:
anuttarasammyak said:
As you assume ##A=B^*=a e^{i\phi}##. Your result goes
x(t)=e^{-\gamma t} 2a [e^{i(\omega&#039;+\phi)t}+e^{-i(\omega&#039;+\phi)t}]
You see ##C=4a##

EDIT Correction
x(t)=e^{-\gamma t} 2a [e^{i(\omega&#039;t+\phi)}+e^{-i(\omega&#039;t+\phi)}]=e^{-\gamma t} 4a \cos(\omega&#039;t+\phi)
x(t)=e^{-\gamma t} a [e^{i(\omega&#039;+\phi)t}+e^{-i(\omega&#039;+\phi)t}]
so, should'nt ##C = 2a##?
 
I tried doing the same manipulation for the differential equation describing simple harmonic motion:
$$\ddot x + \omega^2 x = 0$$
after guessing the solution to be of form ##x(t) = Ae^{\alpha t}## we get
$$x(t) = Ae^{i\omega t} + Be^{-i\omega t}$$
now again from here I want to write ##x(t)## in terms of a trigonometric function:
since ##x(t)## has to be real ##A* = B = ae^{i\phi}##
$$x = ae^{i(wt - \phi)} + ae^{-i(wt - \phi)}$$
$$x = Ccos(wt - \phi)$$ so ##C = 2a##
is this correct?
 
You may remember
cos \phi = \frac{e^{i\phi}+e^{-i\phi}}{2}
 
  • Like
Likes   Reactions: Hamiltonian
Hamiltonian299792458 said:
It also states that if x(t) is to be real then A∗=B where A∗ is the complex conjugate of A(I don't see why this has to be true).
Using Euler's formula, you get
$$x(t) = A e^{i\omega t}+B e^{-i\omega t} = (A+B) \cos\omega t + i(A-B)\sin\omega t.$$ Let ##A = a+bi## and ##B = c+di##. For ##x(t)## to be real, ##(A+B)## has to be real and ##(A-B)## has to be imaginary, so you get
\begin{align*}
A+B &= (a+c)+i(b+d) \quad \Rightarrow \quad d = -b \\
A-B &= (a-c) + i(b-d) \quad \Rightarrow \quad c = a
\end{align*} So you have ##B = a-bi = A^*##.

The solution is now ##x(t) = c_1 \cos \omega t + c_2 \sin \omega t## where ##c_1## and ##c_2## are real. Try expanding ##C \cos(\omega t - \phi)## using the angle-addition identity and compare the two forms of the solution.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 0 ·
Replies
0
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
9
Views
2K
  • · Replies 3 ·
Replies
3
Views
7K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
5
Views
1K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 8 ·
Replies
8
Views
4K