0% found this document useful (0 votes)
163 views32 pages

Chapter 2 (Higher Order)

Here are the steps to solve this differential equation: 1) Form the auxiliary equation: m2 - 2m - 3 = 0 2) Solve the auxiliary equation: (m - 3)(m + 1) = 0 m1 = 3, m2 = -1 3) Form the general solution: y = C1e3x + C2e-x 4) Apply the initial conditions to find the particular solution: y(0) = 0 => C1 + C2 = 0 y'(0) = 1 => 3C1 - C2 = 1 Solve the system of equations: C1 = 1, C2 = -1 Particular solution is:

Uploaded by

Emmanuel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
163 views32 pages

Chapter 2 (Higher Order)

Here are the steps to solve this differential equation: 1) Form the auxiliary equation: m2 - 2m - 3 = 0 2) Solve the auxiliary equation: (m - 3)(m + 1) = 0 m1 = 3, m2 = -1 3) Form the general solution: y = C1e3x + C2e-x 4) Apply the initial conditions to find the particular solution: y(0) = 0 => C1 + C2 = 0 y'(0) = 1 => 3C1 - C2 = 1 Solve the system of equations: C1 = 1, C2 = -1 Particular solution is:

Uploaded by

Emmanuel
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 32

Dr.N.

Magaji ODE -2nd and high order

TEC 3301
Lecture 2

ELECTRICAL ENGINEERING
DEPARTMENT BUK
CONTENTS
Dr.N. Magaji ODE -2nd and high order
Basic Concepts .
Homogeneous Differential Equations
Nonhomogeneous Differential Equations .
Undetermined Coefficients

Variation of Parameters

Fundamental Sets of Solutions .

Higher-order ordinary differential equation


Introduction
Dr.N. Magaji ODE -2nd and high order
1. Basic Concepts Some of the basic concepts and ideas that are involved in
solving second order differential equations.
2. Homogeneous Differential Equations A quick look into how to solve a
second order homogenous differential equation
3. Nonhomogeneous Differential Equations A quick look into how to
solve non homogeneous differential equations in general.
 Undetermined Coefficients The first method for solving
nonhomogeneous diffe ential e uations that we’ll be looking at in
this section.
 Variation of Parameters Another method for solving
nonhomogeneous differential equations
 Fundamental Sets of Solutions A look at some of the theory
behind the solution to second order differential equations,
including looks at the Wronskian and fundamental sets of solutions.
4. Higher-order ordinary differential equation
The solutions of linear differential equations with constant coefficients of
the third order or higher can be found in similar ways as the solutions of
second order linear equations
Dr.N. Magaji ODE -2nd and high order
Chapter 2: Second-Order Differential
Equations
2.1. Preliminary Concepts
○ Second-order differential equation
F ( x, y, y, y)  0
e.g., y  3 y  10 y  7 x  4  0
y  12 x  0
Solution: A function  ( x) satisfies

F ( x, ( x), ( x), ( x))  0 , x  I


(I : an interval)

4
Dr.N. Magaji ODE -2nd and high order
○ Linear second-order differential equation
y  P( x) y  Q( x) y  R( x)
Nonlinear: e.g., y  P( x, y) y  Q( x, y)  R( x, y)

2.2. Theory of Solution


○ Consider y  12 x  0  y  12 x

y   y( x)dx   12 xdx  6 x 2  c

y   y( x)dx   (6 x 2  c)dx  2 x3  cx  d


y contains two parameters c and d

5
Dr.N. Magaji ODE -2nd and high order 2 Solving a second order differential equation

The simplest second order differential equation we come across is of the form:

d2y dy
a 2  b  cy  0
dx dx

where a, b and c are numbers. To solve this we start by assuming that the solution is
y  emx . As a guess substitute y  emx it into the above equation and find:

am2emx  bmemx  ce mx  0
As every term is multiplied by e mx we can divide everywhere by e mx , leaving us with:

am2  bm  c  0
This is known as the auxiliary equation. We use the quadratic formula to solve for
values of m :

 b  b 2  4ac
m1, 2 
2a
The solution is one of three possible positions:
Dr.N. Magaji ODE -2nd and high order Solving a second order differential equation(cont.)
1) Distinct real roots

