Escolar Documentos
Profissional Documentos
Cultura Documentos
CH1_1
Dr. N. Magaji EGR3301 Chapter_1
COURSEOUTLINE
CH1_3
Introduction Differential Equations
Prof. N. Magaji EGR3301 Chapter_1
CH1_4
Introduction Differential Equations
Solutions
CH1_6
1.1 Solution By Direct Integration
Prof. N. Magaji EGR3301 Chapter_1
Example 1
Consider dy/dx = f(x, y) = g(x). The DE
dy/dx = g(x) (1)
can be solved by direct integration.
Integrating both sides: 3
3x 5g(x)
y xy =2
x c dx +c= G(x) + c.
Solution y x 3x 5x c
3 2
CH1_7
1.2 Separable Variables
Prof. N. Magaji EGR3301 Chapter_1
DEFINITION 1.1
Separable Equations
A first-order DE of the form dy/dx = f(x,y) is said to
be separable, if dy/dx = g(x)h(y)
CH1_8
Example 3
Prof. N. Magaji EGR3301 Chapter_1
dy x
Solve , y (4) 3(initial condition IC)
dx y
Solution:
y2 x2
ydy xdx and 2 2 c1
We can also rewrite the solution as
x2 + y2 = c2, where c2 = 2c1
Apply the initial condition, 16 + 9 = 25 = c2
CH1_9
Prof. N. Magaji EGR3301 Chapter_1
Fig1.1
Example 4
Prof. N. Magaji EGR3301 Chapter_1
2
dy
Find the general solution of the equation x 1 xy 0
dx
dy xy dy x
This gives
2
dx x 1
2
y x 1
dx
Integrating
dy x
dx
2
y x 1
ln y 1 ln x 2 1 A
and simplify, putting ln B A 2
ln y ln x 2 1 ln B ln B x 2 1
hence
y B x2 1 is the general solution
1.3 Linear Equations
Prof. N. Magaji EGR3301 Chapter_1
Introduction:
Linear DEs are friendly to be solved. We can find
some smooth methods to deal with.
DEFINITION 1.2
Linear Equations
CH1_12
Solving Procedures
Prof. N. Magaji EGR3301 Chapter_1
Standard Form
Standard form of a first-order DE can be written as
dy/dx + P(x)y = f(x) (2)
If (2) is multiplied by e P ( x ) dx
(3)
then dy
e P ( x ) dx e P ( x ) dx P( x) y e P ( x ) dx f ( x) (4)
dx
or
d P ( x ) dx P ( x ) dx
e y e f ( x) (5)
dx
Integrating both sides, we get
(6)
P ( x ) dx P ( x ) dx
e y e f ( x)dx c
dy
2 Given 2 cos x 4 y sin x sin 2 x find y( x ) (ie y as a function of x ), given that
dx
y(0) (ie y 0 when x ).
3 3
Px y Qx
dy
Divide through by 2cos x to write it in the form
dx
dy 2 sin x sin 2 x 2 sin x cos x
y
dx cos x 2 cos x 2 cos x
2 tan x y sin x
dy
dx
The equation is linear, integrating factor e
2 tan x dx
2
2 tan xdx 2 ln sec x ln sec x
ln sec 2 x
hence integrating factor is e e sec 2 x
2 tan x dx
CH1_15
Application to Circuits
Prof. N. Magaji EGR3301 Chapter_1
Fig 1.2
CH1_16
Example 7
Prof. N. Magaji EGR3301 Chapter_1
CH1_17
Example 7 (cont.)
Prof. N. Magaji EGR3301 Chapter_1
CH1_18
1.4 Exact Equations
Prof. N. Magaji EGR3301 Chapter_1
DEFINITION 1.3
CH1_19
Exact Equation(cont.)
Prof. N. Magaji EGR3301 Chapter_1
Step 1: Check whether differential equation written in the form (1) satisfies (2) or
not.
Step 2: If for given equation (2) is satisfied then there exists a function f for
which
f
M(x, y) (3)
x
CH1_20
Exact Equation(cont.)
Prof. N. Magaji EGR3301 Chapter_1
f
Step 3: Differentiate (4) with respect to y and assume =N(x,y), we get
y
f
y y
M(x, y)dx g' (y) N(x, y)
or
y
g' (y) N(x, y) M(x, y)dx (5)
Step 4: Integrate (5) with respect to y and substitute this value in (4) to obtain
Step 5 If the equation is not exact, use integrating factor for one variable only
M y Nx N x M y
dx dy
(x) exp N or (y) exp N (6)
Step 6: Multiply the old equation by μ, and, if you can, check that you have a new equation
CH1_22
Example 9
Prof. N. Magaji EGR3301 Chapter_1
Example 9
Solve (e2y – y cos xy)dx+(2xe2y – x cos xy + 2y)dy = 0.
Solution:
This DE is exact because
M/y = 2e2y + xy sin xy – cos xy = N/x
Hence a function f exists, and
f/y = 2xe2y – x cos xy + 2y that is,
CH1_23
Example 9(cont.)
Prof. N. Magaji EGR3301 Chapter_1
CH1_24
Example 10
Prof. N. Magaji EGR3301 Chapter_1
dy xy 2 cos x sin x
Solve , y (0) 2
dx y (1 x )
2
Solution:
Rewrite the DE in the form
(cos x sin x – xy2) dx + y(1 – x2) dy = 0
Since
M/y = – 2xy = N/x (This DE is exact)
Now
f/y = y(1 – x2)
f(x, y) = ½y2(1 – x2) + h(x)
f/x = – xy2 + h’(x) = cos x sin x – xy2
CH2_25
Example 10 (cont.)
Prof. N. Magaji EGR3301 Chapter_1
We have
h(x) = cos x sin x
h(x) = -½ cos2 x+c
Thus ½y2(1 – x2) – ½ cos2 x +c= c1
or
y2(1 – x2) – cos2 x = c’
CH1_26
Example 11
Prof. N. Magaji EGR3301 Chapter_1
Nx M y 3
depends only on y.
M y
The integrating factor is
e 3dy/y = e3lny = y3 = (y)
CH1_27
Example 11 (cont.)
Prof. N. Magaji EGR3301 Chapter_1
Solve
x xy y ' 0
CH1_28
1.5 Solutions by Substitutions
Prof. N. Magaji EGR3301 Chapter_1
Introduction
If we want to transform the first-order DE:
dx/dy = f(x, y)
by the substitution y = g(x, u), where u is a function
of x, then
dy du
g x ( x, u ) g u ( x, u )
dx dx
Since dy/dx = f(x, y), y = g(x, u),
du
f ( x, g ( x, u )) g x ( x, u ) gu ( x, u )
dx
Solving for du/dx, we have the form du/dx = F(x, u).
If we can get u = (x), a solution is y = g(x, (x)).
CH1_29
Prof. N. Magaji EGR3301 Chapter_1 Solutions by Substitutions
(b) Let y=ux, then the given equation takes the form
dx du
or 0
x u(u 2)
x 2u
or c 1 where c1=2c
u2
y y
or x2 c 1 2
x x
or x 2 y c1(y 2x)
CH1_32
Bernoulli’s Equation
Prof. N. Magaji EGR3301 Chapter_1
CH1_33
Example 13
Prof. N. Magaji EGR3301 Chapter_1
CH1_34
Example 12 (cont.)
Prof. N. Magaji EGR3301 Chapter_1
du
1 1 1
Integrating x x u x 1 x
dx x
CH1_35
yy(xu
g
M
FPdx y, )yp)du
)dy
p (x x)
(dx )Ny( fx
yFQdy x)
,g(y(x)rdy xy0
()dx
dx )a0
1 Separable g ( y ) dy f ( x ) dx
2 linear y p( x) y r( x)
3 Exact M ( x , y ) dx N ( x , y ) dy 0
y p( x) y g ( x) y a
6 Bernoulli
Dr. N. Magaji EGR3301 Chapter_1