Professional Documents
Culture Documents
Ordinary Differential Equations PDF
Ordinary Differential Equations PDF
1 Sesi 06/07
Course Contents
Course Synopsis
:
Fundamental concepts and definitions in ODE, Initial valued problem, First
order ODE: separable, linear, exact equations and equations reducible to those
forms. Integrating factor. Linear equation of higher order: Linearly independent
solutions, Wronskian, Lagrange’s reduction of order, complementary functions
and particular solutions, the method of undetermined coefficients, the variation of
parameters, Euler-Cauchy’s equation. Series solution method: power series,
convergence, series solution at ordinary and singular points, the method of
Frobenius.
Tutorial papers
Tutorial 1 to 8
References
Assessment
Assignment: 10%
1
Sem. 1 Sesi 06/07
CHAPTER 1
1. Introduction
When there are two or more variables, the equation is called a partial differential equation
(PDE). You will learn this in detail KXEX3244.
Definition 2 : The order of a differential equation is the order of the highest derivative
appears in the equation. The degree of a differential equation is the degree of the highest
derivative term.
2
Sem. 1 Sesi 06/07
1 6
Let y = φ ( x) = x 3 − ⇒ φ ′′( x) = 6 x −
x2 x4
6 1
LHS = x 2 y ′′ = x 2 6 x − 4 = 6 x 3 − 2
x x
= 6y = RHS
1
Hence φ ( x) = x 3 − 2 is a solution to x 2 y ′′ = 6 y .
x
Let y = φ ( x) = ax + b x
b b
⇒ y′ = a + and y ′′ = − x −3 / 2 .
2 x 4
2
LHS = 2 x y ′′ − xy ′ + y
b b
= 2 x 2 − 3 / 2 − x a + + ax + b x = 0 = RHS.
4x 2 x
Hence φ ( x) = ax + b x is a solution for 2 x 2 y ′′ − xy ′ + y = 0 .
3
Sem. 1 Sesi 06/07
dy
The relations = f (x) and y = ∫ f ( x) dx are equivalent.
dx
Definition 6
A general solution of differential equation of order n contains n independent arbitrary
constants. A particular solution of a differential equation is one obtained from the general
solution by assigning definite values to the arbitrary constants.
4
Sem. 1 Sesi 06/07
When the circuit is completed, a charge q (coulombs) will flow to the capacitor plates.
dq
The time rate for the flow of charge is given by = i (current) and measured in
dt
amperes. The basic relations are
• voltage drop across a resistor, V(t) = R i(t)
di (t )
• voltage drop across an inductor, V (t ) = L
dt
1
• voltage drop across a capacitor, V (t ) = q (t )
C
• voltage drop across a generator = − voltage rise = −E
5
Sem. 1 Sesi 06/07
6
Sem. 1 Sesi 06/07
e− x y′ − ye− x = e 4 x e− x
d
From (4.3),
dx
( y e − x ) = e3 x
⇒ y e − x = ∫ e3 x dx
1 3x
= e +A
3
1
⇒ y = e 4 x + Ae x
3
7
Sem. 1 Sesi 06/07
When x = 1, y = 1 ⇒ 1 = 0 +1+ A
⇒ 2
x = 3 y ln y + 1 .
8
Sem. 1 Sesi 06/07
Example 16
An inductor of L = 2 henrys and a resistor of R = 10 ohms are connected in series with
an emf of E volt. At t = 0 the switch S is closed. Find the charge and current at any time
t > 0 if
(a) E = 40
(b) E = 20 exp(−3t )
t
q (t ) = 4 ∫ (1 − e −5τ ) dτ
0
9
Sem. 1 Sesi 06/07
2 5
= + e −5 t − e −3t .
3 3
10
Sem. 1 Sesi 06/07
1 dv 1 dy
Let v = . ⇒ =− 2
y dx y dx
dv
⇒ − + 3 x 2 v = x exp( x3 )
dx
dv
− 3 x 2 v = − x exp( x3 )
dx
Integrating factor, ( )
µ ( x) = exp ∫ −3x 2 dx = exp(− x3 ) .
d
⇒
dx
( v exp(− x3 ) ) = − x
x2
v exp(− x 3 ) = − ∫ x dx = − +A
2
1 x2 2 A − x2
= exp( x 3 ) A − = exp( x3 )
y 2 2
2 exp(− x3 )
⇒ y= where C = 2A.
(C − x 2 )
v e − x = ∫ (2 x − 1)e − x dx
= −2 xe− x − e− x + A
e− x
= e− x (−2 x − 1 + Ae x )
y3
1
⇒ y3 = x .
Ae − 2 x − 1
11
Sem. 1 Sesi 06/07
6 Variables Separable
12
Sem. 1 Sesi 06/07
y − xe y / x
(ii) is homogeneous of degree 0.
y
λ y − (λ x)eλ y / λ x y − xe y / x
f (λ x, λ y ) = =
λy y
0
= λ f ( x, y )
(iii) y 2 − xy + 1 is not homogeneous since the term 1 is of degree 0 whereas the other
terms are of degree 2.
Definition:
A differential equation of the form
dy f ( x, y )
=
dx g ( x, y )
is called a homogeneous equation if both functions f ( x, y ) and g ( x, y ) are homogeneous
of the same degree.
In such cases, we set y = vx , then the reduced equation involves v and x in which the
variables are separable.
dy y 2 − x 2
=
dx 2 xy
Both numerator and denominator are homogeneous of degree 2.
dy dv
Let y = vx ⇒ =v+x
dx dx
2 2 2
dv v x − x
⇒ v+ x =
dx 2vx 2
13
Sem. 1 Sesi 06/07
dv v 2 − 1
x = −v
dx 2v
−1 − v 2
=
2v
2v dv dx
2
=−
1+ v x
2
ln(1 + v ) = − ln x + ln A
A
⇒ 1 + v2 = , x>0
x
y y2 A
Substitute v = , 1+ 2 =
x x x
⇒ 2 2
x + y = Ax
Case I
a1 b1 x = X +h
If ≠ 0 , choose the substitution where the pair constant (h , k )
a2 b2 y =Y +k
satisfies the simultaneous equations
a1h + b1k + c1 = 0
a2 h + b2 k + c2 = 0 .
The given differential equation reduces to homogeneous equation
dY a1 X + b1Y
= .
dX a2 X + b2Y
Case II
a b
If 1 1 = 0 , choose the substitution z = a1 x + b1 y .
a2 b2
14
Sem. 1 Sesi 06/07
a1 b1 1 −2
= ≠ 0.
a2 b2 2 −1
The solution to the simultaneous equations
x − 2 y + 4 = 0 and 2 x − y + 2 = 0
is (h , k ) = (0 , 2) .
Put x = X , y =Y +2
⇒ dx = dX and dy = dY
The given differential equation reduces to
( X − 2Y − 4 + 4) dX + (2 X − Y − 2 + 2) dY = 0 .
dY X − 2Y
=− homogeneous equation
dX 2X −Y
dY dv
Let Y = vX ⇒ =v+ X
dX dX
dv X − 2vX
v+ X =−
dX 2 X − vX
dv 2v − 1
X = −v
dX 2 − v
Separate the variables and integrate
1 3
ln (1 − v ) − ln (1 + v ) = ln X + ln A
2 2
(1 − v)
ln = 2 ln X + 2 ln A
(1 + v)3
3
Y Y
1 − = BX 2 1 + where B = A2
X X
3
( X −Y ) = B( X +Y )
⇒ ( x − y + 2 ) = B( x + y − 2)3 .
a1 b1 1 −2
= = 0.
a2 b2 2 −4
dz dy
Let z = x − 2 y . ⇒ = 1− 2
dx dx
1 dz
(2 z + 5) 1 − = −( z + 3)
2 dx
15
Sem. 1 Sesi 06/07
( y + 4) dx + x dy = 0
⇒ d ( x( y + 4) ) = 0
⇒ x( y + 4) = C
C
y = −4
x
∂M
M ( x, y ) = 2 x sin 3 y ⇒ = 6 x cos 3 y .
∂y
∂N
N ( x, y ) = 3 x 2 cos 3 y + 2 y ⇒ = 6 x cos 3 y .
∂x
16
Sem. 1 Sesi 06/07
∂M ∂N
Since = , the given equation is exact. There exist a function U ( x, y ) such that
∂y ∂x
∂U ∂U
dU = dx + dy = 0.
∂x ∂y
∂U ∂U
⇒ = 2 x sin y and = 3 x 2 cos 3 y + 2 y .
∂x ∂y
Hence U ( x, y ) = ∫ 2 x sin 3 y ∂x
= x 2 sin 3 y + f ( y )
∂U df
= 3x 2 cos 3 y +
∂y dy
⇒ f ′( y ) = 2 y or f ( y) = y 2 + A
⇒ d ( x 2 sin 3 y + y 2 ) = 0
x 2 sin 3 y + y 2 = C .
Sometimes a differential equation which is not exact, may become so, by multiplication
with a suitable function, known as the integrating factor.
∂M
M ( x, y ) = − y ⇒ = −1 .
∂y
∂N
N ( x, y ) = x ⇒ = 1.
∂x
∂M ∂N
Since ≠ , the given equation is not exact.
∂y ∂x
1
Multiply the equation by the integrating factor 2 ,
x
xdy − ydx
=0
x2
y
⇒ d =0
x
y = Cx .
17
Sem. 1 Sesi 06/07
∂M
M ( x, y ) = y −1 ⇒ = − y −2 .
∂y
∂N
N ( x, y ) = x ⇒ = 1.
∂x
∂M ∂N
Since ≠ , the given equation is not exact.
∂y ∂x
y dx ∂M ∂N
Multiply by the equation becomes + 2 y dy = 0 where = = 0.
x x ∂y ∂x
There exist a function U ( x, y ) such that dU = 0 and satisfies
∂U 1 ∂U
= and = 2y .
∂x x ∂y
Hence U ( x, y ) = ∫ x −1 ∂x
= ln x + f ( y )
∂U df
= 0+
∂y dy
⇒ f ′( y ) = 2 y or f ( y) = y 2 + A
⇒ d ( ln x + y 2 ) = 0
ln x + y 2 = C .
18