Lec 4 Second Order Linear Differential Equations
Lec 4 Second Order Linear Differential Equations
In this lecture
• We define a second order Linear DE
• State the existence and uniqueness of solutions
of second order Initial Value problems
• We find the general solution of a second order
Homogeneous Linear DE
• Define the Wronskian of two functions and
give a criterion for LI of two functions
Definition Recall that a DE is said to be
linear if the dependent variable and its
derivatives occur only in the first degree.
Thus a second order linear DE in the standard
form is
2
d y dy
2
P ( x ) Q ( x ) y R ( x ) …. (*)
dx dx
where P(x), Q(x), and R(x) are continuous
functions of x on some interval [a, b ].
Existence and uniqueness of solutions of
a second order Initial value problem
Theorem Let P(x), Q(x), and R(x) be
continuous functions of x on a closed interval
[a, b]. Let x0 be any point in the interval [a, b]
and let y0, y0 be two real numbers. Then there
exists a unique solution y = y(x) of the second
order LDE
2
d y dy
2
P ( x) Q( x) y R( x)
dx dx
such that when x = x0, y = y0, y = y0 .
Problem: (8, p 87) Show that y = 0 and
y = x2sin x are both solutions of
x y 4 xy ( x 6) y 0,
2 2
2
d d
(D , D 2 )
2
dx dx
We thus have a Linear transformation
L : C[a, b] C[a, b]
C[ a , b ]
C [a, b] y Ly
defined by y Ly
The set of all solutions of the “homogeneous
linear DE” d 2 y dy
2
P( x) Q( x) y 0
dx dx
equals y C[a, b]| Ly 0
and hence is the null space of the linear
transformation L and hence is a subspace of
C [a, b]. We now show that it is a
two-dimensional subspace of C [a, b].
Theorem Let P(x), Q(x), and R(x) be
continuous functions of x on a closed interval
[a, b]. The set, S, of all solutions of the second
order homogeneous LDE
2
d y dy
2
P( x) Q( x) y 0 … (**)
dx dx
is a two-dimensional subspace of C [a, b].
Proof Fix a point x0 in the interval [a,b]. By
the existence and uniqueness theorem of a
second order Initial-value problem,
there exists a unique solution y = u(x) of (**)
satisfying the initial conditions:
u(x0) = 1, u (x0) = 0.
Again by the same theorem, there exists a
unique solution y = v(x) of (**) satisfying the
initial conditions: v(x0) = 0, v (x0) = 1.
We show
(i) {u(x), v(x) } is LI.
(ii) u(x), v(x) span S.
Proof of (i) Let α u(x) + v(x) = 0 …..(1)
Differentiating (1) w.r.t. x, we get
α u(x) + v(x) = 0 …..(2)
Put x = x0 in (1). We get α × 1 + × 0 = 0
i.e. α = 0
Put x = x0 in (2). We get α × 0 + × 1 = 0
i.e. = 0
Thus {u(x), v(x) } is LI.
Proof of (ii)
Let y = w(x) be a solution of the homogeneous
equation (**). Suppose w(x0) = , w(x0) = .
Now y = u(x) + v(x) is also a solution
of (**) satisfying the initial conditions:
when x = x0, y = , y = .
Hence by the uniqueness of the initial value
problem, w(x) = u(x) + v(x) or u(x), v(x)
span S.
Thus S has a basis consisting of two vectors.
Or S is two-dimensional. Q.E.D.
Example: The 2nd order equation
2
d y
2
y0 (1)
dx
Its solution space is a 2-dimensional subspace of
C(-, ).
It is easy to show that the functions
y1 ( x) cosh x, y2 ( x) sinh x
2x 3x
Their Wronskian is e e
2x 3x
e .
5x
2e 3e
3. Let y1 ( x) e , y2 ( x) xe
x x
Their Wronskian is e 2 x .
Fact 1. Let y1 ( x), y2 ( x) be two functions in
C [a, b]. If their Wronskian is not zero
at some point x0 in [a, b], then
{ y1 ( x), y2 ( x)} is LI.
W ( x) Ce P ( x ) dx
for some constant C.
Proof Since y1 ( x), y2 ( x) are solutions of (**)
2
d y1 dy1
2
P ( x ) Q ( x ) y1 0 …(i)
dx dx
2
d y2 dy2
2
P ( x ) Q ( x ) y 2 0 …(ii)
dx dx
(i)×y2 – (ii)× y1 gives
dy1 dy2
2 2
d y1 d y2
y2 2 y1 2 P( x) y2 y1 0
dx dx dx dx
The Wronskian of y1 ( x), y2 ( x) is
y1 ( x) y2 ( x )
W ( x)
y1 ( x) y2 ( x)
y1 ( x) y2 ( x) y2 ( x) y1 ( x)
dW
Hence y1 ( x) y2 ( x) y1 ( x) y2 ( x)
dx
( y2 ( x) y1 ( x) y2 ( x) y1 ( x))
y1 ( x) y2 ( x) y2 ( x) y1 ( x)
dW
Thus we get P( x)W 0
dx
Separating the variables and integrating we
get
W ( x) Ce P ( x ) dx
C, an arbitrary constant
Proof Given W ( x0 ) y1 ( x0 ) y2 ( x0 )
0.
y1 ( x0 ) y2 ( x0 )
Consider the two homogeneous algebraic
linear equations in two unknowns x1, x2 :
x1 y1 ( x0 ) x2 y2 ( x0 ) 0
x1 y1 ( x0 ) x2 y2 ( x0 ) 0
The determinant of the coefficient matrix is
W ( x0 ) 0.
Hence the above system has a nontrivial
solution (c1, c2). That is we can find c1, c2
(both not zero , i.e. at least one of them 0)
such that c1 y1 ( x0 ) c2 y2 ( x0 ) 0
c1 y1 ( x0 ) c2 y2 ( x0 ) 0
Now y c1 y1 ( x) c2 y2 ( x)
is a solution of the homogeneous second order
LDE (**) such that y(x0) = 0, y(x0) = 0.
But y = 0 is also a solution of the
homogeneous second order LDE (**) such
that y(x0) = 0, y(x0) = 0. Hence by the
uniqueness theorem, c1 y1 ( x) c2 y2 ( x) 0
Thus we have found constants c1, c2
Q.E.D.
Examples 1. y1 ( x), y2 ( x) are two solutions
of the second order linear d.e.
y 4 y 4 y 0
Find their Wronskian W(x).
By Abel’s formula, W ( x) Ce P ( x ) dx
Ce 4 dx
Ce , C an arbitrary constant
4x
y1 ( x) y2 ( x) y2 ( x) y1 ( x)
1+P(x)+Q(x)=0 y = ex
1-P(x)+Q(x)=0 y = e-x
a2 +aP(x)+Q(x)=0 y = eax
a2 -aP(x)+Q(x)=0 y = e-ax
P(X) + xQ(X)=0 y=x
m(m -1)+mxp(x)+x2Q(x)=0 y = xm
Examples 1. A solution of the d.e.
2
d y dy
2
4 4y 0
dx dx
is y1 e .
2x
Find the complete solution.
Solution A second LI solution y2 is given by
y2 v y1 where
1 P ( x ) dx
v 2e
y1
1 4 dx
dx 4 x e
e
dx x.
Hence the complete solution is
y c1 y1 c2 y2 c1 e 2 x c2 x e 2 x
(2 x 1)
Note P =
x
Thus a second LI solution y2 is given by
y2 v y1, where
1 P ( x ) dx
v 2e dx
y1
(2 x 1) 2
1 x
dx x dx
dx
2x e x
e 2
Hence the complete solution is
y c1 y1 c2 y2 c1 e c2 x e
x 2 x
(1-x )y-2xy+2y=0
2
is the special case of Legender’s equation
(1-x )y-2xy+p(p+1)y=o,
2
Corresponding to p = 1, it has y1 = x as
an obvious solution. Find the general
solution.
Solution is given below
( 1 - x )y '' - 2 xy ' 2 y 0
2
(1 )
One solution is y1 x (2)
Writing (1) is the standard form
y P(x)y ' Q(x)y 0. We have,
''
2x ' 2
y
''
y y 0 (3)
1 x 2
1 x 2
2 x
here P( x)
1 x 2
The second linearly independent solution is
given by
y 2 vy1 , where
1 Pdx
v 2e dx
y1
2 x
1 dx
2e 1 x 2
dx
x
1 ln(1 x2 ) 1 1
2e dx 2 dx
x x 1 x 2
1 1 1 1 1 x
2 2
dx ln
x 1 x x 2.1 1 x
1 x
v 1/ x 1/ 2 ln
1 x
1 x
y2 vy1 {1/ x 1/ 2 ln }x
1 x
x 1 x
y2 ln 1
2 1 x
Solution is
x 1 x
y ( x) c1 x c2 { ln 1}
2 1 x