How complex gain gives the amplitude ratio and phase lag of the sinusoidal steady state, how the frequency response tracks them across driving frequencies, and how a decaying transient meets the initial data.
A damped mass on a spring is pushed by a force proportional to cos2t. After a while the mass moves at the frequency of the force, but with its own amplitude, and its peaks arrive later than the peaks of the force. How large is the motion, and how late are its peaks? This lesson finds both from one complex number, follows them across all driving frequencies and then adds the decaying free motion that the initial data require.
Key terms
Complex gain
Definition Let t be time and let primes denote derivatives with respect to t. Consider
mx′′+cx′+kx=F0cosωt
with real constants m>0, c≥0, k>0, a force amplitude F0>0 and a driving angular frequency ω≥0, and let p(r)=mr2+cr+k be the characteristic polynomial. When p(iω)=0, the complex gain at ω is
H(iω)=p(iω)1=k−mω2+icω1.
The condition p(iω)=0 holds for every real ω when c>0, and for every ω=k/m when c=0. The reason it works is that (eiωt)′=iωeiωt and (eiωt)′′=−ω2eiωt, so a trial Zeiωt with a complex constant Z turns the left side into p(iω)Zeiωt. Matching F0eiωt gives Z=H(iω)F0. Since the coefficients are real, the real part of a complex solution solves the equation with the real part of the force, and F0cosωt=Re(F0eiωt). The imaginary unit is only a tool for the calculation. The force and the displacement are real.
In plain words Differentiating eiωt only multiplies it by iω, so for a sinusoidal input the whole differential equation acts as multiplication by one complex number. Dividing by that number gives the gain, which carries both the change in size and the delay.
Example For x′′+2x′+5x=F0cosωt the characteristic polynomial is p(r)=r2+2r+5, so
H(iω)=5−ω2+2iω1.
At ω=2 the denominator is 1+4i, and multiplying the top and the bottom by the conjugate 1−4i gives
H(2i)=171−4i.
Sinusoidal steady state
Definition For the drive F0cosωt with p(iω)=0, the sinusoidal steady state is the particular solution xs(t)=Re(H(iω)F0eiωt). Writing the gain in polar form as H(iω)=∣H(iω)∣e−iϕ, it is
xs(t)=Acos(ωt−ϕ),A=F0∣H(iω)∣,
a sinusoid at the driving frequency. It is the only solution of the form acosωt+bsinωt. When c>0, every solution approaches it as t→∞, because the difference of two solutions solves the homogeneous equation and decays. That is why it is called the steady state. Without damping the same formula still gives a periodic particular solution, but other solutions do not approach it.
In plain words Once the starting conditions have been forgotten, the mass copies the force at the same frequency, scaled in size and shifted later in time.
Example For x′′+2x′+5x=13cos2t the gain above gives
xs=Re(1713(1−4i)e2it)=1713cos2t+1752sin2t.
A real substitution confirms it. For x=acos2t+bsin2t we have x′′=−4x, so the left side is (a+4b)cos2t+(b−4a)sin2t. With a=1713 and b=1752 this is 13cos2t+0sin2t, exactly the force.
Frequency response
Definition The frequency response of the oscillator is the complex gain viewed as a function of the driving angular frequency, ω↦H(iω) for ω≥0. It is usually shown as two real curves against ω, the amplitude ratio ∣H(iω)∣ and the phase lag ϕ(ω). Because the equation is linear, a drive that is a finite sum of sinusoids at different frequencies has as its steady state the sum of the separate steady states, each scaled and delayed according to its own frequency. With m, c and k positive, the amplitude ratio starts at 1/k when ω=0, behaves like 1/(mω2) for large ω, and has a peak at a positive frequency only when c2<2mk.
In plain words One formula answers the question for every driving frequency at once. Slow pushes are followed almost as if the spring were stretched by a steady force, and very fast pushes barely move the mass and run nearly half a cycle behind.
Example For x′′+2x′+5x=F0cosωt the table lists the amplitude ratio and the lag, in radians, at a few frequencies.
ω
∣H(iω)∣
ϕ
0
0.200
0
1
0.224
0.464
3
0.250
1.047
2
0.243
1.326
5
0.224
1.571
3
0.139
2.159
10
0.010
2.934
The ratio reaches its largest value 41 at ω=3, which is possible because c2=4<10=2mk. The lag passes π/2 at the natural angular frequency 5 and approaches π as ω grows.
Amplitude ratio
Definition The amplitude ratio at the angular frequency ω is the modulus of the complex gain,
∣H(iω)∣=∣p(iω)∣1,
where ∣p(iω)∣2=(k−mω2)2+c2ω2. It is the amplitude of the steady displacement divided by the amplitude of the force, in meters per newton. Geometrically, ∣p(iω)∣ is the length of the vector from 0 to the point (k−mω2,cω) of the complex plane, and the ratio is its reciprocal.
In plain words Multiply the force amplitude by this number to get the size of the steady motion.
Example For x′′+2x′+5x=13cos2t the denominator 1+4i has length 17, so the amplitude ratio is 1/17 and the steady amplitude is 13/17≈3.15. The coefficients of the steady state agree, since
(1713)2+(1752)2=1713.
Phase lag
Definition Write atan2(y,x) for the angle in (−π,π] of the point (x,y)=(0,0). The phase lag at ω is the angle of the point (k−mω2,cω) that represents p(iω),
ϕ=atan2(cω,k−mω2),
so that p(iω)=∣p(iω)∣eiϕ and H(iω)=∣H(iω)∣e−iϕ. For c>0 and ω>0 the second coordinate cω is positive, so 0<ϕ<π, and the steady state Acos(ωt−ϕ) reaches each peak ϕ/ω seconds after the most recent peak of the force. The lag is less than π/2 when ω<k/m, equal to π/2 when ω=k/m, and greater than π/2 beyond that. The one-argument formula arctan(cω/(k−mω2)) gives the same angle only when k−mω2>0. Above the natural frequency it returns a negative angle in the wrong quadrant, and at the natural frequency it is undefined.
In plain words The lag says how far behind the force the motion runs, measured as an angle of the cycle. Slow driving gives almost no lag, driving at the natural frequency gives a quarter cycle, and fast driving approaches half a cycle.
Example At ω=2 for x′′+2x′+5x, the point is (1,4), in the first quadrant, so ϕ=arctan4≈1.326 radians, about 76 degrees, and the response peaks trail the force peaks by ϕ/2≈0.663 seconds. With A=13/17, cosϕ=1/17 and sinϕ=4/17, expanding Acos(2t−ϕ) returns 1713cos2t+1752sin2t, and the positive sine coefficient is the mark of a lag. At ω=3 the point is (−4,6), in the second quadrant, so ϕ=π−arctan23≈2.159. The careless value arctan(6/(−4))≈−0.983 would wrongly suggest that the motion runs ahead of the force.
Transient and steady-state response
Definition Let c>0 and consider the drive F0cosωt with initial values x(0) and x′(0). The solution splits as
x=xs+xtr,
where xs is the sinusoidal steady state and the transient xtr is the solution of the homogeneous equation mx′′+cx′+kx=0 with xtr(0)=x(0)−xs(0) and xtr′(0)=x′(0)−xs′(0). Because c>0, both characteristic roots have negative real part, so the transient decays to zero and x−xs→0 as t→∞. The steady state depends only on the drive, and the transient carries the initial data.
In plain words The steady state is what the drive asks for, and the transient is the correction that makes the motion start where it actually starts. With damping, the correction fades and only the response to the drive remains.
Example Solve x′′+2x′+5x=13cos2t from rest, x(0)=0 and x′(0)=0. The steady state starts at xs(0)=1713 with velocity xs′(0)=17104, so it cannot be the whole answer. The transient has the form e−t(Acos2t+Bsin2t), with A=−1713 and initial velocity −A+2B, which must equal −17104. This gives B=−34117, so
xtr=−e−t(1713cos2t+34117sin2t)
and x=xs+xtr. At t=0 the two parts cancel in both position and velocity. By t=5 the transient is smaller than 0.024 in size, while the steady amplitude stays 13/17≈3.15.
Check yourself
Find the steady state of x′′+2x′+5x=10cost, where primes are derivatives in t, together with its amplitude and phase lag.
Show the answer
Here p(i)=5−1+2i=4+2i, so
10H(i)=4+2i10=2010(4−2i)=2−i.
The steady state is Re((2−i)eit)=2cost+sint. Its amplitude is ∣2−i∣=5≈2.24, and its lag is atan2(2,4)=arctan21≈0.464 radians, so xs=5cos(t−ϕ). A real check uses x′′=−x for this function, so the left side is 4(2cost+sint)+2(−2sint+cost)=10cost.
For the same oscillator driven at ω=4, a classmate computes the lag as arctan(8/(−11))≈−0.629 and concludes that the motion runs ahead of the force. Find the correct lag and the amplitude ratio.
Show the answer
The denominator is p(4i)=5−16+8i=−11+8i, a point in the second quadrant. So
ϕ=atan2(8,−11)=π−arctan118≈2.513
radians, about 144 degrees, a lag between π/2 and π as expected above the natural frequency 5. The one-argument arctangent sees only the ratio 8/(−11), which is also the ratio for the point (11,−8) in the fourth quadrant, so it picks the wrong quadrant. The amplitude ratio is 1/∣−11+8i∣=1/185≈0.0735.
Solve x′′+2x′+5x=10cost with x(0)=0 and x′(0)=0, and name the transient and the steady state. What would change without the damping term?
Show the answer
From question 1 the steady state is xs=2cost+sint, with xs(0)=2 and xs′(0)=1. The transient e−t(Acos2t+Bsin2t) must start at −2 with velocity −1, so A=−2 and −A+2B=−1, which gives B=−23. So the transient is
xtr=−e−t(2cos2t+23sin2t),
which decays like e−t, and the solution is x=2cost+sint+xtr. Without damping the equation x′′+5x=10cost has free solutions cos5t and sin5t that never decay. The solution from rest is then 25(cost−cos5t), which keeps both frequencies forever and never settles onto a single sinusoid.
May we count page visits to understand which courses and learning features are useful? Cloudflare collects visit and performance statistics, without your account details or answers. Your choice does not affect access. Details