Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
T
dx 2 dx
Thus in general, we can re-express ODE as
y 0 + cosx y = ex (6)
xy 00 + y 0 = x2 (7)
are linear equations, where as
y0 + y2 = 1 (8)
y 00 + sinx yy 0 = x3 (9)
y 000 − x(y 0 )2 + 3y = 0 (10)
are non-linear equations.
We will consider linear ODE only here.
A solution to the nth order OLDE is a function which has atleast n deriva-
tives and satisfies the given equation, for all x in the region of interest. Set
1
Notes by E. Harikumar based on Introduction to Ordinary Differential Equation, by
A. L. Rabenstein
E. Harikumar 2
of all solution of a given OLDE is called the general solution. The graph of
a solution to OLDE is called its integral curve.
In cases of our interest, the solution/function should satisfy the OLDE
as well as conditions such as values of function and its derivatives at given
points. An OLDE with such auxilary condition is called an initial value
problem.
We have defined the generic OLDE equation, i.e
dn y(x) dn−1 y(x)
T
a0 (x) + a 1 (x) + ..................... + an (x)y(x) = p(x) (11)
dxn dxn−1
Here ai , i = 0, 1, 2, ..n and p(x) are functions defined in the interval I. If
p(x) = 0, the equation is called homogenous and if p(x) 6= 0, it is called
inhomogenous equation.
If a solution of homogenous OLDE is multiplied by a constant, the re-
AF
sulting function will also be a solution to the OLDE. A linear combination of
solutions of a homogenous OLDE will also be a solution to the homogenous
OLDE.
There are two special cases Eq.(11) of importance. They are
• case I p(x) = 0, ai (x), i = 0, 1, 2... all are constants
• case II p(x) = 0, ai (x) ∝ xn−j . Such OLDE are known as EULER
EQUATIONS.
In Eq.(11), let ai , i = 0, 1, ...n be continous in the interval I and let a0 6=
0, p(x) = 0. Let ui , i = 1, 2, ...n are the solutions to the OLDE given in
DR
Eq.(11) and let ui , i = 1, 2..n is a linear independent set, then every solution
of Eq.(11) in I is given by linear combination of ui , i.e,
y =c1 u1 + c2 u2 + ....cn un
(12)
=Σni=1 ci ui
where ci are constants. Thus ui , i = 1, 2..n is basis for solutions of Eq.(11)
Consider two functions y1 (x) and y2 (x) which are linear dependent. Then
α1 y 1 + α2 y 2 = 0 (13)
such that α1 , α2 are not zero for all x I. Differentiating above we get
α1 y10 + α2 y20 = 0 (14)
If α1 6= 0, we find
y20 α2
(α1 y1 + α2 y2 ) = y20 y1 + y20 y2 = 0. (15)
α1 α1
E. Harikumar 3
Similarly
y2 α2
− (α1 y10 + α2 y20 ) = −y2 y10 − y20 y2 = 0 (16)
α1 α1
eq.(15)+eq.(16) gives
y1 y 2
y20 y1 − y2 y10 = 0
0 = 0
y1 y2
y10 y1
If α1 = 0, then α2 6= 0, and using similar reasoning with and , we get
T
α2 α2
the same condition, i.e,
y1 y2
W (y1 , y2 ) = 0 =0
y1 y20
n−1 n−1
y
1 y2 . . . ynn−1
T
Using this in eq.(18), we find
k 00 y10
y10
y1
+ pk 0 = 0 (23)
+ 2 +p=0 (24)
k0 y1
i.e
d
(lnk 0 + 2lny1 ) = −p(x) (25)
dx
Z x
0
lnk + 2lny1 = − p(x0 )dx0 (26)
x1
DR
i.e Rx
− p(x0 )dx0
k 0 (x)y12 (x) = e x1 (27)
Z x
dx00 − Rxx p(x0 )dx0
∴ k(x) = 2 00
e 1 (28)
x2 y1 (x )
T
0
y1n = k1 y10 + k2 y20 (33)
00
y1n = k1 y100 + k10 y10 + k2 y200 + k20 y20 (34)
Using eq.(33) and eq.(34) in eq.(17), we find
f (x)
k10 y10 + k20 y20 = (35)
AF
y20 [eq.(32)]-y2 [eq.(35)] is
0
0 0
0 0 0 0
a(x)
f (x)
y2 k1 y1 + k2 y2 − y2 k1 y1 + k2 y2 − =⇒
a(x)
0 0 0 f (x)y2
k1 y1 y2 − y2 y1 = −
a(x)
f (x)y2
∴ k10 = − . (36)
a(x)W
DR
Similarly
f (x)y1
k20 = (37)
a(x)W
Thus we find
x x
f (x0 )y2 (x0 ) 0 f (x0 )y1 (x0 ) 0
Z Z
yin = −y1 (x) dx + y2 (x) dx (38)
x1 a(x0 )W (x0 ) x1 a(x0 )W (x0 )
i.e,
W 0 (x) + p(x)W (x) = 0
Rx
− p(x0 )dx0
=⇒ W (x) = W (x0 )e x0
T
Then corresponding homogenous equation has one solution, given by
sinkx
y1 = .
x
Now let us find the 2nd solution and using it find solution to the inhomogenous
AF
equation
k(x) =C1
Z x
dx00
x0
R 00
− x 2 dx0
2 e x0 x0
sinkx00
x00
x
dx00 x002 − 2lnx00 −2lnx0
Z
=C1 2 e
x0 sinkx00
x
dx00 x002 2lnx0 1
Z
=C1 2 e
x0 sinkx00 x002
Zx
=C1 cosec2 kx00 dx00
DR
x0
= − C1 cotkx − cotkx0 = −C1 cotkx + C2
coskx
∴ y2 = k(x)y1 = A
x
Now
W (y1 , y2 ) = y1 y20 − y10 y2
sinkx sinkx coskx coskx sinkx coskx
= − k− − k−
x x x2 x x2 x
k
=− 2
x
Z x Z x
Asinβx0 y2 (x0 ) 0 Asinβx0 y1 (x0 ) 0
∴ yin = −y1 dx + y 2 dx
x0 xk02 x0 xk02
x1 x1