As long as b2  4ac is a positive number the auxiliary equation will yield two real
numbers m1 and m2 . Solve the characteristic equation for the two roots, to form the
general solution y  Ae m1x  Be m2 x .
If we have been supplied with boundary conditions we can solve for A and B to give
a particular solution.
2) Repeated real roots
If b 2  4ac is zero then m1 will be the same as m2 , i.e. m1  m2 , so we may as well
drop the subscript and call the single solution to the auxiliary equation simply m . To
make the two general solutions different we multiply one by x and form a solution of
the form: y   A  Bx emx
3) Imaginary roots
If b 2  4ac is negative then the only way to solve the quadratic is with imaginary
numbers. The two roots will be complex conjugates of each other, that is, both
solutions have the same numbers in their real and imaginary parts but one will have a
positive imaginary part and the other a minus:
m1    i , m2    i .
Here  and  are just numbers once again; This allows us to form the solution as:
y  ex  A cosx   B sinx 
Dr.N. Magaji ODE -2nd and high order Solving a second order differential equation(cont.)
Steps for solving

We summarize the steps to solving a simple second order equation below:

d2y dy
Starting from: a 2  b  cy  0
dx dx
Form the auxiliary equation: am2  bm  c  0
 b  b 2  4ac
Solve the auxiliary equation: m1, 2 
2a
Then form the solution according to the following possibilities:

Solutions to the auxiliary equation Form of general solution


Two real distinct roots m1 , m2 y  C1em1x  C2em2 x
Real repeated roots m y  C1  C2 x emx
Complex roots   i y  ex C1 cosx   C2 sinx 

Finally, solve for constants if you have been given initial conditions.
Worked examples:
Example 1
Dr.N. Magaji ODE -2nd and high order
Find the general solution to the differential equation:
d2y dy
 2  3y  0
dx 2 dx
and also the particular solution given initial conditions y0  0 and y' 0  1 .
Solution
First we form the auxiliary equation:
m2  2m  3  0.
In this instance it is simple to see that this can be factorised with ease giving:
m  3m  1  0,
so we can read off the solutions m1  3 and m2  1 . As we have two distinct real roots
we can say that the general solution is simply:

yx   Ae 3 x  Be  x .
As we have been given initial conditions we can also find the particular values of A and
B. The first initial condition tells us that y  0 when x  0 ; substituting these values
into our general solution we get:
0  Ae30  Be 0  A  B  0
(as e0  1)
The second initial condition tell us that the differential of y is 1 when x is 0. The
differential of the general solution is:
y' x   3 Ae 3 x  Be  x ,
substituting in the initial conditions we get: 1  3 A  B.
Dr.N. Magaji ODE -2nd and high order Worked examples(cont.)
We can now solve these two equations simultaneously (see the simultaneous equation
1 1
help sheet and videos) to find: A ,B  
4 4
y  x   e3 x  e  x
1 1
Thus the particular solution is:
4 4
Example 2
Find the general solution to the equation:
4 y' '4 y' y  0
and then find the particular solution that solves the boundary conditions y0  0,
y2  e .
Solution
First notice that the question has been given to us using dash notation; this question is
the same as:
d2y dy
4 4 y0
dx dx
Therefore we have the auxiliary equation:
4m2  4m  1  0
which isn’t obviously factorisable so we can use the quadratic formula:

m1, 2 
4  42  4  4 1
24
we can see that  4  4  4  1  0 , therefore we only get one value for m which is
2

m  1 2 . As we have a repeated root we can form the general solution:


x
yx    A  Bx e .2
Dr.N. Magaji ODE -2nd and high order Worked examples(cont.)
0
y 0   A  B  0e  A  0
2

i.e. we have found that A  0 . From the second boundary condition we find:
2
y 2  2 Be
e 2

1
Dividing both sides by e we find: 2 B  1  B
2

x
1
Leaving us with the particular solution: y  xe 2
2
Example 3
Find the general solution to the equation:

2 y' '6 y'5 y  0

and then find the particular solution for the initial conditions y0  1 and y ' 0  
1
.
2
Solution 3
We find the auxiliary equation to be:
2m2  6m  5  0
and once again a simple factorisation does not seem possible, so we use the quadratic
formula:
6 62  4  2  5
m1, 2  .
22
The first thing to notice is that 62  4  2  5  4 , so if we type this into a calculator we
will get an error. This means that the solutions are complex numbers:
3 1
m1, 2    i .
2 2
Dr.N. Magaji ODE -2nd and high order Worked examples Example 3 sol.(cont.)
3 1
This time we have complex roots with real part    and the imaginary part   .
2 2
Notice that we ignore the  sign when reading off the second part. Looking back at the
table we can form the general solution:
 x  x  x 
3
yx   e 2  A cos   B sin  .
 2  2 
