Y X y y X y y X Y: We Turn Now To The Solution of Differential Equations of Order Two or Higher
Y X y y X y y X Y: We Turn Now To The Solution of Differential Equations of Order Two or Higher
E
We turn now to the solution of differential equations
of order two or higher.
4.1 Preliminary Theory
4.1.1 Initial-Value Problem & Boundary-Value
Problem
Initial-Value Problem (IVP)
Solve:
n 1
Subject to: y ( x0 ) y0 , y ( x0 ) y1 , ..., y ( x0 ) yn 1
Seek a function defined on some interval I, containing
x0, satisfies the DE and the n initial conditions.
Existence of a Unique Solution
Let an ( x), an 1 ( x ),...a1 ( x ), a0 ( x ) and f ( x)
be continuous on an interval I, and let
y c1 y1 ( x) c2 y2 ( x) ... ck yk ( x),
where the c1,c2,…ck are arbitrary constants,
is also a solution on the interval.
Will prove for the case k=2
Proof: 2
d y dy
Let L a2 ( x) 2 a1 ( x) a0 ( x)
dx dx
Let y1 ( x) and y2 ( x) be solutions of the
homogeneous equation L( y ) 0
i.e L( y1 ) 0 and L( y2 ) 0
Want to show that: y c1 y1 ( x ) c2 y 2 ( x)
is also a solution.
L( y ) L{c1 y1 ( x) c2 y2 ( x)}
L{c1 y1 ( x)} L{c2 y2 ( x)}
c1 Ly1 ( x) c2 Ly2 ( x)
c1 o c2 0 0
Examples
1. Show that y1 cos x and y2 sin x
are solutions of the DE y y 0.
Verify that ( x) c1 cos x c2 sin x
is also a solution of the DE.
Solution
y1 cos x y1 sin x y1 cos x
LHS y1 y1 cos x cos x 0 RHS
y2 sin x y2 cos x y2 sin x
LHS y2 y2 sin x sin x 0 RHS
So y1 and y2 are the solutions of the DE.
For ( x) to be a solution of the DE, need to show :
( x) ( x) 0
Given ( x) c1 cos x c2 sin x
So ( x) c1 sin x c2 cos x
( x) c1 cos x c2 sin x
So ( x) ( x) c1 cos x c2 sin x
c1 cos x c2 sin x
0
or we can use the Superposition Principle directly.
2. Given that y1 and y2 are the solution of the DE
2
y y 0
Is y3 c1 y1 c2 y2 also a solution of the DE?
Not necessarily since the DE is not linear-
Solution
cannot use the Principle.
y3 c1 y1 c2 y2
y3 c1 y1 c2 y2
y3 y3 c1 y1 c2 y2 c1 y1 c2 y2
2 2
2 2 2 2
c1 y1 c2 y2 c1 y1 2c1c2 y1 y2 c2 y2
Not necessarily zero!!
The next two concepts are basic to study of
linear differential equations.
Linear Dependence And
Linear Independence
Definition:
A set of function f 1 ( x ), f 2 ( x ),..., f n ( x )
is said to be linearly dependent on an interval I
if there exist constants c1 , c 2 ,..., c n , not all zero,
such that
c1 f1 ( x) c 2 f 2 ( x) ... c n f n ( x) 0
for every x in the interval.
If the set of functions is not linearly dependent
on the interval, it is said to be linearly independent.
Note
i) A set of function is linearly independent on an
interval I if the only constants for which
c1 f1 ( x) c2 f 2 ( x) ... cn f n ( x) 0
for every x in the interval are
c1 c2 ... cn 0
Solution
g x xe xf (x)
x
when c1 c2 1, c3 1 and c4 1
Can look at it another way:
A set of functions f1(x), f2(x),…fn(x) is linearly dependent
on an interval if at least one function can be expressed
as a linear combination of the remaining functions.
Example
The set of functions
f1 ( x) x 5, f 2 ( x) x 5 x,
2
f 3 ( x) x 1, f 4 ( x) x
is linearly dependent on the int. (0, )
since
f 2 ( x ) 1 f1 ( x ) 5 f 3 ( x ) 0 f 4 ( x )
Solution of Differential Equations
2
2. y1 1 x, y2 2 x.
Solution
y1 y2 1 x 2x
W ( y1 , y2 )
y1 y2 1 2
2 2x 2x
2
Theorem
Criterion for Linearly Independent Solutions
Let y1 , y 2 ,..., y n be n solutions of the homogeneous
linear nth – order differential equation on an interval I
Then the set of solutions is linearly independent on I
y c1 y1 ( x) c2 y2 ( x) ... cn yn ( x),
where the c1,c2,…cn are arbitrary constants.
Examples
Verify that the given functions are linearly ind. sol’s
of the DE on the indicated interval and then form
the general solution.
x 2 x
1. y1 e ; y2 e , x R
DE : y y 2 y 0
Solution
Do that!!!!
ii) Check for independency.
x 2 x
e e
W ( y1 , y2 ) x 2 x
x
2e e x
e 2e
x
3e 0 on R
So the set of sol. {y1, y2} is lin. independent.
Solution
i) Verify whether y1 and y2 are the sol’s of the DE.
For y1:
y1 sin(ln x) 1 / x
2
y1 cos(ln x) 1 / x 1 / x 1 / x sin(ln x)
2
2 2
So x y xy y x (1 / x cos(ln x) 1 / x sin(ln x))
x(1 / x sin(ln x)) cos(ln x)
0 So y1 is the sol’s of the DE.
Check for y2!!
ii) Check for independency.
cos(ln x) sin(ln x)
W ( y1 , y2 )
sin(ln x)1 / x cos(ln x)1 / x
2 2
1 / x cos (ln x) 1 / x sin (ln x)
1 / x 0 since 0 x
So the set of sol. {y1, y2} is lin. independent.
y c1 cos(ln x) c2 sin(ln x)
4.1.3 NON-HOMOGENEOUS EQUATIONS