Second Order Linear Differential Equations
Transcript of Second Order Linear Differential Equations
![Page 1: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/1.jpg)
Second Order Linear Differential
Equations
A second order linear differential equa-
tion is an equation which can be writ-
ten in the form
y′′ + p(x)y′ + q(x)y = f(x)
where p, q, and f are continuous
functions on some interval I.
The functions p and q are called the
coefficients of the equation.1
![Page 2: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/2.jpg)
The function f is called the forcing
function or the nonhomogeneous term.
![Page 3: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/3.jpg)
“Linear”
Set L[y] = y′′ + p(x)y′ + q(x)y.
Then, for any two twice differentiable
functions y1(x) and y2(x),
L[y1(x) + y2(x)] = L[y1(x)] + L[y2(x)]
and, for any constant c,
L[cy(x)] = cL[y(x)].
That is, L is a linear differential
operator.
2
![Page 4: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/4.jpg)
Existence and Uniqueness
THEOREM: Given the second order
linear equation (1). Let a be any
point on the interval I, and let α and
β be any two real numbers. Then the
initial-value problem
y′′ + p(x) y′ + q(x) y = f(x),
y(a) = α, y′(a) = β
has a unique solution.
3
![Page 5: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/5.jpg)
The linear differential equation
y′′ + p(x)y′ + q(x)y = f(x) (1)
is homogeneous if the function f on
the right side is 0 for all x ∈ I. That
is,
y′′ + p(x) y′ + q(x) y = 0.
is a linear homogeneous equation.
4
![Page 6: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/6.jpg)
If f is not the zero function on I,
that is, if f(x) 6= 0 for some x ∈ I,
then
y′′ + p(x)y′ + q(x)y = f(x)
is a linear nonhomogeneous equation.
5
![Page 7: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/7.jpg)
Section 3.2. Homogeneous Equa-
tions
y′′ + p(x) y′ + q(x) y = 0 (H)
where p and q are continuous func-
tions on some interval I.
The zero function, y(x) = 0 for all
x ∈ I, ( y ≡ 0) is a solution of (H).
The zero solution is called the trivial
solution. Any other solution is a non-
trivial solution.
6
![Page 8: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/8.jpg)
Recall, Example 8, Chap. 1, pg 19:
Find a value of r, if possible, such
that y = xr is a solution of
y′′ −1
xy′ −
3
x2y = 0.
y ≡ 0 is a solution (trivial)
y1 = x−1, y2 = x3 are solutions
7
![Page 9: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/9.jpg)
Basic Theorems
THEOREM 1: If y = y1(x) and
y = y2(x) are any two solutions of
(H), then
u(x) = y1(x) + y2(x)
is also a solution of (H).
The sum of any two solutions of
(H) is also a solution of (H). (Some
call this property the superposition prin-
ciple).
8
![Page 10: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/10.jpg)
Proof:
9
![Page 11: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/11.jpg)
THEOREM 2: If y = y(x) is a
solution of (H) and if C is any real
number, then
u(x) = Cy(x)
is also a solution of (H).
Any constant multiple of a solution
of (H) is also a solution of (H).
10
![Page 12: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/12.jpg)
DEFINITION: Let y = y1(x) and
y = y2(x) be functions defined on some
interval I, and let C1 and C2 be
real numbers. The expression
C1y1(x) + C2y2(x)
is called a linear combination of y1
and y2.
11
![Page 13: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/13.jpg)
Theorems 1 & 2 can be restated as:
THEOREM 3: If y = y1(x) and
y = y2(x) are any two solutions of
(H), and if C1 and C2 are any two
real numbers, then
y(x) = C1 y1(x) + C2 y2(x)
is also a solution of (H).
Any linear combination of solutions
of (H) is also a solution of (H).
12
![Page 14: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/14.jpg)
NOTE: y(x) = C1 y1(x) + C2 y2x
is a two-parameter family which ”looks
like“ the general solution.
Is it???
13
![Page 15: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/15.jpg)
Some Examples from Chapter 1:
1.
y1 = cos 3x and y2 = sin 3x
are solutions of
y′′ + 9y = 0 (Chap 1, p. 45)
y = C1 cos 3x + C2 sin 3x
is the general solution.
14
![Page 16: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/16.jpg)
2. y1 = e−2x and y2 = e4x
are solutions of
y′′ − 2y′ − 8y = 0 (Chap 1, p. 52)
and
y = C1e−2x + C2e4x
is the general solution.
15
![Page 17: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/17.jpg)
3. y1 = x and y2 = x3
are solutions of
y′′ −3
xy′ −
3
x2y = 0 (Chap 1, p. 53)
and
y = C1x + C2x3
is the general solution.
16
![Page 18: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/18.jpg)
Example: y′′ −1
xy′ −
15
x2y = 0
a. Solutions
y1(x) = x5, y2(x) = 3x5
General solution:
y = C1x5 + C2(3x5) ??
That is, is EVERY solution a linear
combination of
y1 and y2 ?
17
![Page 19: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/19.jpg)
ANSWER: NO!!!
y = x−3 is a solution AND
x−3 6= C1x5 + C2(3x5)
C1x5 + C2(3x5) = M x5
x−3 is NOT a constant multiple of x5.
18
![Page 20: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/20.jpg)
Now consider
y1(x) = x5, y2(x) = x−3
General solution: y = C1x5 + C2x−3 ?
That is, is EVERY solution a linear
combination of y1 and y2??
Let y = y(x) be the solution of the
equation that satisfies
y(1) = y′(1) =
19
![Page 21: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/21.jpg)
y = C1x5 + C2x−3
y′ = 5C1x4 − 3C2x−4
At x = 1:
C1 + C2 =
5C1 − 3C2 =
20
![Page 22: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/22.jpg)
In general: Let
y = C1y1(x) + C2y2(x)
be a family of solutions of (H). When
is this the general solution of (H)?
EASY ANSWER: When y1 and y2
ARE NOT CONSTANT MULTIPLES
OF EACH OTHER.
That is, y1 and y2 are independent of
each other.
21
![Page 23: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/23.jpg)
Let
y = C1y1(x) + C2y2(x)
be a two parameter family of solutions
of (H). Choose any number a ∈ I and
let u be any solution of (H).
Suppose u(a) = α, u′(a) = β
22
![Page 24: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/24.jpg)
Does the system of equations
C1y1(a) + C2y2(a) = α
C1y′1(a) + C2y′2(a) = β
have a unique solution??
23
![Page 25: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/25.jpg)
DEFINITION: Let y = y1(x) and
y = y2(x) be solutions of (H). The
function W defined by
W [y1, y2](x) = y1(x)y′2(x) − y2(x)y
′1(x)
is called the Wronskian of y1, y2.
Determinant notation:
W (x) = y1(x)y′2(x) − y2(x)y
′1(x)
=
∣
∣
∣
∣
∣
∣
y1(x) y2(x)y′1(x) y′2(x)
∣
∣
∣
∣
∣
∣
24
![Page 26: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/26.jpg)
THEOREM 4: Let y = y1(x) and
y = y2(x) be solutions of equation (H),
and let W (x) be their Wronskian. Ex-
actly one of the following holds:
(i) W (x) = 0 for all x ∈ I and y1 is
a constant multiple of y2, AND
y = C1y1(x) + C2y2(x)
IS NOT the general solution of (H)
OR
25
![Page 27: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/27.jpg)
![Page 28: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/28.jpg)
![Page 29: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/29.jpg)
(ii) W (x) 6= 0 for all x ∈ I, AND
y = C1y1(x) + C2y2(x)
IS the general solution of (H)
(Note: W (x) is a solution of
y′ + p(x)y = 0.
See Section 2.1, Special Case.)
The Proof is in the text.
![Page 30: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/30.jpg)
Fundamental Set; Solution basis
DEFINITION: A pair of solutions
y = y1(x), y = y2(x)
of equation (H) forms a fundamental
set of solutions (also called a solution
basis) if
W [y1, y2](x) 6= 0 for all x ∈ I.
26
![Page 31: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/31.jpg)
Section 3.3. Homogeneous Equa-
tions with Constant Coefficients
Fact: In contrast to first order linear
equations, there are no general meth-
ods for solving
y′′ + p(x)y′ + q(x)y = 0. (H)
But, there is a special case of (H) for
which there is a solution method, namely
27
![Page 32: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/32.jpg)
y′′ + ay′ + by = 0 (1)
where a and b are constants.
Solutions: (1) has solutions of the
form
y = erx
28
![Page 33: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/33.jpg)
y = erx is a solution of (1) if and only
if
r2 + ar + b = 0 (2)
Equation (2) is called the character-
istic equation of equation (1)
29
![Page 34: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/34.jpg)
Note the correspondence:
Diff. Eqn: y′′ + ay′ + by = 0
Char. Eqn: r2 + ar + b = 0
The solutions y = erx of
y′′ + ay′ + by = 0
are determined by the roots of
r2 + ar + b = 0.
30
![Page 35: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/35.jpg)
There are three cases:
1. r2 + ar + b = 0 has two, distinct
real roots, r1 = α, r2 = β.
2. r2 + ar + b = 0 has only one real
root, r = α.
3. r2 + ar + b = 0 has complex con-
jugate roots, r1 = α + i β, r2 =
α − i β, β 6= 0.
31
![Page 36: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/36.jpg)
Case I: Two, distinct real roots.
r2 + ar + b = 0 has two distinct real
roots:
r1 = α, r2 = β, α 6= β.
Then
y1(x) = eαx and y2(x) = eβx
are solutions of y′′ + ay′ + by = 0.
32
![Page 37: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/37.jpg)
y1 = eαx and y2 = eβx are not con-
stant multiples of each other, {y1, y2}
is a fundamental set,
W [y1, y2] =
General solution:
y = C1 eαx + C2 eβx
33
![Page 38: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/38.jpg)
Example 1: Find the general solution
of
y′′ − 3y′ − 10y = 0.
34
![Page 39: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/39.jpg)
Example 2: Find the general solution
of
y′′ − 11y′ + 28y = 0.
35
![Page 40: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/40.jpg)
Case II: Exactly one real root.
r = α; (α is a double root). Then
y1(x) = eαx
is one solution of y′′ + ay′ + by = 0.
We need a second solution which is in-
dependent of y1.
36
![Page 41: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/41.jpg)
NOTE: In this case, the characteristic
equation is
(r − α)2 = r2 − 2αr + α2 = 0
so the differential equation is
y′′ − 2αy′ + α2y = 0
37
![Page 42: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/42.jpg)
y = Ceαx is a solution for any constant
C. Replace C by a function u which
is to be determined so that
y = u(x)eαx
is a solution of: y′′ − 2α y′ + α2 y = 0
38
![Page 43: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/43.jpg)
![Page 44: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/44.jpg)
y1 = eαx and y2 = xeαx are not con-
stant multiples of each other, {y1, y2}
is a fundamental set,
W [y1, y2] =
General solution:
y = C1 eαx + C2 xeαx
39
![Page 45: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/45.jpg)
Examples:
1. Find the general solution of
y′′ + 6y′ + 9y = 0.
40
![Page 46: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/46.jpg)
2. Find the general solution of
y′′ − 10y′ + 25y = 0.
41
![Page 47: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/47.jpg)
Case III: Complex conjugate roots.
r1 = α + i β, r2 = α − i β, β 6= 0
In this case
u1(x) = e(α+iβ)x u2(x) = e(α−iβ)x
are ind. solns. of y′′ + ay′ + by = 0
and
y = C1 e(α+iβ)x + C2 e(α−iβ)x
is the general solution. BUT, these are
complex-valued functions!! No good!!
We want real-valued solutions!!42
![Page 48: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/48.jpg)
Recall from Calculus II:
ex = 1 + x +x2
2!+
x3
3!+ · · · +
xn
n!+ · · ·
cos x = 1 −x2
2!+
x4
4!− · · · ±
x2n
(2n)!+ · · ·
sin x = x −x3
3!+
x5
5!· · · ±
x2n−1
(2n − 1)!+ · · ·
43
![Page 49: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/49.jpg)
ex = 1 + x +x2
2!+
x3
3!+ · · · +
xn
n!+ · · ·
44
![Page 50: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/50.jpg)
Relationships between the exponen-
tial function, sine and cosine
Euler’s Formula: eiθ = cos θ+ i sin θ
These follow:
e−iθ = cos θ − i sin θ
cos θ =eiθ + e−iθ
2
sin θ =eiθ − e−iθ
2i
eiπ + 1 = 045
![Page 51: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/51.jpg)
e(α+i β)x =
46
![Page 52: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/52.jpg)
{u1 = e(α+iβ)x, u2 = e(α−iβ)x}
transform into
{y1 = eαx cos βx, y2 = eαx sin βx}
y1 and y2 are not constant multiples
of each other, {y1, y2} is a fundamen-
tal set, W [y1, y2] =
W [y1, y2] = βe2αx 6= 0
47
![Page 53: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/53.jpg)
AND
y = C1 eαx cos βx + C2 eαx sin βx
is the general solution.
48
![Page 54: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/54.jpg)
Examples: Find the general solution
of
1. y′′ − 4y′ + 13y = 0.
2. y′′ + 6y′ + 25y = 0.
49
![Page 55: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/55.jpg)
![Page 56: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/56.jpg)
![Page 57: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/57.jpg)
![Page 58: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/58.jpg)
Comprehensive Examples:
1. Find the general solution of
y′′ + 6y′ + 8y = 0.
50
![Page 59: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/59.jpg)
2. Find a solution basis for
y′′ − 10y′ + 25y = 0.
51
![Page 60: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/60.jpg)
3. Find the solution of the initial-value
problem
y′′−4y′+8y = 0, y(0) = 1, y′(0) = −2.
52
![Page 61: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/61.jpg)
4. Find the differential equation that
has
y = C1e2x + C2e−3x
as its general solution. (C.f. Chap 1.)
53
![Page 62: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/62.jpg)
5. Find the differential equation that
has
y = C1e2x + C2xe2x
as its general solution. (C.f. Chap 1.)
54
![Page 63: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/63.jpg)
6. y = 5xe−4x is a solution of a sec-
ond order homogeneous equation with
constant coefficients.
a. What is the equation?
b. What is the general solution?
55
![Page 64: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/64.jpg)
7. y = 2e2x sin 4x is a solution of
a second order homogeneous equation
with constant coefficients.
a. What is the equation?
b. What is the general solution?
56
![Page 65: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/65.jpg)
From Exercises 1.3:
18. y = C1ex + C2e−2x.
19. y = C1e2x + C2xe2x
57
![Page 66: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/66.jpg)
![Page 67: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/67.jpg)
22. y = C1 cos 3x + C2 sin 3x.
24. y = C1e2x cos 3x + C2e2x sin 3x.
58
![Page 68: Second Order Linear Differential Equations](https://reader030.fdocuments.us/reader030/viewer/2022012018/61dad0124600462c611e2254/html5/thumbnails/68.jpg)