To use the initial conditions to solve for the particular solution we will also need the
differential of the general solution:
3 2 x   x  x   2 x  A  x  B  x 
3 3
y' x    e  A cos   B sin    e   sin   cos  
2  2  2   2 2 2  2 
Note that we had to use the product rule. From the first initial condition, y0  1 , we
find:
y0  e0  A cos0  B sin0  A  1
i.e. A  1 . From the second initial condition, y ' 0   , we find:
1
2
 1 
y' 0   e0 1 cos0  B sin 0  e0   sin 0  cos0      .
3 B 3 B 1
2  2 2  2 2 2
We can now solve this giving B  2 , therefore the particular solution is:
 x  x  x 
3
yx   e 2  cos   2 sin   .
 2  2 
Dr.N. Magaji ODE -2nd and high order Worked examples(cont.)
d2y dy
Example 4 Find the general solution to the equation: 2
3 0
dx dx
Solution 4
This equation looks a little different as it is missing a y term, but we can solve it in
the same way. First we form the auxiliary equation:
m2  3m  0,
which factorises to: mm  3  0
thus the solutions are m1  0 and m2  3 . It is common for people to ignore or forget
to include the m1  0 in the general solution. The correct general solution is:
yx   Ae 0x  Be 3 x
or simply: yx   A  Be 3 x .
Example 5 Find the general solution to the equation:
d2y dy
2
  2y  0
dx dx
with the boundary conditions y 0  1 and y    0 .
Solution 5
Solving the differential equation should be fairly easy in this case. The auxiliary
equation is:
m2  m  2  0
which is factorised into: m  1m  2  0
and therefore the general solution is: yx   Ae x  Be 2 x .
Now we have to think about the boundary conditions we have been given. The second
condition imposes that as x gets very large y must approach zero. Looking at the
two terms in the general solution it is clear that the first one, Ae x , simply gets larger
and larger as x increases so we cannot include this in the particular solution.
Therefore we are forced to take A  0 . The second term, Be 2 x , does indeed get
smaller as x increases, therefore we can use the first boundary term to find B :
y0  Be 0  B  1,
Giving the particular solution: y x   e 2 x .
d 2y dy
Example 6: Find the particular solution of
Dr.N. Magaji ODE -2nd and high order 2
 4  13  0
dx dx
dy
given that when x  0, y  2 and 0
dx

Step 1: Auxiliary equation m2  4m  13  0


complex
Step 2: Solve auxiliary equation. roots

 4  42  4 113  4   36
m m  m  2  3i
2 2
Step 3: General solution y  e 2 x  A cos 3x  B sin 3x 
Step 4: Use initial conditions to find A and B

 2  e0  A cos 0  B sin 0  A  2
0
x  0, y  2

 2e 2 x  A cos 3x  B sin 3x   e 2 x  3 A sin 3x  3B cos 3x 


dy dy
x  0, 0
dx dx
0  2e0  A cos 0  B sin 0  e0  3 A sin 0  3B cos 0
0 0

2 4
0  2 A  3B  B 
2 x  4 
3 y  e  2 cos 3x  sin 3x 
Particular Solution  3 
3. NON-HOMOGENEOUS 2ND ORDER DIFFERENTIAL EQUATIONS
Dr.N. Magaji ODE -2nd and high order
Now we will take a look at NON-HOMOGENEOUS second order linear
d2y dy
differential equations which are of the form a 2 b  cy  Q( x)
dx dx
where Q(x)  0.
Method 1 Undetermined coefficient
To solve these, we begin in the same way as the homogeneous case
Step 1:Create an auxiliary equation.
Step 2:Solve the auxiliary equation (3 scenarios).
Step 3:State the general solution complementary function (3 scenarios). then
Step 4:Substitute the particular integral (*see below) into the original equation.
Step 5:Equate coefficients to get the particular integral (*see below).
Step 6:State the general solution = complementary function + particular integral

Example 7:
d 2 y dy
Find the general solution of 2   12 y  x given that the particular integral is of
dx dx
the form y = Cx + D.
Dr.N. Magaji ODE -2nd and high order NON-HOMOGENEOUS 2ND ORDER DIFFERENTIAL EQUATIONS

Auxiliary equation is
m 2  m  12  0
 (m  4)(m  3)  0
 m  4 or m  3
Roots are real and distinct
therefore complementary function is y  Ae4 x  Be3x
dy d2y
We know that the particular integral is of the form y = Cx + D, so  C and  0.
dx dx 2
Substituting back into the original equation gives

