Professional Documents
Culture Documents
(Math 2042)
For instance:
1. Population, p, at different time t :- p = p(t)
(p is dependent variable; t independent variable)
• Instantaneous rate of change of population is:
dp
p '(t )
09/05/21
dt 3
Berhanu G(Dr)
2. Position, y, of a moving object at different time t:
y = y(t) ( Here, y is dep. var.; t indep. Var.)
• Instantaneous rate change of position, velocity,
is
dy
y '(t )
dt
• Instantaneous rate of change of velocity,
acceleration, is 2
d y
y ''(t ) 2
dt
Ordinary Differential Equation (ODE) is an equation
relating a dependent variable and its ordinary
derivatives to its independent variable.
That is, a ODE is an equation containing one or more
ordinary derivatives.
09/05/21 Berhanu G(Dr) 4
Examples of ODE:
dp
1. rp. p(t ) ?
dt
d2y dy
2. m 2 v ky f (t ), y (t ) ?
dt dt
F( x, y, y ) = 0 ( DE )
( IC )
y(0) = α.
M(x,y)dx + N(x,y) dy = 0
1.1 Separable DE
• A first order ODE is said to be separable if it
can be written as
y ' g ( x ) h( y ) or M(x)dx + N(y) dy = 0
• Such ODE can be solved by applying integral
directly. That is, its general solution is given by
∫M(x)dx + ∫N(y)dy = 0
09/05/21 Berhanu G(Dr) 13
Example:
y ' 2 xy 2 x, y(0) 3
dy
2 x(1 y )
dx
dy
2 xdx
1 y
dy
1 y 2 xdx
ln|1 y| x c2
x2
y Ce 1, C R , is gen. sol.
Then, y (0) 3 C 1 3 C 4
x2
y 4e 1, is part. sol.
09/05/21 Berhanu G(Dr) 14
Exercise 1: Transform each of the following ODE
into separable form and find its general solution.
1. y' + yx = x
2. y' = x2y2 + x2
M N
( Test for exactness)
y x
09/05/21 Berhanu G(Dr) 19
Exa: 3x 2 y + 2xy + ( x3 + x2 + 2y ) y' = 0
(3x 2 y + 2xy) dx + ( x3 + x2 + 2y ) dy = 0
M(x,y) N(x,y)
M N
and, 3x 2 x
2
Exact .
y x
• Next, find a potential function u = u(x,y) from:
u
(1) M(x, y ) 3 x 2 y 2 xy
x
u
(2) N(x, y ) x 3 x 2 2 y
y
u ( x, y ) x 3 y x 2 y y 2
x y x y y c,
3 2 2
c R.
09/05/21 Berhanu G(Dr) 20
Caution! A potential u(x,y) itself is not a solution
of its exact DE; but, the general solution
the DE is given implicitly by the equation
u(x,y)= c, for cR.
1 M N
2) Similarly, if : h( y ) , function of y
M y x alone, then
h ( y ) dy
( y) e
is an integrating factor of (1)
09/05/21 Berhanu G(Dr) 23
Example: Consider the de
M N
y
= 3x 3 cos y ≠ = 4x 3 cos y . So, Not Exact.
x
1 ( M N ) = x 3 cos y
But, = 1/x
N y x x cos y
4
1. x2 y+ 2y = 5x
2. ( 3x y + y2 ) dx + (x 2 + xy )dy = 0.
But, 1 (M N )
N y x
= p(x)
p ( x )dx
( x) e
09/05/21 Berhanu G(Dr) 26
• Thus, for every first order linear ode of the form
y ' p ( x) y r ( x)
Group Assignment.
Ch. 1: Exercises 1 to 5.
09/05/21 Berhanu G(Dr) 29
09/05/21 Berhanu G(Dr) 30