Sections05-11.mws

Unit 1: Ordinary Differential Equations - Part 1

Chapter 5: Second-Order Differential Equations

Sections5.11: resonance

Copyright

Copyright * 2001 by Addison Wesley Longman, Inc.

All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Printed in the United States of America.

Initializations

> restart;

> with(plots):

Warning, the name changecoords has been redefined

>

Resonance

Resonance can be charcterized as that physical phenomenon whereby Mother Nature seems to over react to a lesser, but periodic, stimulus. This over reaction to a small stimulus is called a temper tantrum in a child, "having a fit" in an adult, and "resonance" in Mother Nature. The response is simply out of proportion to the stimulus.

Of course, we are just creating imagery to focus attention. However, anyone who has seen the four-minute film clip of the Tacoma Narrows Bridge, Tacoma, Washington, twisting in the wind and collapsing in 1940 would need no additional metaphors for resonance, the phenomenon responsible for such a ruinous end to a magnificent work of engineering.

Resonance is quantized within the driven damped oscillator. A linear, damped oscillator is driven with a sinusoidal input having a variable angular frequency. The response of the system is observed as a function of the driving input frequency. The frequency for which the response is greatest is called the resonant frequency , a frequency at which the magnitude of the system's response can be far larger than the magnitude of the input driving force.

We distinguish two cases of resonance. If damping is assumed to be zero, the system is a fiction, since even at supercooled temperatures, friction does not disappear entirely. The resonance model in which no damping term appears has characteristics that just cannot be found in nature since a frictionless system is just not found in nature. For this reason, this model is called "unreal resonance."

The more realistic model for resonance includes frictional damping, and is called "real resonance."

>

Unreal Resonance

The undamped undamped oscillator with mass m = 1 and spring constant k = 16 , driven by a periodic force of amplitude 1 and angular frequency omega = 4 , is modeled by the differential equation

`y''`+16*y = cos(4*t)

that is, by

> q := diff(y(t),t,t) + 16*y(t) = cos(4*t);

q := diff(y(t),`$`(t,2))+16*y(t) = cos(4*t)

>

If this system goes into motion with the inert initial conditions y(0) = `y'`*``(0) = 0, we can describe the resulting motions by the solution

> Y := rhs(dsolve({q, y(0) = 0, D(y)(0) = 0},y(t)));

Y := 1/8*sin(4*t)*t

>

graphed as the solid curve in the following figure (Figure 5.13).

> plot([t/8,-t/8,Y],t=0..10,color=[red,red,black], linestyle=[2,2,1]);

[Maple Plot]

>

The oscillations of the system grow without bound, getting ever larger and larger. Of course, this is not what happens in reality where some frictional damping always exists. In this model with no damping, the envelope of the oscillations is linear, as shown by the dotted lines in Figure 5.13.

Fortunately, this unreal resonance is never seen in nature since nothing in nature takes place without frictional losses. But to see why the model predicts these unbounded motions, obtain the characteristic roots lambda = + 4*i from the characteristic equation

lambda^2+16 = 0

The latent roots from the driving term r(t) are themselves + 4*i , so the particular solution will contain

t*(a*cos(4*t)+b*sin(4*t))

Driving the system at its natural (angular) frequency omega = 4 means the trig terms in the particular solution are multiplied by t . Physically, this correspondence means every imposed push lines up exactly with the natural peak in the motion, and the oscillations increase without bound.

Let us implement this investigation in Maple.

To begin, obtain the homogeneous and particular solutions from the general solution

> q2 := dsolve(q,y(t));