0  C  12  Cx  D   x
  12Cx  C  12D  x and so by equating coefficients
12C  1 and C  12D  0
C   1 and D   1
12 144

Hence, the general solution is

y  Ae4 x  Be3x  1 x  1 .
12 144
Dr.N. Magaji ODE -2nd and high order NON-HOMOGENEOUS 2ND ORDER DIFFERENTIAL QUATIONS(cont.)
Finding the Particular Integral for non-homogeneous second order linear differential equations

This is best found by inspection (and should be relatively easily found). Then use substitution to
find any arbitrary constants.

1. Try the same form as Q(x).


2. If this is the same form as either term of the complementary function then try xQ(x).
3. If this is the same form as either term of the complementary function then try x2Q(x).
The most common are listed below:

A. If f(x) = polynomial in x of degree n

then use y = Cxn + Dxn-1 + …. + x0

(but note, if m = 0 is a root of the auxiliary function increase n by 1 and for double roots increase n
by 2).

B(i). If f(x) = expression involving ex

then use y = Cex

(but note, if  is a root of the auxiliary equation try y = Cxex and,


if  is a double root then try y = Cx2ex).
NON-HOMOGENEOUS 2ND ORDER DIFFERENTIAL
Dr.N. Magaji ODE -2nd and high order EQUATIONS(cont.)
ii). If f(x) = expression involving xex

then use y = Cxex + Dex Highly unlikely


to be in exam.
(but note, if  is a root of the auxiliary equation try y = Cx2ex + Dxex
and, if  is a double root then try y = Cx3ex + Dx2ex).

C. If f(x) = expression involving sinx or/and cosx

then use y = C sinx + D cosx

(but note, if complementary function is of the form Asinx + Bcosx then use
y = Cx sinx + Dx cosx).

D. If f(x) = a mixture of the above Highly unlikely


to be in exam.
then try a similar mixture (although this is unlikely to come up in the exam).
NON-HOMOGENEOUS 2ND ORDER DIFFERENTIAL
Dr.N. Magaji ODE -2nd and high order EQUATIONS(cont.)
d2y dy
Examples 8. Find the general solution of 2
6  8 y  22 cos x .
dx dx
Auxiliary function is
m 2  6m  8  0
 (m  4)(m  2)  0
Roots are real and distinct so  m  4 or m  2
Complementary function is y  Ae4 x  Be2 x
Particular integral:
Q(x) = 22cos x so consider y = C sin x + D cos x
[not the same form as comp. funcn so good to go]
y  C sin x  D cos x,
dy d2y
so  C cos x  D sin x and  C sin x  D cos x
dx dx 2

Substituting this into the original equation gives

 C sin x  D cos x   6  C cos x  D sin x   8 C sin x  D cos x   22 cos x


 (7C  6D) sin x  (7 D  6C ) cos x  22 cos x
 7C  6D  0 and 7 D  6C  22 then solve these simultaneous equations to get
 C   132 and D  154
85 85

 part. intg. is y   1 132 sin x  154 cos x 


85

Hence, the general solution is y  Ae4 x  Be2 x  1 132 sin x  154 cos x  .
85
NON-HOMOGENEOUS 2ND ORDER DIFFERENTIAL
Dr.N. Magaji ODE -2nd and high order EQUATIONS(cont.)
Tutorial 2
d2y dy
Q1Find the general solution of 2
 8  16 y  6e4 x .
dx dx
d2y
Q2 Find the general solution of 2
 16 y  4 x 2 .
dx

Q3 The acceleration, a ms-2, of a particle in a straight line is given by a = – 4x + 2 cos 2t, where
x is the displacement at time t seconds.

At time t = 0, x = 0 and the velocity v = 0.

(a) By finding the particular solution to an appropriate differential equation, find a


formula for the displacement x.

(b) Find an approximate value for the time when velocity is first equal to zero.
NON-HOMOGENEOUS 2ND ORDER
Dr.N. Magaji ODE -2nd and high order
DIFFERENTIAL EQUATIONS(cont.)
Method 2 variation of Parameters
Consider a nonhomogeneous equation:
y  p( x ) y  q( x ) y  g( x )
(1)

Suppose y1 and y2 are linearly independent solutions of the


homogeneous equation. Then the general solution of (2)

y  p( x ) y  q( x ) y  0
(2)

Is c1y1+c2y2 the method of variation of parameters involves


