Professional Documents
Culture Documents
Example:
dy d2y
f x, y and f x, y , y
dx dx 2
dny d n 1 y dy
an ( x) n
an 1 ( x ) n 1
… a1 x a0 x y g x
dx dx dx
Example:
dy d2y dy
a1 ( x) a0 ( x) y g ( x) and a2 ( x) 2
a1 ( x) a0 ( x) y g ( x)
dx dx dx
1 y y 2 y e x
d2y
sin y 0
dx 2
d4y
4
y2 0
dx
are examples of nonlinear first, second and fourth order ordinary differential
equations, respectively.
F x , y , y , y , …, y 0
n
F x , φ , φ , φ , ,φ
n
0
On a x b
16
b) y 2 y y 0; y xe x
7
SOLUTION: One way of verifying that the given function is a solution is to see,
after substituting, whether each side of the equation is the same for every x
in the interval.
(a) From
dy 1 1 3
Left-hand side: (4.x 3 ) x ,
dx 16 4
1 2
1 4 1 1 3
Right-hand side: xy x. x x. x 2 x
1 2
16 4 4
Solution:
3
d 2y dy
sin x
dx
2
dx
Solution: Its ODE, second order, third degree and nonlinear (because of
3
d 2y
)
dx
2
dy x
dx y
d d d dy
x2 y2 25 or 2 x 2 y 0
dx dx dx dx
solutions defined on the interval (-5, 5). The solution curves given in Figures
(b) and (c) are segments of the graph of the implicit solution in Figure (a).
9
Homework:
(a) (1 x ) y 4 xy 5 y cos x
x
(b) x 1 x x 0
3
10
(c) y (4) x 2 y 3 x 3
(d) (2 x 2 ) y x (1 y 2 ) 0
x x
(b) y 2xy 1; y1 ( x ) Ae x e t dt , y 2 ( x ) e x a e dt
2 2 2
t2
0
3) Verify that:
2u 2u
c2
x 2 t 2
singular solutions.
Example:
nonhomogeneous equation
d 2y
4y x
dx 2
easily checked, because substituting for y in the equation leads to the identity
x x.
2
dy
y 1
2
dx
solutions, though as these cannot be obtained from general solution for any
d ny
Solve: f ( x , y , y , , y (n 1) )
dx n
value problem (IVP). The values of y ( x ) and its first n-1 derivatives at a
conditions.
dy
Solve f (x , y )
dx
Subject to y (x 0 ) y0
d 2y
Solve f ( x , y , y )
dx 2
Subject to y ( x 0 ) y 0 , y ( x 0 ) y1
13
Note:
dy
g ( x ) h (y)
dx
Or H ( y ) G (x ) c
Example:
Solve: y ( x 1) y 2
dy
Solution: y 2
(x 1)dx
1 x2 2
x c1 y ( x )
y 2 2x x 2 c
where c 2c1
14
Example: Solve the initial value problem for the equation expressed in
differential form:
Solution:
dy x2
dx
y2 (1 x 2 )
dy x2
y2 dx
(1 x 2 )
x2 1
(1 x 2 )dx (1 x 2 1 )dx
x tan 1 x c
1 y x tan 1 x c
dy
a1 ( x ) a0 ( x ) y g (x ) ……………()
dx
dy
P ( x ) y f ( x ) …………()
dx
THE PROPERTY: The differential equation () has the property that its
dy
P (x ) y 0
dx
d dy dy p
[ yc y p ] P ( x )[ yc y p ] [ c P ( x ) yc ] [ P (x ) y p ] f (x )
dx dx dx
0 f(x)
dy
P ( x )dx 0
y
P ( x )dx
yc ce
P ( x )dx
For convenience let us write yc cy1 ( x ) , where y1 ( x ) e The fact
that dy1 dx P ( x ) y1 0 will be used next to determine y p .
dy1 du dy1 du
u y1 P ( x ) uy1 f ( x ) or u P ( x ) y1 y1 f (x )
dx dx dx dx
0
16
du
y1 f (x )
dx
f (x )
u dx
y1 ( x )
yc yp
e 0 y c e
P ( x )dx P ( x )dx
f0( x ) dx
d
dx d e P ( x )dx y e P ( x )dx f ( x )
dx
dy
P ( x ) y f ( x ) ()
e P ( x ) dx
dx
dy
Example: Solve 3y 0
dx
P ( x )dx 3dx
Solution: P ( x ) 3 , integrating factor (I) I e e e 3 x
dy d 3x
e 3x 3e 3x y 0
is the same as
e y 0
dx dx
e 3x y c
Homework:
Q1:
(b) Solve:
dy 1, 0 x 1
y f ( x ), y (0) 0
where
f (x )
dx
0, x 1
Q2:
1 x
(a) y y (e e x )
2
5y
(b) y 3x 3 x , y (1) 4
9x
18
differential is
M N
y x
METHOD OF SOLUTION:
f
M (x , y )
x
f ( x , y ) M ( x , y )dx g ( y )
f
y
y M ( x , y )dx g ( y ) N ( x , y )
g ( y ) N ( x , y ) M ( x , y )dx
y
19
f ( x , y ) N ( x , y )dy h ( x ) h ( x ) M (x, y) N (x , y )dy
x
Example: Solve
Solution:
M N
2e 2 x xy sin xy cos xy
y x
f f
M (x , y ) and N ( x , y )
x y
f
2 xe 2 y x cos xy 2 y
y
f ( x , y ) 2 x e 2 y dy x cos xy dy 2 y dy
f ( x , y ) xe 2 y sin xy y 2 h ( x )
f
e 2 y y cos xy h ( x ) e 2 y y cos xy M (x , y )
x
h(x ) 0 h (x ) c
xe 2 y sin xy y 2 c 0
INTEGRATING FACTORS:
M y N x
dx
μ (x ) e N
Example: Solve
xy dx (2x 2 3y 2 20)dy 0
Solution:
M xy , N (2x 2 3y 2 20)
M y x N x 4x
My Nx x 4x 3x
N 2 x 3 y 20 2 x 3 y 2 20
2 2 2
Nx My 4x x 3x 3
M xy xy y
3dy
μ( y ) e e 3ln y e ln y y 3
3
y
xy 4 dx (2x 2 y 3 3y 5 20 y 3 )dy 0
M xy 4 , N (2x 2 y 3 3y 5 20 y 3 )
M y 4 xy 3
N x 4 xy 3
f x 2y 4
xy f ( x , y )
4
g (y )
x 2
21
f
2 x 2 y 3 g ( y ) 2 x 2 y 3 3 y 5 20 y 3
y
g ( x ) 3y 5 20 y 3
y6
g (y ) 5y4
2
1 2 4 1 6
f (x , y ) x y y 5y4
2 2
1 2 4 1 6
x y y 5y4 c
2 2
Homework:
Q1: Solve
dy 2 xy 3 2
dx 3x 2 y 2 8e 4 y
(Ans. x 2 y 3 2 x 2e 4 y c )
Q2: Solve
2 y 2 9xy (3xy 6x 2 ) y 0
22
M (x , y )dx N (x , y )dy 0
Example: Solve
( x 2 y 2 )dx ( x 2 xy )dy 0
Solution:
M (tx , ty ) t 2 ( x 2 y 2 ) and N (t x , t y ) t 2 ( x 2 xy )
x 2 (1 u )dx x 3 (1 u ) du 0
1u dx
du 0
1u x
23
2 dx
1 du 0 long division
1u x
u 2 ln(1 u ) ln x ln c
y y y
2 ln(1 ) ln x ln c resubstituting u
x x x
( x y )2 y y
ln or ( x y )2 cxe x
cx x
dy
P ( x ) y f ( x ) y n , (n 1)
dx
The substitution
u y 1 n
1 du
P ( x )u f ( x )
1 n dx
Example: Solve
dy
x y x 2y 2
dx
Solution:
n 2 u y 1 or y u 1
dy dy du du
u 2 chain Rule
dx du dx dx
24
du 1
u x
dx x
dx x
e e ln x x 1
d
Integrating [ x 1u ] 1
dx
x 1u x c or u x 2 cx
1
y
x 2 cx
dy
f (Ax , By C )
dx
Example: Solve
dy
(2 x y )2 7 , y (0) 0
dx
Solution:
du dy
Let u 2 x y then 2
dx dx
du du
2 u2 7 or u2 9
dx dx
25
du 1 1 1
dx or du dx
(u 3)(u 3) 6 u 3 u 3
1 u 3 u 3
ln x c1 or ce 6 x
6 u 3 u 3
c 6 1
replace e by c
3(1 ce 6 x ) 3(1 ce 6 x )
u or y 2x
1 ce 6 x 1 ce 6 x
y (0) 0 c 1
3(1 e 6 x )
y 2x
1 e 6x
Homework:
(Ans. xy 2e x ye x c
1 4 2
(Ans. x 5 y 3 x y c)
2
2
(Ans. y ln y c 4x )
dy
Q4) Solve 3(1 t 2 ) 2ty ( y 3 1)
dt
(Ans. y 3 1 c (1 t 2 ) )