Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Physics LibreTexts

11.1: The Driven Harmonic Oscillator

( \newcommand{\kernel}{\mathrm{null}\,}\)

As an introduction to the Green’s function technique, we will study the driven harmonic oscillator, which is a damped harmonic oscillator subjected to an arbitrary driving force. The equation of motion is [d2dt2+2γddt+ω20]x(t)=f(t)m. Here, m is the mass of the particle, γ is the damping coefficient, and ω0 is the natural frequency of the oscillator. The left side of the equation is the same as in the damped harmonic oscillator equation (see Chapter 5). On the right side, we introduce a time-dependent driving force f(t), which acts alongside the pre-existing spring and damping forces. Given an arbitrarily complicated f(t), our goal is to determine x(t).

Green’s function for the driven harmonic oscillator

Prior to solving the driven harmonic oscillator problem for a general driving force f(t), let us first consider the following equation: [2t2+2γt+ω20]G(t,t)=δ(tt). The function G(t,t), which depends on the two variables t and t, is called the Green’s function. Note that the differential operator on the left side involves only derivatives in t.

The Green’s function describes the motion of a damped harmonic oscillator subjected to a particular driving force that is a delta function, describing an infinitesimally sharp pulse centered at t=t: f(t)m=δ(tt). Here’s the neat thing about G(t,t): once we know it, we can find a specific solution to the driven harmonic oscillator equation for any f(t). The solution has the form x(t)=dtG(t,t)f(t)m. To show that this is indeed a solution, plug it into the equation of motion: [d2dt2+2γddt+ω20]x(t)=dt[2t2+2γt+ω20]G(t,t)f(t)m=dtδ(tt)f(t)m=f(t)m. Note that we can move the differential operator inside the integral because t and t are independent variables.

The Green’s function concept is based on the principle of superposition. The motion of the oscillator is induced by the driving force, but the value of x(t) at time t does not depend only on the instantaneous value of f(t) at time t; instead, it depends on the values of f(t) over all past times t<t. We can thus decompose f into a superposition of pulses described by delta functions at different times. Then x(t) is a superposition of the oscillations produced by the individual pulses.

Finding the Green’s function

