Professional Documents
Culture Documents
Jamkhongam Touthang
Assistant Professor
Department of Applied Mathematics
Delhi Technological University
Delhi-110042
1
Syllabus: MC207 Differential Equations and Applications
Unit-IV. Initial boundary value problems involving wave equation, heat equa-
tion and Laplace equation. Method of separation of variables and application
of Fourier transformations for Laplace, wave and heat equations.
2
Unit-I: Ordinary Differential Equations
5a1 + 5a2 = 0
a1 + a2 = 0
3
!
1
That is, a1 + a2 = 0. Therefore, v1 = .
−1
!
b1
Finding eigenvector v2 = corresponding to λ2 = 7:
b2
! ! !
6 − λ2 5 b1 0
=
1 2 − λ2 b2 0
! ! !
6−7 5 b1 0
=
1 2−7 b2 0
! ! !
−1 5 b1 0
=
1 −5 b2 0
4
Therefore, eigenvalues are λ1 =!3 and λ2 = 4.
a1
Finding eigenvector v1 = corresponding to λ1 = 3:
a2
! ! !
6 −3 a1 a1
=3
2 1 a2 a2
v = c1 v1 eλ1 t + c2 v2 eλ2 t
! !
1 3t 3 4t
= c1 e + c2 e
1 2
! !
e3t 3e4t
= c1 + c2
e3t 2e4t
!
c1 e3t + 3c2 e4t
=
c1 e3t + 2c2 e4t
!
x
where c1 , c2 are arbitrary constants and v = .
y
5
3. Consider the linear system:
dx
= 4x − y
dt
dy
= x + 2y
dt
Matrix form:
! ! !
dx/dt 4 −1 x
= (1)
dy/dt 1 2 y
!
4 −1
The characteristic equation of the coefficient matrix A = is
1 2
4 − λ −1
=0
2 − λ
1
λ2 − 6λ + 9 = 0
λ = 3, 3
4a1 − a2 = 3a1
a1 + 2a2 = 3a2
!
1
a1 = a2 = 1 is a non-trivial solution. Thus, v = . It follows that ve3t =
1
!
1 3t
e is a solution of equation (1). A linearly independent solution is of the
1
!
λt
1
form (vt + w)e , where v = , λ = 3 and w satisfies (A − λI)w = v.
1
6
!
b1
Thus w = satisfies
b2
" ! !# ! !
4 −1 1 0 b1 1
−3 =
1 2 0 1 b2 1
which reduces to
! ! !
1 −1 b1 1
= (2)
1 −1 b2 1
b1 − b2 = 1
b1 − b2 = 1
!
1
A non-trivial solution is b1 = 1, b2 = 0. Therefore, w = .
0
" ! !# !
1 1 1 + t
So, t+ e3t = e3t is also a solution of (1).
1 0 t
Hence, general solution is
! !
1 3t 1 + t 3t
X = c1 e + c2 e
1 t
!
x
where c1 , c2 are arbitrary constants and X =
y
4. Consider the linear system:
dx
= 7x − y + 6z
dt
dy
= −10x + 4y − 12z
dt
dz
= −2x + y − z
dt
dx/dt 7 −1 6 x
Matrix form: dy/dt = −10 4 −12 y
dz/dt −2 1 −1 z
7
7 −1 6
The characteristic equation of the coefficient matrix A = −10 4 −12
−2 1 −1
7 − λ −1 6
is −10 4 − λ −12 = 0 which gives λ3 − 10λ2 + 31λ − 30 = 0. Roots are
−2 1 −1 − λ
λ = 2, 3, 5. Therefore, eigenvalues are λ1 = 2, λ2 = 3, λ3 = 5.
To find the eigenvectors v1 , v2 , v3 corresponding respectively to the eigenvalues
λ1 , λ2 , λ3 , we use the relation Av = λv.
For λ1 = 2, we have
7 −1 6 a1 a1
−10 4 −12 a2 = 2 a2
−2 1 −1 a3 a3
Simplifying,
5a1 − a2 + 6a3 = 0
−10a1 + 2a2 − 12a3 = 0
−2a1 + a2 − 3a3 = 0
−1
For λ2 = 3, we have
7 −1 6 a1 a1
−10 4 −12 a2 = 3 a2
−2 1 −1 a3 a3
8
This is equivalent to the system:
4a1 − a2 + 6a3 = 0
−10a1 + a2 − 12a3 = 0
−2a1 + a2 − 4a3 = 0
a2 = −2a1
a3 = −a1
−1
For λ2 = 5, we have
7 −1 6 a1 a1
−10 4 −12 a2 = 5 a2
−2 1 −1 a3 a3
2a1 − a2 + 6a3 = 0
−10a1 − a2 − 12a3 = 0
−2a1 + a2 − 6a3 = 0
a2 = −2a1
3a3 = −2a1
3
a1 = 3, a2 = −6, a3 = −2 is a non-trivial solution. Therefore, v3 = −6.
−2
9
Hence, general solution is
−1 −1 −2
x
where c1 , c2 , c3 are arbitrary constants and v = y .
z
5. Find the general solution by matrix method.
dx dy
(i) = 5x − 2y, = 4x − y
dt dt
dx1 dx2
(ii) = 2x1 + 3x2 , = −x1 − 2x2
dt dt
! !
dv 3 2 x
(iii) = v, where v = .
dt 6 −1 y
dx dy dz
(iv) = 4x + 3y + z, = −4x − 4y − 2z, = 8x + 12y + 6z.
dt dt dt
dx dy dz
(v) = 3x + y − z, = x + 3y − z, = 3x + 3y − z.
dt dt dt
dx dy dz
(vi) = 4x + 3y + z, = −4x − 4y − 2z, = 8x + 12y + 6z.
dt dt dt
10
Boundary Value Problem. A boundary value problem (BVP) is a differen-
tial equation together with a set of additional constraints, called the boundary
conditions 1 . A solution to a boundary value problem is a solution to the dif-
ferential equation which also satisfies the boundary conditions.
√
For example, consider the BVP: y 00 + y = 0, y(0) = 1, y(π/2) = 2.
The general solution is y(x) = c1 cos
√ x + c2 sin x. Applying the boundary con-
ditions, we get√c1 = 1 and c2 = 2. Therefore, the solution to the BVP is
y(x) = cos x + 2 sin x.
Sturm-Liouville’s problem is a special kind of BVP. It consists of
(i) a second-order homogeneous linear differential equation of the form
d dy
P (x) + [Q(x) + λR(x)]y = 0 (3)
dx dx
where P , Q and R are real valued functions such that P , Q, R and dP/dx are
continuous, and P (x) > 0 and R(x) > 0 for all x ∈ [α, β], and λ is a parameter
independent of x and
(ii) two supplementary conditions
M1 y(α) + M2 y 0 (α) = 0
(4)
N1 y(β) + N2 y 0 (β) = 0
where M1 , M2 , N1 and N2 are real constants such that M1 and M2 are not both
zero, and so are N1 and N2 .
Two special cases:
(i) Letting M1 = N1 = 1 and M2 = N2 = 0, the conditions (4) take the form
1 Daniel Zwillinger (12 May 2014). Handbook of Differential Equations. Elsevier Science.
11
Consider the BVP:
d dy
x + [2x3 + λx2 ]y = 0 (7)
dx dx
3y(0) + 5y 0 (0) = 0
(8)
7y(1) − 2y 0 (1) = 0
The given differential equation (7) is of the form
d dy
P (x) + [Q(x) + λR(x)]y = 0 (9)
dx dx
where P (x) = x, Q(x) = 2x3 and R(x) = x2 . The conditions (8) are of the
form
M1 y(α) + M2 y 0 (α) = 0
(10)
N1 y(β) + N2 y 0 (β) = 0
where α = 0, β = 1, M1 = 3, M2 = 5, N1 = 7 and N2 = −2.
d2 y
+ λy = 0 (11)
dx2
y(0) = 0, y(π) = 0 (12)
d2 y
= 0.
dx2
General solution is
y = c1 + c2 x (13)
c1 + c2 = 0 (15)
12
Applying y(π) = 0, we get
13
Eigenvalues and Eigenfunctions
Consider the Sturm-Liouville’s problem consisting of the differential equation
d dy
P (x) + [Q(x) + λR(x)]y = 0 (21)
dx dx
where P , Q and R are real valued functions such that P , Q, R and dP/dx are
continuous, and P (x) > 0 and R(x) > 0 for all x ∈ [α, β], and λ is a parameter
independent of x and
(ii) the supplementary conditions
M1 y(α) + M2 y 0 (α) = 0
(22)
N1 y(β) + N2 y 0 (β) = 0
where M1 , M2 , N1 and N2 are real constants such that M1 and M2 are not both
zero, and N1 and N2 are not both zero.
The values of the parameter λ in (21) for which there exists non-trivial solutions
of the problem are called the eigenvalues of the problem. The corresponding
non-trivial solutions themselves are called the eigenfunctions of the problem.
For example, in the Sturm-Liouville problem (discussed earlier)
d2 y
+ λy = 0 (23)
dx2
y(0) = 0, y(π) = 0 (24)
we found that for λ = n2 , n = 1, 2, 3, . . ., there exists non-trivial solutions of
the problem. Thus, these values of λ are the eigenvalues of the problem. And
the eigenfunctions of the problem are the corresponding non-trivial solutions
y = cn sin nx (n = 1, 2, 3, . . .)
where cn (n = 1, 2, 3, . . .) is an arbitrary non-zero constant.
8. Find the eigenvalues and eigenfunctions of
d2 y
+ λy = 0 (25)
dx2
y(0) = 0, y 0 (L) = 0 (26)
Case I. Suppose λ = 0. Equation (25) reduces to
d2 y
=0
dx2
and its general solution is
y = c1 x + c2 . (27)
From (27),
dy
= c1 . (28)
dx
14
Applying y(0) = 0, (27) gives c2 = 0. Applying y 0 (L) = 0, (28) gives c1 =
0. Therefore, (27) reduces to y = 0. Hence, there is no non-trivial solution
to the problem corresponding to λ = 0. That is, there is no eigenfunction
corresponding to λ = 0.
Case II. Suppose√λ > 0. The auxiliary equation of (25) is m2 + λ = 0 whose
roots are m = ±i λ since λ > 0. Therefore, the general solution is
√ √
y = c1 cos λx + c2 sin λx . (29)
Differentiating (25)
dy √ √ √ √
= −c1 λ sin λx + c2 λ cos λx . (30)
dx
Applying y(0) = 0, (29) gives c1 = 0. Applying y 0 (L) = 0, (30) reduces to
√ √
c2 λ cos λL = 0 (since c1 = 0) . (31)
√ √
Since λ 6= 0 and c2 = 0 yields the trivial solution, we must have cos λL = 0.
Therefore,
√ (2n − 1)π
λ= , n = 1, 2, 3, . . . (32)
2L
(2n − 1)2 π 2
λ= , n = 1, 2, 3, . . .
4L2
Using c1 = 0 and (32), (29) becomes
(2n − 1)π
y = c2 sin x , n = 1, 2, 3, . . . .
2L
(2n − 1)2 π 2
λ= , n = 1, 2, 3, . . .
4L2
are
(2n − 1)π
y = cn sin x , n = 1, 2, 3, . . .
2L
15
Case I. λ = 0. The differential equation (33) reduces to
d dy
x = 0. (35)
dx dx
Case II. λ > 0. For x 6= 0, the given differential equation can be written as
d2 y dy
x2 +x + λy = 0 (36)
dx2 dx
which is Cauchy-Euler equation. Letting x = et , (29) reduces to
d2 y
+ λy = 0 . (37)
dt2
√
Auxiliary equation is√m2 + λ = 0 √which gives m = ±i λ since λ > 0. General
solution is y = c1 sin λt + c2 cos λt. Thus, for λ > 0 and x > 0, the general
solution is
√ √
y = c1 sin λlnx + c2 cos λlnx. (38)
For x > 0,
√ √
dy c1 λ √ c2 λ √
= cos( λlnx) − sin( λlnx). (39)
dx x x
√ √ √ √
Applying y 0 (1)√= 0, we get c1 λ cos( λln1) − c2 λ sin( λln1) = 0 which
simplifies to c1 λ = 0. This implies that c1 = 0 since λ > 0.
Applying y 0 (e2π ) = 0, we get
√ √ √ √
c1 λe−2π cos( λln e2π ) − c2 λe−2π sin( λln e2π ) = 0.
√ √
Since c1 = 0 and ln e2π = 2π, we get c2 λe−2π sin(2π λ) = 0. Here, √choosing
c2 = 0 would√lead to the trivial solution. Thus, we must have sin(2π λ) = 0
and hence 2π λ = nπ, n = 1, 2, 3, . . . or
n2
λ= , n = 1, 2, 3, . . . .
4
These values of λ are the required eigenvalues and the corresponding eigenfunc-
tions are given by
n
y = cn cos lnx , n = 0, 1, 2, 3, . . .
2
16
where cn (n = 0, 1, 2, 3, . . .) are arbitrary non-zero constants.
Note. Related results (definitions and theorems) which are not included here
have been discussed in the lectures. Problems 5, 7 and 10 are left for exercises.
For any query: jamkhongamtouthang@dtu.ac.in
17