q2 := y(t) = 1/8*sin(4*t)*t+_C1*sin(4*t)+_C2*cos(4*...

>

The particular solution survives when the arbitrary constants in the homogeneous solution are set equal to zero. Thus, the particular solution is

> yp := subs(_C1=0, _C2=0, rhs(q2));

yp := 1/8*sin(4*t)*t

>

The homogeneous solution contains the same term ( cos(4*t) ) that is being used to drive the system. The driving angular frequency exactly matches the natural frequency as determined by the characteristic roots. The homogeneous solution captures the "natural" response of the system, the ocillatory motion whose (angular) frequency is 4. Driving the system at the same rate in the absence of damping means no energy is lost, and every push lines up exactly with the peak of the motion. Hence, the oscillations increase without bound.

The natural frequency of the undamped system is determined by the homogeneous equation

m*`y''`+k*y = 0

The characteristic equation is

m*lambda^2+k = 0

so the with characteristic roots are

lambda = + sqrt(k/m)*i

These roots are complex, so the fundamental set will now be

{cos(sqrt(k/m)*t), sin(sqrt(k/m)*t)}

Clearly, omega[N] = sqrt(k/m) becomes the natural (angular) frequency since that is the frequency this system must necessarily exhibit if no external driving forces act on it. Driving the undamped system at its natural (angular) frequency causes it to resonate, a resonance that predicts unbounded motions.

However, in real life, there is always damping. Hence, we next consider the same system ( m = 1, k = 16) but add some damping to explore the case of real resonance. We will drive the system with a cosine term for which the frequency is not specified and seek to study the response of the system as a function of the driving frequency.

>

Real Resonance

Consider the damped oscillator for which the mass, damping, and spring constant are m = 1, b = 4, k = 16 , and for which the driving term is cos(omega*t) . A model for this system is the differential equation

`y''`+4*`y'`+16*y = cos(omega*t)

that is,

> q3 := diff(y(t),t,t) + 4*diff(y(t),t) + 16*y(t) = cos(omega*t);

q3 := diff(y(t),`$`(t,2))+4*diff(y(t),t)+16*y(t) = ...

>

with characteristic equation

lambda^2+4*lambda+16 = 0

and characteristic roots lambda = -2 + 2*sqrt(3)*i . Since

{exp(-2*t)*cos(2*sqrt(3)*t), exp(-2*t)*sin(2*sqrt(3...

is then a fundamental set, the natural (angular) frequency for the system is omega[N] = 2*sqrt(3) and the homogeneous solution is

y[h] = exp(-2*t)*(c[1]*cos(2*sqrt(3)*t)+c[2]*siin(2...

We can obtain these results in Maple as follows. To obtain the homogeneous solution, we find the characteristic equation

> q4 := lambda^2 + 4*lambda + 16 = 0;

q4 := lambda^2+4*lambda+16 = 0

>

and its (characteristic) roots

> q5 := solve(q4, lambda);

q5 := -2+2*I*sqrt(3), -2-2*I*sqrt(3)

>

Complex exponential solutions are

> q6 := exp(q5[1]*t);
q7 := exp(q5[2]*t);

q6 := exp((-2+2*I*sqrt(3))*t)

q7 := exp((-2-2*I*sqrt(3))*t)

>

and Euler's formulas let us write these complex exponentials as

> q8 := evalc(q6);
q9 := evalc(q7);

q8 := exp(-2*t)*cos(2*t*sqrt(3))+I*exp(-2*t)*sin(2*...

q9 := exp(-2*t)*cos(2*t*sqrt(3))-I*exp(-2*t)*sin(2*...

>

Taking linear combinations of these complex solutions yields other solutions that are real.

> y1 := (q8 + q9)/2;
y2 := (q8 - q9)/(2*I);

y1 := exp(-2*t)*cos(2*t*sqrt(3))

y2 := exp(-2*t)*sin(2*t*sqrt(3))

>

The homogeneous solution is then

> yh := collect(A*y1 + B*y2, exp(-2*t));

yh := (A*cos(2*t*sqrt(3))+B*sin(2*t*sqrt(3)))*exp(-...

>

At steady-state when the term exp(-2*t) has done its work and effectively become zero, the homogeneous solution hardly contributes to the general solution. The steady-state solution is essentially the particular solution which we write in the form

> yp := A*cos(omega*t - phi);

yp := A*cos(omega*t-phi)

>

The amplitude A and the phase angle phi are determined by the method of Undetermined Coefficients. Substituting into the differential equation yields

> q10 := eval(subs(y(t) = yp, q3));

q10 := -A*cos(omega*t-phi)*omega^2-4*A*sin(omega*t-...

>

This must be an identity in t , so we seek values of the parameters A and phi which will make this so. Thus, in Maple, we calculate

> q11 := solve(identity(expand(q10),t),{A,phi});

q11 := {A = 1/(sqrt(-16*omega^2+omega^4+256)), phi ...
q11 := {A = 1/(sqrt(-16*omega^2+omega^4+256)), phi ...

>

We are really only interested in the amplitude of the motion. We therefore extract just the positive value of A .

> f := subs(q11[1],A);

f := 1/(sqrt(-16*omega^2+omega^4+256))

>

and graph the amplitude function as a function of omega , obtaining Figure 5.14.

> plot(f, omega = 0..5);

[Maple Plot]

>

For some value of the driving frequency omega , the magnitude of the steady-state's amplitude peaks. The driving frequency for which this amplitude is a maximum is called the resonant frequency which can be found exactly by solving the equation

`f'`*``(omega) = 0

Thus, in Maple we obtain

> q12 := solve(diff(f,omega),omega);

q12 := 0, 2*sqrt(2), -2*sqrt(2)

>

and the resonant frequency is

> omega[R] = q12[2];

omega[R] = 2*sqrt(2)

>

The natural frequency of this system is found in the homogeneous solution:

> yh;

(A*cos(2*t*sqrt(3))+B*sin(2*t*sqrt(3)))*exp(-2*t)

>

The natural frequency is 2*sqrt(3) , slightly larger than the resonant frequeny 2*sqrt(2) . For unreal (undamped) resonance, the natural frequency and the resonant frequency are the same. For real (damped) resonance the resonant frequency is slightly smaller than the natural frequency.

Steady-State Solution as a Function of omega

As a function of t and omega , the particular solution is

(y[p] = cos(omega*t)-arctan(4*omega/(16-omega^2)))/...

which we obtain in Maple as follows.

The steady-state solution as a function of the driving frequency omega is simply y[p](t) . To obtain it, we first get the following expressions for cos(phi) and sin(phi) in terms of omega .

> C := simplify(subs(q11[1],cos(phi)));
S := simplify(subs(q11[1],sin(phi)));

C := -(omega^2-16)/(sqrt(-16*omega^2+omega^4+256))

S := 4*omega/(sqrt(-16*omega^2+omega^4+256))

>

Then, the particular solution in terms of omega is

> YP := subs(A=f, cos(phi)=C, sin(phi)=S, expand(yp));

YP := -cos(omega*t)*(omega^2-16)/(-16*omega^2+omega...

>

The following figure, Figure 5.15, shows graph of three steady-state solutions for

omega = 3/2, omega = omega[R] = 2*sqrt(2) , and omega = 4

as the red, black, and green curves, respectively. This figure therefore shows the variation in amplitude with omega .

> plot([subs(omega=3/2,YP), subs(omega=2*sqrt(2),YP), subs(omega=4,YP)], t=0..2*Pi, color=[red,black,green]);

[Maple Plot]

>

The following animation is a more dynamic representation of the variation of amplitude with driving frequency.

> animate(YP,t=0..2*Pi, omega=0..6, frames=60, color=black);

[Maple Plot]

>

Dependence of Resonance on Damping

It is important to quantify the resonant frequency's dependence on damping. Hence, let the damped oscillator above now have variable damping b , so that the system is modeled by the differential equation

`y''`+b*`y'`+16*y = cos(omega*t)

that is, by

> q13 := diff(y(t),t,t) + b*diff(y(t),t) + 16*y(t) = cos(omega*t);

q13 := diff(y(t),`$`(t,2))+b*diff(y(t),t)+16*y(t) =...

>

As before, we want the system's steady-state response to the driving term, from which we extract the value of the driving frequency omega maximizing the amplitude of the response. Again taking the particular solution as

> yp;

A*cos(omega*t-phi)

>

the parameters A and phi are determined in Maple via the method of Undetermined Coefficients which starts with the substitution

> q14 := eval(subs(y(t) = yp, q13));

q14 := -A*cos(omega*t-phi)*omega^2-b*A*sin(omega*t-...

>

Since this must be an identity in t , we use

> q15 := solve(identity(expand(q14),t),{A,phi});

q15 := {A = 1/(sqrt(omega^4-32*omega^2+b^2*omega^2+...
q15 := {A = 1/(sqrt(omega^4-32*omega^2+b^2*omega^2+...

>

to determine the appropriate parameters. Since we really want just the amplitude of the steady-state solution, we extract the positive value of A from the solution set in q15.

> f := subs(q15[1],A);

f := 1/(sqrt(omega^4-32*omega^2+b^2*omega^2+256))

>

Again interested in how A , the amplitude of the steady-state response, varies with driving frequency omega , we give the

damping coefficient b the values 1, 2, `...`, 5 ,

> for k from 1 to 5 do
f||k := subs(b = k, f);
od;

f1 := 1/(sqrt(omega^4-31*omega^2+256))

f2 := 1/(sqrt(omega^4-28*omega^2+256))

f3 := 1/(sqrt(omega^4-23*omega^2+256))

f4 := 1/(sqrt(-16*omega^2+omega^4+256))

f5 := 1/(sqrt(omega^4-7*omega^2+256))

>

and plot the resulting resonance curves in the following figure, Figure 5.16.

> plot([f||(1..5)], omega=0..6, color = [red,blue,green,magenta,black]);

[Maple Plot]

>

The red curve corresponds to b = 1 . The more the damping, the smaller the maximum peak at resonance, and the less the damping, the greater the resonant peak. Also, if the damping is great enough there is no resonance peak at all. Hence, sufficient damping precludes resonance.

The following figure, Figure 5.17, is another way of looking at the dependence of the response amplitude A(b,omega) on both damping and input driving frequency. The function A(b,omega) is plotted as a surface over the b omega -plane. The plane sections b = constant are the curves seen in Figure 5.16.

> plot3d(f, b = 1..5, omega = 0..6,axes=boxed, style=patchnogrid);

[Maple Plot]

>

Both Figures 5.16 and 5.17 suggest that as the driving frequency omega is increased well past the resonant frequency, the amplitude of the steady-state response goes to zero.

Analytically, this is shown by the following limit.

> Limit(f, omega=infinity) = limit(f,omega=infinity);

Limit(1/(sqrt(omega^4-32*omega^2+b^2*omega^2+256)),...

>

Physically, this means that for high enough driving frequency, the system cannot react to the rapidity of the swings being imposed on it and the system becomes "paralysed." So if you have a motor shaking itself to pieces because of resonance, either add damping or increase the driving speed!

Finally, we obtain an expression for the resonant frequency as a function of the damping parameter b . This expression is determined by solving the equation f '( omega ) = 0 for omega .

> q16 := solve(diff(f,omega) = 0, omega);

q16 := 0, 1/2*sqrt(64-2*b^2), -1/2*sqrt(64-2*b^2)

>

The resonant frequency is

> omega[R] = q16[2];

omega[R] = 1/2*sqrt(64-2*b^2)

>

Formulae for the dependence of the resonant frequency on all three parameters of mass, damping, and spring constant are obtained below.

>

Dependence of Resonance on m, b , and k

Complete formulae for the dependence of the resonant frequency on mass, damping, and spring constant can be obtained by finding the steady-state (particular) solution of the differential equation

m*`y''`+b*`y'`+k*y = cos(omega*t)

that is,

> k := 'k':

> q17:= m*diff(y(t),t,t) + b*diff(y(t),t) + k*y(t) = cos(omega*t);

q17 := m*diff(y(t),`$`(t,2))+b*diff(y(t),t)+k*y(t) ...

>

Assuming the particular solution

> yp;

A*cos(omega*t-phi)

>

the differential equation yields

> q18 := eval(subs(y(t) = yp, q17));

q18 := -m*A*cos(omega*t-phi)*omega^2-b*A*sin(omega*...

>

from which the matching principle yields

> q19 := solve(identity(expand(q18),t),{A,phi});

q19 := {phi = arctan(omega*b/(sqrt(b^2*omega^2+m^2*...
q19 := {phi = arctan(omega*b/(sqrt(b^2*omega^2+m^2*...

>

The positive amplitude of this steady-state solution is given by

> f := subs(q19[1],A);

f := 1/(sqrt(b^2*omega^2+m^2*omega^4-2*m*omega^2*k+...

>

from which we obtain the maximizing value of omega by solving f '( omega ) = 0 for omega . Thus,

> q20 := solve(diff(f,omega) = 0, omega);

q20 := 0, 1/2*sqrt(-2*b^2+4*m*k)/m, -1/2*sqrt(-2*b^...

>

The resonant frequency is

> omega[R] = q20[2];

omega[R] = 1/2*sqrt(-2*b^2+4*m*k)/m

>

which can be written as

omega[R] = sqrt(k/m-b^2/2/(m^2)) = sqrt((2*m*k-b^2)/2/(m^2))

The first form for omega[R] is more prevalent in texts, but the second makes it easier to see that b^2 < 2*m*k is necessary for resonance.

>

Resonance Wrap-Up

Here are some questions about resonance, and oscillations in damped spring-mass systems. Answering them will help clarify the connections, formulas, and insights generated throughout this unit.

Questions

Can overdamped and critically damped systems be made to resonate?

Can every underdamped system be made to resonate?

What is the threshold of damping above which there can be no resonance?

What is the threshold of damping above which there are no transient oscillations?

>

Data

To answer these questions, we recall formulas for the natural frequency and the resonant frequency.

The quadratic formula for the characteristic roots of the characteristic equation gives the natural frequency:

lambda = -b/(2*m) + sqrt(b^2-4*m*k)/(2*m) => omega[N] = sqrt(k/m-b^2/(4*m^2))

From b^2-4*m*k , the discriminant of the characteristic equation, we can classify the motion as a function of damping:

PIECEWISE([b^2 = 4*m*k, `Critically damped`],[b^2*`...

The resonant frequency is

omega[R] = sqrt(k/m-b^2/2/(m^2)) = sqrt((2*m*k-b^2)/2/(m^2))

from which we draw the two inferences:

0 < b^2 `` < 4*m*k ==> underdamped

0 < b^2 `` < 2*m*k ==> resonance

The following plot (Figure 5.18) summarizes all this data on a b^2 - number line :

> p1 := plot([t,0,t=0..6],thickness=3, color=black):
p2 := plot({[[0,0],[0,1/2]],[[2,0],[2,1/2]],[[4,0],[4,1/2]]}, style=line, color=black,thickness=3):
p3 := plot({[[0,0],[0,-.5]],[[4,0],[4,-.5]]}, color=black,linestyle=2):
p4 := textplot({[0,.7,`0`],[2,.7,`2mk`],[4,.7,`4mk`]}, font=[TIMES,BOLD,14]):
p5 := textplot([6.3,0,`b`],font=[TIMES,BOLD,14]):
p6 := textplot([6.4,.2,`2`]):
p7 := textplot([2,-.3,`<----- underdamped ----->`], font=[TIMES,ROMAN,12]):
p8 := textplot([5.5,-.3,`<-- overdamped -->`], font=[TIMES,ROMAN,12]):
p9 := textplot({[4,-.7,`critically`],[4,-1,`damped`]}, font=[TIMES,ROMAN,12]):
p10 := textplot([1,.3,`resonance`], font=[TIMES,ROMAN,12]):
display([p||(1..10)],axes=none,scaling=constrained, title = `Figure 5.18`);

[Maple Plot]

>

Answers

* Overdamped, critically damped, and "half" the underdamped systems cannot be made to resonate. In particular,

0 < b^2 `` < 2*m*k ==> underdamped with resonance possible

2*m*k <= b^2 `` < 4*m*k ==> underdamped but resonance not possible

We quote "half" because systems for which b^2 < 4*m*k are all underdamped, but only those for which b^2 < 2*m*k have a positive resonant frequency. In Figure 5.18 the underdamped systems for which resonance is possible appears to be "half" of the underdamped systems. Thus, the answer to the first question is "no, overdamped and critically damped systems cannot be made to resonate."

* The answer to the second question is "no, not every underdamped system can be made to resonate."

* The answer to the third question is " b^2 = 2*m*k is the threshold above which a system cannot be made to resonate."

* And the answer to the last question is " b^2 = 4*m*k is the threshold above which a system cannot be made to oscillate."

>

>