To find the Green’s function, we can use the Fourier transform. Let us assume that the Fourier transform of G(t,t) with respect to t is convergent, and that the oscillator is not critically damped (i.e., ω0γ; see Section 5.3). The Fourier transformation of the Green’s function (also called the frequency-domain Green’s function) is G(ω,t)=dteiωtG(t,t). Here, we have used the sign convention for time-domain Fourier transforms (see Section 10.3). Applying the Fourier transform to both sides of the Green’s function equation, and making use of how derivatives behave under Fourier transformation (see Section 10.4), gives [ω22iγω+ω20]G(ω,t)=dteiωtδ(tt)=eiωt. The differential equation for G(t,t) has thus been converted into an algebraic equation for G(ω,t), whose solution is G(ω,t)=eiωtω2+2iγωω20. Finally, we retrieve the time-domain solution by using the inverse Fourier transform: G(t,t)=dω2πeiωtG(ω,t)=dω2πeiω(tt)ω2+2iγωω20. The denominator of the integral is a quadratic expression, so this can be re-written as: G(t,t)=dω2πeiω(tt)(ωω+)(ωω)whereω±=iγ±ω20γ2. This can be evaluated by contour integration. The integrand has two poles, which are precisely the complex frequencies of the damped harmonic oscillator; both lie in the negative complex plane. For t<t, Jordan’s lemma requires us to close the contour in the upper half-plane, enclosing neither pole, so the integral is zero. For t>t, we must close the contour in the lower half-plane, enclosing both poles, so the result is G(t,t)=iΘ(tt)[eiω+(tt)ω+ω+eiω(tt)ωω+]=Θ(tt)eγ(tt)×{1ω20γ2sin[ω20γ2(tt)],γ<ω0,1γ2ω20sinh[γ2ω20(tt)],γ>ω0. Here, Θ(tt) refers to the step function Θ(τ)={1,forτ00,otherwise. The result is plotted in the figure below for two different choices of γ and ω0. The solution for the critically damped case, γ=ω0, is left as an exercise.

clipboard_ed5fc500ec947b21d7f62b190e39f04fb.png
Figure 11.1.1

Features of the Green’s function

As previously noted, the time-domain Green’s function has a physical meaning: it represents the motion of the oscillator in response to a pulse of force, f(t)=mδ(tt). Let us examine the result obtained in the previous section in greater detail, to see if it matches our physical intuition.

The first thing to notice is that the Green’s function depends on t and t only in the combination tt. This makes sense: the response of the oscillator to the force pulse should only depend on the time elapsed since the pulse. We can take advantage of this property by re-defining the frequency-domain Green’s function as G(ω)=dteiω(tt)G(tt), which then obeys [ω22iγω+ω20]G(ω)=1. This is nicer to work with than Eq. (???) as there is no extraneous t variable present.

Next, note how the Green’s function behaves just before and after the pulse. Its value is zero for all tt<0 (i.e., prior to the pulse). This feature will be discussed in greater detail in the next section. Moreover, there is no discontinuity in x(t) at tt=0; the force pulse does not cause the oscillator to “teleport” instantaneously to a different position. Instead, it produces a discontinuity in the oscillator’s velocity.

We can calculate the velocity discontinuity by integrating the Green’s function equation over an infinitesimal interval of time surrounding t: limϵ0t+ϵtϵdt[2t2+2γt+ω20]G(t,t)=limϵ0t+ϵtϵdtδ(tt)=limϵ0{G(t,t)t|t=t+ϵG(t,t)t|t=tϵ}=1. On the last line, the expression on the left-hand side represents the difference between the velocities just after and before the pulse. Evidently, the pulse imparts one unit of velocity at t=t. Looking at the solutions obtained in Section 11.1, we can verify that G/t=0 right before the pulse, and G/t=1 right after it.

For tt>0, the applied force goes back to zero, and the system behaves like the undriven harmonic oscillator. If the oscillator is under-damped (γ<ω0), it undergoes a decaying oscillation around the origin. If the oscillator is over-damped (γ>ω0), it moves ahead for a distance, then settles exponentially back to the origin.

Causality

We have seen that the motion x(t) ought to depend on the driving force f(t) at all past times t<t, but should not depend on the force at future times. Because of the relation x(t)=dtG(t,t)f(t)m, this means that the Green’s function ought to satisfy G(t,t)=0fortt<0. This condition is referred to as causality, because it is equivalent to saying that cause must precede effect. A Green’s function with this feature is called a causal Green’s function.

For the driven harmonic oscillator, the time-domain Green’s function satisfies a second-order differential equation, so its general solution must contain two free parameters. The specific solution that we derived above, Eq. (11.1.17), turns out to be the only causal solution. There are a couple of ways to see why.

The first way is to observe that for t>t, the Green’s function satisfies the differential equation for the undriven harmonic oscillator. But based on the discussion in Section 11.1, the causal Green’s function needs to obey two conditions at t=t+0+: (i) G=0, and (ii) G/t=1. These act as two boundary conditions for the undriven harmonic oscillator equation, giving rise to the specific solution that we found.

The other way to see that the causal Green’s function is unique is to imagine adding to our specific solution any solution x1(t) for the undriven harmonic oscillator. It is easily verified that the resulting G(t,t) is also a solution to Eq. (???). Since the general solution for x1(t) contains two free parameters, we have thus found the general solution for G(t,t). But the solutions for x1(t) are all infinite in the t limit, except for the trivial solution x1(t)=0. That choice corresponds to the causal Green’s function (11.1.17).


This page titled 11.1: The Driven Harmonic Oscillator is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by Y. D. Chong via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?