replacement of constants c1 and c2 by functions u1 and u2. We then
substitute y= u1y1+u2y2 into (1) to determine the functions.

Math for CS Lecture 9 21


Dr.N. Magaji ODE -2nd and high order
The Method of variation of Parameters(Cont.)
We obtain:
yp  (u1 y1  u2 y2 )  (u1 y1  u2 y2 ) (3)

Since we are looking for a particular solution of second order equation, there are two arbitrary
parameters or constraints. The first will be to satisfy (1), the second:

(u1 y1  u2 y2 )  0
(4)
Then
yp  u1 y1  u2 y2  u1 y1  u2 y2
Substitution into (1) yields

u1 ( y1  p  y1  q  y1 )  u2 ( y2  p  y2  q  y2 )  u1 y1  u2 y2  g


Since y1 and y2 were solutions of homogeneous equations, the terms in the parenthesis vanish,
and we remain with:
u1 y1  u2 y2  g (5)

Math for CS Lecture 9 22


Dr.N. Magaji ODE -2nd and high order
The Method of variation of Parameters(Cont.)
Equations (4) and (5) together yield a system:

 u1 y1  u2 y2  0

u1 y1  u2 y2  g
Solving this system gives:

 y2 g  y1 g
u1  u2 
W ( y1 , y2 ) W ( y1 , y2 )
Combining it all, we get:

y1 ( t ) y2 ( x )  y1 ( x ) y2 ( t )
x
y p ( x)   g( t )dt
y1 ( t ) y2 ( x )  y1 ( x ) y2 ( t )

Math for CS Lecture 9 23


Dr.N. Magaji ODE -2nd and high order
The Method of variation of Parameters(Cont.)
Summary of the Method
using the variation of parameters, we need to perform the following steps:
Step 1
We find the complementary function by solving the associated homogeneous differential equation
a2 y  a1 y  a0 y  0
Step 2
If the complementary function of the equation is given by yc  c1 y1  c2 y2
then
y1 and y2are two linearly independent solutions of the homogeneous differential equation. Computing
Wronskian. y1 y2
W
y1 y 2
Step 3
By dividing with a2 , we transform the given non-homogeneous equation into the standard form
y  Pxy  Qxy  f x
and we identify the function f(x).

Step 4
We now construct the determinants W1andW2 given by 0 y2 y 0
W1  ,W2  1
f ( x) y2 y1 f ( x)
Step 5
Next we determine the derivatives of the unknown variables u1andu2 through the relations
W1 W
u1  , u 2  2
Math for CS
W Lecture 9 W 24
Dr.N. Magaji ODE -2nd and high order
The Method of variation of Parameters(Cont.)
Step 6
Integrate the derivatives u1andu2 to find the unknown variables . So that
u1andu2

W W
u1   1 d x , u2   2 d x
W W
Step 7
Write a particular solution of the given non-homogeneous equation as
y p  u1 y1  u 2 y 2
Step 8
The general solution of the differential equation is then given by
y  yc  y p  c1 y1  c2 y2  u1 y1  u2 y2
Constants of Integration
We don’t need to introduce the constants of integration, when computing the indefinite
integrals in step 6 to find the unknown functions of u andu . For, if we do introduce these
y p  (u1  a1 ) y1  (u2  b1 ) y2
1 2

constants, then

y  yc  y p  c1 y1  c2 y2  u1  a1 y1  u2  b1 y2


So that the general solution of the given non-homogeneous differential equation is

or
Math for CS
y   c1  a1  y1   c2  b1  y2Lecture
 u1 y91  u2 y2 25
Dr.N. Magaji ODE -2nd and high order If we replace c1  a1with C1 and c2  b1 with C2, we obtain
y  C1 y1  C2 y2  u1 y1  u2 y2
This does not provide anything new and is similar to the general
solution found in step 8, namely y  c y  c y  u y  u y
1 1 2 2 1 1 2 2
Example 9 Solve y  4 y  4 y   x  1 e2 x .
Solution:
Step 1
To find the complementary function
y  4 y  4 y  0
y  e mx , y   memx , y   m 2 e mx
Put
m 2  4m  4  0
Then the auxiliary equation is
 m  2  0,  m  2, 2
2

Repeated real roots of the auxiliary equation


c y ce
1
2x
2  c xe
2x

Step 2
By the inspection of the complementary function , we make the
identification y  e 2 x and y  xe 2 x
1 2
Dr.N. Magaji ODE -2nd and high order
Therefore

W  y1 , y2   e , xe
2x 2x
  2e2xe2x
