Block 2
Block 2
Sunil Kumar
A.R.(P) IGNOU,
Maidan Garhi Delhi-110068
Unit 6 Introducing Differential Equations
Because for y1 = 0 and y 2 > 0 , we have
| f ( x, y2 ) − f ( x, y1 ) | y2
| y2 − y1 |
=
y2
=
1
y2
, ( y2 > 0 )
and this can be made as large as we please by choosing y2 sufficiently small,
whereas condition (35) requires that the quotient on the left-hand side of Eqn.
(35) does not exceed a fixed constant L .
f
o o
r r
dy y (1 − 2 x) x>0
Example 8: Examine = f ( x, y ) where f ( x, y ) = with
f
dx y (2 x − 1) x<0
y (1) = 1 for existence and uniqueness of solution in D :| x − 1 | < a, | y − 1 | < b
for a, b constants.
Solution: Here x0 = 1 and y 0 = 1 . You may note that the function is not
defined at x = 0 . It is discontinuous at x = 0 . Thus, at x = 0 the solution does
not exist. At all other points the polynomial function
y (1 − 2 x) for x > 0
f ( x, y ) =
y (2 x − 1) for x < 0
∂f
and is continuous and bounded in D with y (1) = 1 . Hence, the solution
∂y
exists and is unique for all x other than x = 0 . Further, you
may verify that
e x − x for x > 0
2
y ( x) = x 2 − x (38)
e for x < 0
is the unique solution of the given problem for all x other than x = 0 .
***
Note that the way function y is obtained in Eqns. (37) or (38) is just by simple
integration of the given differential equation. The details of this would become
clear to you after you have learnt the methods of solving first order differential
equations in Unit 7.
E9) For the following problems determine a region of the xy -plane for which
the given differential equation will have a unique solution through a point
( x0 , y 0 ) in the region.
dy
i) x =y
dx 23
Block 2 Ordinary Differential Equations of First Order
Remark: I, II and III above indicate situations where differential equations
occur naturally. In Unit 8 we shall give the methods of solving these equations
and also discuss some more physical situations.
Before we ask you to check your ability to formulate some physical situations
we consider an example.
Example 14: A drug is infused into a patient’s blood stream at a constant rate
g
m
s
/
s
e
c
.
r . Simultaneously, the drug is removed at a rate proportional to
the amount x(t ) of the drug present at any time t . Find the differential
equation describing the amount x(t ) of the drug in the patient’s blood stream
at any time t .
Solution: The rate at which the drug is infused into a patients blood = r .
The rate at which the drug is removed from a patient blood ∝ x(t ) = kx(t )
where k is the constant of proportionality.
∴ The rate of change of amount of drug in a patient’s blood is
dx
= r − kx, k > 0 . (69)
dt
The minus sign in the second term on the r.h.s. of Eqn. (69) shows decrease
in the amount of drug in the patient’s bloodstream.
Eqn. (69) describes the amount x(t ) of the drug in a patient’s body at any time
t . If it is assumed that no drug was present in a patient’s blood at time t = 0 ,
then initial condition
x(0) = 0
can be used to solve Eqn. (69) and obtain x(t ) at any time t .
***
We now conclude this unit by giving a summary of what we have covered in it.
6.6 SUMMARY
In this unit, we have covered the following points:
By Rule VI, x km −1−α , y kn −1− β will make the first term exact, while
x k1m1 −1−α1 , y k1n1 −1− β1 will make the second term exact, for k and k1 being
constants.
2k − 1 − 2 = k1 − 1
Solving the system of Eqns. (67) for k and k1 , we get k = 2 and k1 = 2 and,
therefore, integrating factor of Eqn. (66) for both the values is same i.e., xy .
Multiplying Eqn. (66) by xy , we get
Remark: There are many second or higher order linear equations which can
be solved easily by reducing them to linear first order equations by making
106
Block 2 Ordinary Differential Equations of First Order
E14) A tank contains 100 litres of fresh water. Two litres of brine, each
containing 1 gm of salt, run into the tank per minute. The mixture is kept
uniform by stirring and it runs out at the rate of 1 litres per minute. Find
the amount of salt present when the tank contains 150 litres of brine.
Example 21: A liquid carries a drug into an organ of volume V cm3 at a rate
a cm3 / s and leaves at a rate b cm3 / s . The drug concentration of liquid
entering is c g / cm3 . Find the concentration of the drug in the organ at any
time t .
Solution: Consider a single compartment of volume V together with an inlet
and an outlet as shown in Fig. 3. Let y (t ) be the concentration of the drug in
the organ at any time t .
Then the amount of drug in the organ at any time t is
b b
t ac t
∴ ye V
=∫ e +A
V
V
b
ac V t
= e +A
b
bt
ac −
or y= + Ae V (70)
114 b
Block 2 Ordinary Differential Equations of First Order
i
f
m ≠ −a
m + a
mx
i
f
xe m = −a
a (constant) n
n ai i +1
∑ ax i
i
(i > 0 an ∑ i + 1x if a = 0
i =0
i = 0
integer)
n
∑ bi x i if a ≠ 0
i = 0
a 1 na
with bn = n , bn −1 = an −1 − n ,
a a a
1 n −1 n
bn − 2 = an − 2 − an −1 − an
a a a
and so on.
o
r
4. a) Bernoulli’s equation
dy
+ P ( x ) y = Q ( x) y n ,
dx
where P and Q are functions of x alone and n is neither zero
nor one, reduces, to a linear equation by the substitution v = y1− n .
b) Equations of the type
dy
f ′( y ) + P ( x) f ( y ) = Q ( x )
dx
reduce to linear equations by the substitution f ( y ) = v .
=e ∫
− 1. dx
I
.
F
.
In this case = e− x
∴ General solution is written as
y = y p ( x ) + ce x
i.e., y = ce x − 2 − 2 x − x 2 .
ii) Assume y p ( x) = b0 + b1 x + b2 x 2 .
Substituting y p ( x ) and y′p ( x ) in the given equation and
comparing coefficient of like powers of x , we get
−5 −3 −1
b0 = , b1 = , b2 =
4 2 2
119
Block 2 Ordinary Differential Equations of First Order
5 3 1
∴ y p ( x) = − − x − x 2
4 2 2
I.F. = e ∫
− 2 dx
= e−2 x
Required solution is y = y p ( x) + c e 2 x , c a constant.
I
.
F
.
+ 2 xv = x 3 with = ex .
dx
Solving the above equation, we get
2 1
v = c e − x + ( x 2 − 1) .
2
2 1 2
Hence, tan y = c e − x + ( x − 1) is the required solution.
2
1
ii) 2
= ce2 x + 2e x .
y
3 = et ln (3 / 2) or t ln (3 / 2) = ln 3
ln 3
⇒t= ≈ 2.71 hours.
ln (3 / 2)
122
Block 2 Ordinary Differential Equations of First Order
or, v′ = b( x )v 2 ( y1 − y ) + c( x ) v 2 ( y1 − y ) ( y1 + y ) (58)
From Eqn. (57), we have
( y − y1 ) v = 1 or, ( y1 − y ) v = −1 . (59)
We can thus write
( y1 + y ) v = (2 y1 + y − y1 ) v = 2 y1v + ( y − y1 )v = 2 y1v + 1 (using Eqn. (59)).
Further, ( y12 − y 2 ) v 2 = ( y1 − y ) v ( y1 + y ) v
= e− x
The general solution of Eqn. (62) is then given by
v = −e x ∫ e− x x 2 dx + Ae x
= ( x 2 + 2 x + 2) + Ae x .
The general solution y of the given equation then assumes the following form:
1
y= x 2
,
Ae + x + 2 x + 2
which contains A as an arbitrary constant of integtration.
***
2
Eqn. (87) is a linear equaton with = ex /2
∫e
2 2 2
And v = c e− x − e− x x /2
/2 /2
dx .
∴ The required solution is
y = x + 1 / [c e x / 2 − e x / 2 ∫ e x / 2 dx] .
2 2 2
1
ii) y =1+ x +
∫e
(2 x + x 2 ) (2 x + x 2 ) −(2 x + x 2 )
ce +e dx
2 3
(x+ x )
3
e
iii) y = x2 + 2
( x+ x3 )
c −∫e 3
dx
cg ( x) + G ( x)
E13) Here y =
cf ( x) + F ( x)
⇒ [cf ( x) + F ( x)] y = cg ( x ) + G ( x ) (88)
Differentiating w.r.t. x , we get
[cf ( x) + F ( x ) ] y′ + (cf ′ + F ′) y = cg ′ + G′ (89)
From Eqn. (88), we get
c = [G ( x ) − yF ( x)] /[ f ( x) y − g ( x )] (90)
∴ Substituting for c from Eqn. (90) in Eqn. (89), we get
154