Differential Equations: B. Shibazaki
Differential Equations: B. Shibazaki
B. Shibazaki
1
1. Differential equations
If the functions are real functions of one real variable, the derivatives occurring are
ordinary derivatives, and the equation is called an ordinary differential equation.
If the functions are real functions of more than one real variable, the derivatives
occurring are partial derivatives, and the equation is called a partial differential
equation.
p0 ( x) y ( n ) + p1 ( x) y ( n −1) + L + pn −1 ( x) y′ + pn ( x) y = q( x) (1.2)
where q and the coefficients p0 , p1 ,L, pn are continuous functions of x . All other
differential equations are said to be nonlinear.
2
(b) Partial differential equations
A partial differential equation of order n is a functional equation of the form
∂φ ∂φ ∂ 2φ
F [ x1 , L , xm ; φ ; ,L, ; , L] = 0 (1.3)
∂x1 ∂xm ∂x1∂x2
which involves at least one nth-order partial derivative of the unknown function
φ = φ ( x1 , L , xm ) of two or more independent variables x1 , L , xm .
∂ 2φ ∂ 2φ ∂ 2φ ∂φ ∂ 2φ
+ + = a φ + b + c
∂x 2 ∂y 2 ∂z 2 ∂t ∂t 2
where φ denotes a function of x , y , z and t .
When a = b = 0 , the equation
∂ 2φ ∂ 2φ ∂ 2φ ∂ 2φ
+ + = c
∂x 2 ∂y 2 ∂z 2 ∂t 2
yields the wave equation that governs wave propagation in various continuous media.
3
1.2 Solutions of differential equations
The solution of a given differential equation implies the determination of the
functions y ( x) that satisfy the differential equation for all values of x in a specified
bounded or unbounded interval. Note that the solutions can be verified by
re-substitution.
4
(b) Particular solutions
Any solution of a differential equation (1.1) that can be obtained from the general
solution (1.4) by assigning values to the n arbitrary constants c1 , c2 , L, cn is called a
particular solution.
Solution:
The general solution is given by y = c1 sin x + c2 cos x (Example 5).
Substituting x = 0 and y = 0 , we obtain c2 = .
5
2. First-order differential equations
dy
= f ( x, y ) (2.1)
dx
Solution:
Problem Solve y′ + 5 xy = 0 .
Solution:
1
∫ y dy = −∫ 5xdx + c
6
(b) Linear differential equations.
First-order linear differential equations can be written in the form
y′( x) + p( x) y ( x) = q( x) (2.3)
Proof: From dy / dx = − p( x) y ,
1
∫ y d y = −∫ p( x)dx + c
ln y = − ∫ p( x)dx + c
y = exp[− ∫ p ( x)dx + c]
y = c exp[− ∫ p( x)dx]
7
When q( x) ≠ 0 , the equation is said to be nonhomogeneous.
In order to find the solution to this nonhomogeneous equation, we consider c in Eq.
(2.4) as a function of x . Then,
dy dc
= exp[− ∫ p ( x)dx] − p( x) y (2.5)
dx dx
dc
= q( x) exp[ ∫ p ( x)dx] (2.6)
dx
Therefore, from Esq. (2.4) and (2.7), we obtain the general solution of the original
nonhomogeneous equation as
8
dy
Problem Solve + y=x.
dx
y = ce − x
dc
= xe x
dx
c( x) = ∫ xe x dx = xe x − ∫ e x dx + c1 = xe x − e x + c1
y = x − 1 + ce − x
9
3 Second-order differential equations
d2 d
L≡ 2
+ p ( x) + q ( x ) (3.2)
dx dx
Ly ( x) = r ( x) (3.3)
10
Theorem 1 linearity principle
Ly1 = 0 and Ly 2 = 0 .
This theorem states that a linear combination of any two linearly independent solutions
of Ly = 0 yields the general solution of Ly = 0 .
11
For testing whether two solutions y1 and y2 of Ly = 0 are linearly independent or
not, we can use the function W of x defined by
d 2 y1 d 2 (sin x)
= = − sin x = − y1
dx 2 dx 2
d 2 y2 d 2 (cos x)
= = − cos x = − y2
dx 2 dx 2
12
Theorem 3 General solution of nonhomogeneous equations
y = y3 + y = c1 y1 ( x) + c2 y2 ( x) + y ( x) (3.6)
L( y3 + y ) = Ly3 + Ly = 0 + r = r
(1) we must find two linearly independent solutions y1 and y2 of the associated
homogeneous equation Ly = 0 .
(3) then, adding any particular solution y = y (x) of Ly = r to the general solution of
Ly = 0 , we obtain the general solution of Ly = r .
13
3.2 Linear differential equations with constant coefficients
Homogeneous linear differential equations with constant coefficients can be written
in the form
where a and b are constants. There is a method for completely solving this type of
differential equation.
The substitution of a trial solution of the form y = e tx , where t is a constant to be
determined, into Eq. (3.7) yields the quadratic equation
t 2 + at + b = 0 (3.8)
which is called the characteristic equation of the differential equation in Eq. (3.7).
− a ± a 2 − 4b
t1 , t 2 = (3.9)
2
14
Case (a) a 2 − 4b > 0
When t1 and t2 are distinct real roots of Eq. (3.8), the solutions y1 = e t1 x and
y 2 = e t 2 x are linearly independent, since
W ( y1 , y2 ) = (t 2 − t1 )e ( t1 +t2 ) x ≠ 0
Hence,
y = c1et1x + c2 et2 x (3.10)
defines the general solution of the differential equation in Eq. (3.7).
Case (b) a 2 − 4b = 0
When the roots t1 and t2 of the characteristic equation are real and equal, y1 = e t1 x
gives a solution for Eq. (3.7), but a second solution y 2 for which y1 and y2 are
linearly independent is absent.
The second solution y 2 may be obtained by using the method of reduction of order.
We obtain
y 2 = xet1 x (3.11)
15
Case (c) a 2 − 4b < 0
When the roots of the characteristic equation are not real, then they must be complex
conjugates, since a and b are real numbers.
Let these complex roots be denoted by
t1 = α + iβ
and
t 2 = α − iβ ,
Then, the two linearly independent solutions of Eq. (3.7) can be written as
16
4. Vibrations
4.1 Undamped mechanical system
We consider a vertically suspended spring with a mass m attached to its lower end.
According to Hooke’s law, the force F exerted by the spring is proportional to the
extension x :
F = − kx
m x
d 2x
By using Newton's second law m × acceleration = m = −kx , we get
dt 2
d 2x
m + kx = 0
dt 2
17
Problem Obtain a general solution by assuming x = e pt .
Problem
(a) Obtain the periodic time T required to complete one oscillation.
(b)Obtain the frequency f of an oscillation: the number of complete cycles per second,
namely, 1 / T .
18
We consider a mass suspended from a spring with the mass subject to a force that
changes with time.
d 2x k Vω 2
+ x = cos ωt
dt 2 m m
d 2x k
The general solution of the homogeneous equation + x = 0 is
dt 2 m
d 2x k Vω 2
For the particular solution of + x = cos ωt , we can try a solution of the
dt 2 m m
form:
x = b1 cos ωt + b2 sin ωt
19
Vω 2
We obtain b1 = .
m(ω 02 − ω 2 )
20
4.2 Damped vibrations
Homogeneous linear differential equations with constant coefficients can be written in
the form
where γ and ω0 denote the damping factor and natural frequency respectively.
p 2 + 2γω0 p + ω0 = 0
2
(*)
p1 , p2 = (−γ ± r 2 − 1)ω0
x = c1e ( −γ + γ 2 −1 )ω0 t
+ c2 e ( −γ − γ 2 −1 )ω0t
p1 , p2 = (−γ ± i 1 − γ 2 )ω0
21
Problem Find the particular solution of Eq. (4.1) that satisfies the initial conditions
x = 1 and x& = 0 when t = 0 .
22
Fig. 4. Changes in displacement with time for three cases: under-damping, critical
damping, and over-damping, when the initial conditions are x(0) = 1 and x& (0) = 0 .
23
4.3 Forced vibrations
For solving this equation, we introduce y that satisfies the conjugate equation
so that, if z = x + iy , we have
Therefore,
Vω 2 ω02 − ω 2 − 2iγω0ω
A= = Vω 2
Vω 2
= e iφ (4.7)
[(ω 0 − ω ) + 4γ ω 0 ω ]
2 2 2 2 2 2 1/ 2
where
− 2γω0ω
tan φ = (4.8)
ω02 − ω 2
24
Problem
⎛ a b ⎞
a + ib = a 2 + b 2 ⎜⎜ +i ⎟ = a 2 + b 2 e iφ tan φ = b / a
⎟
⎝ a +b a2 + b2 ⎠
2 2
ω02 − ω 2 − 2iγω0ω =
25
Thus, a particular solution of Eq. (4.2) is
Vω 2
z= e i (ωt +φ ) (4.9)
[(ω0 − ω ) + 4γ ω0 ω ]
2 2 2 2 2 2 1/ 2
Vω 2
x = Re{z} = cos(ωt + φ ) (4.10)
[(ω02 − ω 2 ) 2 + 4γ 2ω02ω 2 ]1/ 2
The general solution of Eq. (4.2) is given by the sum of a general solution of Eq. (4.1)
and a particular solution Eq. (4.10).
Amplitude spectrum
Vω 2
A(ω ) =
[(ω02 − ω 2 ) 2 + 4γ 2ω02ω 2 ]1/ 2
V
=
⎛ω ⎞ ⎛ω2 ⎞
2
[(⎜ 0 ⎟ − 1) 2 + 4γ 2 ⎜⎜ 02 ⎟⎟]1/ 2
⎝ω ⎠ ⎝ω ⎠
Phase spectrum
ω0
− 2γ
tan φ = ω
⎛ ω0 ⎞
2
⎜ ⎟ −1
⎝ω ⎠
26
Amplitude spectrum
Phase spectrum
27