COEEFICIENTS]
General Form
dn y dn1 y d2 y dy
an a n1 ... a a a 0 y f (x)
dx n1
2 1
dx n dx 2 dx
or
n
dk y
k 0
ak
dx k
f (x )
a D
k 0
k
k
y f (x )
or
Dy f (x)
if f(x) = 0 the equation is called
HOMOGENEOUS
f(x) 0 the equation is called NON-
HOMOGENEOUS
2. Dr Ds Dt y Dr Ds Dt y
3. D D y D D y
r s s r
4. Dr DsDt y Dr D s D t y
5. Dr Ds Dt y Dr Ds Dr Dt y
6. Dr D s y Dr s y
7. Dr (ky) kDr y where k cons tan t
COMPLETE SOLUTION
The complete solution to the DE Dy f (x) is
an equation representing the functional
dependence of y on x,
y f x, c1 , c 2 ,..., cn
The complete solution is broken up into two
distinct components
a. yc complementary function
b. yp particular integral
y y c yp
1. COMPLEMENTARY FUNCTION, yc
a. contains all the arbitrary constants
demanded by the DE,
y c y c x, c1 , c 2 ,..., c n
b. satisfies the homegeneous DE Dy 0
2. PARTICULAR INTEGRAL, yp
a. must not contain any arbitrary constants,
y p y p (x )
b. satisfies the given DE Dyp f (x)
(D)y c yp f (x)
(D)y c (D)y p f (x )
0 f (x ) f (x )
f (x ) f (x )
Theorem
Standard Solution:
y y c
i1
c i e mi x
, yp 0 ;
where n = no. of roots
To determine yc:
1. set up the auxiliary equation (m) 0 and solve for
its n roots.
2. using n roots, set up yc
y
Gen. Soln: c c1em1x
c 2 em2 x
... cnemn x
example1: D 4D D 6 y 0
3 2
auxiliary eqn: m3 4m2 m 6 0
Three roots: m1 1, m2 2, m3 3 (real &
distinct)
1x
Solution: y yc c1e c2e c3e
2x 3x
example2: D 1 D 4 y 0
2 2
a bi x
Gen. Soln: y yc c1e c2ea bi x
Using Euler Relationship:
ei cos i sin
Thus,
roots: m 5 i
solution: y yc e c1 cos x c2 sin x
5 x
example2:
D 4
8D2 9 y 0
example1:
D 2
6D 9 y 0
auxiliary eqn: m 6m 9 0
2
roots: m 3, 3
3x 3x 3x
solution: y yc (c1 c2x)e c1e c2xe
example2:
D 4
5D3 6D2 4D 8 y 0
y yc eax c1 c 2 x ... cp xp 1 cos bx
eax cp 1 cp 2 x ... c 2p xp 1 sin bx
d4 y d2 y
example1: dx 4 2 dx 2 y 0
can be written as
D 4
2D2 1 y 0
auxiliary eqn: m 2m 1 0
4 2
roots: m i, i
soln: y yc c1 c2x cos x c3 c4x sin x
example2: 2D 2
2
8D 32 y 0
NON-HOMOGENEOUS LINEAR EQUATIONS WITH CONSTANT
COEFFICIENTS
Complete Solution: y y c yp
To determine:
a. yc: Dy 0
b. yp: 1. method of undetermined coefficients (MUC)
2. method of variation of parameters (MVP)
f (x ) yp
e mx Ae mx
x n e mx A 0
A1x A 2 x 2 ... An x n e mx
cos kx
sin kx
A cos kx B sinkx
x n e mx cos kx
A 0
A1 x A 2 x 2 ... A n x n e mx cos kx
x n e mx sin kx
B 0 B1x B 2 x 2 ... Bn x n e mx sin kx
Steps:
1. Check whether f(x) contains only those terms listed in the
table.
2. Solve for the roots m, m 0 , and set up yc.
Ae x
B sin x C cos x 6 Ae x B cos x C sin x 11 Ae x B sin x C cos x
6Ae B cos x C sin x e cos x
x x
simplifying:
24Ae x 10B sin x 10C cos x e x cos x
ex:
24A 1
A 1/ 24
cos x:
10C 1
C 1/ 10
sin x:
10B 0
B0
1 x 1
thus, y p e sin x
24 10
solution: y y c yp
1 x 1
y c 1 e x c 2 e 2 x c 3 e 3 x e sin x
24 10
d2 y dy
example2: 2
4 4y x 3 e 2 x xe 2 x
dx dx
exercises:
Derivation:
Consider the equation: a 0D2 a1D a 2 y f (x)
Solution: y y c yp
Setting up yc: yc c1 y1 c 2 y 2
To set-up yp, assume u1 and u2 as functions of
x and substitute them into c1 and c2: yp u1 y1 u2 y 2 .
Dy p u1 y1' u1' y1 u2 y '2 u'2 y 2
let u1' y1 u'2 y 2 0 eqn1
Dy p u1 y1' u2 y '2
D 2 yp u1 y1" u1' y1' u2 y "2 u'2 y '2
Substitute into the DE:
a 0 u1 y1" u1 y1' u2 y "2 u2 y '2 a1 u1 y1' u2 y '2 a 2 u1 y1 u2 y 2 f (x)
u1 a 0 y1" a1 y1' a 2 y1 u2 a 0 y "2 a1 y '2 a 2 y 2 a 0 u1' y1' u'2 y '2 f (x) eqnA
Steps:
1. Write yc.
2. Replace arbitrary constants, cs of yc, by functions
us (which are functions of x)
3. Obtain the equations for solving u by differentiating
as many times as the order of the DE. After each
differentiation, except in the last differentiation, set
the sum of all terms containing derivatives of us
equal to zero.
4. Solve for u1' , u'2 , ... , un'
5. Obtain u1 , u2 , ... , un by integration and substitute in
yp.
u1' sin x u1 cos x u'2 cos x u2 sin x u1 cos x u2 sin x csc x cot x
u sin x u cos x csc x cot x
'
1
'
2 eqn2
Standard Form:
a x D
n
n n
a n1x n1Dn1 ... a1xD a 0 y f x
dy dy dz dz dy 1 dy 1
Dx y Dz y
dx dx dz dx dz x dz x
xD x y D z y
Observe that
xD x y D z y
x 2D 2x y D z D z 1y
x 3D3x y D z D z 1D z 2y
thus,
x nDnx y D z D z 1D z 2...D z n 1y
Summary:
1. Substitute the formula x e z
x nDnx y D z D z 1D z 2...D z n 1y
2. Solve the LDE with constant coefficients using MUC or MVP taking
note that z, not x, is the independent variable.
3. Resubstitute z ln x to obtain the solution as a function of x
example1: x 2D 2 xD 1y
1
x
Solution:
2. Solve the LDE with constant coefficients using MUC or MVP taking note
that z, not x, is the independent variable.
Solving usin MUC:
Dz Dz 1 Dz 1y Dz 2 2Dz 1y e z
For yp
yp=Ae-z
Dzyp=-Ae-z
Dz2yp=Ae-z
(Dz2 - 2Dz + 1)yp = Ae-z-2(-Ae-z)+Ae-z = 4Ae-z = e-z
A=
Thus
y = yc + yp
y = (c1+c2z)ez + e-z
example2: x 4D 2 2x 3D 2x 2 y 4x 2 x 4
Substitution
Substitute the formula ax b e z then,
ax bD x y aD z y
ax b2 D 2x y a 2 D z D z 1y
ax b3 D3x y a 3 D z D z 1D z 2y
thus,
ax bn Dnx y an Dz Dz 1D z 2...Dz n 1y
b
p a D D z 1D z 2...D z n 1 p1a n1D z D z 1D z 2...D z n 2 ... pn1aD z pn y Q e
z
n
a
0 z
d
Note: D z
dz
d2 y dy
example1: x 22 2
x 2 y 3x 4
dx dx