2. Lect12 EEE 202 2
Building Intuition
• Even though there are an infinite number of differential
equations, they all share common characteristics that allow
intuition to be developed:
– Particular and complementary solutions
– Effects of initial conditions
3. Mechanical Vibrations
• The study of motion of objects and the effect of forces acting
on those objects.
Example mass – spring system,
cantilever, pendulum, …
Electric Circuits
Spring:
Support Structure
Mass:
Mass of the bridge
structure
4. Spring-Mass Systems
Figure 1
Figure 2
We consider the motion of an object with mass at the end of a
spring that is either vertical (as in Figure 1) or horizontal on a level
surface (as in Figure 2).
5. An object of mass m is suspended from
the spring and stretches it a length s
when the spring comes to rest in an
equilibrium position.
According to Hooke’s Law, the tension
force in the spring is ks , where k is the
spring constant. The force due to gravity
pulling down on the spring is mg , and
equilibrium requires that
Hooke’s Law: The spring exerts a restoring force F opposite to the direction of
elongation and proportional to the amount of elongation
(1)ks mg
6. Forces acting on the object :
the propulsion force due to
gravity
pF mg
the restoring force of the
spring’s tension
( )sF k s y
a frictional force assumed
proportional to velocity
r
dy
F
dt
d
The propulsion force (weight), Fp pulls
the mass downward, but the spring
restoring force Fs and frictional force Fr
pull the mass upward.
The motion starts at with the
mass vibrating up and down.
0y y
7. The frictional force tends to retard the motion of the object. The
resultant of these forces is
and by Newton’s second law , we then have
p s rF F F F
F ma
2
2
d y dy
m mg ks ky
dtdt
d
By Equation (1), , so this last equation becomes
subject to the initial conditions
0mg ks
2
2
0 (2)
d y dy
m ky
dtdt
d
0(0) , (0) 0y y y
8. Remark
• The nature of the vibrations/oscillations described by the
differential equation depends on the constants m, , and k.
• is known as the damping constant.
• The damping may be due to a damper such as a dashpot,
internal damping such as friction within the spring, or
external damping such as aerodynamic drag.
• The displacement, y, at any time, t, of the mass is the
output from the system.
d
d
9. Free, Undamped Vibrations : Simple
Harmonic Motion
• Suppose there is no retarding frictional force. Then and
there is no damping. In this case, once motion has started it will
continue for ever.
• The motion is governed by
Second –order linear homogeneous constant-coefficient equation
2
2
0 (3)
d y
m ky
dt
0d
If , then the second-order equation (3) becomes2 k
m
w
2
2
02
0 with (0) , (0) 0
d y
y y y y
dt
w
10. 1 2( ) cos( ) sin( )y t C t C tw w
The auxiliary equation is having the imaginary
roots
The general solution to the differential equation in (3) is
2 2
0r w
r iw
Substituting the conditions yields 1 0 2and 0C y C
0( ) cos( ) (4)y t y tw
describes the motion of the object. Equation (4) represents
simple harmonic motion of amplitude and period0y
2
T
p
w
11. Note
The general solution to the differential equation (3), that is
can also be written as
where
1 2( ) cos( ) sin( )y t C t C tw w
( ) cos( )y t A tw q
frequency
k
m
w
2 2
1 2 amplitudeA C C
1 2
cos sin phase angle
C C
A A
qq q
frequency at which the system “wants
to oscillate” without external
interference.
12. Example 1
A spring with a mass of 2 kg has natural length 0.5 m. A force of
25.6 N is required to maintain it stretched to a length of 0.7 m. If
the spring is stretched to a length of 0.7 m and then released with
initial velocity 0, find the position of the mass at any time.
Solution
The motion is governed by
From Hooke’s Law, the force required to stretch the spring is
so the spring constant,
(0.2) 25.6k
25.6
128
0.2
k
2
2
0 (3)
d y
m ky
dt
13. The solution of this equation is
Given the initial condition . But, from Equation (*)
Differentiating Equation (*), we get
Since the initial velocity is , we have and so
the solution is
1 2( ) cos 8 sin 8 (*)y t C t C t
(0) 0.2y
2
2
2 128 0
d y
y
dt
Using this value of k together with m = 2 in Equation (3), we have
1 1(0) 0.2y C C
1 2( ) 8 sin 8 8 cos 8y t C t C t
(0) 0y 2 0C
1
( ) cos 8
5
y t t
14. Damped Motion
The motion of a spring is subject to a frictional force (in the case of
the horizontal spring of Figure 2) or a damping force (in the case
where a vertical spring moves through a fluid as in Figure 3).
Example: the damping force supplied by
“coilovers” in motorcycle suspensionFigure 3
Figure 2 Coil spring
Dashpot for damping
15. So in Equation (2),
If we substitute
then the differential equation (2) is
2
2
0 (2)
d y dy
m ky
dtdt
d
0d
2
and 2
k
b
m m
d
w
2
2
2
2 0 (5)
d y dy
b y
dtdt
w
The auxiliary equation is with roots2 2
2 0r br w
2 2
r b b w
16. We now have 3 cases depending upon the relative sizes of b and
Case 1:
The double root of the auxiliary equation is real and equals
The general solution to Equation (5) is
This situation of motion is called critical damping and is not
oscillatory.
w
b w
r w
1 2( ) ( ) t
y t C C t e w
17. Case 2:
The roots of the auxiliary equation are real and unequal, given by
The general solution to Equation (5) is
b w
2 2 2 2
1 2andr b b r b bw w
2 2 2 2
1 2( )
b b t b b t
y t C e C e
w w
Here again the motion is not oscillatory and both r1 and r2 are
negative. Thus y approaches zero as time goes on. This motion is
referred to as overdamping.
18. Case 3:
The roots of the auxiliary equation are complex and given by
The general solution to Equation (5) is
b w
2 2
r b i bw
2 2 2 2
1 2( ) cos sinbt
y t e C b t C b tw w
This situation, called underdamping, represents damped oscillatory
motion.
It is analogous to simple harmonic motion of period
but the amplitude is not constant but damped by the factor .
Therefore, the motion tends to zero as t increases, so the vibrations
tend to die out as time goes on.
2 2
2
T
b
p
w
bt
e
19. Three examples of damped vibratory motion for a spring system
with friction, 0d
(a) damping is just sufficient to suppress vibrations.
(b) strong damping force (high-viscosity oil or grease) compared with a weak
spring or small mass
(c) the motion decays to 0 as time increases.
20. Suppose that the spring of Example 1 is immersed in a fluid with
damping constant . Find the position of the mass at any
time t if it starts from the equilibrium position and is given a push
to start it with an initial velocity of 0.6 m/s.
Solution
From Example 1 the mass is m = 2 and the spring constant is
k = 128 , so the differential equation (5) becomes
Example 2
40d
2
2
20 64 0
d y dy
y
dtdt
21. 4 16
1 2( ) t t
y t C e C e
The auxiliary equation is
having roots
so the motion is overdamped and the solution is
2
20 64 ( 4)( 16) 0r r r r
4 and 16r r
We are given that . Differentiating,
we get
Since , this gives
Therefore
1 2(0) 0 so 0y C C
4 16
1 2
1 2
( ) 4 16
so (0) 4 16 0.6
t t
y t C e C e
y C C
2 1C C 1 112 0.6 0.05C C
4 16
( ) 0.05( )t t
y t e e
22. Exercise
1. Find the damping parameter and natural frequency of the
system governed by
2. A spring with a mass of 2 kg has damping constant 14, and a
force of 6 N is required to keep the spring stretched 0.5 m
beyond its natural length. The spring is stretched 1 m beyond its
natural length and then released with zero velocity.
(i) Find the position of the mass at any time t.
(ii) Find the mass that would produce critical damping.
2
2 6 9 0
d y dy
y
dtdt
2
22 14 12 0, (0) 1, (0) 0
d y dy
y y y
dtdt
2 2
2 14 49
4 0 kg
4 4(12) 12
mk m
k
d
d
23. 3. A spring has a mass of 1 kg and its spring constant is k = 100 .
The spring is released at a point 0.1 m above its equilibrium
position. Graph the position function for the following values of
the damping constant : 10, 15, 20, 25, 30. What type of
damping occurs in each case?
d
10 &15 , underdamped
20 , critically damped
25 & 30 , overdamping
d
d
d
24. Forced Vibrations
Suppose that, in addition to the restoring force and the damping
force, the motion of the spring is affected by an external force F(t) .
Then Newton’s Second Law gives
2
2
restoring force + damping force + external force
= ( )
d y
m
dt
dy
ky F t
dt
d
Thus, the motion of the spring is now governed by the following
non-homogeneous differential equation:
2
2
( ) (6)
d y dy
m ky F t
dtdt
d
25. The general solution to Equation (6) is
where the complementary solution will be the solution to the free,
damped case and the particular solution will be found using
undetermined coefficients or variation of parameters.
Note
• The complementary solution will approach zero as t increases.
Because of this the complementary solution is often called the
transient solution.
• The particular solution is often called the steady state solution
or forced response.
( ) ( ) ( )p cy t y t y t
26. Remark
A commonly occurring type of external force is a periodic force
function
In the absence of a damping force ( )0d
20
1 2 02 2
0
( ) cos sin cos
( )
F
y t C t C t t
m
w w w
w w
If , then the applied frequency reinforces the natural
frequency and the result is vibrations of large amplitude. This is
the phenomenon of resonance.
0w w
0 0 0( ) cos where
k
F t F t
m
w w w
27. Suppose a machine is attached to a 1 kilogram mass and the
machine exerts a force of sin t newtons on the mass at time t. In
addition the mass is attached to a spring having spring constant
4. The mass slides along a frictionless horizontal surface. The
equation of motion is
for t > 0.
Solution
Here x(t) is the displacement from the equilibrium position (which
is taken to be 0) at time t.
Example
2
2
4 ( ) sin
d x
x t t
dt
28. • General solution of the corresponding homogeneous
equation:
• Particular integral of the non-homogeneous equation:
• The general solution of the original non-homogeneous
equation:
• Determine the constants C1 and C2 from the initial conditions:
1
( ) sin
3py t t
1 2
1
( ) sin cos2 sin2
3
y t t C t C t
29. Simple Electric Circuits
The LCR circuit contains a resistor R , an inductor L, and a
capacitor C, connected in series with a switch and battery (d.c.
voltage source).
V IR potential difference across resistor
Q
V
C
potential difference across capacitor
dI
V L
dt
potential difference across inductor
0
dI Q
L RI
dt C
The total potential difference around the circuit must be zero and
we have
30. We use this to eliminate Q, we obtain
or to eliminate I, we obtain
Differentiating either equations, we obtain
1
0
dI
L RI I dt
dt C
The principle of conservation of charge tells us that the current is
equal to the rate of change of charge, that is we have :
dQ
I
dt
2
1
0
d Q dQ
L R Q
dt dt C
2
1
0 (7)
d I dI
L R I
dt dt C
31. Note
• We have differential equations for one of the variables: either
the charge on the capacitor in the circuit or the current in the
circuit.
• The equations are equivalent, but equation (7) is the most
usual and occurs widely in engineering applications.
32. Example
A circuit contains a 1 henry inductor, a 2000 ohm resistor, and a 1
microfarad capacitor. Initially there is no charge in the circuit and
the initial current is 1 ampere. Find the charge in the circuit as a
function of time.
Solution
The equation governing the charge is
The characteristic equation has a repeated real root at −1000. So
the general solution is
2
2000 1000000 ( ) 0, (0) 0 , (0) 1
d Q dQ
Q t Q Q
dt dt
1000
1 2( ) ( ) t
Q t C C t e
33. Since , 0 = C1 and 1 = C2. Hence(0) 0 , (0) 1Q Q
1000
( ) t
Q t te
Exercise
Suppose in the previous example the resistance of the resistor is
(i) 1990 ohms (ii) 2010 ohms
Find the charge in the circuit.
(i) a periodic solution with exponentially decaying amplitude
(ii) distinct real roots that leads to rapidly decaying charge
34. If an alternating voltage signal is applied to a simple LCR
electrical circuit, the equation governing the resulting oscillations
is also a second-order linear ODE.
Oscillations in Electrical Circuits
Suppose the circuit contains an electromotive
force (supplied by a battery or generator),
a resistor , an inductor , and a capacitor , in
series.
V IR voltage drop across resistor
I
V dt
C
voltage drop across capacitor
dI
V L
dt
voltage drop across inductor
35. 2
2
1
( ) (8)
d Q dQ
L R Q E t
dt Cdt
which is a second-order linear differential equation with
constant coefficients. If the charge Q0 and the current I0 are
known at time 0, then we have the initial conditions
0 0(0) (0) (0)Q Q Q I I
Kirchhoff’s voltage law says that the sum of these voltage drops
is equal to the supplied voltage:
Since , this equation becomes
1
( )
dI
L RI I dt E t
dt C
dQ
I
dt
36. As L, R, and C are all positive, this system behaves just like the
mass and spring system.
The position of the mass is replaced by the current. Mass is
replaced by the inductance, damping is replaced by resistance
and the spring constant is replaced by one over the capacitance.
The change in voltage becomes the forcing function. Hence for
constant voltage this is an unforced motion.
Note the similarity between the differential equations of the two
quite different systems given above.
37. This similarity is used in analogue systems in which a
mechanical system can be simulated by the equivalent electrical
system.
38. Example
Find the charge and current at time in the circuit if ,
and the initial
charge and current are both 0.
Solution
With the given values of L, R, C, and E(t), Equation (8) becomes
The characteristic equation have complex roots . So
the complementary function is
40R
4
1H, 16 10 F, ( ) 100 cos10L C E t t
2
2
40 625 100 cos10
d Q dQ
Q t
dtdt
20 15i
20
1 2( ) ( cos15 sin15 )t
cQ t e C t C t
39. Using the method of undetermined coefficients we try the trial
solution
Substituting into the DE and equating coefficients, we have (DIY)
the particular integral
and the general solution is
( ) cos10 sin10pQ t A t B t
4
( ) (21cos10 16sin10 )
697pQ t t t
20
1 2
4
( ) (21cos10 16sin10 ) ( cos15 sin15 )
697
t
Q t t t e C t C t
40. Imposing the initial conditions , we get the
formula for the charge is
and the expression for the current is
(0) 0 , (0) 0Q I
20
4
( ) (21cos10 16sin10 ) ( 63cos15 116sin15 )
697 3
t
e
Q t t t t t
201
( ) 120( 21sin10 16cos10 ) ( 1920cos15 13060sin15 )
2091
t
I t t t e t t
41. Exercise
The equation for an LCR circuit with applied voltage E is
1dI
L RI Q E
dt C
By differentiating this equation find the solution for Q(t) and I(t) if
L = 1, R = 100, C = 10−4 and E = 1000 given that Q = 0 and I = 0
at t = 0.