Professional Documents
Culture Documents
MATH C241:MATHEMATICSIII
BITS-PILANI HYDERABAD CAMPUS
Presented by
Dr. M.S. Radhakrishnan
Email: msr_bits@yahoo.com
Lecture 2
First Order Differential
Equations
Ch. 2
George F. Simmons,
Differential Equations with
Applications and Historical notes,
Tata McGraw-Hill, 2nd Ed, 2003
(Twelfth reprint, 2008)
Apr 14, 201 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 2
7
FIRST ORDER
DIFFERENTIAL
EQUATIONS
or x y c , c an arbitrary constant.
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 7
17
Example
2 dy
Consider the d.e. y
dx
1
Separating the variables, we get dy dx
y
Integrating we get the solution as
ln | y | x k
or y ce , c, an arbitrary constant.
x
y
Separating the variables, we get
1 3
dy dx
y ln y x
Integrating we get the solution as
ln | ln y | 3 ln x k
or ln y c, c, an arbitrary constant.
x 3
Examples f ( x, y ) x 2 xy y 2 2
is homogeneous of degree 2.
y yx
f ( x, y ) sin( )
x x
is homogeneous of degree 0.
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 10
17
A first order d.e. M ( x, y ) dx N ( x, y ) dy 0
is called homogeneous if
M ( x , y ) , N ( x, y )
are homogeneous functions of x and y of the
same degree.
The substitution y = z x converts the given
equation into variables separable form and
hence can be solved. (Note that z is also a (new)
variable.) We illustrate by means of examples.
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 11
17
Example 4 Solve the d.e.
(3 x y ) dy 2 xy dx 0
2 2
dy 2 xy
That is
dx (3 x y )
2 2
or x y c y , c an arbitrary constant
2 2 3
dy (2 x y 1)
That is
dx ( x 3 y 2)
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 16
17
We shall now put x = u+h, y = v+k
where h, k are constants ( to be chosen).
Hence the given d.e. becomes
dv (2u v 2h k 1)
du (u 3v h 3k 2)
We now choose h, k such that
2h k 1 0 1 3
Hence h , k
h 3k 2 0 5 5
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 17
17
Hence the d.e. becomes
dv (2u v)
du (u 3v)
which is homogeneous in u and v.
Let v = z u. Hence we get
dz (2 z )
z u
du (1 3 z )
i.e. 2u 2uv 3v c
2 2
1 2 1 3 3 2
or 2( x ) 2( x )( y ) 3( y ) c
5 5 5 5
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 19
17
Example Solve the d.e.
7 (6 x 4 y 3) dx (3 x 2 y 2) dy 0
dy (6 x 4 y 3)
That is
dx (3 x 2 y 2)
Now the previous method does not work as
the lines 6x 4 y 3 0
3x 2 y 2 0
are parallel. We now put u = 3x + 2y.
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 20
17
The given d.e. becomes
1 du (2u 3)
( 3)
2 dx (u 2)
or du (4u 6) u
3
dx (u 2) u 2
Separating the variables, we get
u2
du dx
u
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 21
17
u2
du dx
u
Integrating, we get
u ln u x c
2
i.e.
4 x 2 y ln (3 x 2 y ) c 2
The d.e. x dx y dy 0
1 x x x
The d.e. sin( )dx 2 sin( ) dy 0
y y y y
x
is exact as it is d (cos( ) ) 0
y
is exact as it is d ( x ln y ) 0 3
x 3 ln y c, c an arbitrary constant
Suppose M ( x, y ) dx N ( x, y ) dy 0
is exact.
Hence there exists a function f (x, y) such that
f f
M ( x, y ) dx N ( x, y ) dy df dx dy
x y
f f
Hence M, N
x y
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 28
17
Assuming all the 2nd order mixed derivatives
of f (x, y) are continuous, we get
M f 2
f N 2
y yx xy x
f ( x, y ) M dx g ( y ) . (*)
x
or
g ( y ) N M dx (**)
y x
N
x y x x
M dx
N
M =0
x y
Q.E.D.
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 33
17
Note (1) The solution of the exact d.e. d f = 0
is f (x, y) = c.
Note (2) When the given d.e. is exact, the
solution f (x, y) = c is found as we did in the
previous theorem. That is, we integrate M
partially w.r.t. x to get f ( x, y ) M dx g ( y )
x
Now f ( x, y ) M dx y dx xy g ( y )
x x
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 35
17
Differentiating partially w.r.t. y, we get
f 2
x g ( y ) N x
y y
2
Hence g ( y )
y
or xy 2 ln | y | c,
c an arbitrary constant.
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 37
17
Example Test whether the following
d.e.
12 is exact. If exact, solve it.
(2 x y sin y ) dx (4 x y x cos y ) dy 0
4 2 3
M N
8 xy cos y
3
y x
Hence exact.
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 38
17
Now f ( x, y ) M dx (2 xy sin y ) dx 4
x x
x y x sin y g ( y )
2 4
N 4 x y x cos y Hence g ( y ) 0
2 3
M N
2 y sin 2 x; 4 y cos x sin x 2 y sin 2 x
y x
Hence exact.
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 42
17
Now f ( x, y ) N dy 2 y cos x dy
2
y y
y cos x g ( x)
2 2
M 1 y sin 2 x gives g ( x) 1
2
Apr 14, 20 44
17 Presented by Dr. M.S. Radhakrishnan BITS, Pilani
Integrating Factors
The d.e. ( x y 1) dx ( x xy ) dy 0 2
Definition
If on multiplying by (x, y), the d.e.
M dx N dy 0
( h( x ) M ) ( h( x ) N )
y x
M N
i.e. h( x) M h ( x ) h( x ) N h( x )
y y x x
M N
or h( x) M 0 h( x ) N h( x)
y x
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 49
17
or
M N
h( x)( ) N h( x)
y x
or M N
y x h( x)
N h( x )
then e h ( y ) dy
or M N
y x h( z )
Ny Mx h( z )
Solutio
n
Here M ( x 3 y ); N 2 xy
2
M N
6y 2y
y x
Hence the given d.e. is not exact.
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 57
17
Now
M N
6y 2y 2
y x
g ( x),
N 2 xy x
a function of x alone. Hence
2
e g ( x ) dx
e dx
x
x 2
M N
0 e cot y
x
y x
Hence the given d.e. is not exact.
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 60
17
M N
0 e cot y x
Now y x cot y h( y ),
M e x
e sin y y c,
x 2
c an arbitrary constant.
Here M y ; N x 2x y 2 3
M N
1 1 4 xy
3
y x
Hence the given d.e. is not exact.
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 63
17
Now M N
1 (1 4 xy ) 3
y x
Ny Mx ( xy 2 x y ) xy
2 4
2 2
p( z ),
xy z
a function of z =x y alone. Hence
2
dz 1 1
e p ( z ) dz
e z
2 2 2
z x y
is an integrating factor of the given d.e.
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 64
17
1
Multiplying by 2 2 , the given d.e. becomes
xy
1 1
2
d x ( 2
2 y ) d y 0
xy xy
which is of the form M dx N dy 0
Integrating, we easily see that the solution is
1 2
y c, c an arbitrary constant.
xy
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 65
17
Proble
m
Under what conditions will the d.e.
M dx N dy 0
have an integrating factor that is a function
of the sum z = x + y ?
Solution Suppose = h(z) is an I.F.
Multiplying by h(z) the above d.e. becomes
h( z ) M dx h( z ) N dy 0 .......(*)
Apr 14, 20 Presented by Dr. M.S. Radhakrishnan BITS, Pilani 66
17
Since (*) is an exact d.e., we have
( h( z ) M ) ( h( z ) N )
y x
i.e. h( z ) M M h( z ) h( z ) N N h( z )
y y x x
or h( z ) M M h( z ) h( z ) N N h( z )
y x
or
M N
y x h( z )
N M h( z )
e s ( z ) dz