2x
xe 2 x
2 xe  e 2x
 e 4x
 0, x

Step 3
The given differential equation is y  4 y  4 y  x  1e2 x
Since this equation is already in the standard form
y  Pxy  Qxy  f x
Therefore, we identify the function as f x   x  1 e 2 x
Step 4
We now construct the determinants
0 xe2 x
W1     x  1  xe4 x
 x  1  e2 x 2 xe2 x  e2 x
e2 x 0
W2    x  1  e4 x
2e 2x
 x  1 e 2x
Step 5 We determine the derivatives of the functionsu andu in
Dr.N. Magaji ODE -2nd and high order
1 2

this step u1 


W1

x  1xe 4x
 x2  x
W e4x
W2 x  1 e 4 x
u 2   4x
 x 1
Step 6 W e

Integrating the last two expressions, we obtain


x3 x 2 x2
u1   ( x  x)dx   
2
, u2   ( x  1) dx   x.
3 2 2
Remember!
We don’t have to add the constants of integration.
Step 7 Therefore, a particular solution of then given differential
equation is  x3 x 2   x2   x3 x 2 
  2 x   x  xe 2 x
y  
p  3
 e  yp    e 2 x
2   2   6 2 
Step 8      
Hence, the general solution of the given differential equation is
2 x  x3 x 2  2 x
y  y  y  c1e  c2 xe     e
2x
c p 6 2
Example 10 Find a general solution to the following differential equation.
Dr.N. Magaji ODE -2nd and high order
Solution
First, since the formula for variation of parameters requires a coefficient of a one in front of the second
derivative let’s take care of that before we forget. The differential equation that we’ll actually be solving is

We’ll leave it to you to verify that the complementary solution for this differential equation is

So, we have

The Wronskian of these two functions is

The particular solution is then,

The general solution is,


Dr.N. Magaji ODE -2nd and high order
Higher-order ordinary differential equation
A linear ODE of order n is
dny d n1 ydy
an ( x ) n
 an1 ( x )
n1
 .....  a1 ( x )
 a0 ( x ) y  f ( x )
dx dx dx
If f ( x )  0 then the ODE is homogeneous; otherwise is inhomogeneous

1. For complementary equation yc ( x ) with f ( x )  0

dny d n 1 y
dy
an ( x ) n
 a n 1 ( x )
n 1
 .......  a1 ( x )
 a0 ( x ) y  0
dx dx dx
Find n linearlyindependent functions satisfy it, so
yc ( x )  c1 y1 ( x )  c2 y2 ( x )  .....  cn yn ( x )
For n functions to be linearlyindependent over an interval, there
must existconstants c1 , c2 , c3 ,........cn
c1 y1 ( x )  c2 y2 ( x )  c3 y3 ( x )  ......  cn yn ( x )  0
and c1  c2  c3 ......  cn  0
Dr.N. Magaji ODE -2nd and high order
Higher-order ordinary differential equation(cont.)
An equal statementsare
c1 y1 ( x )  c2 y2 ( x )  .......  cn yn ( x )  0
c1 y1' ( x )  c2 y2' ( x )  .......  cn yn' ( x )  0
. . . . .
c1 y1( n1) ( x )  c2 y2( n1) ( x )  ....  cn yn( n1) ( x )  0
for c1  c2  c3  .......  cn  0, the n functions yi ( x ) are
linearlyindependent such that
y1 y2 ... yn
y1' y2' ... yn'
W ( y1 , y2 ,... yn )  0
... ... ... ...
y1( n1) ... ... yn( n1)
W is called the Wronskian of the set of functions
* Note : W  0 does not guarantee that the functions are linearlydependent.
2. For particular integral y p ( x ) with f ( x )  0
Genaral solution y(x)  yc ( x )  y p ( x )
Dr.N. Magaji ODE -2nd and high order
Higher-order ordinary differential equation(cont.)
Example 11
y iv  y  0
Solution
The characteristic equation is r 4 - r = (r 2 +1)(r+1) (r-1) = 0,
which has roots r = 1,-1,i,-i. Hence, the general solution is
y = C1e t +C2 te-t + C3cost+C 4sint.

Example 12
y5 - 3y4 + 3y3 - y'' = 0
The characteristic equation is rr 5 -3r 4 +3r 3 - r 2 = r 2 (r - 1)3 = 0
which has roots r = 0 (a double root), and 1 (a triple root). Hence, the
general solution is

y=C1 +C2t  C3et +C3tet  Ce t 2et

You might also like