Chapter 4
Chapter 4
Higher-Order Differential
Equations
Le Cong Nhan
d 2y dy
Solve : a2 (x) + a1 (x) + a0 (x)y = g (x),
dx 2 dx
d 2y dy
Solve : a2 (x) + a1 (x) + a0 (x)y = g (x),
dx 2 dx
A1 y (a) + B1 y 0 (a) = C1
A2 y (b) + B2 y 0 (b) = C2
d ny d n−1 y dy
an (x) n
+ an−1 (x) n−1
+ · · · + a1 (x) + a0 (x)y = 0. (2)
dx dx dx
Definition 2
A set of functions f1 (x), f2 (x), ..., fn (x) is said to be linearly dependent on an
interval I if there exist constants c1 , c2 , ..., cn not all zero, such that
for every x in the interval I . If the set of functions is not linearly dependent on the
interval, it is said to be linearly independent.
f1 f2 ··· fn
f10 f20 ··· fn0
W (f1 , f2 , ..., fn ) = .. .. .. 6= 0. (3)
. . .
(n−1) (n−1) (n−1)
f1 f2 ··· fn
d ny d n−1 y dy
an (x) n
+ an−1 (x) n−1 + · · · + a1 (x) + a0 (x)y = gi (x), (6)
dx dx dx
for i = 1, 2, ..., k. Then
is a particular solution of
d ny d n−1 y dy
an (x) n
+ an−1 (x) n−1 + · · · + a1 (x) + a0 (x)y
dx dx dx
= g1 (x) + g2 (x) + · · · + gk (x). (7)
ay 00 + by 0 + cy = 0.
Method of solution:
+ Reduction of order (Method of Variation of parameters)
+ Auxiliary Equation
ay 00 + by 0 + cy = 0 or y 00 + Py 0 + Qy = 0. (8)
Suppose y1 (x) denotes a known solution of equation (8). We seek a second solution
y2 (x) of (8) so that y1 and y2 are linearly independent on some interval I , that is
y1 w 0 + (2y10 + Py1 )w = 0
w0 y0
+2 1 +P =0
w y
Z1
ln |w | + 2 ln |y1 | + Pdx = c.
This implies
Z R
ln wy12 =− Pdx + c or wy12 = c1 e − Pdx
.
ay 00 + by 0 + cy = 0. (10)
aλ2 + bλ + c = 0. (11)
1 If the auxiliary equation has two distinct real roots λ1 and λ2 , then
y = c1 e λ1 x + c2 e λ2 x .
2 If the auxiliary equation has a unique real root λ1 = λ2 , then
y = c1 e λ1 x + c2 xe λ1 x .
3 If the auxiliary equation has two conjugate complex roots λ1,2 = α ± iβ,
then
an λn + an−1 λn−1 + · + a1 λ + a0 = 0.
1 If all roots are real and distinct, then
y = c1 e λ1 x + c2 e λ2 x + · · · + cn e λn x .
2 If all roots are real and assume λ1 a root of multiplicity k, then
y = c1 e λ1 x + c2 xe λ1 x + · · · + ck x k−1 e λ1 x + · · · + cn e λn x .
| {z }
k linearly independent solutions
ay 00 + by 0 + cy = g (x).
Method of solution:
+ Method of undetermined coefficients
+ Method of variation of parameters
ay 00 + by 0 + cy = g (x), (12)
y1 u10 + y2 u20 = 0
y10 u10 + y20 u20 = f (x)
W1 y2 f (x) W2 y1 f (x)
u10 = =− and u20 = = . (15)
W W W W
d ny d n−1 y dy
an x n n
+ an−1 x n−1 n−1 + · · · + a1 x + a0 y = g (x), (16)
dx dx dx
where the coefficients ak , k = 0, 1, ..., n are constants, is known diversely as a
Cauchy-Euler equation.
Let us consider the case of second-order equation
Method of solution:
Homogeneous equation: Auxiliary equation
Nonhomogeneous equation: Method of variation of parameters
ax 2 y 00 + bxy 0 + cy = 0. (18)
y = c1 x λ1 + c2 x λ2 .
2 If the auxiliary equation has repeated real root λ1 = λ2 , then
y = c1 x λ1 + c2 x λ1 ln x.
3 If the auxiliary equation has two conjugate complex roots λ1,2 = α ± iβ,
then
Analytic solution:
+ F (x, y 0 , y 00 ) = 0
+ F (y , y 0 , y 00 ) = 0
Numerical solution:
+ Taylor series
+ Numerical methods: Euler’s method, Runge-Kutta method.
Qualitative properties:
+ Asymptotic behavior;
+ Boundedness, etc.
Suppose a flexible spring is suspended vertically from a rigid support and then a
mass m is attached to its free end. Assuming further that there are no retarding
forces acting on the system and assuming that the mass vibrates free of other
external forces (free motion).
d 2x
m = −k (s + x) + mg
dt 2
= −kx + mg − ks = −kx
| {z }
zero
d 2x k
+ ω 2 x = 0, ω2 = (20)
dt 2 m
Subjected to two initial conditions:
2π
period of free vibrations: T = ω
1 ω
frequency: f = T = 2π
Le Cong Nhan (Faculty of Applied Sciences HCMC University
Chapter of 4. Technology and Education)
Higher-Order Differential Equations Ngày 26 tháng 1 năm 2022 39 / 62
The alternative form of x(t) is
p
A= c12 + c22 : amplitude of free vibrations
φ: phase angle
d 2x dx
m = −kx − β
dt 2 dt
where β is a positive damping constant.
d 2x dx
+5 + 4x = 0, x(0) = 1, x 0 (0) = 1
dt 2 dt
has a solution
5 −t 2 −4t
x(t) = e − e .
3 3
Suppose we now take into consideration an external force f (t) acting on a vibrating
mass on a spring.
d 2x dx
m = −kx − β + f (t)
dt 2 dt
or
d 2x dx
+ 2α + ω 2 x = F (t),
dt 2 dt
where F (t) = f (t)/m, 2α = β/m and
Hình: Oscillatory vertical motion of the ω 2 = k/m.
support
1 d 2x dx 1 0
2
+ 1.2 + 2x = 5 cos 4t, x(0) = , x (0) = 0.
5 dt dt 2
d 2x
+ ω 2 x = F0 sin γt, x(0) = 0, x 0 (0) = 0.
dt 2
where F0 is a constant and γ 6= ω.
The current in a circuit after a switch is closed is denoted by i(t) and the charge
on a capacitor at time t denoted by q(t).
Voltage drops across
an inductor (cuộn cảm) L: henrys, (h) is
di
L dt .
a resistor (điện trở) R: ohms, (Ω) is iR.
1
a capacitor (tụ điện) C : farads, (f) is C q.
d 2q dq 1
L 2
+R + q = E (t). (23)
dt dt C
Now suppose that the x-axis coincides with the axis of symmetry and that the
deflection y (x), measured from this axis, is positive if downward.
The bending moment M(x) at a point x along
the beam is related to the load per unit length
w (x) by the equation
d 2M
= w (x).
dx 2
In addition, the bending moment M(x) is
proportional to the curvature κ of the elastic
Hình: Deflection of a homogeneous curve
beam
M = EI κ.
d 4y
EI = w (x). (24)
dx 4
d 2y dy
Solve : a2 (x) + a1 (x) + a0 (x)y = g (x), a<x <b
dx 2 dx
A2 y (b) + B2 y 0 (b) = C2 .
Example 28
Solve the homogeneous boundary-value problem
y 00 + λy = 0, y (0) = 0, y (L) = 0.
d 2y
EI = −Py , (25)
dx 2
where
E is Young’s modulus of elasticity
I is the moment of inertia of a
cross section about a vertical line
through its centroid.
Hình: Elastic column buckling under a
compressive force
The mathematical model for the motion of spring in Section 3.6 has the form
d 2x
m + F (x) = 0, (26)
dt 2
where F (x) is the restoring force1 .
1 the force exerted by the spring that tends to restore the mass to the equilibrium position
Le Cong Nhan (Faculty of Applied Sciences HCMC University
Chapter of 4. Technology and Education)
Higher-Order Differential Equations Ngày 26 tháng 1 năm 2022 56 / 62
Rocket Motion
Falling body problem: The differential equation of a free-falling body of mass m
near the surface of the Earth is given by
d 2s d 2s
= −mg m or simply = −g
dt 2 dt 2
where s represents the distance from the surface of the Earth to the object and the
positive direction is considered to be upward.
The second law of motion states that when a body of mass m moves through a
force field with velocity v , the time rate of change of the momentum mv of the
body is equal to applied or net force F acting on the body:
d
F = (mv ). (27)
dt
Example 30
A uniform 10-foot-long heavy rope is coiled loosely on the ground. One end of the
rope is pulled vertically upward by means of a constant force of 5 lb. The rope
weighs l lb per foot. Determine the height x(t) of the end above ground level at
time t.
Let x1 (t) and x2 (t) denote the vertical displacements of the masses from their
equilibrium positions.
d 2 x1
m1 = −k1 x1 + k2 (x2 − x1 )
dt 2 | {z } | {z }
elongation of spring A compression of spring B
d 2 x2
m2 2 = −k2 (x2 − x1 )
dt | {z }
elongation of spring B
dy d 2y 2 d ny
= Dy , = D y , ......, = Dny
dx dx 2 dx n
The linear equation