Differential Equation ES 208 Topic 7
Differential Equation ES 208 Topic 7
Differential Equation ES 208 Topic 7
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-Mass Systems
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).
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
𝑘𝑠 = 𝑚𝑔 (1)
Hooke’s Law: The spring exerts a restoring force F opposite to the direction of
elongation and proportional to the amount of elongation
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
𝑑2𝑦 𝑑𝑦
𝑚 2 = 𝑚𝑔 − 𝑘𝑠 − 𝑘𝑦 − 𝛿
𝑑𝑡 𝑑𝑡
By Equation (1), 𝑘𝑠 − 𝑚𝑔 = 0, so this last equation becomes
𝑑2 𝑦 𝑑𝑦
𝑚 𝑑𝑡 2 + 𝛿 𝑑𝑡 + 𝑘𝑦 = 0 (2)
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).
Figure 2
Coil Spring
So 0 in Equation (2),
𝑑2 𝑦 𝑑𝑦
𝑚 𝑑𝑡 2 + 𝛿 𝑑𝑡 + 𝑘𝑦 = 0 (5)
If we substitute
𝑘 𝛿
𝜔2 = 𝑚 and 2𝑏 = 𝑚
then the differential equation (5) is
𝑑2 𝑦 𝑑𝑦
+ 2𝑏 𝑑𝑡 + 𝜔2 𝑦 = 0
𝑑𝑡 2
Case 1: b =
The double root of the auxiliary equation is real and equals r= .The general solution to
Equation (6) is
𝑦(𝑡) = (𝐶1 + 𝐶2 𝑡)𝑒 −𝜔𝑡
This situation of motion is called critical damping and is not oscillatory.
Case 2: b
The roots of the auxiliary equation are real and unequal, given by
𝑟1 = −𝑏 + √𝑏 2 − 2 and 𝑟2 = −𝑏 − √𝑏 2 − 2
The general solution to Equation (6) is
2 −2 )𝑡 2 −2 )𝑡
𝑦(𝑡) = 𝐶1 𝑒 (−𝑏+ √𝑏 + 𝐶2 𝑒 (−𝑏− √𝑏
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.
Case 3: b
The roots of the auxiliary equation are complex and given by
𝑟 = −𝑏 ± 𝑖√2 − 𝑏 2
The general solution to Equation (6) is
𝑦(𝑡) = 𝑒 −𝑏𝑡 𝐶1 cos√2 − 𝑏 2 𝑡 + 𝐶2 sin√2 − 𝑏 2 𝑡
This situation, called underdamping, represents damped oscillatory motion.
The following plot shows typical curves for each of the three cases:
Three examples of damped vibratory motion for a spring system with friction 0,
Remark
A commonly occurring type of external force is a periodic force function
𝑘
𝐹(𝑡) = 𝐹𝑜 cos 𝜔𝑜 𝑡 where 𝑜 ≠ = √𝑚
In the absence of a damping force ( = 0)
𝐹𝑜
𝑦(𝑡) = 𝐶1 cos𝑡 + 𝐶2 sin𝑡 + cos20 𝑡
𝑚(2 −20 )
If o = , then the applied frequency reinforces the natural frequency and the result is vibrations
of large amplitude. This is the phenomenon of resonance.
At t=0, the position of the ball is at the equilibrium position y0 = 0 m. Applying this initial
condition to (1), we find that
0 = 𝐶1 𝑐𝑜𝑠0 + 𝐶2 𝑠𝑖𝑛0
0 = 𝐶1
whereupon (1) becomes
The initial velocity is given as v0 = 150 cm/sec = 1.5 m/sec. Differentiating (2), we obtain
𝑑2 𝑦 𝑑𝑦 1
+ 9 𝑑𝑡 + 14𝑦 = 2 𝑠𝑖𝑛𝑡
𝑑𝑡 2
𝑑2 𝑦 𝑑𝑦
The general solution to the associated homogeneous equation + 9 𝑑𝑡 + 14𝑦 = 0 is
𝑑𝑡 2
Applying the initial conditions, y(0) = 0 and y’(0) = -1 (the initial velocity is in the negative
direction), we obtain
1
𝑦(𝑡) = 500 (−90𝑒 −2𝑡 + 99 𝑒 −7𝑡 + 13𝑠𝑖𝑛𝑡 − 9𝑐𝑜𝑠𝑡)
Simple Pendulum
• The forces acting on the bob are the tension and the weight.
• T is the force exerted by the string
• mg is the gravitational force
• The tangential component of the gravitational force is the
restoring force.
• Recall that the tangential acceleration is
𝑑2𝜃
𝑎𝑡 = 𝛼𝑟 = 𝐿𝛼 = 𝐿 2
𝑑𝑡
• This gives another differential equation
𝑑2 𝜃 𝑔 𝑔
= − 𝑙 𝑠𝑖𝑛𝜃 ≈ − 𝑙 𝜃 ( for small )
𝑑𝑡 2
• The equation for is the same form as for the spring, with solution
g 2 L
= so the period is T = = 2
L g
Summary: the period and frequency of a simple pendulum depend only on the length of the
string and the acceleration due to gravity. The period is independent of mass.
Solution:
Electric Circuits
A second-order circuit is characterized by a second-order differential equation. Consider a circuit
shown below.
respectively. Kirchoff’s voltage law says that the sum of these voltage drops is equal to the
supplied voltage.
𝑑𝐼 𝑄
𝐿 + 𝑅𝐼 + = 𝐸(𝑡)
𝑑𝑡 𝐶
Which is a second-order linear differential equation with constant coefficients. If the charge Qo
and the current Io are known at time 0, then we have the initial conditions
Q(0) = Qo Q’(0) = I(0) = Io
And the initial-value problem can be solved by the methods of additional Nonhomegeneous
Linear Equations.
A differential equation for the current can be obtained by the differentiating Eq. * with respect to
t and remembering that I = dQ/dt:
𝑑2 𝐼 𝑑𝐼 1
𝐿 𝑑𝑡 2 + 𝑅 + 𝐶 𝐼 = 𝐸′(𝑡)
𝑑𝑡
Sample Problem
Find the charge and current at time t in the circuit if R = 40 Ω, L = 1 H, C = 16 x 10−4 F, E(t) =
100 cos 10t, and the initial charge and current are both 0.
Solution:
With the given values of L, R, C, and E(t), Equation * becomes
𝑑2𝑄 𝑑𝑄
2
+ 40 + 625𝑄 = 100 cos 10𝑡
𝑑𝑡 𝑑𝑡
The auxiliary equation is 𝑟 2 + 40r + 625 = 0 with roots
−40 ± √−900
𝑟= = −20 ± 15𝑖
2
so the solution of the complementary equation is Q
𝑄𝐶 (𝑡) = 𝑒 −20𝑡 (𝑐1 cos 15𝑡 + 𝑐2 sin 15𝑡)
for the method of undetermined coefficients we try the particular solution
𝑄𝑝 (𝑡) = 𝐴 cos 10𝑡 + 𝐵 sin 10𝑡
or (525A + 400B) cos 10t + ( - 400A + 525B) sin 10t = 100 cos 10t
Equating coefficients, we have
525A + 400B = 100 21A + 16B = 4
Or
-400A + 525B = 0 -16A + 21B = 0
84 64
The solution of this system is A = 697 and B = 697 , so a particular solution is
1
𝑄𝑝 (𝑡) = 697 (84 cos 10𝑡 + 64 sin 10𝑡)
4
𝑄(𝑡) = 𝑄𝑐 (𝑡) + 𝑄𝑃 (𝑡) = 𝑒 −20𝑡 (𝐶1 cos 15𝑡 + 𝐶2 sin 15𝑡) + (21 cos 10𝑡 + 16 sin 10𝑡)
697
Imposing the initial condition Q(0) = 0, we get
84 84
𝑄(0) = 𝑐1 + =0 𝑐1 = −
697 697
To impose the other initial condition we first differentiate to find the current:
𝑑𝑄 40
𝐼 = 𝑑𝑡
= 𝑒 −20𝑡 [(−20𝑐1 + 15𝑐2 ) cos 15𝑡 + (−15 𝑐1 − 20𝑐2 ) sin 15𝑡]+ 697 (−21 sin 10𝑡 + 16 cos 10𝑡)
640 464
𝐼(0) = −20𝑐1 + 15𝑐2 + =0 𝑐2 = −
697 697
Note: In the above example the solution for Q(t) consists of two parts. Since 𝑒 −20𝑡 → 0 as
𝑡 → ∞ and both cos 15t and sin 15t are bounded functions,
4
𝑄𝑐 (𝑡) = 𝑒 −20𝑡 (−63 cos 15𝑡 − 116 sin 15𝑡) → 0 as t→ ∞
2091
And, for this reason 𝑄𝑝 (𝑡) is called the steady state solution. Figure below shows how the graph
of the steady state solution compares with the graph of Q in this case.