NCERT Class 12 Mathematics Part 2
NCERT Class 12 Mathematics Part 2
Foreword Preface 7. Integrals 7.1 Introduction 7.2 Integration as an Inverse Process of Differentiation 7.3 Methods of Integration 7.4 Integrals of some Particular Functions 7.5 Integration by Partial Fractions 7.6 Integration by Parts 7.7 Definite Integral 7.8 Fundamental Theorem of Calculus 7.9 Evaluation of Definite Integrals by Substitution 7.10 Some Properties of Definite Integrals 8. Application of Integrals 8.1 Introduction 8.2 Area under Simple Curves 8.3 Area between Two Curves 9. Differential Equations 9.1 Introduction 9.2 Basic Concepts 9.3 General and Particular Solutions of a Differential Equation 9.4 Formation of a Differential Equation whose General Solution is given 9.5 Methods of Solving First order, First Degree Differential Equations 10. Vector Algebra 10.1 Introduction 10.2 Some Basic Concepts 10.3 Types of Vectors 10.4 Addition of Vectors v vii 287 288 288 300 307 316 323 331 334 338 341 359 359 359 366 379 379 379 383 385 391 424 424 424 427 429
xiv
10.5 Multiplication of a Vector by a Scalar 10.6 Product of Two Vectors 11. Three Dimensional Geometry 11.1 Introduction 11.2 Direction Cosines and Direction Ratios of a Line 11.3 Equation of a Line in Space 11.4 Angle between Two Lines 11.5 Shortest Distance between Two Lines 11.6 Plane 11.7 Coplanarity of Two Lines 11.8 Angle between Two Planes 11.9 Distance of a Point from a Plane 11.10 Angle between a Line and a Plane 12. Linear Programming 12.1 Introduction 12.2 Linear Programming Problem and its Mathematical Formulation 12.3 Different Types of Linear Programming Problems 13. Probability 13.1 Introduction 13.2 Conditional Probability 13.3 Multiplication Theorem on Probability 13.4 Independent Events 13.5 Bayes' Theorem 13.6 Random Variables and its Probability Distributions 13.7 Bernoulli Trials and Binomial Distribution Answers
432 441 463 463 463 468 471 473 479 487 488 490 492 504 504 505 514 531 531 531 540 542 548 557 572 588
Chapter
INTEGRALS
Just as a mountaineer climbs a mountain because it is there, so a good mathematics student studies new material because it is there. JAMES B. BRISTOL
7.1 Introduction
Differential Calculus is centred on the concept of the derivative. The original motivation for the derivative was the problem of defining tangent lines to the graphs of functions and calculating the slope of such lines. Integral Calculus is motivated by the problem of defining and calculating the area of the region bounded by the graph of the functions. If a function f is differentiable in an interval I, i.e., its derivative f exists at each point of I, then a natural question arises that given f at each point of I, can we determine the function? The functions that could possibly have given G .W. Leibnitz function as a derivative are called anti derivatives (or (1646 -1716) primitive) of the function. Further, the formula that gives all these anti derivatives is called the indefinite integral of the function and such process of finding anti derivatives is called integration. Such type of problems arise in many practical situations. For instance, if we know the instantaneous velocity of an object at any instant, then there arises a natural question, i.e., can we determine the position of the object at any instant? There are several such practical and theoretical situations where the process of integration is involved. The development of integral calculus arises out of the efforts of solving the problems of the following types: (a) the problem of finding a function whenever its derivative is given, (b) the problem of finding the area bounded by the graph of a function under certain conditions. These two problems lead to the two forms of the integrals, e.g., indefinite and definite integrals, which together constitute the Integral Calculus.
288
MATHEMATICS
There is a connection, known as the Fundamental Theorem of Calculus, between indefinite integral and definite integral which makes the definite integral as a practical tool for science and engineering. The definite integral is also used to solve many interesting problems from various disciplines like economics, finance and probability. In this Chapter, we shall confine ourselves to the study of indefinite and definite integrals and their elementary properties including some techniques of integration.
d (sin x ) = cos x dx
d x3 ( ) = x2 dx 3
and
d x (e ) = e x ... (3) dx We observe that in (1), the function cos x is the derived function of sin x. We say
x3 that sin x is an anti derivative (or an integral) of cos x. Similarly, in (2) and (3), and 3 x 2 x e are the anti derivatives (or integrals) of x and e , respectively. Again, we note that for any real number C, treated as constant function, its derivative is zero and hence, we can write (1), (2) and (3) as follows :
d x d d x3 (e + C) e x (sin x + C) cos x , ( + C) x 2 and dx dx 3 dx Thus, anti derivatives (or integrals) of the above cited functions are not unique. Actually, there exist infinitely many anti derivatives of each of these functions which can be obtained by choosing C arbitrarily from the set of real numbers. For this reason C is customarily referred to as arbitrary constant. In fact, C is the parameter by varying which one gets different anti derivatives (or integrals) of the given function. d F (x) = f (x) , x I (interval), More generally, if there is a function F such that dx then for any arbitrary real number C, (also called constant of integration) d F (x) + C = f (x), x I dx
INTEGRALS
289
Thus,
Remark Functions with same derivatives differ by a constant. To show this, let g and h be two functions having the same derivatives on an interval I. Consider the function f = g h defined by f (x) = g (x) h (x), x I Then
x I
or f (x) = 0, x I by hypothesis, i.e., the rate of change of f with respect to x is zero on I and hence f is constant. In view of the above remark, it is justified to infer that the family {F + C, C R} provides all possible anti derivatives of f. We introduce a new symbol, namely,
f (x) dx
class of anti derivatives read as the indefinite integral of f with respect to x. Symbolically, we write Notation Given that
f (x) dx = F (x) + C .
f (x) , we write y =
dy dx
(x) dx .
For the sake of convenience, we mention below the following symbols/terms/phrases with their meanings as given in the Table (7.1).
Table 7.1
Symbols/Terms/Phrases
Meaning Integral of f with respect to x Integrand Variable of integration Find the integral A function F such that F(x) = f (x) The process of finding the integral Any real number C, considered as constant function
f (x) dx
f (x) in x in
f (x) dx
f (x) dx
290
MATHEMATICS
We already know the formulae for the derivatives of many important functions. From these formulae, we can write down immediately the corresponding formulae (referred to as standard formulae) for the integrals of these functions, as listed below which will be used to find integrals of other functions. Derivatives
d xn 1 n x ; (i) dx n 1
C , n 1
d x 1 ; dx
(ii) (iii) (iv) (v) (vi) (vii)
dx x C cos x dx sin x C sin x dx cos x C sec 2 x dx tan x C cosec2 x dx cot x C sec x tan x dx sec x C cosec x cot x dx cosec x C
dx
1 x dx
sin 1 x C
1 x
dx 1 x2
cos 1 x C
tan 1 x C
1 d 1 (xi) dx cot x ; 1 x2
dx 1 x2
cot 1 x C
INTEGRALS
291
dx
x x 1 dx
2
sec
xC
cosec 1 x C
x x 1
e x dx e x
d x (e ) e x ; dx d 1 log | x | (xv) ; dx x
1 dx log | x | C x
ax log a
d ax x a ; (xvi) dx log a
a x dx
Note In practice, we normally do not mention the interval over which the various functions are defined. However, in any specific problem one has to keep it in mind.
2
7.2.1 Geometrical interpretation of indefinite integral Let f (x) = 2x. Then f (x) dx x C . For different values of C, we get different integrals. But these integrals are very similar geometrically. Thus, y = x2 + C, where C is arbitrary constant, represents a family of integrals. By assigning different values to C, we get different members of the family. These together constitute the indefinite integral. In this case, each integral represents a parabola with its axis along y-axis. Clearly, for C = 0, we obtain y = x2, a parabola with its vertex on the origin. The curve y = x2 + 1 for C = 1 is obtained by shifting the parabola y = x2 one unit along y-axis in positive direction. For C = 1, y = x2 1 is obtained by shifting the parabola y = x2 one unit along y-axis in the negative direction. Thus, for each positive value of C, each parabola of the family has its vertex on the positive side of the y-axis and for negative values of C, each has its vertex along the negative side of the y-axis. Some of these have been shown in the Fig 7.1. Let us consider the intersection of all these parabolas by a line x = a. In the Fig 7.1, we have taken a > 0. The same is true when a < 0. If the line x = a intersects the parabolas y = x2, y = x2 + 1, y = x2 + 2, y = x2 1, y = x2 2 at P0, P1, P2, P1, P2 etc., dy at these points equals 2a. This indicates that the tangents to the respectively, then dx 2 curves at these points are parallel. Thus, 2 x dx x C FC (x) (say), implies that
292
MATHEMATICS
Fig 7.1 the tangents to all the curves y = FC (x), C R, at the points of intersection of the curves by the line x = a, (a R), are parallel.
Further, the following equation (statement) f (x) dx F (x ) C y (say) , represents a family of curves. The different values of C will correspond to different members of this family and these members can be obtained by shifting any one of the curves parallel to itself. This is the geometrical interpretation of indefinite integral. 7.2.2 Some properties of indefinite integral In this sub section, we shall derive some properties of indefinite integrals. (I) The process of differentiation and integration are inverses of each other in the sense of the following results :
d f (x) dx = f (x ) dx
and
INTEGRALS
293
d F(x) = f ( x ) dx
Then Therefore
f (x) dx = F(x) + C
d d F (x) + C f (x) dx = dx dx
=
d F (x) = f (x) dx
d f (x) dx
= f (x) + C
where C is arbitrary constant called constant of integration. (II) Two indefinite integrals with the same derivative lead to the same family of curves and so they are equivalent. Proof Let f and g be two functions such that
d d g (x ) dx f (x) dx = dx dx
or Hence or
d f (x) dx g (x) dx = 0 dx
(Why?)
are identical.
294
MATHEMATICS
(III)
g (x) dx + C2 ,C2
Proof
= f (x) + g (x) Thus, in view of Property (II), it follows by (1) and (2) that
f (x) g (x) dx = f (x) dx k g (x) dx .
(V) Properties (III) and (IV) can be generalised to a finite number of functions f1, f2, ..., fn and the real numbers, k1, k2, ..., kn giving
k1 f1 (x) k2 f 2 (x) ... kn f n (x) dx
To find an anti derivative of a given function, we search intuitively for a function whose derivative is the given function. The search for the requisite function for finding an anti derivative is known as integration by the method of inspection. We illustrate it through some examples.
By Property (I), we have
f (x) dx + C1 ,C1 R
f (x) dx + g (x) dx
f (x) dx = g (x) dx ,
and
... (1)
d dx
f (x) dx + g (x) dx =
d dx
f (x) dx +
d g (x ) dx dx
... (2)
k f (x) dx
f (x) dx
d k f (x) dx k f (x) . dx
d dx
d k dx
f (x) dx = k
f (x) dx = k f (x)
k f (x) dx
f (x) dx .
= k1 f1 (x) dx k2 f 2 (x) dx
... kn
f n (x) dx .
INTEGRALS
295
Example 1 Write an anti derivative for each of the following functions using the method of inspection: (i) cos 2x (ii) 3x2 + 4x3 (iii)
1 ,x0 x
Solution (i) We look for a function whose derivative is cos 2x. Recall that
d sin 2x = 2 cos 2x dx
or cos 2x =
1 sin 2 x . 2 (ii) We look for a function whose derivative is 3x2 + 4x3. Note that
Therefore, an anti derivative of cos 2x is
d 3 4 x x = 3x2 + 4x3. dx Therefore, an anti derivative of 3x2 + 4x3 is x3 + x4. (iii) We know that
d 1 d 1 1 (log x) , x 0 and [log ( x)] ( 1) , x 0 dx x dx x x
Combining above, we get Therefore,
d 1 log x , x 0 dx x
x3 1 (i) 2 dx x
Solution (i) We have
(ii)
2 (x 3 1)
dx
(iii) (x 2
2 ex
1 ) dx x
x3 1 dx x dx x 2 dx x2
(by Property V)
296
MATHEMATICS
x1 1 1 1 x 2 1 C 2 ; C , C are constants of integration 1 2 21
= = =
C1
x2 2
x2 2
C1
x 1 x2 C2 = 1 2
1 + C1 C 2 x
Note From now onwards, we shall write only one constant of integration in the final answer. (ii) We have
2 (x 3 1) 2 x3
2
dx
dx dx
5 x3 3 3 x C = = x 2 5 1 3 3 3
xC
(iii) We have
(x 2
2 ex
1 1 ) dx x 2 dx 2 e x dx dx x x
3
x2 x 2 e log x + C = 3 1 2
2 = x 5
Example 3 Find the following integrals: (i) (iii)
5 2
2 e x log x + C
(sin x cos x) dx
1 sin x dx cos 2 x
= cos x sin x C
INTEGRALS
297
(ii) We have
2 (cosec x (cosec x + cot x) dx cosec x dx cosec x cot x dx = cot x cosec x C
(iii) We have
1 sin x
sin x
= tan x sec x C Example 4 Find the anti derivative F of f defined by f (x) = 4x3 6, where F (0) = 3 Solution One anti derivative of f (x) is x4 6x since
d 4 (x 6 x) = 4x3 6 dx
Therefore, the anti derivative F is given by F(x) = x4 6x + C, where C is constant. Given that F(0) = 3, which gives,
3 = 0 6 0 + C or C = 3 Hence, the required anti derivative is the unique function F defined by F(x) = x4 6x + 3. Remarks (i) We see that if F is an anti derivative of f, then so is F + C, where C is any constant. Thus, if we know one anti derivative F of a function f, we can write down an infinite number of anti derivatives of f by adding any constant to F expressed by F(x) + C, C R. In applications, it is often necessary to satisfy an additional condition which then determines a specific value of C giving unique anti derivative of the given function. (ii) Sometimes, F is not expressible in terms of elementary functions viz., polynomial, logarithmic, exponential, trigonometric functions and their inverses etc. We are therefore blocked for finding f (x) dx . For example, it is not possible to find
x2
298
MATHEMATICS
(iii) When the variable of integration is denoted by a variable other than x, the integral formulae are modified accordingly. For instance
y 4 dy 1 5 y4 1 y C 4 1 5
7.2.3 Comparison between differentiation and integration 1. Both are operations on functions. 2. Both satisfy the property of linearity, i.e., (i) (ii)
Here k1 and k2 are constants. 3. We have already seen that all functions are not differentiable. Similarly, all functions are not integrable. We will learn more about nondifferentiable functions and nonintegrable functions in higher classes. 4. The derivative of a function, when it exists, is a unique function. The integral of a function is not so. However, they are unique upto an additive constant, i.e., any two integrals of a function differ by a constant. 5. When a polynomial function P is differentiated, the result is a polynomial whose degree is 1 less than the degree of P. When a polynomial function P is integrated, the result is a polynomial whose degree is 1 more than that of P. 6. We can speak of the derivative at a point. We never speak of the integral at a point, we speak of the integral of a function over an interval on which the integral is defined as will be seen in Section 7.7. 7. The derivative of a function has a geometrical meaning, namely, the slope of the tangent to the corresponding curve at a point. Similarly, the indefinite integral of a function represents geometrically, a family of curves placed parallel to each other having parallel tangents at the points of intersection of the curves of the family with the lines orthogonal (perpendicular) to the axis representing the variable of integration. 8. The derivative is used for finding some physical quantities like the velocity of a moving particle, when the distance traversed at any time t is known. Similarly, the integral is used in calculating the distance traversed when the velocity at time t is known. 9. Differentiation is a process involving limits. So is integration, as will be seen in Section 7.7.
INTEGRALS
299
10. The process of differentiation and integration are inverses of each other as discussed in Section 7.2.2 (i).
EXERCISE 7.1
Find an anti derivative (or integral) of the following functions by the method of inspection. 1. sin 2x 2. cos 3x 3. e 2 x 4. (ax + b)2 5. sin 2x 4 e3x Find the following integrals in Exercises 6 to 20:
3x 6. (4 e + 1) dx
1 2 7. x (1 2 ) dx x
2 8. (ax bx c) dx
9. (2 x e ) dx
x3 3x 4 dx 12. x
10.
x3 5 x 2 4 1 dx x dx 11. x2 x
x3 x 2 x 1 dx 14. (1 x) x dx 13. x 1
x 16. (2 x 3cos x e ) dx
19.
sec 2 x 2 3sin x dx 20. dx . cosec 2 x cos 2 x Choose the correct answer in Exercises 21 and 22.
1 equals x
1 3 x 2x 2 C 3
3 1
(B)
2 3 1 2 x x C 3 2
3 1
2 2 3 2 1 2 x 2x 2 C x x C (D) 3 2 2 d 3 f ( x) 4 x3 4 such that f (2) = 0. Then f (x) is 22. If dx x 1 129 1 129 4 3 (A) x 3 (B) x 4 8 8 x x
(C)
x4 1 129 8 x3
(D)
x3
1 129 8 x4
300
MATHEMATICS
dx = g(t). dt dx = g(t) dt
I = f ( x) dx f ( g (t )) g (t ) dt This change of variable formula is one of the important tools available to us in the name of integration by substitution. It is often important to guess what will be the useful substitution. Usually, we make a substitution for a function whose derivative also occurs in the integrand as illustrated in the following examples. Example 5 Integrate the following functions w.r.t. x: (i) sin mx (ii) 2x sin (x2 + 1) (iii)
tan 4 x sec2 x x
(iv)
sin (tan 1 x) 1 x2
Solution (i) We know that derivative of mx is m . Thus, we make the substitution mx = t so that mdx = dt. 1 1 1 cos t + C = cos mx + C Therefore, sin mx dx sin t dt = m m m
INTEGRALS
301
(iii) Derivative of
x t so that
tan 4 x sec 2 x 2t tan 4t sec2 t dt 4 2 dx = 2 tan t sec t dt t x Again, we make another substitution tan t = u so that sec2 t dt = du
Thus,
Therefore,
2 tan 4t sec 2t dt 2 u 4 du = 2
u5 C 5
Hence,
tan 4 x sec 2 x
dx =
sin (tan 1 x) dx sin t dt = cos t + C = cos (tan 1x) + C 1 x2 Now, we discuss some important integrals involving trigonometric functions and their standard integrals using substitution technique. These will be used later without reference.
(i)
tan x dx cos x dx
sin x
302
MATHEMATICS
Put cos x = t so that sin x dx = dt dt Then tan x dx t log t C log cos x C or (ii)
(iii)
sec x (sec x tan x) dx sec x + tan x Put sec x + tan x = t so that sec x (tan x + sec x) dx = dt dt Therefore, sec x dx log t + C = log sec x tan x C t
sec x dx
(iv)
cosec x (cosec x cot x) dx (cosec x cot x) Put cosec x + cot x = t so that cosec x (cosec x + cot x) dx = dt dt So cosec x dx t log | t | log |cosec x cot x | C
cosec x dx
= log
(ii)
sin (x a) dx
sin x
1 dx (iii) 1 tan x
INTEGRALS
303
t3 t5 2 4 = (t t ) dt C 3 5
= (ii) Put x + a = t. Then dx = dt. Therefore
1 1 cos3 x cos5 x C 3 5
sin (x a) dx
=
sin x
dx cos x dx (iii) 1 tan x cos x sin x 1 (cos x + sin x + cos x sin x) dx = 2 cos x sin x
304
MATHEMATICS
cos x sin x dx cos x sin x Put cos x + sin x = t so that (cos x sin x) dx = dt
Now, consider I
I
C
dx
= =
EXERCISE 7.2
Integrate the functions in Exercises 1 to 37:
2x 1. 1 x2
4. sin x sin (cos x) 6.
ax b
2.
log x
3.
1 x x log x
7. x x 2
8. x 1 2 x 2 11.
x x4
1 9. (4 x 2) x 2 x 1 10. x x
1
,x>0
12. (x3 1) 3 x 5
13.
x2 (2 3 x 3 )3
14.
1 ,x>0 x (log x) m
x ex
2
15.
x 9 4x2
16. e2 x 3
17.
INTEGRALS
305
etan x 18. 1 x2
21. tan2 (2x 3)
19.
e2 x 1 e2 x 1
20.
e2 x e 2 x e2 x e 2 x
sin 1 x 1 x2
23.
25.
26.
cos x x
28.
cos x 1 sin x
sin x
31.
1 cos x
1 32. 1 cot x
35.
1 log x
x
x3sin tan 1 x 4 1 x
dx equals 39. 2 sin x cos 2 x (A) tan x + cot x + C (C) tan x cot x + C
7.3.2 Integration using trigonometric identities When the integrand involves some trigonometric functions, we use some known identities to find the integral as illustrated through the following example.
2 Example 7 Find (i) cos x dx
3 (iii) sin x dx
306
MATHEMATICS
Solution (i) Recall the identity cos 2x = 2 cos2 x 1, which gives cos2 x = Therefore,
1 cos 2 x 2 1 1 1
x 1 sin 2 x C 2 4
(Why?)
1 1 cos 5 x cos x C 2 5
1 1 cos 5 x cos x C 10 2 3 (iii) From the identity sin 3x = 3 sin x 4 sin x, we find that
= sin3 x = Therefore,
3sin x sin 3 x 4
3 1
3 1 cos x cos 3x C 4 12
3 2 2 Alternatively, sin x dx sin x sin x dx = (1 cos x) sin x dx Put cos x = t so that sin x dx = dt
Therefore,
t3 3 2 2 sin x dx dt t dt t 1 t dt C = = 3
1 cos3 x C 3 Remark It can be shown using trigonometric identities that both answers are equivalent.
= cos x
INTEGRALS
307
EXERCISE 7.3
Find the integrals of the functions in Exercises 1 to 22: 1. sin2 (2x + 5) 2. sin 3x cos 4x 3. cos 2x cos 4x cos 6x 3 3 3 4. sin (2x + 1) 5. sin x cos x 6. sin x sin 2x sin 3x 7. sin 4x sin 8x 10. sin4 x 13. 8.
1 cos x 1 cos x
9. 12.
cos x 1 cos x
sin 2 x 1 cos x
1 sin x cos3 x
20.
cos 2 x
cos x sin x
308
MATHEMATICS
dx 1 x = tan 1 + C (3) 2 2 a a x +a
(4)
dx x a
2 2
= log x + x 2 a 2 + C
(5)
dx a x dx x +a
2 2 2 2
= sin 1
x +C a
(6)
= log x + x 2 + a 2 + C
1 1 2 (x a) (x a) x a
2
1 (x a) (x a ) 1 1 1 2a (x a) (x a ) 2a x a x a
dx 1 dx dx Therefore, 2 2 x a 2a x a x a
=
1 1 (a x) ( a x) 1 1 1 = 2 a a x a x 2 ( ) ( ) a x 2a a x a x
2
INTEGRALS
309
Therefore,
dx 1 dx dx 2 = 2a a x a x a x
2
(3) Put x = a tan . Then dx = a sec2 d. dx a sec 2 d Therefore, = 2 2 x a2 a tan 2 a 2 1 1 1 1 x C = d C tan a a a a (4) Let x = a sec . Then dx = a sec tan d . dx a sec tan d Therefore, = a 2 sec2 a 2 x2 a2 = sec d log sec + tan + C1 = log
x a
x2 1 C1 a2
dx
a x
a cos d a 2 a 2 sin 2
1 = d = + C = sin
x C a
dx
x2 a2
a sec 2 d
310
MATHEMATICS
x x2 log 1 C1 = a a2
2 = log x x a log | a | C1 2 = log x x a C , where C = C1 log | a |
Applying these standard formulae, we now obtain some more formulae which are useful from applications point of view and can be applied directly to evaluate other integrals.
dx (7) To find the integral 2 , we write ax bx c
c b c b2 2 b ax2 + bx + c = a x x a x a a 2a a 4a 2
2
Now, put x
c b2 2 a 4a
and hence can be evaluated. (8) To find the integral of the type
dx
2
, proceeding as in (7), we
px q dx , where p, q, a, b, c are (9) To find the integral of the type 2 ax bx c constants, we are to find real numbers A, B such that
d (ax 2 bx c) + B = A (2ax b) + B dx To determine A and B, we equate from both sides the coefficients of x and the constant terms. A and B are thus obtained and hence the integral is reduced to one of the known forms. px + q = A
INTEGRALS
311
( px q ) dx
ax 2 bx c as in (9) and transform the integral into known standard forms. Let us illustrate the above methods by some examples. dx dx 2 x x2
, we proceed
x 2 16
(ii)
Solution
dx dx x4 2 2 = log C [by 7.4 (1)] (i) We have 2 8 x 4 x 16 x 4
(ii)
dx 2x x
2
dx 1 x 1
2
dx 2x x
2
dt 1 t
2
1 = sin (t ) C
1 = sin (x 1) C
(ii)
dx 3x 2 13 x 10
(iii)
dx 5 x2 2 x
x 6 x 13 = x 3 2 22 dx
x 3 = t. Then dx = dt
1 x 6 x 13 = t 2 22 2 tan 2 C
dx
dt
x3 1 tan 1 C 2 2
312
MATHEMATICS
(ii) The given integral is of the form 7.4 (7). We write the denominator of the integrand,
2 3x 2 13 x 10 = 3 x
13x 10 3 3
2 2
dx
dx
Put x
13 t . Then dx = dt. 6
Therefore,
3x 13 x 10 = 3
dx
dt
17 t 6
2
17 6 C log = 1 17 17 3 2 t 6 6 1 t 13 17 x 1 6 6 C log = 1 13 17 17 x 6 6
INTEGRALS
313
(iii) We have
dx
5x
dx
2x
5 x2
2x 5
1 5
dx
1 1 x 5 5
Put x
1 t . Then dx = dt. 5
dx
Therefore,
5 x 2 x
1 5
dt t
2
1 5
2
1 5
log t t
1 5
2
C
1 1 2x log x x 2 5 5 5
x 2 dx 2x 6x 5
x3
(ii)
5 4x x2
dx
d 2 2 x 6 x 5 B = A (4 x 6) B dx Equating the coefficients of x and the constant terms from both sides, we get
x+2= A 4A = 1 and 6A + B = 2 or A = Therefore,
1 1 and B = . 4 2 dx x2 1 4x 6 1 dx = 4 2x 6x 5 2 2x 6x 5 2x 6x 5
=
1 1 I1 I 2 4 2
(say)
... (1)
314
MATHEMATICS
dt I1 = log t C1 t
2 = log | 2 x 6 x 5 | C1
... (2)
and
dx dx 1 I2 = 2 5 2 2x 6x 5 x 2 3x 2
1 2
dx
2 2
3 1 x 2 2
Put x
1 t 2
2
1 1 2 2
tan 1 2t C2
... (3)
C1 C2 4 2 (ii) This integral is of the form given in 7.4 (10). Let us express
where, C=
d (5 4 x x 2 ) + B = A ( 4 2x) + B dx Equating the coefficients of x and the constant terms from both sides, we get
x+3= A 2A = 1 and 4 A + B = 3, i.e., A =
1 and B = 1 2
INTEGRALS
315
Therefore,
1 4 2 x dx dx dx = 2 2 5 4x x 5 4 x x2 5 4 x x2
x3
1 I +I 2 1 2
... (1)
4 2 x dx
5 4x x2
dt = 2 t C1 t
... (2)
= 2 5 4 x x 2 C1 Now consider I2 =
dx 5 4x x
dt 32 t 2
2
dx 9 (x 2) 2
t 3
sin 1 + C2
1 = sin
x2 C2 3
x2 C C , where C C2 1 3 2
... (3)
x3 5 4x x2
5 4x x 2 + sin 1
EXERCISE 7.4
Integrate the functions in Exercises 1 to 23. 1.
3x 2 x6 1
1 9 25 x 2 x 1
2.
1 1 4x
2
3.
2 x 1
4.
3x 5. 1 2x4
x2 6. 1 x6
9.
7.
x2 1
8.
x2 x6 a 6
sec 2 x tan 2 x 4
316
MATHEMATICS
10.
1 x2 2x 2
11.
1 9x 6x 5
2
12.
1 7 6x x2
13.
x 1 x 2
4x 1 2x x 3
2
14.
1 8 3x x
x2 x 1 x2 4x x
2 2
1
2
15.
x a x b
5x 2 1 2 x 3x 2 x2 x 2x 3
2
16.
17.
18.
19.
6x 7
x 5 x 4
x3 x 2x 5
2
20.
21.
22.
23.
5x 3 x 4 x 10
2
25. (A)
dx 9x 4x2
equals
1 1 9 x 8 sin C 9 8
1 1 9 x 8 sin C 3 8
(B)
1 8x 9 sin 1 C 2 9 1 9x 8 sin 1 C 2 9
(C)
(D)
P(x) , where P (x) and Q(x) are polynomials in x and Q(x) 0. If the degree of P(x) Q(x )
is less than the degree of Q(x), then the rational function is called proper, otherwise, it is called improper. The improper rational functions can be reduced to the proper rational
INTEGRALS
317
how to integrate polynomials, the integration of any rational function is reduced to the integration of a proper rational function. The rational functions which we shall consider here for integration purposes will be those whose denominators can be factorised into
P(x) P(x) dx , where linear and quadratic factors. Assume that we want to evaluate Q(x) Q(x )
is proper rational function. It is always possible to write the integrand as a sum of simpler rational functions by a method called partial fraction decomposition. After this, the integration can be carried out easily using the already known methods. The following Table 7.2 indicates the types of simpler partial fractions that are to be associated with various kind of rational functions.
Table 7.2
px q ,ab (x a) (x b) px q (x a ) 2
px 2 qx r (x a ) (x b) (x c)
A B xa xb
A B x a x a 2
2.
3.
A B C xa xb xc
A B C 2 x a (x a ) xb A Bx + C , 2 x a x bx c
4.
px 2 qx r (x a) 2 (x b)
px 2 qx r (x a) (x 2 bx c)
5.
where x2 + bx + c cannot be factorised further In the above table, A, B and C are real numbers to be determined suitably.
318
MATHEMATICS
dx Example 11 Find (x 1) (x 2)
Solution The integrand is a proper rational function. Therefore, by using the form of partial fraction [Table 7.2 (i)], we write
A B 1 = x 1 x 2 (x 1) (x 2)
where, real numbers A and B are to be determined suitably. This gives 1 = A (x + 2) + B (x + 1). Equating the coefficients of x and the constant term, we get A+B=0 and 2A + B = 1 Solving these equations, we get A =1 and B = 1. Thus, the integrand is given by
... (1)
1 1 1 = x 1 x 2 (x 1) (x 2)
Therefore,
(x 1) (x 2) = x 1 x 2
= log x 1 log x 2 C = log
dx
dx
dx
x 1 C x 2
Remark The equation (1) above is an identity, i.e. a statement true for all (permissible) values of x. Some authors use the symbol to indicate that the statement is an identity and use the symbol = to indicate that the statement is an equation, i.e., to indicate that the statement is true only for certain values of x.
x2 1 dx Example 12 Find 2 x 5x 6 x2 1 Solution Here the integrand 2 is not proper rational function, so we divide x 5x 6 x2 + 1 by x2 5x + 6 and find that
INTEGRALS
319
5x 5 5x 5 x2 1 1 = 1 2 2 (x 2) (x 3) x 5x 6 x 5x 6
A B 5x 5 = x2 x3 (x 2) (x 3) So that 5x 5 = A (x 3) + B (x 2) Equating the coefficients of x and constant terms on both sides, we get A + B = 5 and 3A + 2B = 5. Solving these equations, we get A = 5 and B = 10
Let Thus, Therefore,
x2 1 5 10 = 1 2 x2 x3 x 5x 6
1 dx x2 1 x 2 5 x 6 dx = dx 5 x 2 dx 10 x 3 = x 5 log | x 2 | + 10 log | x 3 | + C.
3x 2 A B C = 2 2 x 1 (x 1) x3 (x 1) (x 3)
So that 3x 2 = A (x + 1) (x + 3) + B (x + 3) + C (x + 1)2 = A (x2 + 4x + 3) + B (x + 3) + C (x2 + 2x + 1 ) Comparing coefficient of x 2, x and constant term on both sides, we get A + C = 0, 4A + B + 2C = 3 and 3A + 3B + C = 2. Solving these equations, we get 11 5 11 . Thus the integrand is given by A ,B and C 4 2 4 3x 2 11 5 11 = 4 (x 1) 2 2 4 (x 3) (x 1) (x 3) 2 (x 1)
Therefore,
3x 2 11 dx 5 11 dx dx (x 1) 2 (x 3) = 4 x 1 2 (x 1)2 4 x 3
= =
11 5 11 log x +1 log x 3 C 4 2 (x + 1) 4
x +1 11 5 log +C 4 x + 3 2 (x + 1)
320
MATHEMATICS
x2 dx Example 14 Find 2 (x 1) (x 2 4)
Solution Consider
x2 and put x2 = y. ( x 2 1) ( x 2 4)
Then
y x2 = 2 2 (y 1) (y 4) (x 1) (x 4)
Write
y A B = (y 1) (y 4) y 1 y 4
So that y = A (y + 4) + B (y + 1) Comparing coefficients of y and constant terms on both sides, we get A + B = 1 and 4A + B = 0, which give A=
1 3
and B
4 3
Thus,
x2 1 4 = 2 2 2 2 (x 1) (x 4) 3 (x 1) 3 (x 4) x 2 dx dx dx 1 4 (x 2 1) (x 2 4) = 3 x 2 1 3 x 2 4
Therefore,
1 1 4 1 1 x C = tan x tan 3 3 2 2
1 1 2 1 x C = tan x tan 3 3 2 In the above example, the substitution was made only for the partial fraction part and not for the integration part. Now, we consider an example, where the integration involves a combination of the substitution method and the partial fraction method.
INTEGRALS
321
Therefore,
3 sin
2 cos
5 cos
4 sin
d =
(3y 2) dy 5 (1 y 2 ) 4 y 3y 2 dy y 4y 4
2
3y 2
=
y
I (say)
Now, we write
3y 2
y
A y2
B (y 2)2
Therefore, 3y 2 = A (y 2) + B Comparing the coefficients of y and constant term, we get A = 3 and B 2A = 2, which gives A = 3 and B = 4. Therefore, the required integral is given by I = [
3 4 dy dy + ] dy = 3 +4 2 y 2 (y 2) y2 (y 2)2
= 3 log y 2
1 y
= 3 log sin 2
= 3 log (2 sin )
x 2 x 1 dx (x 2) (x 2 1)
Example 16 Find
Solution The integrand is a proper rational function. Decompose the rational function into partial fraction [Table 2.2(5)]. Write
A Bx + C x2 x 1 = 2 x 2 (x 2 1) (x 1) (x 2)
Therefore, x2 + x + 1 = A (x2 + 1) + (Bx + C) (x + 2)
322
MATHEMATICS
Equating the coefficients of x2, x and of constant term of both sides, we get A + B =1, 2B + C = 1 and A + 2C = 1. Solving these equations, we get
Therefore,
3 dx 1 2x 1 1 x2 x 1 (x 2 +1) (x 2) dx = 5 x 2 5 x 2 1 dx 5 x 2 1 dx
EXERCISE 7.5
Integrate the rational functions in Exercises 1 to 21. 1.
x (x 1) (x 2)
2.
1 x 9
2
3.
3x 1 (x 1) (x 2) (x 3)
1 x2 x (1 2 x)
4.
x 2x 5. 2 (x 1) (x 2) (x 3) x 3x 2 x (x 1) (x 1)
2
6.
7.
8.
x (x 1) (x 2)
2
9.
3x 5 x x2 x 1
3
10.
2x 3 2 (x 1) (2x 3) 2 (1 x) (1 x 2 ) 1 x (x n 1)
11.
5x (x 1) (x 2 4) 3x 1 (x 2) 2
12.
x3 x 1 x2 1
1 x 1
4
13.
14.
15.
16.
[Hint: multiply numerator and denominator by x n 1 and put xn = t ] [Hint : Put sin x = t]
17.
INTEGRALS
323
18. 21.
(x 2 1) (x 2 2) (x 2 3) (x 2 4)
x
19.
2x (x 1) (x 2 3)
2
20.
1 x (x 4 1)
1 [Hint : Put ex = t] (e 1) Choose the correct answer in each of the Exercises 22 and 23. x dx 22. equals ( x 1) ( x 2)
(A) log
( x 1)2 C x2
(B) log
( x 2) 2 C x 1
(C) log
x 1 C x2
(D) log ( x 1) ( x 2) C
dx 23. equals x ( x 2 1)
324
MATHEMATICS
f (x ) g (x) dx = f (x) g (x) dx [ g (x) dx] f (x) dx f (x) g (x) dx = f (x) g (x) dx [ f (x) g (x) dx] dx
i.e.,
If we take f as the first function and g as the second function, then this formula may be stated as follows: The integral of the product of two functions = (first function) (integral of the second function) Integral of [(differential coefficient of the first function) (integral of the second function)] Example 17 Find x cos x dx Solution Put f (x) = x (first function) and g (x) = cos x (second function). Then, integration by parts gives
x cos
Suppose, we take
x cos
Thus, it shows that the integral x cos x dx is reduced to the comparatively more complicated integral having more power of x. Therefore, the proper choice of the first function and the second function is significant. Remarks (i) It is worth mentioning that integration by parts is not applicable to product of functions in all cases. For instance, the method does not work for x sin x dx . The reason is that there does not exist any function whose derivative is
x sin x.
(ii) Observe that while finding the integral of the second function, we did not add any constant of integration. If we write the integral of the second function cos x
INTEGRALS
325
x dx = x (sin x k ) (sin x k ) dx
= x (sin x k ) (sin x dx k dx = x (sin x k ) cos x kx C = x sin x cos x C This shows that adding a constant to the integral of the second function is superfluous so far as the final result is concerned while applying the method of integration by parts. (iii) Usually, if any function is a power of x or a polynomial in x, then we take it as the first function. However, in cases where other function is inverse trigonometric function or logarithmic function, then we take them as first function. Example 18 Find log x dx Solution To start with, we are unable to guess a function whose derivative is log x. We take log x as the first function and the constant function 1 as the second function. Then, the integral of the second function is x. d log x 1 dx [ (log x) 1 dx] dx Hence, (logx.1) dx = dx 1 = (log x) x x dx x log x x C . x
x Example 19 Find x e dx
Solution Take first function as x and second function as ex. The integral of the second function is ex. Therefore,
xe
x
dx = x e x 1 e x dx = xex ex + C.
x sin 1 x
Example 20 Find
1 x2
dx
x 1 x2
First we find the integral of the second function, i.e., Put t =1 x2. Then dt = 2x dx
326
MATHEMATICS
Therefore,
x dx 1 x2
1 dt 2 = t 1 x 2 t
Hence,
x sin 1 x 1 x
2
dx = (sin 1 x) 1 x 2
2
1
2
1 x 2 1 1 = 1 x sin x x C = x 1 x sin x C
( 1 x 2 ) dx
Alternatively, this integral can also be worked out by making substitution sin1 x = and then integrating by parts.
x Example 21 Find e sin x dx
Solution Take ex as the first function and sin x as second function. Then, integrating by parts, we have
I e x sin x dx e x ( cos x) e x cos x dx
= ex cos x + I1 (say) ... (1) Taking ex and cos x as the first and second functions, respectively, in I1, we get I1 = e x sin x e x sin x dx Substituting the value of I1 in (1), we get I = ex cos x + ex sin x I or 2I = ex (sin x cos x) Hence,
ex (sin x cos x) + C 2 Alternatively, above integral can also be determined by taking sin x as the first function and ex the second function.
x I = e sin x dx
... (1)
Taking f (x) and ex as the first function and second function, respectively, in I1 and
x integrating it by parts, we have I1 = f (x) ex f (x) e dx C Substituting I1 in (1), we get x x x I = e f (x) f (x) e dx e f (x) dx C = ex f (x) + C
INTEGRALS
327
Thus,
e x [ f ( x ) + f ( x )] dx = e x f ( x ) + C
x 1
(x 2 + 1) e x dx (x + 1)2
Solution
x 1 (i) We have I = e (tan x
1 ) dx 1 x2
1 ) dx = ex tan 1x + C 2 1 x
2 (x 2 + 1) e x x x 1 + 1+1) dx e [ ] dx (x + 1) 2 (x + 1) 2
ex [
x2 1 (x + 1) 2
2 ] dx (x +1) 2
ex [
x 1 2 + ] dx x + 1 (x +1) 2
2 x 1 , then f (x) (x 1)2 x 1 Thus, the given integrand is of the form ex [f (x) + f (x)].
Consider f (x) Therefore,
x2 1 x x 1 x e dx e 2 x 1 (x 1)
EXERCISE 7.6
Integrate the functions in Exercises 1 to 22. 1. x sin x 2. x sin 3x 3. x2 ex 7. x sin 1x 5. x log 2 x 6. x2 log x 9. x cos1 x 13. tan x
1
11.
x cos 1 x
2
2
1 x 15. (x + 1) log x
328
MATHEMATICS
x 19. e
1 1 x x2 2x 1 x2
3
20.
(x 3) e x (x 1)3
1 22. sin
Choose the correct answer in Exercises 23 and 24. 23. x 2 e x dx equals (A) (C)
1 x3 e C 3
(B) (D)
1 x2 e C 3 1 x2 e C 2
1 x3 e C 2
24. e x sec x (1 tan x) dx equals (A) ex cos x + C (C) ex sin x + C 7.6.2 Integrals of some more types
Here, we discuss some special types of standard integrals based on the technique of integration by parts : (i) (i)
2 2 x a dx
(ii) x 2 a 2 dx
(iii) a 2 x 2 dx
Let I x 2 a 2 dx
Taking constant function 1 as the second function and integrating by parts, we have
1 2 2 I = x x a 2
2 2 = x x a
2x x a2
2
x dx
x2 x2 a2
2 2 dx = x x a
x2 a2 a2 x2 a2
dx
INTEGRALS
329
2 2 2 2 2 = x x a x a dx a
dx x2 a2
2 2 2 = x x a Ia
dx x a2
2
or
2 2 2 2I = x x a a
dx x a2
2
or
x a2 x2 a2 log x + x 2 a 2 + C I = x 2 a 2 dx = 2 2 Similarly, integrating other two integrals by parts, taking constant function 1 as the second function, we get 1 2 2 (ii) x + a dx = x 2 x2 + a2 + a2 log x + x 2 + a 2 + C 2
a2 x 1 (iii) a 2 x 2 dx = x a 2 x 2 + sin 1 + C a 2 2 Alternatively, integrals (i), (ii) and (iii) can also be found by making trigonometric substitution x = a sec in (i), x = a tan in (ii) and x = a sin in (iii) respectively.
2 Example 23 Find x 2 x 5 dx
= =
1 y 2
y2 4
4 log y y 2 4 C 2
1 (x 1) x 2 2 x 5 2 log x 1 x 2 2 x 5 C 2
330
MATHEMATICS
= =
y 1 4 y 4 y 2 sin 1 C 2 2 2
1 x 1 (x 1) 3 2 x x 2 2 sin 1 C 2 2
EXERCISE 7.7
Integrate the functions in Exercises 1 to 9. 1. 4. 7.
4 x2
2. 5. 8.
1 4 x2
3. 6. 9.
x2 4x 6
x2 4x 1
1 3x x
2
1 4 x x2
x 3x
2
x2 4x 5
x2 9
Choose the correct answer in Exercises 10 to 11. 10. 1 x 2 dx is equal to (A) (B) (D)
1 x 1 x 2 log x 1 x 2 C 2 2
2 (1 x 2 ) 2 C 3
3
(C)
2 x (1 x 2 ) 2 C 3
x2 1 1 x 2 x 2 log x 1 x 2 C 2 2
x 2 8 x 7 9log x 4 x 2 8 x 7 C x 2 8 x 7 9log x 4 x 2 8 x 7 C
x 2 8 x 7 3 2 log x 4 x 2 8 x 7 C x2 8x 7 9 log x 4 x 2 8 x 7 C 2
INTEGRALS
331
(x) =f
D L
X'
P O a = x0 x1 x2 Y'
A B xr-1 xr
R xn=b
Fig 7.2
Divide the interval [a, b] into n equal subintervals denoted by [x0, x1], [x1, x2] ,..., [xr 1, xr], ..., [xn 1, xn], where x0 = a, x1 = a + h, x2 = a + 2h, ... , xr = a + rh and xn = b = a + nh or n
332
MATHEMATICS
The region PRSQP under consideration is the sum of n subregions, where each subregion is defined on subintervals [xr 1, xr], r = 1, 2, 3, , n. From Fig 7.2, we have area of the rectangle (ABLC) < area of the region (ABDCA) < area of the rectangle (ABDM) ... (1) Evidently as xr xr1 0, i.e., h 0 all the three areas shown in (1) become nearly equal to each other. Now we form the following sums.
n 1
and
Here, sn and Sn denote the sum of areas of all lower rectangles and upper rectangles raised over subintervals [xr1, xr] for r = 1, 2, 3, , n, respectively. In view of the inequality (1) for an arbitrary subinterval [xr1, xr], we have sn < area of the region PRSQP < Sn ... (4) As n strips become narrower and narrower, it is assumed that the limiting values of (2) and (3) are the same in both cases and the common limiting value is the required area under the curve. Symbolically, we write
lim Sn = lim sn = area of the region PRSQP = n n
b
f (x)dx
... (5)
It follows that this area is also the limiting value of any area which is between that of the rectangles below the curve and that of the rectangles above the curve. For the sake of convenience, we shall take rectangles with height equal to that of the curve at the left hand edge of each subinterval. Thus, we rewrite (5) as
b
a
b
or where
f ( x)dx = (b a) lim
h=
1 [ f (a) f (a h) ... f (a (n 1) h] n
... (6)
ba 0 as n n
The above expression (6) is known as the definition of definite integral as the limit of sum. Remark The value of the definite integral of a function over any particular interval depends on the function and the interval, but not on the variable of integration that we
INTEGRALS
333
choose to represent the independent variable. If the independent variable is denoted by t or u instead of x, we simply write the integral as f (t ) dt or f (u ) du instead of a a
b b
b
Solution By definition
b
f ( x) dx = (b a ) lim
h=
where,
ba n 20 2 n n
( x 2 1) dx = 2 lim
1 2 4 2 (n 1) [ f (0) f ( ) f ( ) ... f ( )] n n n n n
= 2 lim
(2n 2) 2 1 22 42 [1 ( 2 1) ( 2 1) ... 1 ] 2 n n n n n
= 2 lim
= 2 lim = 2 lim
= 2 lim
1 2 (n 1) (2n 1) [n ] n n 3 n
n
= 2 lim [1
2 1 1 14 4 (1 ) (2 )] = 2 [1 ] = 3 n n 3 3
334
MATHEMATICS
2 (e 2 1)
2 en 1 lim 2 n n 2
= e2 1
[using lim
(e h 1) 1] h 0 h
EXERCISE 7.8
Evaluate the following definite integrals as limit of sums. 1. x dx a 4.
4
b
2. 0 ( x 1) dx
x 5. e dx 1 1
2 3. 2 x dx
( x 2 x) dx
6. ( x e 2 x ) dx 0
INTEGRALS
335
in Fig 7.3 [Here it is assumed that f (x) > 0 for x [a, b], the assertion made below is equally true for other functions as well]. The area of this shaded region depends upon the value of x. In other words, the area of this shaded region is a function of x. We denote this function of x by A(x). We call the function A(x) as Area function and is given by A (x) = a f ( x ) dx
x
... (1)
Based on this definition, the two basic fundamental theorems have been given. However, we only state them as their proofs are beyond the scope of this text book. 7.8.2 First fundamental theorem of integral calculus Theorem 1 Let f be a continuous function on the closed interval [a, b] and let A (x) be the area function. Then A(x) = f (x), for all x [a, b]. 7.8.3 Second fundamental theorem of integral calculus We state below an important theorem which enables us to evaluate definite integrals by making use of anti derivative. Theorem 2 Let f be continuous function defined on the closed interval [a, b] and F be an anti derivative of f. Then f ( x ) dx = [F( x )] b a = F (b) F(a). a Remarks (i) In words, the Theorem 2 tells us that f ( x) dx = (value of the anti derivative F a of f at the upper limit b value of the same anti derivative at the lower limit a). (ii) This theorem is very useful, because it gives us a method of calculating the definite integral more easily, without calculating the limit of a sum. (iii) The crucial operation in evaluating a definite integral is that of finding a function whose derivative is equal to the integrand. This strengthens the relationship between differentiation and integration. (iv) In f ( x) dx , the function f needs to be well defined and continuous in [a, b]. a For instance, the consideration of definite integral x( x 2
1 2 since the function f expressed by f (x) = x( x 1) 2 is not defined in a portion
3 2 1 1) 2
dx is erroneous
336
MATHEMATICS
Steps for calculating f ( x) dx . a (i) Find the indefinite integral f ( x) dx . Let this be F(x). There is no need to keep integration constant C because if we consider F(x) + C instead of F(x), we get
b
Thus, the arbitrary constant disappears in evaluating the value of the definite integral.
b (ii) Evaluate F(b) F(a) = [F ( x)] a , which is the value of f ( x) dx . a
(ii)
x (30
3 x 2 )2
dx
2 x dx (iii) 1 ( x 1) ( x 2)
Solution
3 2 x3 2 x dx I x dx F ( x) , (i) Let . Since 2 3 Therefore, by the second fundamental theorem, we get
27 8 19 3 3 3
x (30
3
3 x 2 )2
Put 30 x 2 t. Then
3 x dx dt or 2
2 x dx dt 3
INTEGRALS
337
I = F(9) F(4)
3 x2 ) 4
=
2 1
2 1 1 2 1 1 19 = 3 (30 27) 30 8 3 3 22 99
(iii) Let I
x dx ( x 1) ( x 2)
x 1 2 ( x 1) ( x 2) x 1 x 2
2log
So
x dx = log x 1 ( x 1) ( x 2)
x2
F( x)
Therefore, by the second fundamental theorem of calculus, we have I = F(2) F(1) = [ log 3 + 2 log 4] [ log 2 + 2 log 3] = 3 log 3 + log 2 + 2 log 4 = log
32 27
1 du 2
So
1 3 u du 2
1 4 1 4 [u ] sin 2t F (t ) say 8 8
338
MATHEMATICS
EXERCISE 7.9
Evaluate the definite integrals in Exercises 1 to 20. 1.
1
( x 1) dx
2.
31
dx
3.
(4 x 3 5 x 2 6 x 9) dx
4.
sin 2 x dx
5.
cos 2 x dx dx 1 x2 x dx x2 1
6.
5 x
e dx
dx x2
7.
tan x dx
dx x
2
8.
cosec x dx
9.
10.
0 1
1
11.
12.
cos 2 x dx
13.
2 0
4
14.
2x 3 dx 5x2 1
15.
x e x dx
16.
5x2 17. x2 4 x 3
(2sec 2 x x3 2) dx
18.
(sin 2
x x cos 2 ) dx 2 2
19.
21.
dx equals 1 x2
(A)
2 3 0
3
dx equals 4 9 x2
(B)
2 3
(C)
(D)
12
22.
(A)
(B)
12
(C)
24
(D)
INTEGRALS
339
To evaluate f ( x) dx , by substitution, the steps could be as follows: a 1. Consider the integral without limits and substitute, y = f (x) or x = g(y) to reduce the given integral to a known form. 2. Integrate the new integrand with respect to the new variable without mentioning the constant of integration. 3. Resubstitute for the new variable and write the answer in terms of the original variable. 4. Find the values of answers obtained in (3) at the given limits of integral and find the difference of the values at the upper and lower limits.
Note In order to quicken this method, we can proceed as follows: After performing steps 1, and 2, there is no need of step 3. Here, the integral will be kept in the new variable itself, and the limits of the integral will accordingly be changed, so that we can perform the last step.
Let us illustrate this by examples. Example 28 Evaluate 5 x 4 x 5 1 dx . 1 Solution Put t = x5 + 1, then dt = 5x4 dx. Therefore,
1
2 2 2 4 5 t = ( x 5 1) 2 5 x x 1 dx = t dt = 3 3
1 5 x
1 4
Hence,
2 x 1 dx = ( x5 1) 2 3
5
3 1
2 5 5 = (1 1) 2 ( 1) 1 2 3
3 3 2 4 2 2 2 = 2 0 2 = (2 2) 3 3 3
Alternatively, first we transform the integral and then evaluate the transformed integral with new limits.
340
MATHEMATICS
Let t = x5 + 1. Then dt = 5 x4 dx. Note that, when x = 1, t = 0 and when x = 1, t = 2 Thus, as x varies from 1 to 1, t varies from 0 to 2 Therefore
5 x 4 x 5 1 dx = 1
t dt
3 2
2 2 t = 3
Example 29 Evaluate
1 1
2 2 2 4 2 2 (2 2) 2 0 = 3 3 3
tan x dx 1 x2 1 Solution Let t = tan 1x, then dt dx . The new limits are, when x = 0, t = 0 and 1 x2
0
when x = 1, t
Therefore
tan 1 x dx = 1 x2
4 t 0
dt
2 t 4 2 0
2 1 2 0 2 16 32
EXERCISE 7.10
Evaluate the integrals in Exercises 1 to 8 using substitution.
1
1. 4. 6.
x x
2
0
2
dx
2.
sin cos5 d 3.
5. 8.
sin 1
2x dx 2 1 x
0
2
x x 2 (Put x + 2 = t2)
sin x dx 1 cos 2 x
2 1 1 x
1 2x e dx 2 x2
1 3 3 (x x )
1
3
x4
dx is
(C) 3 (D) 4
(B) 0
0
10. If f (x) =
INTEGRALS
341
a f ( x) dx a f (t ) dt a f ( x) dx b f ( x) dx . In particular, a f ( x) dx 0 a f ( x) dx a f ( x) dx c f ( x) dx a f ( x) dx a f (a b x) dx 0 f ( x) dx 0 f (a x) dx
(Note that P4 is a particular case of P3)
a a b b
b c b
P5 : P6 :
2a
P7 :
(ii) f ( x) dx 0 , if f is an odd function, i.e., if f ( x) = f (x). a We give the proofs of these properties one by one. Proof of P0 It follows directly by making the substitution x = t. Proof of P1 Let F be anti derivative of f. Then, by the second fundamental theorem of calculus, we have
c f ( x) dx = F(b) F(c)
342
MATHEMATICS
Adding (2) and (3), we get f ( x) dx f ( x) dx F(b) F(a) f ( x) dx a c a This proves the property P2. Proof of P3 Let t = a + b x. Then dt = dx. When x = a, t = b and when x = b, t = a. Therefore
a f ( x) dx = b f (a b t ) dt
= a f (a b t ) dt (by P1) = a f (a b x) dx by P0 Proof of P4 Put t = a x. Then dt = dx. When x = 0, t = a and when x = a, t = 0. Now proceed as in P3. Proof of P5 Using P2, we have f ( x) dx f ( x) dx f ( x) dx . a 0 0 Let t = 2a x in the second integral on the right hand side. Then dt = dx. When x = a, t = a and when x = 2a, t = 0. Also x = 2a t. Therefore, the second integral becomes
2a a 2a b b
2a
0 f ( x) dx = 0 f ( x) dx 0 f (2a x) dx
2a a a
2a
Proof of P6 Using P5, we have 0 f ( x) dx 0 f ( x) dx 0 f (2a x) dx Now, if f (2a x) = f (x), then (1) becomes
2a a a a
... (1)
0 f ( x) dx = 0 f ( x) dx 0 f ( x) dx 2 0 f ( x) dx,
and if f (2a x) = f (x), then (1) becomes
2a a a
0 f ( x) dx = 0 f ( x) dx 0 f ( x) dx 0 Proof of P7 Using P2, we have a f ( x) dx = a f ( x) dx 0 f ( x) dx . Then t = x in the first integral on the right hand side. dt = dx. When x = a, t = a and when x = 0, t = 0. Also x = t.
a
0 a
Let
INTEGRALS
343
Therefore
f ( x) dx = f (t ) dt f ( x) dx
a 0 a
f ( x) dx f ( x) dx
0 a
(i) Now, if f is an even function, then f (x) = f (x) and so (1) becomes
a
f ( x) dx f ( x ) dx f ( x) dx 2 f ( x) dx
0 0 0
f ( x) dx f ( x) dx f ( x) dx 0
0 0 2
Example 30 Evaluate
x3 x dx
x3 x dx =
=
1
0
( x 3 x) dx ( x 3 x) dx ( x3 x) dx
0 1
( x 3 x) dx ( x x3 ) dx ( x3 x) dx
0 1
x4 4
x2 x2 x4 2 1 2 4 0
x4 4
x2 2 1
= =
1 1 1 1 1 1 4 2 2 2 4 2 4 4
1 1 1 1 1 1 3 3 11 2 = 2 4 2 2 4 4 2 2 4 4
Example 31 Evaluate
sin 2 x dx
4 4
sin 2 x dx = 2 4 sin 2 x dx 0
344
MATHEMATICS
0
4
2 4 0
x
(1 cos 2 x ) dx = 2
4
(1 cos 2 x) dx
1 4 sin 2 x = 2 0
1 1 sin 0 2 2 4 2
x sin x dx 1 cos 2 x
I= = or or 2I= I=
( x) sin ( x) dx 1 cos 2 ( x)
( x) sin x dx = 1 cos 2 x
0
sin x dx I 1 cos 2 x
sin x dx 1 cos 2 x
sin x dx 2 1 cos 2 x Put cos x = t so that sin x dx = dt. When x = 0, t = 1 and when x = , t = 1. Therefore, (by P1) we get
0
I= =
2
0
1 1
1
dt 2 = 2 1 t
dt 1 t2
tan
1
tan 0
1 tan 1 0 0 4 4
sin 5 x cos 4 x dx
f ( x) = sin5 ( x) cos4 ( x) = sin5 x cos4 x = f (x), i.e., f is an odd function. Therefore, by P7 (ii), I = 0
INTEGRALS
345
Example 34 Evaluate
2 0
2 0
... (1)
sin 4 ( sin 4 (
I=
2 0
x)
x) cos 4 (
dx =
x)
2 0
... (2)
2I = Hence I=
2 0
Example 35 Evaluate
dx 1 tan x
6 3
Solution Let I =
dx tan x
cos x dx cos x
3
sin x
... (1)
cos cos
Then, by P3
I=
x dx
x sin
... (2)
2I =
dx x 3
6
. Hence I
12
346
MATHEMATICS
Example 36 Evaluate
log sin x dx
log sin x dx
I=
2 0
log sin
x dx 2 log cos x dx
2I =
sin 2 x dx 2 log 2 dx
0
(Why?)
Put 2x = t in the first integral. Then 2 dx = dt, when x = 0, t = 0 and when x t = . Therefore 2I =
log sin x dx
= I
log 2 log 2 . 2
Hence
log sin x dx =
INTEGRALS
347
EXERCISE 7.11
By using the properties of definite integrals, evaluate the integrals in Exercises 1 to 19.
1.
cos 2 x dx
2.
dx 3.
sin 2 x dx
3 3
sin 2 x cos 2 x
8
4.
2 0
5.
| x 2 | dx
6.
x 5 dx
7.
x (1 x) n dx
8.
log (1 tan x) dx
9.
x 2 x dx
sin 2 x dx
10.
11.
sin 7 x dx
0
2 0
13. 16.
14. 17.
0
a
cos5 x dx
x dx ax
log (1 cos x) dx
x 1 dx
a
and g(x) + g(a x) = 4 Choose the correct answer in Exercises 20 and 21.
( x3 x cos x tan 5 x 1) dx is
(B) 2
0
2
(C)
(D) 1
log
4 3 sin x dx is 4 3 cos x
(B)
3 4
(C) 0
(D) 2
348
MATHEMATICS
Miscellaneous Examples
Example 37 Find cos 6 x 1 sin 6 x dx Solution Put t = 1 + sin 6x, so that dt = 6 cos 6x dx Therefore
cos 6 x 1 sin 6 x dx
1 2 t dt 6
=
1 2 2 1 (t ) C = (1 sin 6 x) 2 C 6 3 9
( x 4 x) 4 Example 38 Find dx x5
( x4 x5
1 x) 4
dx
(1
1 4 ) x3 dx x4
1 3 1 x 3 t , so that 4 dx dt 3 x x
1
1 1 4 4 4 1 4 ( x 4 x) 4 1 4 Therefore = t C = 1 dx t dt C 3 5 15 x3 3 x5
x 4 dx Example 39 Find ( x 1) ( x 2 1)
Solution We have
1 x4 = ( x 1) 3 2 2 x x x 1 ( x 1) ( x 1)
= ( x 1)
1 ( x 1) ( x 2 1)
... (1)
Now express
1 A Bx C 2 = 2 ( x 1) ( x 1) ( x 1)( x 1)
... (2)
INTEGRALS
349
So
x 1 1 1 x4 = ( x 1) 2 2 2 2( x 1) 2 ( x 1) 2( x 1) ( x 1) ( x x 1)
Therefore
x4 x2 1 1 1 dx x log x 1 log ( x 2 1) tan 1 x C ( x 1) ( x 2 x 1) 2 2 4 2
1 Example 40 Find log (log x) dx (log x )2 1 Solution Let I log (log x) dx (log x)2
1 dx (log x)2 In the first integral, let us take 1 as the second function. Then integrating it by parts, we get
= log (log x) dx I = x log (log x) = x log (log x )
dx Again, consider , take 1 as the second function and integrate it by parts, log x
... (2)
350
MATHEMATICS
I x log (log x)
Then
I = t 1
1 2t dt t 2 (1 t 4 )
1 1 dt 1 1 dt 2 (t 1) t t2 dt = 2 =2 = 2 4 2 t2 1 t 1 t 1 2 2 t t
2
Put t
1 = y, so that t
1 1 2 dt = dy. Then t
dy y 2
2 2
I = 2
2 tan 1
y 2
t 1 t C C = 2 tan 1
2
2 tan 1
INTEGRALS
351
Example 43 Evaluate
x sin ( x) dx
x sin x for 1 x 1 3 x sin x for 1 x 2
3 dx 2 1
3
Therefore
3 2 | 1
x sin x | dx =
1
1
x sin x
x sin x dx
x sin x dx 2 x sin x dx
1
x sin x | dx =
x cos x
sin x
x cos 1
sin x 2
1 3 1 1 2 2
2 2
x dx a cos x b 2 sin 2 x
0 0 0
dx I a cos x b 2 sin 2 x
2 2
dx a cos x b 2 sin 2 x
2 2
352
MATHEMATICS
2 0
2
or (using P6)
I=
dx 2 2 a cos x b 2 sin 2 x
dx a cos x b 2 sin 2 x
2 2
2 0
sec2 x dx a 2 b 2 tan 2 x
Therefore,
dt
b 0 a2 t 2
1 1 t tan b a a 0
0 ab 2 2 ab
2.
1 x a x b
3.
1 x ax x 2
1 x3
[Hint: Put x =
a ] t
4.
1
3 2 4 x ( x 1) 4
5.
1
1 x2 1 x3
[Hint:
1
1 x2
1
1 x 3 1
1 x6
, put x = t6]
6.
5x ( x 1) ( x 2 9)
cos x 4 sin 2 x
7.
sin x sin ( x a)
sin 8 cos8 x 1 2sin 2 x cos 2 x
8.
e5 log x e3 log x
e e
4 log x 2 log x
9.
10.
11.
1 cos ( x a) cos ( x b)
1 ( x 1) ( x 2 4)
2
12.
x3
13.
ex (1 e x ) (2 e x )
14. 17.
sin x sin ( x )
1 x 1 x
20.
22.
x2 x 1 ( x 1) 2 ( x 2)
INTEGRALS
353
23.
tan 1
x 1 sin x cos 2 x dx 4 sin x cos x 2 e dx 25. 26. 27. dx 0 cos 2 x 4 sin 2 x 0 cos 4 x sin 4 x 1 cos x 2 1 dx 4 sin x cos x 3 sin x cos x dx dx 29. 0 28. 30. 0 9 16 sin 2 x 1 x x sin 2 x
6
31. 2 sin 2 x tan 1 (sin x) dx 0 33. 1 [ x 1| | x 2 | | x 3 |] dx Prove the following (Exercises 34 to 39)
3 dx 2 2 log 34. 1 2 3 x ( x 1) 3
x 35. 0 x e dx 1
17 4 36. 1 x cos x dx 0
37.
38. 4 2 tan 3 x dx 1 log 2 0 40. Evaluate e 2 3 x dx as a limit of a sum. 0 Choose the correct answers in Exercises 41 to 44.
1
3 2 0 sin x dx 3
1 39. sin x dx 1 0 2 1
1 C sin x cos x
354
MATHEMATICS
ab b f (b x) dx 2 a ba b f ( x) dx 2 a
(B) (D)
ab b f (b x ) dx 2 a
ab b f ( x) dx 2 a
(A) 1
(B) 0
(C) 1
(D)
Summary
Integration is the inverse process of differentiation. In the differential calculus, we are given a function and we have to find the derivative or differential of this function, but in the integral calculus, we are to find a function whose differential is given. Thus, integration is a process which is the inverse of differentiation. d F( x) f ( x) . Then we write f ( x) dx F ( x) C . These integrals Let dx are called indefinite integrals or general integrals, C is called constant of integration. All these integrals differ by a constant. From the geometric point of view, an indefinite integral is collection of family of curves, each of which is obtained by translating one of the curves parallel to itself upwards or downwards along the y-axis. Some properties of indefinite integrals are as follows:
1. [ f ( x) g ( x)] dx f ( x) dx g ( x) dx 2. For any real number k, k f ( x) dx k f ( x) dx More generally, if f1, f2, f3, ... , fn are functions and k1, k2, ... ,kn are real numbers. Then
[ k1
f1 ( x) k2 f 2 ( x) ... kn f n ( x )] dx
= k1 f1 ( x) dx k2 f 2 ( x) dx ... kn f n ( x) dx
INTEGRALS
355
(ix)
x C , n 1. Particularly, dx x C n 1 (iii) sin x dx cos x C cos x dx sin x C (v) cosec x dx cot x C sec x dx tan x C sec x tan x dx sec x C dx cosec x cot x dx cosec x C (viii) 1 x sin x C dx dx tan x C 1 x cos x C (x) 1 x x n dx
2 2 1 2 1 1 2 2
dx 1 x cot x C
1 2
(xii) (xiv)
e dx e C
x x
a x dx
a log C a
x
x x 1 cosec x C
dx
2 1
(xvi)
dx x x 1 sec x C 1 x dx log | x | C
1 2
P( x) , Q( x) where P(x) and Q (x) are polynomials in x and Q (x) 0. If degree of the polynomial P (x) is greater than the degree of the polynomial Q (x), then we
Recall that a rational function is ratio of two polynomials of the form
P( x) Q( x)
P ( x) , where T(x) is a T ( x) Q( x)
1
polynomial in x and degree of P1 (x) is less than the degree of Q(x). T(x) being polynomial can be easily integrated.
P1 ( x) can be integrated by Q( x)
356
MATHEMATICS
expressing 1.
A
=
2.
xa
B ( x a)2
3.
A xa
A xa
A xa
B xb
C xc
4.
B C 2 xb ( x a)
Bx + C x bx c
2
5.
where x2 + bx + c can not be factorised further. Integration by substitution A change in the variable of integration often reduces an integral to one of the fundamental integrals. The method in which we change the variable to some other variable is called the method of substitution. When the integrand involves some trigonometric functions, we use some well known identities to find the integrals. Using substitution technique, we obtain the following standard integrals. (i) tan x dx log sec x C (iii) sec x dx log sec x tan x C (iv) cosec x dx log cosec x cot x C Integrals of some special functions (ii) cot x dx log sin x C
INTEGRALS
357
(iv) (vi)
dx x2 a2 dx
2 2
dx a2 x2
sin 1
x C a
d f1 ( x) f 2 ( x) dx f1 ( x) f 2 ( x) dx dx f1 ( x) f 2 ( x) dx dx , i.e., the
integral of the product of two functions = first function integral of the second function integral of {differential coefficient of the first function integral of the second function}. Care must be taken in choosing the first function and the second function. Obviously, we must take that function as the second function whose integral is well known to us.
x x e [ f ( x) f ( x)] dx e f ( x) dx C Some special types of integrals
dx dx or (iv) Integrals of the types 2 can be 2 ax bx c ax bx c transformed into standard form by expressing
2 ax + bx + c = a x
2
b c b c b2 x a x a 4a 2 a a a 2
2
358
MATHEMATICS
d (ax 2 bx c) B A (2ax b) B , where A and B are dx determined by comparing coefficients on both sides. px q A
We have defined a f ( x) dx as the area of the region bounded by the curve y = f (x), a x b, the x-axis and the ordinates x = a and x = b. Let x be a
given point in [a, b]. Then a f ( x) dx represents the Area function A (x). This concept of area function leads to the Fundamental Theorems of Integral Calculus. First fundamental theorem of integral calculus Let the area function be defined by A(x) = f ( x) dx for all x a, where a the function f is assumed to be continuous on [a, b]. Then A (x) = f (x) for all x [a, b]. Second fundamental theorem of integral calculus Let f be a continuous function of x defined on the closed interval [a, b] and let F be another function such that
b b
x
f, then f ( x) dx F( x) Ca F (b) F (a) . a This is called the definite integral of f over the range [a, b], where a and b are called the limits of integration, a being the lower limit and b the upper limit.
Chapter
APPLICATION OF INTEGRALS
One should study Mathematics because it is only through Mathematics that nature can be conceived in harmonious form. BIRKHOFF
8.1 Introduction
In geometry, we have learnt formulae to calculate areas of various geometrical figures including triangles, rectangles, trapezias and circles. Such formulae are fundamental in the applications of mathematics to many real life problems. The formulae of elementary geometry allow us to calculate areas of many simple figures. However, they are inadequate for calculating the areas enclosed by curves. For that we shall need some concepts of Integral Calculus. In the previous chapter, we have studied to find the area bounded by the curve y = f (x), the ordinates x = a, x = b and x-axis, while calculating definite integral as the limit of a sum. Here, in this chapter, we shall study a specific application of integrals to find the area under simple curves, area between lines and arcs of circles, parabolas and ellipses (standard forms only). We shall also deal with finding the area bounded by the above said curves.
Fig 8.1
360
MATHEMATICS
This area is called the elementary area which is located at an arbitrary position within the region which is specified by some value of x between a and b. We can think of the total area A of the region between x-axis, ordinates x = a, x = b and the curve y = f (x) as the result of adding up the elementary areas of thin strips across the region PQRSP. Symbolically, we express A = a dA a ydx a f ( x ) dx The area A of the region bounded by the curve x = g (y), y-axis and the lines y = c, y = d is given by A = c xdy c g ( y) dy Here, we consider horizontal strips as shown in the Fig 8.2
Fig 8.2
d d
b b b
Remark If the position of the curve under consideration is below the x-axis, then since f (x) < 0 from x = a to x = b, as shown in Fig 8.3, the area bounded by the curve, x-axis and the ordinates x = a, x = b come out to be negative. But, it is only the numerical value of the area which is taken into consideration. Thus, if the area is negative, we take its absolute value, i.e., f ( x ) dx . a
b
Fig 8.3
Generally, it may happen that some portion of the curve is above x-axis and some is below the x-axis as shown in the Fig 8.4. Here, A1 < 0 and A2 > 0. Therefore, the area A bounded by the curve y = f (x), x-axis and the ordinates x = a and x = b is given by A = | A1 | + A2.
APPLICATION OF INTEGRALS
361
Fig 8.4
Example 1 Find the area enclosed by the circle x2 + y2 = a2. Solution From Fig 8.5, the whole area enclosed by the given circle = 4 (area of the region AOBA bounded by the curve, x-axis and the ordinates x = 0 and x = a) [as the circle is symmetrical about both x-axis and y-axis] = 4 0 ydx (taking vertical strips)
2 2 = 4 a x dx 0 a a
Since x2 + y2 = a2 gives
y = a 2 x2
Fig 8.5
As the region AOBA lies in the first quadrant, y is taken as positive. Integrating, we get the whole area enclosed by the given circle
x 4 2
a2 x sin 1 a x 2 a 0
2 2
a a2 a2 1 2 4 0 sin 1 0 4 = = a 2 2 2 2
362
MATHEMATICS
Alternatively, considering horizontal strips as shown in Fig 8.6, the whole area of the region enclosed by circle = 4 xdy = 4 a 2 y 2 dy 0 0 =
y 4 2
a
(Why?)
a2 sin 1 a y 2
2 2
y a 0
a a2 sin 1 1 0 = 4 0 2 2
= 4
a2 2 a 2 2
Fig 8.6
x2 y2 2 1 2 a b Solution From Fig 8.7, the area of the region ABABA bounded by the ellipse
Example 2 Find the area enclosed by the ellipse
= 4
area of the region AOBA in the first quadrant bounded by the curve, x axis and the ordinates x 0, x a
= 4 0
b 2 a x 2 dx a
a
4b x 2 2 a 2 1 x = a x sin (Why?) a 2 a 0 2
4b a a 2 1 0 sin 1 0 = a 2 2
4b a 2 ab a 2 2
Fig 8.7
APPLICATION OF INTEGRALS
363
Alternatively, considering horizontal strips as shown in the Fig 8.8, the area of the ellipse is
a = 4 xdy = 4 b2 y 2 dy (Why?) 0 b0
b
b2 y 4a y 2 b y 2 sin 1 = b 2 b 0 2
4 a b b2 0 sin 1 1 0 = b 2 2
Fig 8.8
4a b2 ab b 2 2
8.2.1 The area of the region bounded by a curve and a line In this subsection, we will find the area of the region bounded by a line and a circle, a line and a parabola, a line and an ellipse. Equations of above mentioned curves will be in their standard forms only as the cases in other forms go beyond the scope of this textbook. Example 3 Find the area of the region bounded by the curve y = x2 and the line y = 4. Solution Since the given curve represented by the equation y = x2 is a parabola symmetrical about y-axis only, therefore, from Fig 8.9, the required area of the region AOBA is given by
2 xdy = 0
Fig 8.9
area of the region BONB bounded by curve, y axis 2 and the lines y 0 and y = 4
4
= 2 0
2 ydy = 2 y 2 3
3 4
4 32 8 3 3
(Why?)
364
MATHEMATICS
Alternatively, we may consider the vertical strips like PQ as shown in the Fig 8.10 to obtain the area of the region AOBA. To this end, we solve the equations x2 = y and y = 4 which gives x = 2 and x = 2. Thus, the region AOBA may be stated as the region bounded by the curve y = x2, y = 4 and the ordinates x = 2 and x = 2. Therefore, the area of the region AOBA
2
ydx
Fig 8.10
[ y = ( y-coordinate of Q) (y-coordinate of P) = 4 x2 ]
2 = 2 0 4 x dx 2
(Why?)
= 2 4x
x3 3 0
8 4 2 32 3 3
Remark From the above examples, it is inferred that we can consider either vertical strips or horizontal strips for calculating the area of the region. Henceforth, we shall consider either of these two, most preferably vertical strips. Example 4 Find the area of the region in the first quadrant enclosed by the x-axis, the line y = x, and the circle x2 + y2 = 32. Y Solution The given equations are y= x ... (1) y=x 2 2 B ... (2) and x + y = 32 (4,4) Solving (1) and (2), we find that the line and the circle meet at B(4, 4) in the first quadrant (Fig 8.11). Draw perpendicular A X' X BM to the x-axis. M O (4 2 ,0) Therefore, the required area = area of the region OBMO + area of the region BMAB. Now, the area of the region OBMO = =
4
ydx xdx
0
2 4
... (3)
Y'
1 x 2
=8
Fig 8.11
APPLICATION OF INTEGRALS
365
ydx =
4 2
32 x 2 dx
1
1 = x 32 x 2 2
1 2
32 sin
4 2
4 2 4
1 1 4 2 0 32 sin 1 1 2 2
4 1 1 32 16 32 sin 1 2 2 2
= 8 (8 + 4) = 4 8 Adding (3) and (4), we get, the required area = 4. Example 5 Find the area bounded by the ellipse and x = ae, where, b2 = a2 (1 e2) and e < 1.
... (4)
Solution The required area (Fig 8.12) of the region BOBRFSB is enclosed by the ellipse and the lines x = 0 and x = ae. Note that the area of the region BOBRFSB
= 2 0
ae
ydx = 2 b a
ae
x dx
a2 x 2b x 2 a x2 sin 1 = a 2 a 0 2
=
ae
2b ae a 2 a 2 e 2 2a
a 2 sin 1 e
Fig 8.12
e 1 e2 = ab
sin 1 e
EXERCISE 8.1
1. Find the area of the region bounded by the curve y2 = x and the lines x = 1, x = 4 and the x-axis. 2. Find the area of the region bounded by y2 = 9x, x = 2, x = 4 and the x-axis in the first quadrant.
366
MATHEMATICS
3. Find the area of the region bounded by x2 = 4y, y = 2, y = 4 and the y-axis in the first quadrant. 4. Find the area of the region bounded by the ellipse
x2 y2 1 . 16 9
6. Find the area of the region in the first quadrant enclosed by x-axis, line x = 3 y and the circle x2 + y2 = 4. 7. Find the area of the smaller part of the circle x2 + y2 = a2 cut off by the line x
a . 2 8. The area between x = y2 and x = 4 is divided into two equal parts by the line x = a, find the value of a.
9. Find the area of the region bounded by the parabola y = x2 and y = x . 10. Find the area bounded by the curve x2 = 4y and the line x = 4y 2. 11. Find the area of the region bounded by the curve y2 = 4x and the line x = 3. Choose the correct answer in the following Exercises 12 and 13. 12. Area lying in the first quadrant and bounded by the circle x2 + y2 = 4 and the lines x = 0 and x = 2 is
2 3 4 2 13. Area of the region bounded by the curve y = 4x, y-axis and the line y = 3 is
(A) 2 (B)
(A)
(B)
(C)
(D)
9 4
(C)
9 3
(D)
9 2
APPLICATION OF INTEGRALS
367
Fig 8.13
A=
[f ( x) g ( x)] dx
Alternatively, A = [area bounded by y = f (x), x-axis and the lines x = a, x = b] [area bounded by y = g (x), x-axis and the lines x = a, x = b]
b
If f (x) g (x) in [a, c] and f (x) g (x) in [c, b], where a < c < b as shown in the Fig 8.14, then the area of the regions bounded by curves can be written as Total Area = Area of the region ACBDA + Area of the region BPRQB
c
f ( x) g ( x) dx
b c
g ( x) f ( x) dx
Fig 8.14
368
MATHEMATICS
Example 6 Find the area of the region bounded by the two parabolas y = x2 and y2 = x. Solution The point of intersection of these two parabolas are O (0, 0) and A (1, 1) as shown in the Fig 8.15. Here, we can set y 2 = x or y = x = f(x) and y = x2 = g (x), where, f (x) g (x) in [0, 1]. Therefore, the required area of the shaded region
1
f ( x ) g ( x ) dx
2 2 x dx 3
3 x2
x3 3
Fig 8.15
2 1 1 3 3 3 Example 7 Find the area lying above x-axis and included between the circle x2 + y2 = 8x and the parabola y2 = 4x.
= Solution The given equation of the circle x 2 + y 2 = 8 x can be expressed as (x 4)2 + y2 = 16. Thus, the centre of the Y circle is (4, 0) and radius is 4. Its intersection P (4, 4) with the parabola y2 = 4x gives x2 + 4x = 8x or x2 4x = 0 or x (x 4) = 0 X X C (4, 0) O Q (8, 0) or x = 0, x = 4 Thus, the points of intersection of these two curves are O(0, 0) and P(4,4) above the x-axis. From the Fig 8.16, the required area of the region OPQCO included between these Fig 8.16 Y two curves above x-axis is = (area of the region OCPO) + (area of the region PCQP) =
4
ydx ydx
4 4 0
= 2
x dx
8 4
42 ( x 4) 2 dx
(Why?)
APPLICATION OF INTEGRALS
369
= 2
2 2 x 3
3 4
0 0
42 t 2 dt , where, x 4 t
4
(Why?)
t 32 t 1 42 t 2 42 sin 1 = 3 2 2 4 0
32 4 1 2 1 0 4 sin 1 3 2 2
4 32 32 (8 3) 0 8 4 = 3 3 2 3
Example 8 In Fig 8.17, AOBA is the part of the ellipse 9x2 + y2 = 36 in the first quadrant such that OA = 2 and OB = 6. Find the area between the arc AB and the chord AB. Solution Given equation of the ellipse 9x2 + y2 = 36 can be expressed as
x2 4
y2 36
or
x2 22
y2 62
1 and
60 ( x 2) 02 y = 3(x 2)
y = 3x + 6
2
4 x 2 dx (6 3x )dx (Why?) 0
4 x
2
x 3 2 2 2
4 1 x 3x 2 sin 6 x 2 2 2 0 0
Fig 8.17
= 3
2sin 1 (1) 12
12 2
6 = 3 6
370
MATHEMATICS
Example 9 Using integration find the area of region bounded by the triangle whose vertices are (1, 0), (2, 2) and (3, 1). Solution Let A (1, 0), B (2, 2) and C (3, 1) be the vertices of a triangle ABC (Fig 8.18). Area of ABC = Area of ABD + Area of trapezium BDEC Area of AEC Now equation of the sides AB, BC and CA are given by
Fig 8.18
2 3 3 x 1 dx area of ABC = 1 2 ( x 1) dx 2 (4 x) dx 1 2
x2 1 x2 x2 = 2 x 4 x x 2 2 2 2 2 1 1
= 2 =
2 2 1 2 1 32 22 2 1 4 3 4 2 1 3 3 1 2 2 2 2 2 2 2
3 2 Example 10 Find the area of the region enclosed between the two circles: x2 + y2 = 4 and (x 2)2 + y2 = 4.
Solution Equations of the given circles are ... (1) x2 + y2 = 4 2 2 and (x 2) + y = 4 ... (2) Equation (1) is a circle with centre O at the origin and radius 2. Equation (2) is a circle with centre C (2, 0) and radius 2. Solving equations (1) and (2), we have (x 2)2 + y2 = x2 + y2 or x2 4x + 4 + y2 = x2 + y2 x = 1 which gives y = 3 Thus, the points of intersection of the given circles are A(1, 3 ) and A(1, 3 ) as shown in the Fig 8.19. or
Fig 8.19
APPLICATION OF INTEGRALS
371
Required area of the enclosed region O ACAO between circles = 2 [area of the region ODCAO] (Why?) = 2 [area of the region ODAO + area of the region DCAD]
y dx y dx = 2 0 1
2 2 = 2 0 4 ( x 2) dx 1 1
1 2
4 x 2 dx
(Why?)
1
1 2 2
1 x 2 ( x 2) 4 ( x 2) 4sin 1 2 2 0
2
+ 2 =
1 2
x 4 x2
1 1 x 4sin 2 2 1
2 1
( x 2)
x 2 2 4 ( x 2) 4sin x 4 x 2 0
1 1 1 4sin ( 1) 4sin 1 2
4sin 1
x 2 1
1 2
3 4sin 1
3 4sin 1
= = =
3 4
3
4 4 6 2 2
3 4
2 2 2 2 3 3 3
8 2 3 3
EXERCISE 8.2
1. Find the area of the circle 4x2 + 4y2 = 9 which is interior to the parabola x2 = 4y. 2. Find the area bounded by curves (x 1)2 + y2 = 1 and x2 + y2 = 1. 3. Find the area of the region bounded by the curves y = x2 + 2, y = x, x = 0 and x = 3. 4. Using integration find the area of region bounded by the triangle whose vertices are ( 1, 0), (1, 3) and (3, 2). 5. Using integration find the area of the triangular region whose sides have the equations y = 2x + 1, y = 3x + 1 and x = 4.
372
MATHEMATICS
Choose the correct answer in the following exercises 6 and 7. 6. Smaller area enclosed by the circle x2 + y2 = 4 and the line x + y = 2 is (B) 2 (C) 2 1 (D) 2 ( + 2) (A) 2 ( 2) 2 7. Area lying between the curves y = 4x and y = 2x is (A)
2 3
(B)
1 3
(C)
1 4
(D)
3 4
Miscellaneous Examples
Example 11 Find the area of the parabola y2 = 4ax bounded by its latus rectum. Solution From Fig 8.20, the vertex of the parabola y2 = 4ax is at origin (0, 0). The equation of the latus rectum LSL is x = a. Also, parabola is
xdx
a
2 = 4 a x2 3
3
Fig 8.20
0
8 8 a a 2 = a2 3 3
Example 12 Find the area of the region bounded by the line y = 3x + 2, the x-axis and the ordinates x = 1 and x = 1. Solution As shown in the Fig 8.21, the line y = 3x + 2 meets x-axis at x =
2 and above 3
Fig 8.21
2 ,1 . 3
APPLICATION OF INTEGRALS
373
The required area = Area of the region ACBA + Area of the region ADEA
2
(3 x 2)dx
2
3
(3 x 2)dx
3x 2 3 3x 2 2 x 2 x 2 1 2 2
3
1 25 13 6 6 3
Example 13 Find the area bounded by the curve y = cos x between x = 0 and x = 2. Solution From the Fig 8.22, the required area = area of the region OABO + area of the region BCDB + area of the region DEFD. Thus, we have the required area
3 2 2 3 2
Fig 8.22
cos x dx
cos x dx
cos x dx
2 2 = sin x0 sin x 2
2 sin x 3 2
=1+2+1=4 Example 13 Prove that the curves y2 = 4x and x2 = 4y divide the area of the square bounded by x = 0, x = 4, y = 4 and y = 0 into three equal parts. Solution Note that the point of intersection of the parabolas y2 = 4x and x2 = 4y are (0, 0) and (4, 4) as
Fig 8.23
374
MATHEMATICS
shown in the Fig 8.23. Now, the area of the region OAQBO bounded by curves y2 = 4x and x2 = 4y. =
0 2
4
x2 2 2 x3 dx x 2 = 4 3 12
32 16 16 ... (1) 3 3 3 Again, the area of the region OPQAO bounded by the curves x2 = 4y, x = 0, x = 4 and x-axis
=
x2 1 3 4 16 ... (2) dx x 0 4 12 0 3 Similarly, the area of the region OBQRO bounded by the curve y2 = 4x, y-axis, y = 0 and y = 4
xdy
4 0
y2 1 3 4 16 dy y 4 12 0 3
... (3)
From (1), (2) and (3), it is concluded that the area of the region OAQBO = area of the region OPQAO = area of the region OBQRO, i.e., area bounded by parabolas y2 = 4x and x2 = 4y divides the area of the square in three equal parts. Example 14 Find the area of the region {(x, y) : 0 y x2 + 1, 0 y x + 1, 0 x 2} Solution Let us first sketch the region whose area is to be found out. This region is the intersection of the following regions. A1 = {(x, y) : 0 y x2 + 1}, X' A2 = {(x, y) : 0 y x + 1} and A3 = {(x, y) : 0 x 2}
Y
Q(1, 2)
Fig 8.24
The points of intersection of y = x2 + 1 and y = x + 1 are points P(0, 1) and Q(1, 2). From the Fig 8.24, the required region is the shaded region OPQRSTO whose area = area of the region OTQPO + area of the region TSRQT =
0 ( x 1) dx 1
1 2 2
( x 1) dx
(Why?)
APPLICATION OF INTEGRALS
375
x3 3
x 0
x2 2
x 1
1 1 0 3
1 23 1 = 2 6
x 3 dx .
5. Find the area bounded by the curve y = sin x between x = 0 and x = 2. 6. Find the area enclosed between the parabola y2 = 4ax and the line y = mx. 7. Find the area enclosed by the parabola 4y = 3x2 and the line 2y = 3x + 12. 8. Find the area of the smaller region bounded by the ellipse line
x2 9
y2 4
and the
x y 1 . 3 2
9. Find the area of the smaller region bounded by the ellipse line
x2 y 2 1 and the a 2 b2
x y 1 . a b
10. Find the area of the region enclosed by the parabola x2 = y, the line y = x + 2 and the x-axis. 11. Using the method of integration find the area bounded by the curve x y 1 . [Hint: The required region is bounded by lines x + y = 1, x y = 1, x + y = 1 and x y = 1].
376
MATHEMATICS
12. Find the area bounded by curves {(x, y) : y x2 and y = | x |}. 13. Using the method of integration find the area of the triangle ABC, coordinates of whose vertices are A(2, 0), B (4, 5) and C (6, 3). 14. Using the method of integration find the area of the region bounded by lines: 2x + y = 4, 3x 2y = 6 and x 3y + 5 = 0 15. Find the area of the region {(x, y) : y2 4x, 4x2 + 4y2 9} Choose the correct answer in the following Exercises from 16 to 20. 16. Area bounded by the curve y = x3, the x-axis and the ordinates x = 2 and x = 1 is (A) 9 (B)
15
4
(C)
15 4
(D)
17 4
17. The area bounded by the curve y = x | x | , x-axis and the ordinates x = 1 and x = 1 is given by (A) 0 (B)
1 3
(C)
2 3
(D)
4 3
[Hint : y = x2 if x > 0 and y = x2 if x < 0]. 18. The area of the circle x2 + y2 = 16 exterior to the parabola y2 = 6x is (A)
19. The area bounded by the y-axis, y = cos x and y = sin x when 0 x (A) 2 ( 2 1) (B)
2 1
is
(C)
2 1
(D)
Summary
The area of the region bounded by the curve y = f (x), x-axis and the lines
x = a and x = b (b > a) is given by the formula: Area ydx f ( x) dx . a a
b b
The area of the region bounded by the curve x = (y), y-axis and the lines
y = c, y = d is given by the formula: Area xdy ( y)dy . c c
d d
APPLICATION OF INTEGRALS
377
The area of the region enclosed between two curves y = f (x), y = g (x) and
the lines x = a, x = b is given by the formula,
f (x) g (x) dx , where, f (x) g (x) in [a, b] If f (x) g (x) in [a, c] and f (x) g (x) in [c, b], a < c < b, then Area f ( x ) g ( x ) dx g ( x) f ( x) dx .
Area
b a
c b a c
Historical Note
The origin of the Integral Calculus goes back to the early period of development of Mathematics and it is related to the method of exhaustion developed by the mathematicians of ancient Greece. This method arose in the solution of problems on calculating areas of plane figures, surface areas and volumes of solid bodies etc. In this sense, the method of exhaustion can be regarded as an early method of integration. The greatest development of method of exhaustion in the early period was obtained in the works of Eudoxus (440 B.C.) and Archimedes (300 B.C.) Systematic approach to the theory of Calculus began in the 17th century. In 1665, Newton began his work on the Calculus described by him as the theory of fluxions and used his theory in finding the tangent and radius of curvature at any point on a curve. Newton introduced the basic notion of inverse function called the anti derivative (indefinite integral) or the inverse method of tangents. During 1684-86, Leibnitz published an article in the Acta Eruditorum which he called Calculas summatorius, since it was connected with the summation of a number of infinitely small areas, whose sum, he indicated by the symbol . In 1696, he followed a suggestion made by J. Bernoulli and changed this article to Calculus integrali. This corresponded to Newtons inverse method of tangents. Both Newton and Leibnitz adopted quite independent lines of approach which was radically different. However, respective theories accomplished results that were practically identical. Leibnitz used the notion of definite integral and what is quite certain is that he first clearly appreciated tie up between the antiderivative and the definite integral. Conclusively, the fundamental concepts and theory of Integral Calculus and primarily its relationships with Differential Calculus were developed in the work of P.de Fermat, I. Newton and G. Leibnitz at the end of 17th century.
378
MATHEMATICS
However, this justification by the concept of limit was only developed in the works of A.L. Cauchy in the early 19th century. Lastly, it is worth mentioning the following quotation by Lie Sophies: It may be said that the conceptions of differential quotient and integral which in their origin certainly go back to Archimedes were introduced in Science by the investigations of Kepler, Descartes, Cavalieri, Fermat and Wallis .... The discovery that differentiation and integration are inverse operations belongs to Newton and Leibnitz.
Chapter
13
PROBABILITY
The theory of probabilities is simply the Science of logic quantitatively treated. C.S. PEIRCE
13.1 Introduction
In earlier Classes, we have studied the probability as a measure of uncertainty of events in a random experiment. We discussed the axiomatic approach formulated by Russian Mathematician, A.N. Kolmogorov (1903-1987) and treated probability as a function of outcomes of the experiment. We have also established equivalence between the axiomatic theory and the classical theory of probability in case of equally likely outcomes. On the basis of this relationship, we obtained probabilities of events associated with discrete sample spaces. We have also studied the addition rule of probability. In this chapter, we shall discuss the important concept of conditional probability of an event given that another event has occurred, which will be helpful in understanding the Bayes' theorem, multiplication rule of Pierre de Fermat probability and independence of events. We shall also learn (1601-1665) an important concept of random variable and its probability distribution and also the mean and variance of a probability distribution. In the last section of the chapter, we shall study an important discrete probability distribution called Binomial distribution. Throughout this chapter, we shall take up the experiments having equally likely outcomes, unless stated otherwise.
532
MATHEMATICS
1 to each sample point. Let 8 E be the event at least two heads appear and F be the event first coin shows tail. Then E = {HHH, HHT, HTH, THH} and F = {THH, THT, TTH, TTT} Therefore P(E) = P ({HHH}) + P ({HHT}) + P ({HTH}) + P ({THH})
Since the coins are fair, we can assign the probability
and
Also with
1 1 1 1 1 8 8 8 8 2 E F = {THH}
= P(E F) = P({THH}) =
1 8 Now, suppose we are given that the first coin shows tail, i.e. F occurs, then what is the probability of occurrence of E? With the information of occurrence of F, we are sure that the cases in which first coin does not result into a tail should not be considered while finding the probability of E. This information reduces our sample space from the set S to its subset F for the event E. In other words, the additional information really amounts to telling us that the situation may be considered as being that of a new random experiment for which the sample space consists of all those outcomes only which are favourable to the occurrence of the event F. Now, the sample point of F which is favourable to event E is THH.
Thus, Probability of E considering F as the sample space =
1 , 4
1 4 This probability of the event E is called the conditional probability of E given that F has already occurred, and is denoted by P (E|F).
or Probability of E given that the event F has occurred = Thus
1 4 Note that the elements of F which favour the event E are the common elements of E and F, i.e. the sample points of E F.
P(E|F) =
PROBABILITY
533
Thus, we can also write the conditional probability of E given that F has occurred as P(E|F) =
n (E F) n (F)
Dividing the numerator and the denominator by total number of elementary events of the sample space, we see that P(E|F) can also be written as
n(E F) n(S) P(E|F) = n(F) n(S)
P(E F)
P(F)
... (1)
Note that (1) is valid only when P(F) 0 i.e., F (Why?) Thus, we can define the conditional probability as follows : Definition 1 If E and F are two events associated with the same sample space of a random experiment, the conditional probability of the event E given that F has occurred, i.e. P (E|F) is given by P(E|F) =
13.2.1 Properties of conditional probability Let E and F be events of a sample space S of an experiment, then we have Property 1 P (S|F) = P(F|F) = 1 We know that P (S|F) =
Also
P(F|F) =
Thus P(S|F) = P(F|F) = 1 Property 2 If A and B are any two events of a sample space S and F is an event of S such that P(F) 0, then P((A B)|F) = P (A|F) + P(B|F) P ((A B)|F)
534
MATHEMATICS
In particular, if A and B are disjoint events, then P((AB)|F) = P(A|F) + P(B|F) We have P((A B)|F) = =
P[(A B) F] P (F)
F) F]
= P (A|F) + P (B|F) P ((A B)|F) When A and B are disjoint events, then P ((A B)|F) = 0 P ((A B)|F) = P (A|F) + P (B|F) Property 3 P (E|F) = 1 P (E|F) From Property 1, we know that P (S|F) = 1 since S = E E P (E E|F) = 1 P (E|F) + P (E|F) = 1 since E and E are disjoint events Thus, P (E|F) = 1 P (E|F) Let us now take up some examples. Example 1 If P (A) =
4
9
Example 2 A family has two children. What is the probability that both the children are boys given that at least one of them is a boy ?
PROBABILITY
535
Solution Let b stand for boy and g for girl. The sample space of the experiment is S = {(b, b), (g, b), (b, g), (g, g)} Let E and F denote the following events : E : both the children are boys F : at least one of the child is a boy Then E = {(b,b)} and F = {(b,b), (g,b), (b,g)} Now E F = {(b,b)} Thus P (F) =
1 3 and P (E F )= 4 4
Therefore
P (E F) P (E|F) = P ( F)
1 3
1 4 3 4
Example 3 Ten cards numbered 1 to 10 are placed in a box, mixed up thoroughly and then one card is drawn randomly. If it is known that the number on the drawn card is more than 3, what is the probability that it is an even number? Solution Let A be the event the number on the card drawn is even and B be the event the number on the card drawn is greater than 3. We have to find P(A|B). Now, the sample space of the experiment is S = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} Then A = {2, 4, 6, 8, 10}, B = {4, 5, 6, 7, 8, 9, 10} and A B = {4, 6, 8, 10} Also P(A) =
5 7 4 , P ( B) = and P (A B) 10 10 10
Then
4 P (A B) 10 7 P(A|B) = P ( B) 10
4
7
Example 4 In a school, there are 1000 students, out of which 430 are girls. It is known that out of 430, 10% of the girls study in class XII. What is the probability that a student chosen randomly studies in Class XII given that the chosen student is a girl? Solution Let E denote the event that a student chosen randomly studies in Class XII and F be the event that the randomly chosen student is a girl. We have to find P (E|F).
536
MATHEMATICS
Now Then
P(F) = P(E|F) =
Example 5 A die is thrown three times. Events A and B are defined as below: A : 4 on the third throw B : 6 on the first and 5 on the second throw Find the probability of A given that B has already occurred. Solution The sample space has 216 outcomes.
Now
(1,1,4) (1,2,4) ... (1,6,4) (2,1,4) (2,2,4) ... (2,6,4) A = (3,1,4) (3,2,4) ... (3,6,4) (4,1,4) (4,2,4) ...(4,6,4) (5,1,4) (5,2,4) ... (5,6,4) (6,1,4) (6,2,4) ...(6,6,4)
B = {(6,5,1), (6,5,2), (6,5,3), (6,5,4), (6,5,5), (6,5,6)} A B = {(6,5,4)}. P (B) =
and Now
Then
Example 6 A die is thrown twice and the sum of the numbers appearing is observed to be 6. What is the conditional probability that the number 4 has appeared at least once? Solution Let E be the event that number 4 appears at least once and F be the event that the sum of the numbers appearing is 6. Then, E = {(4,1), (4,2), (4,3), (4,4), (4,5), (4,6), (1,4), (2,4), (3,4), (5,4), (6,4)} and F = {(1,5), (2,4), (3,3), (4,2), (5,1)} We have Also P(E) =
5 11 and P (F) = 36 36
E F = {(2,4), (4,2)}
PROBABILITY
537
Therefore
P(E F) =
2 36
2 P (E F) 36 5 P (E|F) = P (F) 36
2
5
For the conditional probability discussed above, we have considered the elementary events of the experiment to be equally likely and the corresponding definition of the probability of an event was used. However, the same definition can also be used in the general case where the elementary events of the sample space are not equally likely, the probabilities P (E F) and P (F) being calculated accordingly. Let us take up the following example. Example 7 Consider the experiment of tossing a coin. If the coin shows head, toss it again but if it shows tail, then throw a die. Find the conditional probability of the event that the die shows a number greater than 4 given that there is at least one tail. Solution The outcomes of the experiment can be represented in following diagrammatic manner called the tree diagram. The sample space of the experiment may be described as where (H, H) denotes that both the tosses result into head and (T, i) denote the first toss result into a tail and the number i appeared on the die for i = 1,2,3,4,5,6. Thus, the probabilities assigned to the 8 elementary events (H, H), (H, T), (T, 1), (T, 2), (T, 3) (T, 4), (T, 5), (T, 6)
Fig 13.1
Fig 13.2
538
MATHEMATICS
Let F be the event that there is at least one tail and E be the event the die shows a number greater than 4. Then F = {(H,T), (T,1), (T,2), (T,3), (T,4), (T,5), (T,6)} E = {(T,5), (T,6)} and E F = {(T,5), (T,6)} P (F) = P({(H,T)}) + P ({(T,1)}) + P ({(T,2)}) + P ({(T,3)}) + P ({(T,4)}) + P({(T,5)}) + P({(T,6)}) = and
Now
1 1 1 1 1 1 1 3 4 12 12 12 12 12 12 4 1 1 1 12 12 6
P (E F) = P ({(T,5)}) + P ({(T,6)}) =
Hence
1 P (E F) 6 2 P(E|F) = 3 9 P (F) 4
EXERCISE 13.1
1. Given that E and F are events such that P(E) = 0.6, P(F) = 0.3 and P(E F) = 0.2, find P (E|F) and P (F|E) 2. Compute P(A|B), if P(B) = 0.5 and P (A B) = 0.32 3. If P (A) = 0.8, P (B) = 0.5 and P (B|A) = 0.4, find (ii) P(A|B) (iii) P(A B) (i) P (A B) 4. Evaluate P(A B), if 2P(A) = P(B) = 5. If P(A) =
5 2 and P(A|B) = 13 5
6 5 7 , P(B) = and P(A B) , find 11 11 11 (i) P(AB) (ii) P(A|B) (iii) P(B|A) Determine P(E|F) in Exercises 6 to 9. 6. A coin is tossed three times, where (i) E : head on third toss , F : heads on first two tosses (ii) E : at least two heads , F : at most two heads (iii) E : at most two tails , F : at least one tail
PROBABILITY
539
Two coins are tossed once, where E : tail appears on one coin, F : one coin shows head E : no tail appears, F : no head appears A die is thrown three times, E : 4 appears on the third toss, F : 6 and 5 appears respectively on first two tosses 9. Mother, father and son line up at random for a family picture E : son on one end, F : father in middle 10. A black and a red dice are rolled. (a) Find the conditional probability of obtaining a sum greater than 9, given that the black die resulted in a 5. (b) Find the conditional probability of obtaining the sum 8, given that the red die resulted in a number less than 4. 11. A fair die is rolled. Consider events E = {1,3,5}, F = {2,3} and G = {2,3,4,5} Find (i) P (E|F) and P (F|E) (ii) P (E|G) and P (G|E) (iii) P ((E F)|G) and P ((E F)|G) 12. Assume that each born child is equally likely to be a boy or a girl. If a family has two children, what is the conditional probability that both are girls given that (i) the youngest is a girl, (ii) at least one is a girl? 13. An instructor has a question bank consisting of 300 easy True / False questions, 200 difficult True / False questions, 500 easy multiple choice questions and 400 difficult multiple choice questions. If a question is selected at random from the question bank, what is the probability that it will be an easy question given that it is a multiple choice question? 14. Given that the two numbers appearing on throwing two dice are different. Find the probability of the event the sum of numbers on the dice is 4. 15. Consider the experiment of throwing a die, if a multiple of 3 comes up, throw the die again and if any other number comes, toss a coin. Find the conditional probability of the event the coin shows a tail, given that at least one die shows a 3. In each of the Exercises 16 and 17 choose the correct answer: 16. If P (A) = (A) 0 (C) not defined
7. (i) (ii) 8.
1 2 (D) 1
(B)
540
MATHEMATICS
17. If A and B are events such that P(A|B) = P(B|A), then (B) A = B (A) A B but A B (C) A B = (D) P(A) = P(B)
Let E and F be two events associated with a sample space S. Clearly, the set E F denotes the event that both E and F have occurred. In other words, E F denotes the simultaneous occurrence of the events E and F. The event E F is also written as EF. Very often we need to find the probability of the event EF. For example, in the experiment of drawing two cards one after the other, we may be interested in finding the probability of the event a king and a queen. The probability of event EF is obtained by using the conditional probability as obtained below : We know that the conditional probability of event E given that F has occurred is denoted by P(E|F) and is given by P(E|F) =
P (E F) ,P (F) 0 P (F)
... (1)
From this result, we can write P (E F) = P (F) . P (E|F) Also, we know that P (F|E) =
P (F E) , P (E) 0 P (E)
or
P (F|E) =
.... (2) Thus, P(E F) = P(E). P(F|E) Combining (1) and (2), we find that P (E F) = P(E) P(F|E) = P(F) P(E|F) provided P(E) 0 and P(F) 0. The above result is known as the multiplication rule of probability. Let us now take up an example. Example 8 An urn contains 10 black and 5 white balls. Two balls are drawn from the urn one after the other without replacement. What is the probability that both drawn balls are black? Solution Let E and F denote respectively the events that first and second ball drawn are black. We have to find P (E F) or P (EF).
P (E F) (since E F = F E) P (E)
PROBABILITY
541
Now
10 15
Also given that the first ball drawn is black, i.e., event E has occurred, now there are 9 black balls and five white balls left in the urn. Therefore, the probability that the second ball drawn is black, given that the ball in the first draw is black, is nothing but the conditional probability of F given that E has occurred. i.e. P(F|E) =
9 14
10 9 3 15 14 7
Multiplication rule of probability for more than two events If E, F and G are three events of sample space, we have P (E F G) = P (E) P (F|E) P (G|(E F)) = P (E) P (F|E) P (G|EF) Similarly, the multiplication rule of probability can be extended for four or more events. The following example illustrates the extension of multiplication rule of probability for three events. Example 9 Three cards are drawn successively, without replacement from a pack of 52 well shuffled cards. What is the probability that first two cards are kings and the third card drawn is an ace? Solution Let K denote the event that the card drawn is king and A be the event that the card drawn is an ace. Clearly, we have to find P (KKA) Now P(K) =
4 52
Also, P (K|K) is the probability of second king with the condition that one king has already been drawn. Now there are three kings in (52 1) = 51 cards. Therefore P(K|K) =
3 51
Lastly, P(A|KK) is the probability of third drawn card to be an ace, with the condition that two kings have already been drawn. Now there are four aces in left 50 cards.
542
MATHEMATICS
Therefore
P (A|KK) =
4 50
P(K|K) P(A|KK)
4 3 4 2 52 51 50 5525
13 1 4 1 and P(F) 52 4 52 13 Also E and F is the event ' the card drawn is the ace of spades' so that
P(E) = P (E F) =
1 52
Hence
1 P (E F) 52 1 P(E|F) = 1 4 P (F) 13
1 = P (E|F), we can say that the occurrence of event F has not 4 affected the probability of occurrence of the event E. We also have
Since P(E) =
1 = P (F|E) shows that occurrence of event E has not affected 13 the probability of occurrence of the event F. Thus, E and F are two events such that the probability of occurrence of one of them is not affected by occurrence of the other. Such events are called independent events.
Again, P (F) =
PROBABILITY
543
Definition 2 Two events E and F are said to be independent, if P (F|E) = P (F) provided P (E) 0 and P (E|F) = P (E) provided P (F) 0 Thus, in this definition we need to have P (E) 0 and P(F) 0 Now, by the multiplication rule of probability, we have P (E F) = P(E) . P (F|E) ... (1) If E and F are independent, then (1) becomes P (E F) = P (E) . P (F) ... (2) Thus, using (2), the independence of two events is also defined as follows: Definition 3 Let E and F be two events associated with the same random experiment, then E and F are said to be independent if P (E F) = P (E) . P (F) Remarks (i) Two events E and F are said to be dependent if they are not independent, i.e. if P (E F ) P (E) . P (F) (ii) Sometimes there is a confusion between independent events and mutually exclusive events. Term independent is defined in terms of probability of events whereas mutually exclusive is defined in term of events (subset of sample space). Moreover, mutually exclusive events never have an outcome common, but independent events, may have common outcome. Clearly, independent and mutually exclusive do not have the same meaning. In other words, two independent events having nonzero probabilities of occurrence can not be mutually exclusive, and conversely, i.e. two mutually exclusive events having nonzero probabilities of occurrence can not be independent. (iii) Two experiments are said to be independent if for every pair of events E and F, where E is associated with the first experiment and F with the second experiment, the probability of the simultaneous occurrence of the events E and F when the two experiments are performed is the product of P(E) and P(F) calculated separately on the basis of two experiments, i.e., P (E F) = P (E) . P(F) (iv) Three events A, B and C are said to be mutually independent, if P (A B) = P (A) P (B) P (A C) = P (A) P (C) and P (B C) = P (B) P(C) P (A B C) = P (A) P (B) P (C)
544
MATHEMATICS
If at least one of the above is not true for three given events, we say that the events are not independent. Example 10 A die is thrown. If E is the event the number appearing is a multiple of 3 and F be the event the number appearing is even then find whether E and F are independent ? Solution We know that the sample space is S = {1, 2, 3, 4, 5, 6} Now E = { 3, 6}, F = { 2, 4, 6} and E F = {6} Then Clearly Hence P (E) =
2 1 3 1 1 , P (F) and P (E F) 6 3 6 2 6
Example 11 An unbiased die is thrown twice. Let the event A be odd number on the first throw and B the event odd number on the second throw. Check the independence of the events A and B. Solution If all the 36 elementary events of the experiment are considered to be equally likely, we have
Also
9 1 36 4 1 1 1 2 2 4
P (A) P(B) =
Example 12 Three coins are tossed simultaneously. Consider the event E three heads or three tails, F at least two heads and G at most two heads. Of the pairs (E,F), (E,G) and (F,G), which are independent? which are dependent? Solution The sample space of the experiment is given by S = {HHH, HHT, HTH, THH, HTT, THT, TTH, TTT} Clearly E = {HHH, TTT}, F= {HHH, HHT, HTH, THH}
PROBABILITY
545
G = {HHT, HTH, THH, HTT, THT, TTH, TTT} E F = {HHH}, E G = {TTT}, F G = { HHT, HTH, THH} P (E) = P (E F) =
and
Also
P (E) . P (F) =
P (F) . P(G) =
Hence, the events (E and F) are independent, and the events (E and G) and (F and G) are dependent. Example 13 Prove that if E and F are independent events, then so are the events E and F Solution Since E and F are independent, we have P (E F) = P (E) . P (F) From the venn diagram in Fig 13.3, it is clear that E F and E F are mutually exclusive events and also E =(E F) (E F ). Therefore or P (E) = P (E F) + P(E F ) P (E F ) = P(E) P(E F) = P(E) P(E) . P(F) (by (1)) = P(E) (1P(F)) = P(E). P(F ) Hence, E and F are independent ....(1)
Fig 13.3
546
MATHEMATICS
Note In a similar manner, it can be shown that if the events E and F are independent, then (a) E and F are independent, (b) E and F are independent
Example 14 If A and B are two independent events, then the probability of occurrence of at least one of A and B is given by 1 P(A ) P(B ) Solution We have P (at least one of A and B) = P(A B) = P(A) + P(B) P(A B) = P(A) + P(B) P(A) P(B) = P(A) + P(B) [1 P(A)] = P(A) + P(B). P(A ) = 1 P(A ) + P(B) P(A ) = 1 P(A ) [1 P(B)] = 1 P(A ) P (B )
1. If P(A)
3 and P (B) 5
EXERCISE 13.2
1 , find P (A 5
2. Two cards are drawn at random and without replacement from a pack of 52 playing cards. Find the probability that both the cards are black. 3. A box of oranges is inspected by examining three randomly selected oranges drawn without replacement. If all the three oranges are good, the box is approved for sale, otherwise, it is rejected. Find the probability that a box containing 15 oranges out of which 12 are good and 3 are bad ones will be approved for sale. 4. A fair coin and an unbiased die are tossed. Let A be the event head appears on the coin and B be the event 3 on the die. Check whether A and B are independent events or not. 5. A die marked 1, 2, 3 in red and 4, 5, 6 in green is tossed. Let A be the event, the number is even, and B be the event, the number is red. Are A and B independent? 6. Let E and F be events with P (E) E and F independent?
3 , P (F) 5
3 and P (E 10
F) =
1 . Are 5
PROBABILITY
547
1 3 , P (A B) = and 2 5 P (B) = p. Find p if they are (i) mutually exclusive (ii) independent. 8. Let A and B be independent events with P (A) = 0.3 and P(B) = 0.4. Find (ii) P (A B (i) P (A B) (iii) P (A|B) (iv) P (B|A) 1 1 1 , P (B) = and P (A B) = , 4 2 8
9. If A and B are two events such that P (A) = find P (not A and not B).
1 7 1 , P(B) = and P(not A or not B) = . 2 12 4 State whether A and B are independent ? 11. Given two independent events A and B such that P(A) = 0.3, P(B) = 0.6. Find (ii) P(A and not B) (i) P(A and B) (iii) P(A or B) (iv) P(neither A nor B) 12. A die is tossed thrice. Find the probability of getting an odd number at least once. 13. Two balls are drawn at random with replacement from a box containing 10 black and 8 red balls. Find the probability that (i) both balls are red. (ii) first ball is black and second is red. (iii) one of them is black and other is red.
10. Events A and B are such that P (A) =
1 1 and 2 3 respectively. If both try to solve the problem independently, find the probability that (i) the problem is solved (ii) exactly one of them solves the problem. 15. One card is drawn at random from a well shuffled deck of 52 cards. In which of the following cases are the events E and F independent ? (i) E : the card drawn is a spade F : the card drawn is an ace (ii) E : the card drawn is black F : the card drawn is a king (iii) E : the card drawn is a king or queen F : the card drawn is a queen or jack.
14. Probability of solving specific problem independently by A and B are
548
MATHEMATICS
16. In a hostel, 60% of the students read Hindi news paper, 40% read English news paper and 20% read both Hindi and English news papers. A student is selected at random. (a) Find the probability that she reads neither Hindi nor English news papers. (b) If she reads Hindi news paper, find the probability that she reads English news paper. (c) If she reads English news paper, find the probability that she reads Hindi news paper. Choose the correct answer in Exercises 17 and 18. 17. The probability of obtaining an even prime number on each die, when a pair of dice is rolled is 1 1 1 (A) 0 (B) (C) (D) 3 12 36 18. Two events A and B will be independent, if (A) A and B are mutually exclusive (B) P(AB) = [1 P(A)] [1 P(B)] (C) P(A) = P(B) (D) P(A) + P(B) = 1
PROBABILITY
549
(b) E1
(c) P(Ei) > 0 for all i = 1, 2, ..., n. In other words, the events E1, E2, ..., En represent a partition of the sample space S if they are pairwise disjoint, exhaustive and have nonzero probabilities. As an example, we see that any nonempty event E and its complement E form a partition of the sample space S since they satisfy E E = and E E = S. From the Venn diagram in Fig 13.3, one can easily observe that if E and F are any two events associated with a sample space S, then the set {E F, E F, E F, E F} is a partition of the sample space S. It may be mentioned that the partition of a sample space is not unique. There can be several partitions of the same sample space. We shall now prove a theorem known as Theorem of total probability. 13.5.2 Theorem of total probability Let {E1, E2,...,En} be a partition of the sample space S, and suppose that each of the events E1, E2,..., En has nonzero probability of occurrence. Let A be any event associated with S, then P(A) = P(E1) P(A|E1) + P(E2) P(A|E2) + ... + P(En) P(A|En) =
n
P(E j ) P (A|E j ) j 1
Ei and Ej are disjoint, for i j , therefore, A Ei and A Ej are also disjoint for all i j, i, j = 1, 2, ..., n. Thus, P(A) = P [(A E1) (A E2) ..... (A En)] = P (A E1) + P (A E2) + ... + P (A En) Now, by multiplication rule of probability, we have P(A Ei) = P(Ei) P(A|Ei) as P (Ei) 0i = 1,2,..., n
Proof Given that E1, E2,..., En is a partition of the sample space S (Fig 13.4). Therefore, ... (1) S = E1 E2 En and Ei Ej = , i j, i, j = 1, 2, ..., n Now, we know that for any event A, A=AS = A (E1 E2 ... En) Fig 13.4 = (A E1) (A E2) (A En) Also A Ei and A Ej are respectively the subsets of Ei and Ej . We know that
550
MATHEMATICS
Therefore, or
P(A) =
P(E j ) P (A|E j ) j 1
Example 15 A person has undertaken a construction job. The probabilities are 0.65 that there will be strike, 0.80 that the construction job will be completed on time if there is no strike, and 0.32 that the construction job will be completed on time if there is a strike. Determine the probability that the construction job will be completed on time. Solution Let A be the event that the construction job will be completed on time, and B be the event that there will be a strike. We have to find P(A). We have P(B) = 0.65, P(no strike) = P(B) = 1 P(B) = 1 0.65 = 0.35 P(A|B) = 0.32, P(A|B) = 0.80 Since events B and B form a partition of the sample space S, therefore, by theorem on total probability, we have P(A) = P(B) P(A|B) + P(B) P(A|B ) = 0.65 0.32 + 0.35 0.8 = 0.208 + 0.28 = 0.488 Thus, the probability that the construction job will be completed in time is 0.488. We shall now state and prove the Bayes' theorem. Bayes Theorem If E1, E2 ,..., En are n non empty events which constitute a partition of sample space S, i.e. E1, E2 ,..., En are pairwise disjoint and E1 E2 ... En = S and A is any event of nonzero probability, then P(Ei|A) =
P (E i ) P (A|E i )
n
P(E j ) P (A|E j )
j 1
P(E j ) P(A|E j ) j 1
PROBABILITY
551
Remark The following terminology is generally used when Bayes' theorem is applied. The events E1, E2, ..., En are called hypotheses. The probability P(Ei) is called the priori probability of the hypothesis Ei The conditional probability P(Ei |A) is called a posteriori probability of the hypothesis Ei. Bayes' theorem is also called the formula for the probability of "causes". Since the Ei's are a partition of the sample space S, one and only one of the events Ei occurs (i.e. one of the events Ei must occur and only one can occur). Hence, the above formula gives us the probability of a particular Ei (i.e. a "Cause"), given that the event A has occurred. The Bayes' theorem has its applications in variety of situations, few of which are illustrated in following examples. Example 16 Bag I contains 3 red and 4 black balls while another Bag II contains 5 red and 6 black balls. One ball is drawn at random from one of the bags and it is found to be red. Find the probability that it was drawn from Bag II. Solution Let E1 be the event of choosing the bag I, E2 the event of choosing the bag II and A be the event of drawing a red ball. Then Also and P(E1) = P(E2) =
1 2 3 7
P(A|E1) = P(drawing a red ball from Bag I) = P(A|E2) = P(drawing a red ball from Bag II) =
5 11 Now, the probability of drawing a ball from Bag II, being given that it is red, is P(E2|A) By using Bayes' theorem, we have
1 5 35 P(E 2 ) P(A|E 2 ) 2 11 = 1 3 1 5 P(E2|A) = 68 P(E1 ) P(A|E1 ) + P(E 2 ) P(A|E 2 ) 2 7 2 11
Example 17 Given three identical boxes I, II and III, each containing two coins. In box I, both coins are gold coins, in box II, both are silver coins and in the box III, there is one gold and one silver coin. A person chooses a box at random and takes out a coin. If the coin is of gold, what is the probability that the other coin in the box is also of gold?
552
MATHEMATICS
Solution Let E1, E2 and E3 be the events that boxes I, II and III are chosen, respectively.
1 2 Now, the probability that the other coin in the box is of gold = the probability that gold coin is drawn from the box I. = P(E 1|A) By Bayes' theorem, we know that
P(E1|A) =
1 1 2 3 = 1 1 1 1 3 1 0 3 3 3 2
Example 18 Suppose that the reliability of a HIV test is specified as follows: Of people having HIV, 90% of the test detect the disease but 10% go undetected. Of people free of HIV, 99% of the test are judged HIVive but 1% are diagnosed as showing HIV+ive. From a large population of which only 0.1% have HIV, one person is selected at random, given the HIV test, and the pathologist reports him/her as HIV+ive. What is the probability that the person actually has HIV? Solution Let E denote the event that the person selected is actually having HIV and A the event that the person's HIV test is diagnosed as +ive. We need to find P(E|A). Also E denotes the event that the person selected is actually not having HIV. Clearly, {E, E} is a partition of the sample space of all people in the population. We are given that P(E) = 0.1%
PROBABILITY
553
P(E) = 1 P(E) = 0.999 P(A|E) = P(Person tested as HIV+ive given that he/she is actually having HIV)
and
90 0.9 100 P(A|E) = P(Person tested as HIV +ive given that he/she is actually not having HIV)
= 90% = 1% =
1 = 0.01 100
554
MATHEMATICS
P(B2 ) P (E|B2 ) P(B1 ) P (E|B1 ) + P (B2 ) P(E|B2 ) +P(B 3 ) P (E|B3 ) 0.35 0.04 0.25 0.05 0.35 0.04 0.40 0.02
0.0140 28 0.0345 69
Example 20 A doctor is to visit a patient. From the past experience, it is known that the probabilities that he will come by train, bus, scooter or by other means of transport 3 1 1 2 1 1 1 are respectively , , and . The probabilities that he will be late are , , and , 10 5 10 5 4 3 12 if he comes by train, bus and scooter respectively, but if he comes by other means of transport, then he will not be late. When he arrives, he is late. What is the probability that he comes by train? Solution Let E be the event that the doctor visits the patient late and let T1, T2, T3, T4 be the events that the doctor comes by train, bus, scooter, and other means of transport respectively. 3 1 1 2 , P (T2 ) , P (T3 ) and P (T4 ) Then P(T1) = (given) 10 5 10 5 1 P(E|T1) = Probability that the doctor arriving late comes by train = 4 1 1 Similarly, P(E|T2) = , P(E|T3) = and P(E|T4) = 0, since he is not late if he 3 12 comes by other means of transport. Therefore, by Bayes' Theorem, we have P(T1|E) = Probability that the doctor arriving late comes by train P(T1 ) P (E|T1 ) = P(T1 ) P (E|T1 ) + P (T2 ) P(E|T2 ) + P (T3 ) P(E|T3 )+ P (T4 )P (E|T4 )
3 1 3 120 1 10 4 = = 3 1 1 1 1 1 2 0 40 18 2 10 4 5 3 10 12 5
Hence, the required probability is
1 . 2
PROBABILITY
555
Example 21 A man is known to speak truth 3 out of 4 times. He throws a die and reports that it is a six. Find the probability that it is actually a six. Solution Let E be the event that the man reports that six occurs in the throwing of the die and let S1 be the event that six occurs and S2 be the event that six does not occur. Then P(S1) = Probability that six occurs =
1 6
5 6 P(E|S1) = Probability that the man reports that six occurs when six has actually occurred on the die
P(S2) = Probability that six does not occur =
3 4 P(E|S2) = Probability that the man reports that six occurs when six has not actually occurred on the die
= Probability that the man speaks the truth = = Probability that the man does not speak the truth 1
3 1 4 4
Thus, by Bayes' theorem, we get P(S1|E) = Probability that the report of the man that six has occurred is actually a six =
1 3 1 24 3 6 4 = 1 3 5 1 8 8 8 6 4 6 4
EXERCISE 13.3
1. An urn contains 5 red and 5 black balls. A ball is drawn at random, its colour is noted and is returned to the urn. Moreover, 2 additional balls of the colour drawn are put in the urn and then a ball is drawn at random. What is the probability that the second ball is red?
556
MATHEMATICS
2.
3.
4.
5.
6.
7.
8.
9.
A bag contains 4 red and 4 black balls, another bag contains 2 red and 6 black balls. One of the two bags is selected at random and a ball is drawn from the bag which is found to be red. Find the probability that the ball is drawn from the first bag. Of the students in a college, it is known that 60% reside in hostel and 40% are day scholars (not residing in hostel). Previous year results report that 30% of all students who reside in hostel attain A grade and 20% of day scholars attain A grade in their annual examination. At the end of the year, one student is chosen at random from the college and he has an A grade, what is the probability that the student is a hostlier? In answering a question on a multiple choice test, a student either knows the 3 1 answer or guesses. Let be the probability that he knows the answer and 4 4 be the probability that he guesses. Assuming that a student who guesses at the 1 answer will be correct with probability . What is the probability that the stu4 dent knows the answer given that he answered it correctly? A laboratory blood test is 99% effective in detecting a certain disease when it is in fact, present. However, the test also yields a false positive result for 0.5% of the healthy person tested (i.e. if a healthy person is tested, then, with probability 0.005, the test will imply he has the disease). If 0.1 percent of the population actually has the disease, what is the probability that a person has the disease given that his test result is positive ? There are three coins. One is a two headed coin (having head on both faces), another is a biased coin that comes up heads 75% of the time and third is an unbiased coin. One of the three coins is chosen at random and tossed, it shows heads, what is the probability that it was the two headed coin ? An insurance company insured 2000 scooter drivers, 4000 car drivers and 6000 truck drivers. The probability of an accidents are 0.01, 0.03 and 0.15 respectively. One of the insured persons meets with an accident. What is the probability that he is a scooter driver? A factory has two machines A and B. Past record shows that machine A produced 60% of the items of output and machine B produced 40% of the items. Further, 2% of the items produced by machine A and 1% produced by machine B were defective. All the items are put into one stockpile and then one item is chosen at random from this and is found to be defective. What is the probability that it was produced by machine B? Two groups are competing for the position on the Board of directors of a corporation. The probabilities that the first and the second groups will win are
PROBABILITY
557
0.6 and 0.4 respectively. Further, if the first group wins, the probability of introducing a new product is 0.7 and the corresponding probability is 0.3 if the second group wins. Find the probability that the new product introduced was by the second group. 10. Suppose a girl throws a die. If she gets a 5 or 6, she tosses a coin three times and notes the number of heads. If she gets 1, 2, 3 or 4, she tosses a coin once and notes whether a head or tail is obtained. If she obtained exactly one head, what is the probability that she threw 1, 2, 3 or 4 with the die? 11. A manufacturer has three machine operators A, B and C. The first operator A produces 1% defective items, where as the other two operators B and C produce 5% and 7% defective items respectively. A is on the job for 50% of the time, B is on the job for 30% of the time and C is on the job for 20% of the time. A defective item is produced, what is the probability that it was produced by A? 12. A card from a pack of 52 cards is lost. From the remaining cards of the pack, two cards are drawn and are found to be both diamonds. Find the probability of the lost card being a diamond. 13. Probability that A speaks truth is
4 . A coin is tossed. A reports that a head 5 appears. The probability that actually there was head is
1 4 1 2 (B) (C) (D) 5 5 2 5 14. If A and B are two events such that A B and P(B) 0, then which of the following is correct?
(A) (A) P(A | B)
P (B) P (A)
558
MATHEMATICS
(iii) In the experiment of taking out four articles (one after the other) at random from a lot of 20 articles in which 6 are defective, we want to know the number of defectives in the sample of four and not in the particular sequence of defective and nondefective articles. In all of the above experiments, we have a rule which assigns to each outcome of the experiment a single real number. This single real number may vary with different outcomes of the experiment. Hence, it is a variable. Also its value depends upon the outcome of a random experiment and, hence, is called random variable. A random variable is usually denoted by X. If you recall the definition of a function, you will realise that the random variable X is really speaking a function whose domain is the set of outcomes (or sample space) of a random experiment. A random variable can take any real value, therefore, its co-domain is the set of real numbers. Hence, a random variable can be defined as follows : Definition 4 A random variable is a real valued function whose domain is the sample space of a random experiment. For example, let us consider the experiment of tossing a coin two times in succession. The sample space of the experiment is S = {HH, HT, TH, TT}. If X denotes the number of heads obtained, then X is a random variable and for each outcome, its value is as given below : X (HH) = 2, X (HT) = 1, X (TH) = 1, X (TT) = 0. More than one random variables can be defined on the same sample space. For example, let Y denote the number of heads minus the number of tails for each outcome of the above sample space S. Then Y (HH) = 2, Y (HT) = 0, Y (TH) = 0, Y (TT) = 2. Thus, X and Y are two different random variables defined on the same sample space S. Example 22 A person plays a game of tossing a coin thrice. For each head, he is given Rs 2 by the organiser of the game and for each tail, he has to give Rs 1.50 to the organiser. Let X denote the amount gained or lost by the person. Show that X is a random variable and exhibit it as a function on the sample space of the experiment. Solution X is a number whose values are defined on the outcomes of a random experiment. Therefore, X is a random variable. Now, sample space of the experiment is S = {HHH, HHT, HTH, THH, HTT, THT, TTH, TTT}
PROBABILITY
559
Then
X (HHH) = Rs (2 3) = Rs 6 X (HHT) = X (HTH) = X (THH) = Rs (2 2 1 1.50) = Rs 2.50 X (HTT) = X (THT) = (TTH) = Rs (1 2) (2 1.50) = Re 1
X (TTT) = Rs (3 1.50) = Rs 4.50 where, minus sign shows the loss to the player. Thus, for each element of the sample space, X takes a unique value, hence, X is a function on the sample space whose range is { 1, 2.50, 4.50, 6} and Example 23 A bag contains 2 white and 1 red balls. One ball is drawn at random and then put back in the box after noting its colour. The process is repeated again. If X denotes the number of red balls recorded in the two draws, describe X. Solution Let the balls in the bag be denoted by w1, w2, r. Then the sample space is Now, for Therefore X ({w1 w1}) = X ({w1 w2}) = X ({w2 w2}) = X ({w2 w1}) = 0 X ({w1 r}) = X ({w2 r}) = X ({r w1}) = X ({r w2}) = 1 and X ({r r}) = 2 Thus, X is a random variable which can take values 0, 1 or 2. 13.6.1 Probability distribution of a random variable Let us look at the experiment of selecting one family out of ten families f1, f2 ,..., f10 in such a manner that each family is equally likely to be selected. Let the families f1, f2, ... , f10 have 3, 4, 3, 2, 5, 4, 3, 6, 4, 5 members, respectively. Let us select a family and note down the number of members in the family denoting X. Clearly, X is a random variable defined as below : X (f1) = 3, X (f2) = 4, X (f3) = 3, X (f4) = 2, X (f5) = 5, X (f6) = 4, X (f7) = 3, X (f8) = 6, X (f9) = 4, X (f10) = 5 Thus, X can take any value 2,3,4,5 or 6 depending upon which family is selected. Now, X will take the value 2 when the family f4 is selected. X can take the value 3 when any one of the families f1, f3, f7 is selected. Similarly, and X = 4, when family f2, f6 or f9 is selected, X = 5, when family f5 or f10 is selected X = 6, when family f8 is selected. S = {w1 w1, w1 w2, w2 w2, w2 w1, w1 r, w2 r, r w1, r w2, r r} S X () = number of red balls
560
MATHEMATICS
Since we had assumed that each family is equally likely to be selected, the probability that family f4 is selected is
1 . 10
1 1 . We write P(X = 2) = 10 10 Also, the probability that any one of the families f1, f3 or f7 is selected is
P({f1, f3, f7}) =
3 10 3 10
Thus, the probability that X can take the value 3 = We write Similarly, we obtain P(X = 3) =
3 10 3 10
P(X = 4) = P({f2, f6, f9}) = P(X = 5) = P({f5, f10}) = and P(X = 6) = P({f8}) =
2 10
1 10 Such a description giving the values of the random variable along with the corresponding probabilities is called the probability distribution of the random variable X.
In general, the probability distribution of a random variable X is defined as follows:
Definition 5 The probability distribution of a random variable X is the system of numbers X P(X) where, : :
n
x1 p1
i 1
x2 p2
... ...
xn pn
pi 0,
pi = 1, i = 1, 2,..., n
The real numbers x1, x2,..., xn are the possible values of the random variable X and pi (i = 1,2,..., n) is the probability of the random variable X taking the value xi i.e., P(X = xi) = pi
PROBABILITY
561
Note If xi is one of the possible values of a random variable X, the statement X = xi is true only at some point (s) of the sample space. Hence, the probability that X takes value xi is always nonzero, i.e. P(X = xi) 0.
Also for all possible values of the random variable X, all elements of the sample space are covered. Hence, the sum of all the probabilities in a probability distribution must be one. Example 24 Two cards are drawn successively with replacement from a well-shuffled deck of 52 cards. Find the probability distribution of the number of aces. Solution The number of aces is a random variable. Let it be denoted by X. Clearly, X can take the values 0, 1, or 2. Now, since the draws are done with replacement, therefore, the two draws form independent experiments. Therefore, P(X = 0) = P(non-ace and non-ace) = P(non-ace) P(non-ace) =
48 48 144 52 52 169
P(X = 1) = P(ace and non-ace or non-ace and ace) = P(ace and non-ace) + P(non-ace and ace) = P(ace). P(non-ace) + P (non-ace) . P(ace) = and
4 48 48 4 24 52 52 52 52 169
144 169
24 169
1 169
Example 25 Find the probability distribution of number of doublets in three throws of a pair of dice.
562
MATHEMATICS
Solution Let X denote the number of doublets. Possible doublets are (1,1) , (2,2), (3,3), (4,4), (5,5), (6,6) Clearly, X can take the value 0, 1, 2, or 3. Probability of getting a doublet
6 1 36 6 1 5 6 6
1 5 5 5 1 5 5 5 1 6 6 6 6 6 6 6 6 6
1 52 75 = 3 2 6 6 216
P(X = 2) = P (two doublets and one non-doublet)
1 1 5 1 5 1 5 1 1 1 5 15 3 2 6 6 216 6 6 6 6 6 6 6 6 6 P(X = 3) = P (three doublets)
and
125 216
75 216
15 216
1 216
125
75
15
PROBABILITY
563
Example 26 Let X denote the number of hours you study during a randomly selected school day. The probability that X can take the values x, has the following form, where k is some unknown constant.
2 2k
3 2k
4 k
pi = 1 i 1
Therefore 0.1 + k + 2k + 2k + k = 1 i.e. k = 0.15 (b) P(you study at least two hours) = P(X 2) = P(X = 2) + P (X = 3) + P (X = 4) = 2k + 2k + k = 5k = 5 0.15 = 0.75 = P(X = 2) = 2k = 2 0.15 = 0.3 = P(X 2) = P (X = 0) + P(X = 1) + P(X = 2) = 0.1 + k + 2k = 0.1 + 3k = 0.1 + 3 0.15 = 0.55
P(you study exactly two hours) P(you study at most two hours)
564
MATHEMATICS
Definition 6 Let X be a random variable whose possible values x1, x2, x3, ..., xn occur with probabilities p1, p2, p3,..., pn , respectively. The mean of X, denoted by , is the
n
number
xi pi i 1
each value being weighted by its probability with which it occurs. The mean of a random variable X is also called the expectation of X, denoted by E(X).
n
Thus,
In other words, the mean or expectation of a random variable X is the sum of the products of all possible values of X by their respective probabilities. Example 27 Let a pair of dice be thrown and the random variable X be the sum of the numbers that appear on the two dice. Find the mean or expectation of X. Solution The sample space of the experiment consists of 36 elementary events in the form of ordered pairs (xi , yi), where xi = 1, 2, 3, 4, 5, 6 and yi = 1, 2, 3, 4, 5, 6. The random variable X i.e. the sum of the numbers on the two dice takes the values 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 or 12. Now P(X = 2) = P({(1,1)})
1 36
2 36
3 36 4 36
5 36
P(X = 7) = P({(1,6), (2,5), (3,4), (4,3), (5,2), (6,1)}) P(X = 8) = P({(2,6), (3,5), (4,4), (5,3), (6,2)})
6 36
5 36
PROBABILITY
565
P(X = 9) = P({(3,6), (4,5), (5,4), (6,3)}) P(X = 10) = P({(4,6), (5,5), (6,4)}) P(X = 11) = P({(5,6), (6,5)})
4 36
3 36
2 36
1 36
2 36
3 36
4 36
5 36
6 36
5 36
4 36
3 36
2 36
1 36
= E(X) = xi pi 2 3 4 5 36 36 36 36 i 1 6
=
5 6 5 4 3 2 1 7 8 9 10 11 12 36 36 36 36 36 36 36
2 6 12 20 30 42 40 36 30 22 12 =7 36
Thus, the mean of the sum of the numbers that appear on throwing two fair dice is 7.
1 8
2 8
3 8
2 8
566
MATHEMATICS
Y P(Y) Clearly
1 8
2 8
3 8
1 8
1 8
1 2 3 2 22 E(X) = 1 2 3 4 2.75 8 8 8 8 8
and
1 2 3 1 1 22 E(Y) = 1 0 4 5 6 2.75 8 8 8 8 8 8
The variables X and Y are different, however their means are same. It is also easily observable from the diagramatic representation of these distributions (Fig 13.5).
P(X) P(Y)
3 2 1
8 8 8 O 1 2 (i) 3 4 1
3 2 1
8 8 8 O 1 2 3 (ii) 4 5 6
Fig 13.5 To distinguish X from Y, we require a measure of the extent to which the values of the random variables spread out. In Statistics, we have studied that the variance is a measure of the spread or scatter in data. Likewise, the variability or spread in the values of a random variable may be measured by variance. Definition 7 Let X be a random variable whose possible values x1, x2,...,xn occur with probabilities p(x1), p(x2),..., p(xn) respectively. Let = E (X) be the mean of X. The variance of X, denoted by Var (X) or x 2 is defined as
x 2 = Var (X) = ( xi ) 2 p( xi ) i 1
or equivalently
x 2 = E(X )2
PROBABILITY
567
Var(X) =
( xi ) i 1
p ( xi )
is called the standard deviation of the random variable X. Another formula to find the variance of a random variable. We know that,
n
Var (X) =
( xi ) i 1
n 2
p ( xi )
( xi 2 xi ) i 1
n 2 n
p ( xi )
n
xi i 1
n
p( xi ) 2 p ( xi ) 2xi p ( xi )
i 1 i 1
n i 1 n i 1
2 2 = xi p( xi ) i 1
p ( xi ) 2 xi p ( xi )
n i =1
n i 1
xi i 1
n
p ( xi ) 2
p ( xi ) xi i 1
n
or
Var (X) =
xi i 1
p( xi )
or
Example 28 Find the variance of the number obtained on a throw of an unbiased die. Solution The sample space of the experiment is S = {1, 2, 3, 4, 5, 6}. Let X denote the number obtained on the throw. Then X is a random variable which can take values 1, 2, 3, 4, 5, or 6.
568
MATHEMATICS
Also
1 6
1 6
p( xi )
1 6
1 6
1 6
1 6
1 6
Now
E(X) =
xi i 1
= 1 Also Thus,
1 1 1 1 1 1 21 2 3 4 5 6 6 6 6 6 6 6 6 1 2 1 2 1 2 1 2 1 2 1 91 2 3 4 5 6 6 6 6 6 6 6 6
2
2 E(X2) = 1
91 441 6 36
35 12
Example 29 Two cards are drawn simultaneously (or successively without replacement) from a well shuffled pack of 52 cards. Find the mean, variance and standard deviation of the number of kings. Solution Let X denote the number of kings in a draw of two cards. X is a random variable which can assume the values 0, 1 or 2.
48! C 2 2!(48 2)! 48 47 188 52 52! 52 51 221 C2 2!(52 2)!
48
4
Now
C1
52
48
C1
C2
4 48 2 32 52 51 221
PROBABILITY
569
and
52
C2 4 3 1 C 2 52 51 221
188 221
32 221
n
1 221
Now
Mean of
X = E(X) = xi p( xi )
i 1
= 0
n
Also
2 E(X2) = xi p ( xi ) i 1
= 02 Now
Therefore
x =
EXERCISE 13.4
1. State which of the following are not the probability distributions of a random variable. Give reasons for your answer. (i) X 0 1 0.4 1 0.5 2 0.2 2 3 4 0.3
P(X) 0.1
0.2 0.1
570
MATHEMATICS
(iii)
Y P(Y)
1 0.6 3 0.3 2
0 0.1 1
(iv)
Z P(Z)
0.2
0.4
2. An urn contains 5 red and 2 black balls. Two balls are randomly drawn. Let X represent the number of black balls. What are the possible values of X? Is X a random variable ? 3. Let X represent the difference between the number of heads and the number of tails obtained when a coin is tossed 6 times. What are possible values of X? 4. Find the probability distribution of (i) number of heads in two tosses of a coin. (ii) number of tails in the simultaneous tosses of three coins. (iii) number of heads in four tosses of a coin. 5. Find the probability distribution of the number of successes in two tosses of a die, where a success is defined as (i) number greater than 4 (ii) six appears on at least one die 6. From a lot of 30 bulbs which include 6 defectives, a sample of 4 bulbs is drawn at random with replacement. Find the probability distribution of the number of defective bulbs. 7. A coin is biased so that the head is 3 times as likely to occur as tail. If the coin is tossed twice, find the probability distribution of number of tails. 8. A random variable X has the following probability distribution: X 0 P(X) 0 Determine (i) k (iii) P(X > 6) 1 k 7 2 3 4 5 6 2 2 2 k 2 k 3 k k 2 k 7k 2+ k (ii) P(X < 3) (iv) P(0 < X < 3)
PROBABILITY
571
9. The random variable X has a probability distribution P(X) of the following form, where k is some number :
k , if x 0 2k , if x 1 P(X) = 3k , if x 2 0, otherwise
(a) Determine the value of k. (b) Find P (X < 2), P (X 2), P(X 2). 10. Find the mean number of heads in three tosses of a fair coin. 11. Two dice are thrown simultaneously. If X denotes the number of sixes, find the expectation of X. 12. Two numbers are selected at random (without replacement) from the first six positive integers. Let X denote the larger of the two numbers obtained. Find E(X). 13. Let X denote the sum of the numbers obtained when two fair dice are rolled. Find the variance and standard deviation of X. 14. A class has 15 students whose ages are 14, 17, 15, 14, 21, 17, 19, 20, 16, 18, 20, 17, 16, 19 and 20 years. One student is selected in such a manner that each has the same chance of being chosen and the age X of the selected student is recorded. What is the probability distribution of the random variable X? Find mean, variance and standard deviation of X. 15. In a meeting, 70% of the members favour and 30% oppose a certain proposal. A member is selected at random and we take X = 0 if he opposed, and X = 1 if he is in favour. Find E(X) and Var (X). Choose the correct answer in each of the following: 16. The mean of the numbers obtained on throwing a die having written 1 on three faces, 2 on two faces and 5 on one face is
8 3 17. Suppose that two cards are drawn at random from a deck of cards. Let X be the number of aces obtained. Then the value of E(X) is
(A) 1 (B) 2 (C) 5 (D) (A)
37 221
(B)
5 13
(C)
1 13
(D)
2 13
572
MATHEMATICS
PROBABILITY
573
(ii) When the drawing is done without replacement, the probability of success 7 6 , in 2nd trial is if the first ball drawn is red or (i.e., red ball) in first trial is 16 15 7 if the first ball drawn is black and so on. Clearly, the probability of success is 15 not same for all trials, hence the trials are not Bernoulli trials. 13.7.2 Binomial distribution Consider the experiment of tossing a coin in which each trial results in success (say, heads) or failure (tails). Let S and F denote respectively success and failure in each trial. Suppose we are interested in finding the ways in which we have one success in six trials. Clearly, six different cases are there as listed below: SFFFFF, FSFFFF, FFSFFF, FFFSFF, FFFFSF, FFFFFS.
6! Similarly, two successes and four failures can have 4! 2! combinations. It will be
lengthy job to list all of these ways. Therefore, calculation of probabilities of 0, 1, 2,..., n number of successes may be lengthy and time consuming. To avoid the lengthy calculations and listing of all the possible cases, for the probabilities of number of successes in n-Bernoulli trials, a formula is derived. For this purpose, let us take the experiment made up of three Bernoulli trials with probabilities p and q = 1 p for success and failure respectively in each trial. The sample space of the experiment is the set S = {SSS, SSF, SFS, FSS, SFF, FSF, FFS, FFF} The number of successes is a random variable X and can take values 0, 1, 2, or 3. The probability distribution of the number of successes is as below : P(X = 0) = P(no success) = P({FFF}) = P(F) P(F) P(F) = q . q . q = q3 since the trials are independent P(X = 1) = P(one successes) = P({SFF, FSF, FFS}) = P({SFF}) + P({FSF}) + P({FFS}) = P(S) P(F) P(F) + P(F) P(S) P(F) + P(F) P(F) P(S) = p.q.q + q.p.q + q.q.p = 3pq2 P(X = 2) = P (two successes) = P({SSF, SFS, FSS}) = P({SSF}) + P ({SFS}) + P({FSS})
574
MATHEMATICS
= P(S) P(S) P(F) + P(S) P(F) P(S) + P(F) P(S) P(S) = p.p.q. + p.q.p + q.p.p = 3p2q and P(X = 3) = P(three success) = P ({SSS}) = P(S) . P(S) . P(S) = p3 Thus, the probability distribution of X is X 0 1 2 3 3 2 2 3 q p 3 qp p3 P(X) q Also, the binominal expansion of (q + p)3 is
q 3 3q 2 p 3qp 2 p 3
Note that the probabilities of 0, 1, 2 or 3 successes are respectively the 1st, 2nd, 3rd and 4th term in the expansion of (q + p)3. Also, since q + p = 1, it follows that the sum of these probabilities, as expected, is 1. Thus, we may conclude that in an experiment of n-Bernoulli trials, the probabilities of 0, 1, 2,..., n successes can be obtained as 1st, 2nd,...,(n + 1)th terms in the expansion of (q + p)n. To prove this assertion (result), let us find the probability of x-successes in an experiment of n-Bernoulli trials. Clearly, in case of x successes (S), there will be (n x) failures (F).
n! Now, x successes (S) and (n x) failures (F) can be obtained in x !(n x)! ways.
In each of these ways, the probability of x successes and (n x) failures is = P(x successes) . P(nx) failures is
P (S).P (S)...P(S) P (F).P (F)...P(F) = = px qnx x times ( n x ) times
Thus, the probability of x successes in n-Bernoulli trials is or nCx px qnx Thus P(x successes) = n C x p x q n x ,
n! px q n x x !(n x)!
x = 0, 1, 2,...,n. (q = 1 p)
Clearly, P(x successes), i.e. n C x p x q n x is the (x + 1)th term in the binomial expansion of (q + p)n. Thus, the probability distribution of number of successes in an experiment consisting of n Bernoulli trials may be obtained by the binomial expansion of (q + p)n. Hence, this
PROBABILITY
575
x C x q nxp x
...
n
n Cn pn
P (X) nC 0 q n nC 1 q n 1p 1 n C 2 q n 2 p 2
The above probability distribution is known as binomial distribution with parameters n and p, because for given values of n and p, we can find the complete probability distribution. The probability of x successes P (X = x) is also denoted by P (x) and is given by P (x) = nCx qnxpx, x = 0, 1,..., n. (q = 1 p) This P (x) is called the probability function of the binomial distribution. A binomial distribution with n-Bernoulli trials and probability of success in each trial as p, is denoted by B (n, p). Let us now take up some examples. Example 31 If a fair coin is tossed 10 times, find the probability of (i) exactly six heads (ii) at least six heads (iii) at most six heads Solution The repeated tosses of a coin are Bernoulli trials. Let X denote the number of heads in an experiment of 10 trials. 1 Clearly, X has the binomial distribution with n = 10 and p = 2 Therefore P(X = x) = nCxqnxpx, x = 0, 1, 2,...,n Here Therefore n = 10, p P(X = x) =
10
1 1 ,q=1p= 2 2
10 x
1 Cx 2
1 10 C 1 2 x 2
10
10
576
MATHEMATICS
10 10 10 10 10
10
1 C6 2
10
1 C7 2
10
1 C8 2
10
1 C9 2
10
1 C10 2
193 512
10
C1
10
1 2
10
10
10
C2
10
1 2
10
10
10
C3
10
1 2
10
10
C4
1 2
C5
1 2
C6
1 2
848 53 1024 64
Example 32 Ten eggs are drawn successively with replacement from a lot containing 10% defective eggs. Find the probability that there is at least one defective egg. Solution Let X denote the number of defective eggs in the 10 eggs drawn. Since the drawing is done with replacement, the trials are Bernoulli trials. Clearly, X has the binomial distribution with n = 10 and p Therefore Now
10 1 . 100 10
9 C0 10
10
= 1
910 1010
EXERCISE 13.5
1. A die is thrown 6 times. If getting an odd number is a success, what is the probability of (i) 5 successes? (ii) at least 5 successes? (iii) at most 5 successes?
PROBABILITY
577
2. A pair of dice is thrown 4 times. If getting a doublet is considered a success, find the probability of two successes. 3. There are 5% defective items in a large bulk of items. What is the probability that a sample of 10 items will include not more than one defective item? 4. Five cards are drawn successively with replacement from a well-shuffled deck of 52 cards. What is the probability that (i) all the five cards are spades? (ii) only 3 cards are spades? (iii) none is a spade? 5. The probability that a bulb produced by a factory will fuse after 150 days of use is 0.05. Find the probability that out of 5 such bulbs (i) none (ii) not more than one (iii) more than one (iv) at least one will fuse after 150 days of use. 6. A bag consists of 10 balls each marked with one of the digits 0 to 9. If four balls are drawn successively with replacement from the bag, what is the probability that none is marked with the digit 0? 7. In an examination, 20 questions of true-false type are asked. Suppose a student tosses a fair coin to determine his answer to each question. If the coin falls heads, he answers 'true'; if it falls tails, he answers 'false'. Find the probability that he answers at least 12 questions correctly. 8. Suppose X has a binomial distribution B 6,
likely outcome. (Hint : P(X = 3) is the maximum among all P(xi), xi = 0,1,2,3,4,5,6) 9. On a multiple choice examination with three possible answers for each of the five questions, what is the probability that a candidate would get four or more correct answers just by guessing ? 10. A person buys a lottery ticket in 50 lotteries, in each of which his chance of winning a prize is
1 . What is the probability that he will win a prize 100 (a) at least once (b) exactly once (c) at least twice?
578
MATHEMATICS
11. Find the probability of getting 5 exactly twice in 7 throws of a die. 12. Find the probability of throwing at most 2 sixes in 6 throws of a single die. 13. It is known that 10% of certain articles manufactured are defective. What is the probability that in a random sample of 12 such articles, 9 are defective? In each of the following, choose the correct answer: 14. In a box containing 100 bulbs, 10 are defective. The probability that out of a sample of 5 bulbs, none is defective is (A) 10
1
(B)
1 2
(C)
9 10
(D)
9 10
15. The probability that a student is not a swimmer is out of five students, four are swimmers is (A)
5
4 C4 5
1 5
4
(B)
4 5
1 5
(C)
C1
1 4 5 5
Miscellaneous Examples
Example 33 Coloured balls are distributed in four boxes as shown in the following table: Box Black I II III IV 3 2 1 4 Colour White 4 2 2 3 Red 5 2 3 1 Blue 6 2 1 5
A box is selected at random and then a ball is randomly drawn from the selected box. The colour of the ball is black, what is the probability that ball drawn is from the box III?
PROBABILITY
579
Solution Let A, E1, E2, E3 and E4 be the events as defined below : A : a black ball is selected E1 : box I is selected E3 : box III is selected E2 : box II is selected E4 : box IV is selected Since the boxes are chosen at random, Therefore Also P(E1) = P(E2) = P(E3) = P(E4) = P(A|E1) =
1 4
3 2 1 4 , P(A|E2) = , P(A|E3) = and P(A|E4) = 18 8 7 13 P(box III is selected, given that the drawn ball is black) = P(E3|A). By Bayes' theorem, P(E 3 ) P(A|E3 ) P(E3|A) = P(E1 )P(A|E1 ) P(E 2 ) P(A|E 2 ) + P(E3 ) P (A|E3 ) P(E 4 ) P(A|E 4 )
1 1 4 7 1 1 1 1 1 4 4 4 4 7 4 13
= 1 3 4 18
0.165
1 . 3
Solution Let X be the random variable whose probability distribution is B 4, Here We know that i.e. the distribution of X is xi 0
4
1 . 3
n = 4, p =
1 1 2 and q = 1 3 3 3
4
2 P(X = x) = C x 3
4 x
1 , x = 0, 1, 2, 3, 4. 3
P( x i)
C0
xi P(xi)
4
2 3
0
2 C1 3
2 C1 3
1 3
1 3
580
MATHEMATICS
C2
2 3
1 3
2 2 2 1 2 C2 3 3
C3
2 1 3 3
4
3 4 C3
3 2 1 3 3
1 C4 3
4 4 C4
4 1 3
Now Mean () =
xi i 1
p ( xi )
2 3
= 0 4C1 = 4
1 4 2 C2 3
2 3
1 3
4 + 3 C3
2 1 3 3
4 4 C4
1 3
23 34
2 6
22 34
3 4
2 34
4 1
1 34
32 48 24 4 108 4 81 3 34
3 . How many minimum 4 number of times must he/she fire so that the probability of hitting the target at least once is more than 0.99?
Example 35 The probability of a shooter hitting a target is Solution Let the shooter fire n times. Obviously, n fires are n Bernoulli trials. In each trial, p = probability of hitting the target =
target =
1 1 n nx x n . Then P(X = x) = C x q p C x 4 4
3 4
Cx
3x . 4n
Now, given that, P(hitting the target at least once) > 0.99 i.e. P(x 1) > 0.99
PROBABILITY
581
Therefore, or or or
n
1 P (x = 0) > 0.99
1 n C0 C0 1 > 0.99 4n
1 = 100 0.01 The minimum value of n to satisfy the inequality (1) is 4. Thus, the shooter must fire 4 times.
4n >
... (1)
Example 36 A and B throw a die alternatively till one of them gets a 6 and wins the game. Find their respective probabilities of winning, if A starts first. Solution Let S denote the success (getting a 6) and F denote the failure (not getting a 6). Thus, P(S) =
1 5 , P(F) 6 6
1 6 A gets the third throw, when the first throw by A and second throw by B result into failures.
P(A wins in the first throw) = P(S) = Therefore, P(A wins in the 3rd throw) = P(FFS) = P(F) P(F) P(S) =
5 5 1 6 6 6
1 6 6 = = 25 11 1 36
582
MATHEMATICS
6 5 11 11
Remark If a + ar + ar2 + ... + arn1 + ..., where | r | < 1, then sum of this infinite G.P. is given by
Example 37 If a machine is correctly set up, it produces 90% acceptable items. If it is incorrectly set up, it produces only 40% acceptable items. Past experience shows that 80% of the set ups are correctly done. If after a certain set up, the machine produces 2 acceptable items, find the probability that the machine is correctly setup. Solution Let A be the event that the machine produces 2 acceptable items. Also let B1 represent the event of correct set up and B2 represent the event of incorrect setup. Now P(B1) = 0.8, P(B2) = 0.2 P(A|B1) = 0.9 0.9 and P(A|B2) = 0.4 0.4 Therefore P(B1|A) =
0.8 0.9 0.9 648 0.95 0.8 0.9 0.9 + 0.2 0.4 0.4 680
PROBABILITY
583
5. An urn contains 25 balls of which 10 balls bear a mark 'X' and the remaining 15 bear a mark 'Y'. A ball is drawn at random from the urn, its mark is noted down and it is replaced. If 6 balls are drawn in this way, find the probability that (i) all will bear 'X' mark. (ii) not more than 2 will bear 'Y' mark. (iii) at least one ball will bear 'Y' mark. (iv) the number of balls with 'X' mark and 'Y' mark will be equal. 6. In a hurdle race, a player has to cross 10 hurdles. The probability that he will clear each hurdle is
than 2 hurdles? 7. A die is thrown again and again until three sixes are obtained. Find the probability of obtaining the third six in the sixth throw of the die. 8. If a leap year is selected at random, what is the chance that it will contain 53 tuesdays? 9. An experiment succeeds twice as often as it fails. Find the probability that in the next six trials, there will be atleast 4 successes. 10. How many times must a man toss a fair coin so that the probability of having at least one head is more than 90%? 11. In a game, a man wins a rupee for a six and loses a rupee for any other number when a fair die is thrown. The man decided to throw a die thrice but to quit as and when he gets a six. Find the expected value of the amount he wins / loses. 12. Suppose we have four boxes A,B,C and D containing coloured marbles as given below: Box Marble colour Red A B C D 1 6 8 0 White 6 2 1 6 Black 3 2 1 4
One of the boxes has been selected at random and a single marble is drawn from it. If the marble is red, what is the probability that it was drawn from box A?, box B?, box C?
584
MATHEMATICS
13. Assume that the chances of a patient having a heart attack is 40%. It is also assumed that a meditation and yoga course reduce the risk of heart attack by 30% and prescription of certain drug reduces its chances by 25%. At a time a patient can choose any one of the two options with equal probabilities. It is given that after going through one of the two options the patient selected at random suffers a heart attack. Find the probability that the patient followed a course of meditation and yoga? 14. If each element of a second order determinant is either zero or one, what is the probability that the value of the determinant is positive? (Assume that the individual entries of the determinant are chosen independently, each value being assumed with probability
1 ). 2
15. An electronic assembly consists of two subsystems, say, A and B. From previous testing procedures, the following probabilities are assumed to be known: P(A fails) = 0.2 P(B fails alone) = 0.15 P(A and B fail) = 0.15 Evaluate the following probabilities (i) P(A fails|B has failed) (ii) P(A fails alone) 16. Bag I contains 3 red and 4 black balls and Bag II contains 4 red and 5 black balls. One ball is transferred from Bag I to Bag II and then a ball is drawn from Bag II. The ball so drawn is found to be red in colour. Find the probability that the transferred ball is black. Choose the correct answer in each of the following: 17. If A and B are two events such that P(A) 0 and P(B | A) = 1, then (A) A
(B) B
(C) B =
(D) A =
18. If P(A|B) > P(A), then which of the following is correct : (A) P(B|A) < P(B) (C) P(B|A) > P(B) (B) P(A
19. If A and B are any two events such that P(A) + P(B) P(A and B) = P(A), then (A) P(B|A) = 1 (C) P(B|A) = 0 (B) P(A|B) = 1 (D) P(A|B) = 0
PROBABILITY
585
Summary
The salient features of the chapter are The conditional probability of an event E, given the occurrence of the event F is given by P (E | F)
F) , P(F) 0 P (E P(F) P (E|F) = 1 P (E|F) 0 P (E|F) 1, P ((E F)|G) = P (E|G) + P (F|G) P ((E F)|G) P (E F) = P (E) P (F|E), P (E) 0 P (E F) = P (F) P (E|F), P (F) 0 If E and F are independent, then P (E F) = P (E) P (F) P (E|F) = P (E), P (F) 0 P (F|E) = P (F), P(E) 0 Theorem of total probability
Let {E1, E2, ...,En) be a partition of a sample space and suppose that each of E1, E2, ..., En has nonzero probability. Let A be any event associated with S, then P(A) = P(E1) P (A|E1) + P (E2) P (A|E2) + ... + P (En) P(A|En) Bayes' theorem If E1, E2, ..., En are events which constitute a partition of sample space S, i.e. E1, E2, ..., En are pairwise disjoint and E1 E2 ... En = S and A be any event with nonzero probability, then
P(E i | A)
A random variable is a real valued function whose domain is the sample space of a random experiment. The probability distribution of a random variable X is the system of numbers x2 ... xn X : x1 P(X) : p1 p2 ... pn where,
pi 0,
p 1, i 1, 2,..., n
n i i 1
586
MATHEMATICS
Let X be a random variable whose possible values x1, x2, x3, ..., xn occur with probabilities p1, p2, p3, ... pn respectively. The mean of X, denoted by , is
the number
The mean of a random variable X is also called the expectation of X, denoted by E (X). Let X be a random variable whose possible values x1, x2, ..., xn occur with probabilities p(x1), p(x2), ..., p(xn) respectively. Let = E(X) be the mean of X. The variance of X, denoted by Var (X) or
xp .
n i i i 1
p ( xi )
i 1
Va r (X) =
is called the standard deviation of the random variable X. Var (X) = E (X2) [E(X)]2 Trials of a random experiment are called Bernoulli trials, if they satisfy the following conditions : (i) There should be a finite number of trials. (ii) The trials should be independent. (iii) Each trial has exactly two outcomes : success or failure. (iv) The probability of success remains the same in each trial. For Binomial distribution B (n, p), P (X = x) = nCx q nx px, x = 0, 1,..., n (q = 1 p)
( x )
n i i 1
p( xi )
Historical Note
The earliest indication on measurement of chances in game of dice appeared in 1477 in a commentary on Dante's Divine Comedy. A treatise on gambling named liber de Ludo Alcae, by Geronimo Carden (1501-1576) was published posthumously in 1663. In this treatise, he gives the number of favourable cases for each event when two dice are thrown.
PROBABILITY
587
Galileo (1564-1642) gave casual remarks concerning the correct evaluation of chance in a game of three dice. Galileo analysed that when three dice are thrown, the sum of the number that appear is more likely to be 10 than the sum 9, because the number of cases favourable to 10 are more than the number of cases for the appearance of number 9. Apart from these early contributions, it is generally acknowledged that the true origin of the science of probability lies in the correspondence between two great men of the seventeenth century, Pascal (1623-1662) and Pierre de Fermat (1601-1665). A French gambler, Chevalier de Metre asked Pascal to explain some seeming contradiction between his theoretical reasoning and the observation gathered from gambling. In a series of letters written around 1654, Pascal and Fermat laid the first foundation of science of probability. Pascal solved the problem in algebraic manner while Fermat used the method of combinations. Great Dutch Scientist, Huygens (1629-1695), became acquainted with the content of the correspondence between Pascal and Fermat and published a first book on probability, "De Ratiociniis in Ludo Aleae" containing solution of many interesting rather than difficult problems on probability in games of chances. The next great work on probability theory is by Jacob Bernoulli (1654-1705), in the form of a great book, "Ars Conjectendi" published posthumously in 1713 by his nephew, Nicholes Bernoulli. To him is due the discovery of one of the most important probability distribution known as Binomial distribution. The next remarkable work on probability lies in 1993. A. N. Kolmogorov (1903-1987) is credited with the axiomatic theory of probability. His book, Foundations of probability published in 1933, introduces probability as a set function and is considered a classic!.
Chapter
DIFFERENTIAL EQUATIONS
He who seeks for methods without having a definite problem in mind seeks for the most part in vain. D. HILBERT
9.1 Introduction
In Class XI and in Chapter 5 of the present book, we discussed how to differentiate a given function f with respect to an independent variable, i.e., how to find f (x) for a given function f at each x in its domain of definition. Further, in the chapter on Integral Calculus, we discussed how to find a function f whose derivative is the function g, which may also be formulated as follows: For a given function g, find a function f such that
... (1)
Henri Poincare (1854-1912 )
An equation of the form (1) is known as a differential equation. A formal definition will be given later.
These equations arise in a variety of applications, may it be in Physics, Chemistry, Biology, Anthropology, Geology, Economics etc. Hence, an indepth study of differential equations has assumed prime importance in all modern scientific investigations. In this chapter, we will study some basic concepts related to differential equation, general and particular solutions of a differential equation, formation of differential equations, some methods to solve a first order - first degree differential equation and some applications of differential equations in different areas.
380
MATHEMATICS
dy y =0 ... (4) dx We see that equations (1), (2) and (3) involve independent and/or dependent variable (variables) only but equation (4) involves variables as well as derivative of the dependent variable y with respect to the independent variable x. Such an equation is called a differential equation. x
In general, an equation involving derivative (derivatives) of the dependent variable with respect to independent variable (variables) is called a differential equation. A differential equation involving derivatives of the dependent variable with respect to only one independent variable is called an ordinary differential equation, e.g.,
d 2 y dy .... (5) 2 2 = 0 is an ordinary differential equation dx dx Of course, there are differential equations involving derivatives with respect to more than one independent variables, called partial differential equations but at this stage we shall confine ourselves to the study of ordinary differential equations only. Now onward, we will use the term differential equation for ordinary differential equation.
3
Note
1. We shall prefer to use the following notations for derivatives:
dy d2y d3y y , 2 y, 3 y dx dx dx 2. For derivatives of higher order, it will be inconvenient to use so many dashes
as supersuffix therefore, we use the notation yn for nth order derivative 9.2.1. Order of a differential equation Order of a differential equation is defined as the order of the highest order derivative of the dependent variable with respect to the independent variable involved in the given differential equation. Consider the following differential equations:
dny . dx n
dy = ex dx
... (6)
DIFFERENTIAL EQUATIONS
381
d2y y =0 dx 2
... (7)
d3y 2 d 2y 3 x 2 = 0 dx dx
... (8)
The equations (6), (7) and (8) involve the highest derivative of first, second and third order respectively. Therefore, the order of these equations are 1, 2 and 3 respectively. 9.2.2 Degree of a differential equation To study the degree of a differential equation, the key point is that the differential equation must be a polynomial equation in derivatives, i.e., y, y, y etc. Consider the following differential equations:
d 3 y d 2 y dy 2 2 y = 0 dx3 dx dx
... (9)
dy dy sin 2 y =0 dx dx
dy dy sin = 0 dx dx
... (10)
... (11)
We observe that equation (9) is a polynomial equation in y y and y, equation (10) is a polynomial equation in y (not a polynomial in y though). Degree of such differential equations can be defined. But equation (11) is not a polynomial equation in y and degree of such a differential equation can not be defined. By the degree of a differential equation, when it is a polynomial equation in derivatives, we mean the highest power (positive integral index) of the highest order derivative involved in the given differential equation. In view of the above definition, one may observe that differential equations (6), (7), (8) and (9) each are of degree one, equation (10) is of degree two while the degree of differential equation (11) is not defined.
Note
Order and degree (if defined) of a differential equation are always positive integers.
382
MATHEMATICS
Example 1 Find the order and degree, if defined, of each of the following differential equations: (i) (iii)
dy cos x 0 dx
y y 2 e y 0
(ii) xy
d2y dy dy x y 0 2 dx dx dx
Solution (i) The highest order derivative present in the differential equation is
dy , so its dx
order is one. It is a polynomial equation in y and the highest power raised to is one, so its degree is one.
dy dx
d2y (ii) The highest order derivative present in the given differential equation is 2 , so dx
its order is two. It is a polynomial equation in
power raised to
(iii) The highest order derivative present in the differential equation is y , so its order is three. The given differential equation is not a polynomial equation in its derivatives and so its degree is not defined.
EXERCISE 9.1
Determine order and degree (if defined) of differential equations given in Exercises 1 to 10. 1.
d4y sin( y) 0 dx 4
2
2. y + 5y = 0
d 2s ds 3. 3s 2 0 dt dt
5.
d2y dy 4. 2 cos 0 dx dx
6. ( y) 2 + (y)3 + (y)4 + y5 = 0
7. y + 2y + y = 0
DIFFERENTIAL EQUATIONS
383
d2y dx 2
dy dx
sin
dy 1 0 is dx
(C) 0
d2y y0 ... (3) dx 2 In contrast to the first two equations, the solution of this differential equation is a function that will satisfy it i.e., when the function is substituted for the unknown y (dependent variable) in the given differential equation, L.H.S. becomes equal to R.H.S.. The curve y = (x) is called the solution curve (integral curve) of the given differential equation. Consider the function given by y = (x) = a sin (x + b), ... (4) where a, b R. When this function and its derivative are substituted in equation (3), L.H.S. = R.H.S.. So it is a solution of the differential equation (3).
Now consider the differential equation Let a and b be given some particular values say a = 2 and b function y=
1(x)
= 2sin x
When this function and its derivative are substituted in equation (3) again L.H.S. = R.H.S.. Therefore 1 is also a solution of equation (3).
384
MATHEMATICS
Function consists of two arbitrary constants (parameters) a, b and it is called general solution of the given differential equation. Whereas function 1 contains no arbitrary constants but only the particular values of the parameters a and b and hence is called a particular solution of the given differential equation. The solution which contains arbitrary constants is called the general solution (primitive) of the differential equation. The solution free from arbitrary constants i.e., the solution obtained from the general solution by giving particular values to the arbitrary constants is called a particular solution of the differential equation. Example 2 Verify that the function y = e 3x is a solution of the differential equation
d 2 y dy 6y 0 dx 2 dx
Solution Given function is y = e 3x. Differentiating both sides of equation with respect to x , we get
... (1)
d 2 y dy , and y in the given differential equation, we get dx 2 dx L.H.S. = 9 e 3x + (3e 3x) 6.e 3x = 9 e 3x 9 e 3x = 0 = R.H.S.. Therefore, the given function is a solution of the given differential equation.
Example 3 Verify that the function y = a cos x + b sin x, where, a, b R is a solution
2 of the differential equation d y y 0 dx 2
Solution The given function is y = a cos x + b sin x ... (1) Differentiating both sides of equation (1) with respect to x, successively, we get
dy = a sin x + b cos x dx
d2y = a cos x b sin x dx 2
DIFFERENTIAL EQUATIONS
385
d2y and y in the given differential equation, we get dx 2 L.H.S. = ( a cos x b sin x) + (a cos x + b sin x) = 0 = R.H.S.. Therefore, the given function is a solution of the given differential equation.
EXERCISE 9.2
In each of the Exercises 1 to 10 verify that the given functions (explicit or implicit) is a solution of the corresponding differential equation: : y y = 0 1. y = ex + 1 : y 2x 2 = 0 2. y = x2 + 2x + C 3. y = cos x + C : y + sin x = 0 4. y =
1 x2
: : : : : :
xy 1 x2 xy = y (x 0)
y =
xy = y + x
dy = 0 (y 0) dx 11. The number of arbitrary constants in the general solution of a differential equation of fourth order are: (B) 2 (C) 3 (D) 4 (A) 0 12. The number of arbitrary constants in the particular solution of a differential equation of third order are: (B) 2 (C) 1 (D) 0 (A) 3
a 2 x 2 x (a, a) :
x+y
386
MATHEMATICS
x 1 dy = (y 2) 2 y dx
... (2)
which is a differential equation. You will find later on [See (example 9 section 9.5.1.)] that this equation represents the family of circles and one member of the family is the circle given in equation (1). Let us consider the equation ... (3) x2 + y2 = r 2 By giving different values to r, we get different members of the family e.g. x2 + y2 = 1, x2 + y2 = 4, x2 + y2 = 9 etc. (see Fig 9.1). Thus, equation (3) represents a family of concentric circles centered at the origin and having different radii. We are interested in finding a differential equation that is satisfied by each member of the family. The differential equation must be free from r because r is different for different members of the family. This equation is obtained by differentiating equation (3) with respect to x, i.e., 2x + 2 y
dy =0 dx
or
x+y
dy =0 dx
... (4)
Fig 9.1
which represents the family of concentric circles given by equation (3). Again, let us consider the equation y = mx + c ... (5) By giving different values to the parameters m and c, we get different members of the family, e.g., y=x (m = 1, c = 0) y=
3x
(m =
3 , c = 0)
y=x+1 (m = 1, c = 1) y=x (m = 1, c = 0) y=x1 (m = 1, c = 1) etc. ( see Fig 9.2). Thus, equation (5) represents the family of straight lines, where m, c are parameters. We are now interested in finding a differential equation that is satisfied by each member of the family. Further, the equation must be free from m and c because m and
DIFFERENTIAL EQUATIONS
387
c are different for different members of the family. This is obtained by differentiating equation (5) with respect to x, successively we get
dy d2y m , and dx dx 2
... (6)
The equation (6) represents the family of straight lines given by equation (5). Note that equations (3) and (5) are the general solutions of equations (4) and (6) respectively.
Fig 9.2
9.4.1 Procedure to form a differential equation that will represent a given family of curves (a) If the given family F1 of curves depends on only one parameter then it is represented by an equation of the form F1 (x, y, a) = 0 ... (1) For example, the family of parabolas y2 = ax can be represented by an equation of the form f (x, y, a) : y2 = ax. Differentiating equation (1) with respect to x, we get an equation involving y, y, x, and a, i.e., g (x, y, y, a) = 0 ... (2) The required differential equation is then obtained by eliminating a from equations (1) and (2) as F (x, y, y) = 0 ... (3) (b) If the given family F2 of curves depends on the parameters a, b (say) then it is represented by an equation of the from F2 (x, y, a, b) = 0 ... (4) Differentiating equation (4) with respect to x, we get an equation involving y, x, y, a, b, i.e., g (x, y, y, a, b) = 0 ... (5) But it is not possible to eliminate two parameters a and b from the two equations and so, we need a third equation. This equation is obtained by differentiating equation (5), with respect to x, to obtain a relation of the form h (x, y, y, y, a, b) = 0 ... (6)
388
MATHEMATICS
The required differential equation is then obtained by eliminating a and b from equations (4), (5) and (6) as ... (7) F (x, y, y , y ) = 0
Note The order of a differential equation representing a family of curves is same as the number of arbitrary constants present in the equation corresponding to the family of curves.
Example 4 Form the differential equation representing the family of curves y = mx, where, m is arbitrary constant. Solution We have y = mx ... (1) Differentiating both sides of equation (1) with respect to x, we get dy =m dx dy x Substituting the value of m in equation (1) we get y dx dy x or y=0 dx which is free from the parameter m and hence this is the required differential equation.
Example 5 Form the differential equation representing the family of curves y = a sin (x + b), where a, b are arbitrary constants. Solution We have y = a sin (x + b) ... (1) Differentiating both sides of equation (1) with respect to x, successively we get
dy = a cos (x + b) dx
d2y = a sin (x + b) dx 2 Eliminating a and b from equations (1), (2) and (3), we get
... (2)
... (3)
d2y y =0 ... (4) dx 2 which is free from the arbitrary constants a and b and hence this the required differential equation.
DIFFERENTIAL EQUATIONS
389
Example 6 Form the differential equation representing the family of ellipses having foci on x-axis and centre at the origin. Solution We know that the equation of said family of ellipses (see Fig 9.3) is
x2 y 2 =1 a 2 b2
... (1)
Fig 9.3
2 x 2 y dy 0 a 2 b 2 dx
or
... (2)
dy x y 2 y d y dy dx2 2 x dx x dx = 0
or
xy
d2y dy dy x y =0 2 dx dx dx
... (3)
which is the required differential equation. Example 7 Form the differential equation of the family of circles touching the x-axis at origin. Solution Let C denote the family of circles touching x-axis at origin. Let (0, a) be the coordinates of the centre of any member of the family (see Fig 9.4). Therefore, equation of family C is x2 + (y a)2 = a2 or x2 + y2 = 2ay ... (1) where, a is an arbitrary constant. Differentiating both sides of equation (1) with respect to x,we get
Fig 9.4
2x 2 y
dy dy = 2a dx dx
390
MATHEMATICS
or
dy dy x y = a or a = dx dx
x y dy dx
dy dx
... (2)
x2 + y2 =
x y dy dx 2y
dy dx
or or
dy 2 dy ( x y 2 ) = 2 xy 2 y 2 dx dx
dy 2 xy = 2 2 dx x y
This is the required differential equation of the given family of circles. Example 8 Form the differential equation representing the family of parabolas having vertex at origin and axis along positive direction of x-axis. Solution Let P denote the family of above said parabolas (see Fig 9.5) and let (a, 0) be the focus of a member of the given family, where a is an arbitrary constant. Therefore, equation of family P is ... (1) y2 = 4ax Differentiating both sides of equation (1) with respect to x, we get
... (2)
dy ( x) dx
y 2 2 xy
dy =0 dx
Fig 9.5
DIFFERENTIAL EQUATIONS
391
EXERCISE 9.3
In each of the Exercises 1 to 5, form a differential equation representing the given family of curves by eliminating arbitrary constants a and b. 1. 4. 6. 7. 8. 9. 10. 11.
x y 1 2. y2 = a (b2 x2) 3. y = a e3x + b e 2x a b y = e2x (a + bx) 5. y = ex (a cos x + b sin x) Form the differential equation of the family of circles touching the y-axis at origin. Form the differential equation of the family of parabolas having vertex at origin and axis along positive y-axis. Form the differential equation of the family of ellipses having foci on y-axis and centre at origin. Form the differential equation of the family of hyperbolas having foci on x-axis and centre at origin. Form the differential equation of the family of circles having centre on y-axis and radius 3 units. Which of the following differential equations has y = c1 ex + c2 ex as the general solution?
(A)
d2y d2y d2y d2y y 0 y 0 1 0 1 0 (B) (C) (D) dx 2 dx 2 dx 2 dx 2 12. Which of the following differential equations has y = x as one of its particular solution?
d2y dy x 2 xy x (A) 2 dx dx d2y dy x xy x (B) 2 dx dx
d 2 y 2 dy x xy 0 (C) dx dx2
d2y dy x xy 0 (D) 2 dx dx
... (1)
392
MATHEMATICS
If F (x, y) can be expressed as a product g (x) h(y), where, g(x) is a function of x and h(y) is a function of y, then the differential equation (1) is said to be of variable separable type. The differential equation (1) then has the form dy = h (y) . g (x) ... (2) dx If h (y) 0, separating the variables, (2) can be rewritten as
1 dy = g (x) dx h( y )
Integrating both sides of (3), we get
h( y )
... (3)
dy = g ( x ) dx
... (4)
Thus, (4) provides the solutions of given differential equation in the form H (y) = G (x) + C
1 Here, H (y) and G (x) are the anti derivatives of h ( y ) and g (x) respectively and
C is the arbitrary constant. Example 9 Find the general solution of the differential equation Solution We have
dy x 1 , (y 2) dx 2 y
x 1 dy = 2 y dx
Separating the variables in equation (1), we get (2 y) dy = (x + 1) dx Integrating both sides of equation (2), we get
(2 y ) dy = ( x 1) dx
... (1)
... (2)
or or or
2y
y2 x2 x C1 = 2 2
x2 + y2 + 2x 4y + 2 C1 = 0 x2 + y2 + 2x 4y + C = 0, where C = 2C1
DIFFERENTIAL EQUATIONS
393
dy 1 y 2 . dx 1 x 2
Solution Since 1 + y2 0, therefore separating the variables, the given differential equation can be written as
... (1)
1 y 2 = 1 x2
or tan1 y = tan1x + C which is the general solution of equation (1). Example 11 Find the particular solution of the differential equation that y = 1, when x = 0. Solution If y 0, the given differential equation can be written as dy = 4x dx y2 Integrating both sides of equation (1), we get
dy
dx
dy 4 xy 2 given dx
... (1)
y 2 = 4 x dx
or or
dy
1 = 2x 2 + C y
y=
1
2
... (2)
Now substituting the value of C in equation (2), we get the particular solution of the given differential equation as y
1 2x 1
2
Example 12 Find the equation of the curve passing through the point (1, 1) whose differential equation is x dy = (2x2 + 1) dx (x 0).
394
MATHEMATICS
dx*
or
dy = 2 x
1 dx x 1 dx x
... (1)
2x
y = x2 + log | x | + C ... (2) Equation (2) represents the family of solution curves of the given differential equation but we are interested in finding the equation of a particular member of the family which passes through the point (1, 1). Therefore substituting x = 1, y = 1 in equation (2), we get C = 0. Now substituting the value of C in equation (2) we get the equation of the required curve as y = x2 + log | x |. or Example 13 Find the equation of a curve passing through the point (2, 3), given that the slope of the tangent to the curve at any point (x, y) is
2x . y2
dy . dx
... (1)
2x dy = 2 dx y Separating the variables, equation (1) can be written as y2 dy = 2x dx Integrating both sides of equation (2), we get
so,
... (2)
y 2 dy =
2x
dx
or
dy
* The notation
y3 = x2 + C 3
... (3)
due to Leibnitz is extremely flexible and useful in many calculation and formal dx transformations, where, we can deal with symbols dy and dx exactly as if they were ordinary numbers. By treating dx and dy like separate entities, we can give neater expressions to many calculations. Refer: Introduction to Calculus and Analysis, volume-I page 172, By Richard Courant, Fritz John Spinger Verlog New York.
DIFFERENTIAL EQUATIONS
395
Substituting x = 2, y = 3 in equation (3), we get C = 5. Substituting the value of C in equation (3), we get the equation of the required curve as
y3 x 2 5 or y (3x 2 15) 3 3 Example 14 In a bank, principal increases continuously at the rate of 5% per year. In how many years Rs 1000 double itself?
1
Solution Let P be the principal at any time t. According to the given problem,
... (1)
... (2)
or or
C P = e 20 e 1
t
P = C e 20 (where e C1 C )
... (3)
Now P = 1000, when t = 0 Substituting the values of P and t in (3), we get C = 1000. Therefore, equation (3), gives
t
P = 1000 e 20 Let t years be the time required to double the principal. Then
t
2000 = 1000 e 20
t = 20 loge2
EXERCISE 9.4
For each of the differential equations in Exercises 1 to 10, find the general solution: 1.
dy 1 cos x dx 1 cos x
2.
dy 4 y 2 (2 y 2) dx
396
MATHEMATICS
3.
dy y 1 ( y 1) dx
dy (1 x 2 ) (1 y 2 ) dx x5 dy y5 dx
dy sin 1 x 10. ex tan y dx + (1 ex) sec2 y dy = 0 dx For each of the differential equations in Exercises 11 to 14, find a particular solution satisfying the given condition:
3 2 11. ( x x x 1)
dy = 2x2 + x; y = 1 when x = 0 dx
12.
x ( x 2 1)
dy 1 ; y = 0 when x = 2 dx
dy a (a R); y = 1 when x = 0 dx
dy y tan x ; y = 1 when x = 0 dx
15. Find the equation of a curve passing through the point (0, 0) and whose differential equation is y = ex sin x. 16. For the differential equation xy
passing through the point (1, 1). 17. Find the equation of a curve passing through the point (0, 2) given that at any point (x, y) on the curve, the product of the slope of its tangent and y coordinate of the point is equal to the x coordinate of the point. 18. At any point (x, y) of a curve, the slope of the tangent is twice the slope of the line segment joining the point of contact to the point ( 4, 3). Find the equation of the curve given that it passes through (2, 1). 19. The volume of spherical balloon being inflated changes at a constant rate. If initially its radius is 3 units and after 3 seconds it is 6 units. Find the radius of balloon after t seconds.
DIFFERENTIAL EQUATIONS
397
20. In a bank, principal increases continuously at the rate of r% per year. Find the value of r if Rs 100 double itself in 10 years (loge2 = 0.6931). 21. In a bank, principal increases continuously at the rate of 5% per year. An amount of Rs 1000 is deposited with this bank, how much will it worth after 10 years (e0 5 = 1.648). 22. In a culture, the bacteria count is 1,00,000. The number is increased by 10% in 2 hours. In how many hours will the count reach 2,00,000, if the rate of growth of bacteria is proportional to the number present? 23. The general solution of the differential equation (A) ex + ey = C (C) ex + ey = C
dy x y is e dx
(B) ex + ey = C (D) ex + ey = C
9.5.2 Homogeneous differential equations Consider the following functions in x and y F1 (x, y) = y2 + 2xy, F3 (x, y) = cos
y , x
If we replace x and y by x and y respectively in the above functions, for any nonzero constant , we get F1 ( x, y) = 2 (y2 + 2xy) = 2 F1 (x, y) F2 (x, y) = (2x 3y) = F2 (x, y) F3 (x, y) = cos
y cos x
y 0 = F3 (x, y) x
F4 (x, y) = sin x + cos y n F4 (x, y), for any n N Here, we observe that the functions F1, F 2, F 3 can be written in the form F(x, y) = n F (x, y) but F4 can not be written in this form. This leads to the following definition: A function F(x, y) is said to be homogeneous function of degree n if F(x, y) = n F(x, y) for any nonzero constant . We note that in the above examples, F1, F2, F3 are homogeneous functions of degree 2, 1, 0 respectively but F4 is not a homogeneous function.
398
MATHEMATICS
y2 x2
2y 2 y x h1 x x
or
2 F1(x, y) = y 1
2x x 2 y h2 y y
F2(x, y) = x1 2
3y 1 y x h3 x x
or
1 F2(x, y) = y 2
x 1 x 3 y h4 y y
0 F3(x, y) = x cos
y y 0 x h5 x x
F4(x, y) or F4 (x, y)
x n h6
y , for any n N x
y n h7
x , for any n N y
y x
or
ynh
x y
dy = F (x, y) is said to be homogenous if dx F(x, y) is a homogenous function of degree zero. To solve a homogeneous differential equation of the type
A differential equation of the form
dy y F x, y = g x dx We make the substitution y = v.x Differentiating equation (2) with respect to x, we get dy dv = v x dx dx
Substituting the value of
... (3)
DIFFERENTIAL EQUATIONS
399
v x
or
dv = g (v ) dx
... (4)
... (5)
g (v ) v = x dx C
y . x
dx
dv
... (6)
Equation (6) gives general solution (primitive) of the differential equation (1) when we replace v by
x v i.e., x = vy and we proceed further to find the general solution as discussed y dx x above by writing F( x, y ) h . dy y
Example 15 Show that the differential equation (x y)
dy = x + 2y is homogeneous dx
and solve it. Solution The given differential equation can be expressed as
x 2y dy = x y dx
Let F (x, y) = F ( x, y) =
... (1)
x 2y x y
Now
( x 2 y) 0 f ( x, y ) ( x y)
400
MATHEMATICS
Therefore, F(x, y) is a homogenous function of degree zero. So, the given differential equation is a homogenous differential equation. Alternatively,
dy dx
2y 1 x y 1 x
= g
y x
... (2)
y and so it is a homogeneous x
function of degree zero. Therefore, equation (1) is a homogeneous differential equation. To solve it we make the substitution y = vx Differentiating equation (3) with respect to, x we get ... (3)
dy dv = vx dx dx
Substituting the value of y and
... (4)
v x
or
or
or
v 1 dv = v v 1
dx x
or
1 2v 1 3 dv = log | x | + C1 2 v2 v 1
DIFFERENTIAL EQUATIONS
401
or
1 2v 1 3 1 dv 2 dv log x C1 2 2 v v 1 2 v v 1
or
1 3 log v 2 v 1 2 2
1
2 2
1 3 v 2 2
dv log x C1
or or
(Why?)
Replacing v by
y , we get x
y2 y 1 1 2 y x log 2 1 log x 2 3 tan 1 C 3x 1 x 2 2 x
or
or
y2 y 1 2y x log 2 1 x 2 3 tan 1 C1 x 2 3x x
log ( y 2 xy x 2 ) 2 3 tan 1 log ( x 2 xy y 2 ) 2 3 tan 1
or
2 y x 2C 1 3x
or
x 2y C 3x
y dy y Example 16 Show that the differential equation x cos y cos x is x dx x homogeneous and solve it.
Solution The given differential equation can be written as
y y cos x dy x = dx y x cos x
... (1)
402
MATHEMATICS
dy F( x, y ) . dx
Here
Thus, F(x, y) is a homogeneous function of degree zero. Therefore, the given differential equation is a homogeneous differential equation. To solve it we make the substitution y = vx ... (2) Differentiating equation (2) with respect to x, we get
dv dy = v x dx dx
Substituting the value of y and
... (3)
v x
or or or Therefore
x x
cos v dv =
cos v dv = x dx
DIFFERENTIAL EQUATIONS
403
or or Replacing v by
y , we get x
sin
Example 17 Show that the differential equation 2 y e Solution The given differential equation can be written as
2x e y dx = x dy 2y e y 2 xe
x y x y
x y
dx
y 2x e
x y
dy 0 is
... (1)
Let
F(x, y) =
x y
2 ye
Then
F (x, y) =
x y 2 xe x y 2 ye
y
0
[F( x, y )]
Thus, F(x, y) is a homogeneous function of degree zero. Therefore, the given differential equation is a homogeneous differential equation. To solve it, we make the substitution x = vy ... (2) Differentiating equation (2) with respect to y, we get
dv dx = v+ y dy dy
404
MATHEMATICS
v y y y
dv 2v ev 1 = dy 2ev 2v e v 1 dv v = 2e v dy
1 dv = v 2e dy
or or
or
2ev dv =
dy
y dy
or or
v 2e dv = y
2 ev = log |y| + C
x y
... (3)
x y
Solution We know that the slope of the tangent at any point on a curve is Therefore,
x2 y2 dy = 2 xy dx
dy . dx
DIFFERENTIAL EQUATIONS
405
or
dy = dx
y2 x2 2y x
... (1)
Clearly, (1) is a homogenous differential equation. To solve it we make substitution y = vx Differentiating y = vx with respect to x, we get
dy dv = v x dx dx
or
v x
dv 1 v 2 = 2v dx dv 1 v 2 = dx 2v
or
dx 2v dv = 2 x 1 v
or
2v v 1
2
dv =
dx x
1
Therefore or or or Replacing v by
v 2 1 dv = x dx
log | v2 1 | = log | x | + log | C1 | log | (v2 1) (x) | = log |C1| (v2 1) x = C1
2v
y , we get x
y2 2 1 x = C1 x
or (y2 x2) = C1 x or x2 y2 = Cx
406
MATHEMATICS
EXERCISE 9.5
In each of the Exercises 1 to 10, show that the given differential equation is homogeneous and solve each of them. 1. (x2 + xy) dy = (x2 + y2) dx 3. (x y) dy (x + y) dx = 0 5.
x y x 2 2 4. (x y ) dx + 2xy dy = 0
2.
x2
dy x 2 2 y 2 xy dx
6. x dy y dx =
y x cos x
x 2 y 2 dx
y 7. x cos y sin x
8.
x
y y dx y sin x
y x dy x
dy y y x sin 0 dx x
9.
y y dx x log dy 2 x dy 0 x
x x x y y 1 1 dy 0 e dx e 10. y
For each of the differential equations in Exercises from 11 to 15, find the particular solution satisfying the given condition: 11. (x + y) dy + (x y) dx = 0; y = 1 when x = 1 12. x2 dy + (xy + y2) dx = 0; y = 1 when x = 1
2 xy y 2 2 x 2
dy 0 ; y = 2 when x = 1 dx
dx x h can be solved by dy y
(D) x = v
16. A homogeneous differential equation of the from making the substitution. (A) y = vx (B) v = yx (C) x = vy
DIFFERENTIAL EQUATIONS
407
17. Which of the following is a homogeneous differential equation? (A) (4x + 6y + 5) dy (3y + 2x + 4) dx = 0 (B) (xy) dx (x3 + y3) dy = 0 (C) (x3 + 2y2) dx + 2xy dy = 0 (D) y2 dx + (x2 xy y2) dy = 0 9.5.3 Linear differential equations A differential equation of the from
dy Py = Q dx where, P and Q are constants or functions of x only, is known as a first order linear differential equation. Some examples of the first order linear differential equation are
dy y = sin x dx
dy 1 y = ex dx x
1 dy y = dx x log x x
Another form of first order linear differential equation is
dx P1 x = Q 1 dy where, P1 and Q1 are constants or functions of y only. Some examples of this type of differential equation are
dx x = cos y dy dx 2 x = y2e y dy y To solve the first order linear differential equation of the type
dy Py = Q dx Multiply both sides of the equation by a function of x say g (x) to get
g (x) ... (1)
dy + P. (g (x)) y = Q . g ( x ) dx
... (2)
408
MATHEMATICS
Choose g (x) in such a way that R.H.S. becomes a derivative of y . g (x). i.e. g (x)
or
g (x)
or
Pdx =
g ( x) dx g ( x)
or or
P dx = log (g (x))
g (x) = e P dx
P dx
of some function of x and y. This function g(x) = e (I.F.) of the given differential equation. Substituting the value of g (x) in equation (2), we get
P dx
dy P dx P dx y = Qe Pe dx d P dx P dx y e = Qe dx
or
Q e
P dx
dx
P dx
or
y= e
P dx
Q e
dx C
DIFFERENTIAL EQUATIONS
409
Steps involved to solve first order linear differential equation: (i) Write the given differential equation in the form constants or functions of x only. (ii) Find the Integrating Factor (I.F) = e P dx . (iii) Write the solution of the given differential equation as y (I.F) = Q I.F dx C In case, the first order linear differential equation is in the form
dy Py Q where P, Q are dx
dx P1 x Q1 , dy
where, P1 and Q1 are constants or functions of y only. Then I.F = e P1 dy and the solution of the differential equation is given by x . (I.F) = Q1 I.F dy C Example 19 Find the general solution of the differential equation Solution Given differential equation is of the form
dy y cos x . dx
1 dx
dy x e y = ex cos x dx
x ye x = e cos x dx C
Let
... (1)
x I = e cos x dx
= cos x
e x x ( sin x) (e ) dx 1
410
MATHEMATICS
x x
= = = or or or
cos x e cos x
sin x e
dx
) cos x ( e x ) dx
e x
x
sin x ( e sin x
cos x e
e x cos x e x dx
ye x =
sin x cos x x C e 2
or
y=
sin x cos x x Ce 2
which is the general solution of the given differential equation. Example 20 Find the general solution of the differential equation x Solution The given differential equation is
dy 2 2 y x ( x 0) . dx
... (1)
2 dy Py Q , where P and Q = x. dx x
log x 2 log f ( x ) f ( x )] x [ as e I.F = e x dx = e2 log x = e Therefore, solution of the given equation is given by
y . x2 = or
( x) ( x
) dx C =
x3 dx C
y=
DIFFERENTIAL EQUATIONS
411
Example 21 Find the general solution of the differential equation y dx (x + 2y2) dy = 0. Solution The given differential equation can be written as
dx x = 2y dy y
This is a linear differential equation of the type
1 dx P1 x Q1 , where P1 and y dy
1 y
y dy
1
e log y elog ( y )
1
x
or
1 1 = (2 y ) dy C y y
x = (2dy ) C y
x = 2y + C y
or
or x = 2y 2 + C y which is a general solution of the given differential equation. Example 22 Find the particular solution of the differential equation
dx y cot x = 2x + x2 cot x (x 0) dy
given that y = 0 when x
Solution The given equation is a linear differential equation of the type where P = cot x and Q = 2x + x2 cot x. Therefore I.F = e
cot x dx
dy Py Q , dx
Hence, the solution of the differential equation is given by y . sin x (2x + x2 cot x) sin x dx + C
412
MATHEMATICS
or or or or
y sin x = x2 sin x + C
... (1)
Substituting y = 0 and x
0=
sin
or
C=
4
(sin x 0)
or
2 y= x
4 sin x
which is the particular solution of the given differential equation. Example 23 Find the equation of a curve passing through the point (0, 1). If the slope of the tangent to the curve at any point (x, y) is equal to the sum of the x coordinate (abscissa) and the product of the x coordinate and y coordinate (ordinate) of that point. Solution We know that the slope of the tangent to the curve is Therefore, or
dy . dx
dy = x + xy dx dy xy = x dx
... (1)
dy Py Q , where P = x and Q = x. dx
x
2
DIFFERENTIAL EQUATIONS
413
ye
( x)
x2
e
2
2 dx
... (2)
x2
Let Let
x
2
I = ( x) e
t
dx
, then x dx = dt or x dx = dt.
t t
x2
Therefore,
I = e dt e
ye
or
x2
+C
x2 e2
y = 1 C ... (3) Now (3) represents the equation of family of curves. But we are interested in finding a particular member of the family passing through (0, 1). Substituting x = 0 and y = 1 in equation (3) we get 1 = 1 + C . e0 or C = 2 Substituting the value of C in equation (3), we get y = 1 2 which is the equation of the required curve.
x2 e2
EXERCISE 9.6
For each of the differential equations given in Exercises 1 to 12, find the general solution: 1. 4. 6.
dy 2 y sin x dx
2.
dy 2 x 3y e dx
3.
dy y dx x
x2
0
dy sec xy tan x 0 x dx 2
2 5. cos x
dy y tan x dx
7.
x log x
dy 2 y log x dx x
0)
414
MATHEMATICS
9.
dy dy y x xy cot x 0 ( x 0) 10. ( x y) 1 dx dx
2 12. ( x 3 y )
dy y ( y 0) . dx For each of the differential equations given in Exercises 13 to 15, find a particular solution satisfying the given condition:
11. y dx + (x y2) dy = 0 13.
2 14. (1 x )
15. 16.
17.
18.
19.
dy 3 y cot x sin 2 x; y 2 when x dx 2 Find the equation of a curve passing through the origin given that the slope of the tangent to the curve at any point (x, y) is equal to the sum of the coordinates of the point. Find the equation of a curve passing through the point (0, 2) given that the sum of the coordinates of any point on the curve exceeds the magnitude of the slope of the tangent to the curve at that point by 5. dy 2 The Integrating Factor of the differential equation x y 2 x is dx 1 (A) e x (B) e y (C) (D) x x The Integrating Factor of the differential equation
dx yx = ay (1 y 1) is dy 1 1 1 (A) 2 (B) (C) 2 y 1 1 y2 y 1 (1 y 2 )
1
(D)
1 y2
Miscellaneous Examples
Example 24 Verify that the function y = c1 eax cos bx + c2 eax sin bx, where c1, c2 are arbitrary constants is a solution of the differential equation
d2y dy 2a a 2 b2 y 0 2 dx dx
DIFFERENTIAL EQUATIONS
415
Solution The given function is y = eax [c1 cosbx + c2 sinbx] Differentiating both sides of equation (1) with respect to x, we get
... (1)
dy = e ax bc1 sin bx b c2 cos bx c1 cos bx c2 sin bx e ax a dx dy = e ax [(b c2 a c1 ) cos bx ( a c2 b c1 ) sin bx] dx Differentiating both sides of equation (2) with respect to x, we get
or ... (2)
2ae ax [(bc2 ac1 )cos bx ( ac2 bc1 )sin bx ] ( a 2 b2 ) e ax [c1 cos bx c2 sin bx]
ax =e
= e ax [0 sin bx 0 cos bx] = eax 0 = 0 = R.H.S. Hence, the given function is a solution of the given differential equation. Example 25 Form the differential equation of the family of circles in the second quadrant and touching the coordinate axes. Solution Let C denote the family of circles in the second quadrant and touching the coordinate axes. Let (a, a) be the coordinate of the centre of any member of this family (see Fig 9.6).
416
MATHEMATICS
Equation representing the family C is ... (1) (x + a)2 + (y a)2 = a2 2 2 2 ... (2) or x + y + 2ax 2ay + a = 0 Differentiating equation (2) with respect to x, we get
(a, a)
X O X
2x 2 y
or or
dy dy 2a 2a =0 dx dx
x y
dy dy = a 1 dx dx
x y y a= y 1
Y
Fig 9.6
or or or which is the differential equation representing the given family of circles. Example 26 Find the particular solution of the differential equation log given that y = 0 when x = 0. Solution The given differential equation can be written as
dy 3x 4 y dx
... (1)
Therefore
4 y dy = e3 x dx
DIFFERENTIAL EQUATIONS
417
or
... (2)
7
12 Substituting the value of C in equation (2), we get 4 e3x + 3 e 4y 7 = 0, which is a particular solution of the given differential equation.
Example 27 Solve the differential equation (x dy y dx) y sin
4 + 3 + 12 C = 0 or C =
y = (y dx + x dy) x cos x
y . x
y sin
or
... (1)
Clearly, equation (1) is a homogeneous differential equation of the form To solve it, we make the substitution y = vx or
dy dx
y . x
... (2)
dy dv = vx dx dx
418
MATHEMATICS
or or or Therefore or or or or Replacing v by
sec v = C1 v x2
... (3)
y sec x = C where, C = C 1 y ( x2 ) x
or
sec
y = C xy x
which is the general solution of the given differential equation. Example 28 Solve the differential equation (tan1y x) dy = (1 + y2) dx. Solution The given differential equation can be written as
tan 1 y dx x = 1 y2 dy 1 y 2
... (1)
DIFFERENTIAL EQUATIONS
419
dx P1 x = Q1, dy
where,
P1 =
1 tan 1y . and Q 1 1 y2 1 y2
1
tan1 y tan y e dy C = 2 1 y
1
... (2)
Let
tan 1 y tan 1 y e dy I= 2 1 y
I = t e dt = t et 1 . et dt = t et et = et (t 1)
t
x . e tan
e tan y (tan 1 y 1) C
1 1
or
x = (tan 1y 1) C e tan
(ii)
dy 4 dy 7 y sin x dx dx
(iii)
420
MATHEMATICS
2. For each of the exercises given below, verify that the given function (implicit or explicit) is a solution of the corresponding differential equation. (i) y = a e + b e + x
x x 2
: x
d2y dy 2 xy x 2 2 0 2 dx dx
d2y dy 2 2y 0 2 dx dx
d2y 9 y 6cos3 x 0 dx 2
dy xy 0 dx 3. Form the differential equation representing the family of curves given by (x a)2 + 2y2 = a2, where a is an arbitrary constant. 4. Prove that x2 y2 = c (x2 + y2)2 is the general solution of differential equation (x3 3x y2) dx = (y3 3x2y) dy, where c is a parameter. 5. Form the differential equation of the family of circles in the first quadrant which touch the coordinate axes.
2 2 : (x y )
dy 1 y2 0. dx 1 x2
8. Find the equation of the curve passing through the point 0, whose differential 4 equation is sin x cos y dx + cos x sin y dy = 0. 9. Find the particular solution of the differential equation (1 + e2x) dy + (1 + y2) ex dx = 0, given that y = 1 when x = 0.
2 y 10. Solve the differential equation y e y dx x e y dy ( y 0) . x
11. Find a particular solution of the differential equation (x y) (dx + dy) = dx dy, given that y = 1, when x = 0. (Hint: put x y = t)
DIFFERENTIAL EQUATIONS
421
e 2 x x
y dx 1 ( x 0) . x dy
13. Find a particular solution of the differential equation (x 0), given that y = 0 when x
dy y cot x = 4x cosec x dx
2 dy = 2 ey 1, given dx
that y = 0 when x = 0. 15. The population of a village increases continuously at the rate proportional to the number of its inhabitants present at any time. If the population of the village was 20, 000 in 1999 and 25000 in the year 2004, what will be the population of the village in 2009? 16. The general solution of the differential equation (A) xy = C (B) x = Cy2
y dx x dy y
is
(C) y = Cx
(D) y = Cx2
dx P 1 x Q1 is dy
Q1e
P1 dy
dy C
P1 dx
Q1e
P1 dx
dx C
P1 dy
Q1e Q1e
P1 dy
dy C
dx C
P1 dx
P1 dx
18. The general solution of the differential equation ex dy + (y ex + 2x) dx = 0 is (B) x ey + y2 = C (A) x ey + x2 = C (D) y ey + x2 = C (C) y ex + x2 = C
422
MATHEMATICS
Summary
An equation involving derivatives of the dependent variable with respect to independent variable (variables) is known as a differential equation. Order of a differential equation is the order of the highest order derivative occurring in the differential equation. Degree of a differential equation is defined if it is a polynomial equation in its derivatives. Degree (when defined) of a differential equation is the highest power (positive integer only) of the highest order derivative in it. A function which satisfies the given differential equation is called its solution. The solution which contains as many arbitrary constants as the order of the differential equation is called a general solution and the solution free from arbitrary constants is called particular solution. To form a differential equation from a given function we differentiate the function successively as many times as the number of arbitrary constants in the given function and then eliminate the arbitrary constants. Variable separable method is used to solve such an equation in which variables can be separated completely i.e. terms containing y should remain with dy and terms containing x should remain with dx. A differential equation which can be expressed in the form
dy dx f ( x, y ) or g ( x, y ) where, f (x, y) and g(x, y) are homogenous dx dy functions of degree zero is called a homogeneous differential equation.
dy + Py Q , where P and Q are constants dx or functions of x only is called a first order linear differential equation.
Historical Note
One of the principal languages of Science is that of differential equations. Interestingly, the date of birth of differential equations is taken to be November, 11,1675, when Gottfried Wilthelm Freiherr Leibnitz (1646 - 1716) first put in black and white the identity
y dy 2 y
1
DIFFERENTIAL EQUATIONS
423
Leibnitz was actually interested in the problem of finding a curve whose tangents were prescribed. This led him to discover the method of separation of variables 1691. A year later he formulated the method of solving the homogeneous differential equations of the first order. He went further in a very short time to the discovery of the method of solving a linear differential equation of the first-order. How surprising is it that all these methods came from a single man and that too within 25 years of the birth of differential equations! In the old days, what we now call the solution of a differential equation, was used to be referred to as integral of the differential equation, the word being coined by James Bernoulli (1654 - 1705) in 1690. The word solution was first used by Joseph Louis Lagrange (1736 - 1813) in 1774, which was almost hundred years since the birth of differential equations. It was Jules Henri Poincare (1854 - 1912) who strongly advocated the use of the word solution and thus the word solution has found its deserved place in modern terminology. The name of the method of separation of variables is due to John Bernoulli (1667 - 1748), a younger brother of James Bernoulli. Application to geometric problems were also considered. It was again John Bernoulli who first brought into light the intricate nature of differential equations. In a letter to Leibnitz, dated May 20, 1715, he revealed the solutions of the differential equation x2 y = 2y, which led to three types of curves, viz., parabolas, hyperbolas and a class of cubic curves. This shows how varied the solutions of such innocent looking differential equation can be. From the second half of the twentieth century attention has been drawn to the investigation of this complicated nature of the solutions of differential equations, under the heading qualitative analysis of differential equations. Now-a-days, this has acquired prime importance being absolutely necessary in almost all investigations.
Chapter
11
and
* For various activities in three dimensional geometry, one may refer to the Book A Hand Book for designing Mathematics Laboratory in Schools, NCERT, 2005
464
MATHEMATICS
Fig 11.1
Note that a given line in space can be extended in two opposite directions and so it has two sets of direction cosines. In order to have a unique set of direction cosines for a given line in space, we must take the given line as a directed line. These unique direction cosines are denoted by l, m and n. Remark If the given line in space does not pass through the origin, then, in order to find its direction cosines, we draw a line through the origin and parallel to the given line. Now take one of the directed lines from the origin and find its direction cosines as two parallel line have same set of direction cosines. Any three numbers which are proportional to the direction cosines of a line are called the direction ratios of the line. If l, m, n are direction cosines and a, b, c are direction ratios of a line, then a = l, b=m and c = n, for any nonzero R.
l m = = a b l = ak, m = 2 l + m2 + n2 = 2 2 k (a + b2 + c2) =
... (1)
k=
465
a a b c
2 2 2
, m
b a b c
2 2 2
,n
c a b2 c2
2
where, depending on the desired sign of k, either a positive or a negative sign is to be taken for l, m and n. For any line, if a, b, c are direction ratios of a line, then ka, kb, kc; k 0 is also a set of direction ratios. So, any two sets of direction ratios of a line are also proportional. Also, for any line there are infinitely many sets of direction ratios. 11.2.1 Relation between the direction cosines of a line Consider a line RS with direction cosines l, m, n. Through the origin draw a line parallel to the given line and take a point P(x, y, z) on this line. From P draw a perpendicular PA on the x-axis (Fig. 11.2). Let OP = r. Then cos Similarly, Thus But Hence
Z S R O
P (x, y , z)
a r O a x A Y P
Fig 11.2
11.2.2 Direction cosines of a line passing through two points Since one and only one line passes through two given points, we can determine the direction cosines of a line passing through the given points P(x1, y1, z1) and Q(x2, y2, z2) as follows (Fig 11.3 (a)).
Fig 11.3
466
MATHEMATICS
Let l, m, n be the direction cosines of the line PQ and let it makes angles , and with the x, y and z-axis, respectively. Draw perpendiculars from P and Q to XY-plane to meet at R and S. Draw a perpendicular from P to QS to meet at N. Now, in right angle triangle PNQ, PQN= (Fig 11.3 (b). Therefore, Similarly cos = cos =
NQ PQ
z2 z1 PQ
x2 x1 y y and cos 2 1 PQ PQ Hence, the direction cosines of the line segment joining the points P(x1, y1, z1) and Q(x2, y2, z2) are x2
PQ
x1
y2
PQ
y1
z2
PQ
z1
where
PQ =
( x2
x1 ) 2
( y2
y1 ) 2
z2 z1 2
Note
The direction ratios of the line segment joining P(x1, y1, z1) and Q(x2, y2, z2) may be taken as x2 x1, y2 y1, z2 z1 or x1 x2, y1 y2, z1 z2 Example 1 If a line makes angle 90, 60 and 30 with the positive direction of x, y and z-axis respectively, find its direction cosines. Solution Let the d . c . 's of the lines be l , m, n. Then l = cos 900 = 0, m = cos 600 = n = cos 300 =
1 , 2
2 22
or
(1) 2 (2) 2
22
1 (1) 2 (2) 2
22
2 12 (2) 2
2 1 2 , , 3 3 3 Example 3 Find the direction cosines of the line passing through the two points ( 2, 4, 5) and (1, 2, 3).
467
Solution We know the direction cosines of the line passing through two points P(x1, y1, z1) and Q(x2, y2, z2) are given by
x2 x1 y2 y1 z2 z1 , , PQ PQ PQ
where
PQ =
2 ( x2 x1 ) 2 ( y 2 y1 ) 2 z 2 z1
Here P is ( 2, 4, 5) and Q is (1, 2, 3). So PQ = (1 (2)) 2 (2 4) 2 (3 (5)) 2 = Thus, the direction cosines of the line joining two points is
77
EXERCISE 11.1
1. If a line makes angles 90, 135, 45 with the x, y and z-axes respectively, find its direction cosines. 2. Find the direction cosines of a line which makes equal angles with the coordinate axes. 3. If a line has the direction ratios 18, 12, 4, then what are its direction cosines ? 4. Show that the points (2, 3, 4), ( 1, 2, 1), (5, 8, 7) are collinear. 5. Find the direction cosines of the sides of the triangle whose vertices are (3, 5, 4), ( 1, 1, 2) and ( 5, 5, 2).
468
MATHEMATICS
Fig 11.4
AP = OP OA
b
= r a Conversely, for each value of the parameter , this equation gives the position vector of a point P on the line. Hence, the vector equation of the line is given by
r = a+ b
... (1)
, then a, b, c are direction ratios of the line and conversely, bj ck Remark If b ai will be the parallel to bj ck if a, b, c are direction ratios of a line, then b ai
the line. Here, b should not be confused with | b |. Derivation of cartesian form from vector form Let the coordinates of the given point A be (x1, y1, z1) and the direction ratios of the line be a, b, c. Consider the coordinates of any point P be (x, y, z). Then ; a y y r xi j zk j z k x i and
b b ai jck
, , we get j and k Substituting these values in (1) and equating the coefficients of i ... (2) x = x1 + a; y = y1 + b; z = z1+ c
469
These are parametric equations of the line. Eliminating the parameter from (2), we get
... (3)
Note If l, m, n are the direction cosines of the line, the equation of the line is
x x1 y y1 z z1 = = m n l
Example 6 Find the vector and the Cartesian equations of the line through the point . 2 (5, 2, 4) and which is parallel to the vector 3 i j 8k
Solution We have
i (2 2 ) j ( 4 8 ) k = (5 3 )
Fig 11.5
470
MATHEMATICS
... (1)
, we get , Equating the like coefficients of i j, k x = x1 + (x2 x1); y = y1 + (y2 y1); z = z1 + (z2 z1) On eliminating , we obtain x x1 y y1 z z1 x2 x1 y2 y1 z2 z1
which is the equation of the line in Cartesian form. Example 7 Find the vector equation for the line passing through the points (1, 0, 2) and (3, 4, 6). Solution Let a and b be the position vectors of the point A ( 1, 0, 2) and B (3, 4, 6). 2k Then ai and Therefore
b a 4i j 4k 4 Let r be the position vector of any point on the line. Then the vector equation of the line is (4 i ) 2k 4 r i j 4k
Example 8 The Cartesian equation of a line is x 3 y 5 z 6 2 4 2 Find the vector equation for the line. Solution Comparing the given equation with the standard form x x1 y y1 z z1 a b c We observe that x1 = 3, y1 = 5, z1 = 6; a = 2, b = 4, c = 2.
4 b 3i j 6k
471
Thus, the required line passes through the point ( 3, 5, 6) and is parallel to the . Let r 4 be the position vector of any point on the line, then the vector 2 i j 2k vector equation of the line is given by
) 4 ) + (2 i 5 j 2k r (3 i j 6k
11.4 Angle between Two Lines
Let L1 and L2 be two lines passing through the origin and with direction ratios a1, b1, c1 and a2, b2, c2, respectively. Let P be a point on L1 and Q be a point on L2. Consider the directed lines OP and OQ as given in Fig 11.6. Let be the acute angle between OP and OQ. Now recall that the directed line segments OP and OQ are vectors with components a1, b1, c1 and a2, b2, c2, respectively. Therefore, the angle between them is given by cos =
a1a2
2 a1 2 b1
b1b2 c1c2
2 2 2 2 c1 a2 b2 c2
... (2)
Note In case the lines L1 and L2 do not pass through the origin, we may take lines L1 and L2 which are parallel to L1 and L2 respectively and pass through
the origin.
472
MATHEMATICS
If instead of direction ratios for the lines L1 and L2, direction cosines, namely, l1, m1, n1 for L1 and l2, m2, n2 for L2 are given, then (1) and (2) takes the following form: cos = | l1 l2 + m1m2 + n1n2 | and sin =
2 2 2 2 2 (as l12 m1 ) n12 1 l2 m2 n2
2 2 l1 m2 l2 m1 ( m1 n2 m2 n1 ) ( n1 l2 n2 l1 )
Two lines with direction ratios a1, b1, c1 and a2, b2, c2 are (i) perpendicular i.e. if = 90 by (1) a1a2 + b1b2 + c1c2 = 0 (ii) parallel i.e. if = 0 by (2)
a1 b1 a2 = b2
c1 c2
Now, we find the angle between two lines when their equations are given. If is acute the angle between the lines r = a1 b1 and r = a2 b2 b1 b 2 then cos = b1 b 2 In Cartesian form, if is the angle between the lines
x x1 y y1 z z1 = a1 b1 c1
and
... (1)
x x2 y y2 z z2 = a2 b2 c2
... (2)
where, a1, b1, c1 and a2, b2, c2 are the direction ratios of the lines (1) and (2), respectively, then cos =
Example 9 Find the angle between the pair of lines given by (i ) 2 2 j 4k j 2k r = 3i and
) 2 2 j (3 i j 6k r = 5i
473
and b = 3 i 2 2 Solution Here b1 = i j 2k j 6k 2 The angle between the two lines is given by
cos =
b1 b2 b1 b2
) (3 i ) 2 2 j 2k j 6k (i 1 4 4 9 4 36
3 4 12 19 3 7 21 19 Hence = cos1 21 Example 10 Find the angle between the pair of lines x3 y 1 z 3 = 3 5 4 x 1 y4 z5 and = 1 1 2
Solution The direction ratios of the first line are 3, 5, 4 and the direction ratios of the second line are 1, 1, 2. If is the angle between them, then cos =
3.1 5.1 4.2 3 5 4
2 2 2
1 1 2
2 2
16 16 8 3 15 50 6 5 2 6
474
MATHEMATICS
The line GE that goes diagonally across the ceiling and the line DB passes through one corner of the ceiling directly above A and goes diagonally down the wall. These lines are skew because they are not parallel and also never meet. By the shortest distance between two lines we mean the join of a point in one line with one point on the other line so that the length of the segment so obtained is the smallest. For skew lines, the line of the shortest distance will be perpendicular to both the lines. 11.5.1 Distance between two skew lines We now determine the shortest distance between two skew lines in the following way: Let l1 and l2 be two skew lines with equations (Fig. 11.8)
r = a1 b1
and
r = a2 b2
Take any point S on l1 with position vector a1 and T on l2, with position vector a 2. Then the magnitude of the shortest distance vector T will be equal to that of the projection of ST along the Q l2 direction of the line of shortest distance (See 10.6.2). If PQ is the shortest distance vector between l1 and l2 , then it being perpendicular to both b1 and
l1
Fig 11.8
... (3)
Then PQ = d n where, d is the magnitude of the shortest distance vector. Let be the angle between
ST and PQ . Then
PQ = ST | cos |
But
PQ ST cos = | PQ | | ST |
(a2 a1 ) d n = d ST
(since ST a2 a1 )
[From (3)]
475
( b1
b2 ) . (a2 | b1 b2 |
a1 )
x x1 y y1 z z1 = b1 c1 a1 x x2 y y2 z z2 = b2 c2 a2 x2 x1 a1 a2 y2 b1 b2 (c1a2 c2 a1 )2 y1 z2 c1 c2 (a1b2 a2 b1 )2 z1
is
(b1c2
b2 c1 )2
11.5.2 Distance between parallel lines If two lines l1 and l2 are parallel, then they are coplanar. Let the lines be given by ... (1) r = a1 b and (2) r = a2 b where, a1 is the position vector of a point S on l1 and a2 is the position vector of a point T on l2 Fig 11.9. As l1, l2 are coplanar, if the foot of the perpendicular from T on the line l1 is P, then the distance between the lines l1 and l2 = | TP |. Let be the angle between the vectors ST and b . Then b ST = ( | b | | ST| sin ) n
Fig 11.9
... (3)
is the unit vector perpendicular to the plane of the lines l1 and l2 where n But ST = a2 a1
476
MATHEMATICS
b (a2 a1 ) = | b | PT n
i.e.,
| b (a2 a1 )| = | b | PT 1 | = 1) (as | n Hence, the distance between the given parallel lines is
d = | PT |
(since PT = ST sin )
b (a2 a1 ) |b |
Example 11 Find the shortest distance between the lines l1 and l2 whose vector equations are ) ... (1) j (2 i jk r = i and
(3 i ) 5 j k j 2k r = 2i
... (2)
Therefore and
and b = 3 i + 5 a2 = 2 i j k j + 2k 2 k a2 a1 = i
)(3i ) 5 jk j2k b1 b2 = ( 2 i i j k 2 1 1 3 5 2 j 7 k 3 i
a1 = i j , b1 2 i jk
| 3 0 7 | 59
10 59
Example 12 Find the distance between the lines l1 and l2 given by 2 (2i ) 3 j4k j6k r = i and
477
b (a2 a1 ) d= = |b |
| 14 j4k | 9i 293 49 49
293 7
EXERCISE 11.2
1. Show that the three lines with direction cosines
x3 y4 z8 . 3 5 6
x5 y4 z6 . Write its vector form. 3 7 2 8. Find the vector and the cartesian equations of the lines that passes through the origin and (5, 2, 3).
7. The cartesian equation of a line is
478
MATHEMATICS
9. Find the vector and the cartesian equations of the line that passes through the points (3, 2, 5), (3, 2, 6). 10. Find the angle between the following pairs of lines:
(ii) r 3 i r 2i
11. Find the angle between the following pair of lines: x 2 y 1 z 3 x2 y4 z5 and (i) 3 1 2 5 8 4
each other. 14. Find the shortest distance between the lines ) and ) + (i jk r (i jk 2
(2 i ) r 2i jk j2k 15. Find the shortest distance between the lines x3 y5 z7 x 1 y 1 z 1 and 1 1 7 1 6 2 16. Find the shortest distance between the lines whose vector equations are ) + (i ) 3 r (i j 3k j 2k 2 (2 i ) 5 3 and r 4 i j 6 k j k 17. Find the shortest distance between the lines whose vector equations are and (t 2) r (1 t ) i j (3 2 t ) k (2s 1) r ( s 1) i j (2s 1) k
479
11.6 Plane
A plane is determined uniquely if any one of the following is known: (i) the normal to the plane and its distance from the origin is given, i.e., equation of a plane in normal form. (ii) it passes through a point and is perpendicular to a given direction. (iii) it passes through three given non collinear points. Now we shall find vector and Cartesian equations of the planes. 11.6.1 Equation of a plane in normal form Consider a plane whose perpendicular distance from the origin is d (d 0). Fig 11.10.
is the unit normal vector If ON is the normal from the origin to the plane, and n
. Let P be any along ON . Then ON = d n
point on the plane. Therefore, NP is perpendicular to ON . Therefore, NP ON = 0
... (1)
( r d n) n = 0 r n d n n = 0
(d 0)
Fig 11.10
or
r n =d (as n n 1) i.e., This is the vector form of the equation of the plane. Cartesian form
(2)
is the unit vector normal to Equation (2) gives the vector equation of a plane, where n the plane. Let P(x, y, z) be any point on the plane. Then y jzk OP = r x i
480
MATHEMATICS
) (l i ) d y m (x i j z k jn k i.e., lx + my + nz = d This is the cartesian equation of the plane in the normal form.
... (3)
of a plane, then ax + by + cz = d is the Cartesian equation of the plane, where a, b and c are the direction ratios of the normal to the plane.
29 . Also find its 3 from the origin and its normal vector from the origin is 2 i j 4k cartesian form. . Then 3 Solution Let n 2 i j4k
Example 14 Find the direction cosines of the unit vector perpendicular to the plane ) 1 = 0 passing through the origin. 3 r (6 i j2k Solution The given equation can be written as )= 1 3 r ( 6 i j2 k ... (1)
6 3 2 1 i j k = 7 7 7 7
481
Example 15 Find the distance of the plane 2x 3y + 4z 6 = 0 from the origin. Solution Since the direction ratios of the normal to the plane are 2, 3, 4; the direction cosines of it are
2 2 ( 3) 4
2 2 2
3
2 ( 3) 4
2 2 2
4 2 ( 3) 4
2 2 2
, i.e.,
2 3 4 , , 29 29 29
29 , we get
3 2 4 6 x y z 29 29 29 29 This is of the form lx + my + nz = d, where d is the distance of the plane from the
origin. So, the distance of the plane from the origin is
6 29
Example 16 Find the coordinates of the foot of the perpendicular drawn from the origin to the plane 2x 3y + 4z 6 = 0. Solution Let the coordinates of the foot of the perpendicular P from the origin to the plane is (x1, y1, z1) (Fig 11.11). Z Then, the direction ratios of the line OP are x1, y1, z1. P(x1 , y1 , z1) Writing the equation of the plane in the normal form, we have
2 29 x 3 29 y 4 29 z 6 29
O Y
where,
Fig 11.11
x1 y1 = 2 3 29 29
i.e., x1 =
2k 29
z1 =k 4 29
, y1 =
3k , 4k z1
29
29
482
MATHEMATICS
Substituting these in the equation of the plane, we get k = Hence, the foot of the perpendicular is
6 29
12 , 18 , 24 . 29 29 29
the normal to the plane through the origin, then the foot of the perpendicular is (ld, md, nd). 11.6.2 Equation of a plane perpendicular to a given vector and passing through a given point In the space, there can be many planes that are perpendicular to the given vector, but through a given point P(x1, y1, z1), only one such plane exists (see Fig 11.12). Let a plane pass through a point A with position vector a and perpendicular to the vector N .
Note If d is the distance from the origin and l, m, n are the direction cosines of
Fig 11.12
Let r be the position vector of any point P(x, y, z) in the plane. (Fig 11.13). Then the point P lies in the plane if and only if
AP r a . Therefore, ( r a ) N 0
Cartesian form
This is the vector equation of the plane. Let the given point A be (x1, y1, z1), P be (x, y, z) and direction ratios of N are A, B and C. Then,
Fig 11.13
and , r B y1 N Ai j Ck xi y j z k a x1 i j z1 k
Now So i.e.
(r a ) N = 0
x x1 i y y1 j z z1 k (A i B j C k ) 0
A (x x1) + B (y y1) + C (z z1) = 0
Example 17 Find the vector and cartesian equations of the plane which passes through the point (5, 2, 4) and perpendicular to the line with direction ratios 2, 3, 1.
483
)] (2 i ) 0 2 3 [r (5 i j 4k j k ] (2 i ) 0 ( y 2) 3 [( x 5) i j ( z 4) k jk
... (1)
X r
Fig 11.14
The vectors RS and RT are in the given plane. Therefore, the vector RS RT is perpendicular to the plane containing points R, S and T. Let r be the position vector of any point P in the plane. Therefore, the equation of the plane passing through R and perpendicular to the vector RS RT is
(r a ) (RS RT) = 0
or
( r a ) [( b a )( c a )] = 0
(1)
484
MATHEMATICS
This is the equation of the plane in vector form passing through three noncollinear points. Note Why was it necessary to say that the three points had to be non collinear? If the three points were on the same line, then there will be many planes that will contain them (Fig 11.15).
R S T
These planes will resemble the pages of a book where the line containing the points R, S and T are members in the binding of the book.
Fig 11.15 Cartesian form Let (x1, y1, z1), (x2, y2, z2) and (x3, y3, z3) be the coordinates of the points R, S and T respectively. Let (x, y, z) be the coordinates of any point P on the plane with position vector r . Then + (y y1) j + (z z1) k RP = (x x1) i
+ (y2 y1) j + (z2 z1) k RS = (x2 x1) i + (y3 y1) j + (z3 z1) k RT = (x3 x1) i
Substituting these values in equation (1) of the vector form and expressing it in the form of a determinant, we have
x x1 x2 x3 x1 x1 y y1 y2 y3 y1 y1 z z1 z2 z1 z3 z1 0
which is the equation of the plane in Cartesian form passing through three non collinear points (x1, y1, z1), (x2, y2, z2) and (x3, y3, z3). Example 18 Find the vector equations of the plane passing through the points R (2, 5, 3), S ( 2, 3, 5) and T(5, 3, 3).
Then the vector equation of the plane passing through a , b and c and is given by (r a ) (RS RT) = 0 (Why?)
, b 2i , c 5i 5 3 3 Solution Let a 2 i j 3k j 5k j 3k
or i.e.
(r a ) [(b a ) (c a ) ] = 0
)] [(4 i ) (3 i 5 8 2 [r (2 i j 3k j 8k j )] 0
485
11.6.4 Intercept form of the equation of a plane In this section, we shall deduce the equation of a plane in terms of the intercepts made by the plane on the coordinate axes. Let the equation of the plane be ... (1) Ax + By + Cz + D = 0 (D 0) Let the plane make intercepts a, b, c on x, y and z axes, respectively (Fig 11.16). Hence, the plane meets x, y and z-axes at (a, 0, 0), (0, b, 0), (0, 0, c), respectively. Therefore Aa + D = 0 or A = Bb + D = 0 or B = Cc + D = 0 or C =
D
a
D
b
D
Fig 11.16
c Substituting these values in the equation (1) of the plane and simplifying, we get x y z =1 a b c which is the required equation of the plane in the intercept form.
... (1)
Example 19 Find the equation of the plane with intercepts 2, 3 and 4 on the x, y and z-axis respectively. Solution Let the equation of the plane be
x y z =1 ... (1) a b c Here a = 2, b = 3, c = 4. Substituting the values of a, b and c in (1), we get the required equation of the
plane as
x y z 1 or 6x + 4y + 3z = 12. 2 3 4
11.6.5 Plane passing through the intersection of two given planes Let 1 and 2 be two planes with equations 1 = d1 and r n 2 = d2 respectively. The position rn vector of any point on the line of intersection must satisfy both the equations (Fig 11.17).
Fig 11.17
486
MATHEMATICS
Since t is arbitrary, it satisfies for any point on the line. Hence, the equation r ( n1 n2 ) d1 d 2 represents a plane 3 which is such that if any vector r satisfies both the equations 1 and 2, it also satisfies the equation i.e., any plane passing through the intersection of the planes 3 r n1 = d1 and r n2 d 2 has the equation Cartesian form In Cartesian system, let
B2 n1 = A1 i j C1 k B2 n2 = A 2 i j C2 k
r ( n1
n2 ) = d1 + d2
... (1)
and
y jzk r = xi
Then (1) becomes x (A1 + A2) + y (B1 + B2) + z (C1 + C2) = d1 + d2 or (A1 x + B1 y + C1z d1) + (A2 x + B2 y + C2 z d2) = 0
... (2)
which is the required Cartesian form of the equation of the plane passing through the intersection of the given planes for each value of . Example 20 Find the vector equation of the plane passing through the intersection of
) 6 and r ) 5, and the point (1, 1, 1). 3 the planes r (i jk j 4k (2i and n Solution Here, n1 i jk 2 = 2 i 3 j 4k ;
and
d1 = 6 and d2 = 5
or
] = 6 5 (1 3) r [(1 2) i j (1 4 )k
(1)
487
Taking
, we get r xi jzk y
) [(1 2 ) i ] 6 5 y (1 3 ) ( xi jzk j (1 4 )k
(1 + 2 ) x + (1 + 3) y + (1 + 4) z = 6 5 (x + y + z 6 ) + (2x + 3y + 4 z + 5) = 0 (1 + 1 + 1 6) + (2 + 3 + 4 + 5) = 0 ... (2)
or or
Given that the plane passes through the point (1,1,1), it must satisfy (2), i.e.
or
3 9 6 r 1 i 1 j 1 k = 6 15 14 7 14 7
or or
10 23 13 69 i j k = 7 14 7 14 ) = 69 23 r (20 i j 26 k
r = a1 b1
... (1)
and
r = a2 b2
to b1 . The line (2) passes through the point, say B with position vector a2 and is parallel to b2 . Thus,
The line (1) passes through the point, say A, with position vector a1 and is parallel
... (2)
AB = a2 a1
Cartesian form Let (x1, y1, z1) and (x2, y2, z2) be the coordinates of the points A and B respectively.
488
MATHEMATICS
Let a1, b1, c1 and a2, b2, c2 be the direction ratios of b1 and b2 , respectively. Then
( y2 y1 ) j ( z2 z1 )k AB ( x2 x1 ) i and b a i b1 b1 a1 i j c1 k 2 2 b2 j c2 k
The given lines are coplanar if and only if AB b1 b2 0 . In the cartesian form, it can be expressed as
x2 x1 a1 a2 y2 y1 b2 b2 z2 z1 c1 c2
... (4)
1 2 5
Fig 11.18
489
If n1 and n2 are normals to the planes and be the angle between the planes r n1 = d1 and r . n2 d 2 . Then is the angle between the normals to the planes drawn from some common point.
We have, cos =
n1 n2 | n1 | | n2 |
Note The planes are perpendicular to each other if n1 . n2 = 0 and parallel if n1 is parallel to n2 .
Cartesian form Let be the angle between the planes, A1 x + B1 y + C1z + D1 = 0 and A2x + B2 y + C2 z + D2 = 0 The direction ratios of the normal to the planes are A1, B1, C1 and A2, B2, C2 respectively. Therefore, cos =
A1 A 2
2 A1 2 B1
B1 B 2
2 C1
C1 C2
2 2 2 A2 B2 C2
Note 1. If the planes are at right angles, then = 90 o and so cos = 0. Hence, cos = A1A2 + B1B2 + C1C2 = 0.
2. If the planes are parallel, then
A1 B C 1 1. A2 B2 C2
Example 22 Find the angle between the two planes 2x + y 2z = 5 and 3x 6y 2z = 7 using vector method. Solution The angle between two planes is the angle between their normals. From the equation of the planes, the normal vectors are and N 2 3 i 6 j2k j2k N1 = 2 i ) (3 i ) 6 j 2k j2k N1 N 2 (2 i 4 Therefore cos = = 21 | N1 | | N 2 | 4 1 4 9 36 4 Hence
4 = cos 1 21
490
MATHEMATICS
Example 23 Find the angle between the two planes 3x 6y + 2z = 7 and 2x + 2y 2z =5. Solution Comparing the given equations of the planes with the equations A1 x + B1 y + C1 z + D1 = 0 and A2 x + B2 y + C2 z + D2 = 0 We get A1 = 3, B1 = 6, C1 = 2 A2 = 2, B2 = 2, C2 = 2 cos =
32 ( 6) 2 (2)2 22 22 (2) 2
5 5 3 10 21 72 3 7 3
Therefore,
5 3 = cos-1 21
Z
p1 Q N d Y
p2 P N O N X (b) Y
p1 d
X (a)
Fig 11.19
Consider a plane 2 through P parallel to the plane 1. The unit vector normal to 0 . Hence, its equation is ( r a ) n 2 is n = an r n i.e., | . Therefore, the distance Thus, the distance ON of this plane from the origin is | a n PQ from the plane 1 is (Fig. 11.21 (a)) | i.e., ON ON = | d a n
491
which is the length of the perpendicular from a point to the given plane. We may establish the similar results for (Fig 11.19 (b)).
Note
1.
2.
Cartesian form
Let P(x1, y1, z1) be the given point with position vector a and Ax + By + Cz = D be the Cartesian equation of the given plane. Then
y1 j z1 k a = x1 i
) =4 3 r ( 6 i j2k
492
MATHEMATICS
bn cos = | b | | n |
and so the angle between the line and the plane is given by 90 , i.e., sin (90 ) = cos i.e.
) ( 2 i ) 3k 3 j6k r = ( i
and Here
) =3 2 r ( 10 i j 11 k
3 j6k b = 2i
sin =
2 and n 10 i j 11 k
8 8 40 8 = = or = sin 1 21 7 15 21 21
493
EXERCISE 11.3
1. In each of the following cases, determine the direction cosines of the normal to the plane and the distance from the origin. (a) z = 2 (b) x + y + z = 1 (c) 2x + 3y z = 5 (d) 5y + 8 = 0 2. Find the vector equation of a plane which is at a distance of 7 units from the
. origin and normal to the vector 3 i 5 j6k
] 15 (3 t ) (c) r [( s 2t ) i j (2 s t ) k 4. In the following cases, find the coordinates of the foot of the perpendicular drawn from the origin. (a) 2x + 3y + 4z 12 = 0 (b) 3y + 4z 6 = 0 (c) x + y + z = 1 (d) 5y + 8 = 0 5. Find the vector and cartesian equations of the planes (a) that passes through the point (1, 0, 2) and the normal to the plane is . i jk
(b) that passes through the point (1,4, 6) and the normal vector to the plane is . 2 i jk 6. Find the equations of the planes that passes through three points. (a) (1, 1, 1), (6, 4, 5), ( 4, 2, 3) (b) (1, 1, 0), (1, 2, 1), ( 2, 2, 1) 7. Find the intercepts cut off by the plane 2x + y z = 5. 8. Find the equation of the plane with intercept 3 on the y-axis and parallel to ZOX plane. 9. Find the equation of the plane through the intersection of the planes 3x y + 2z 4 = 0 and x + y + z 2 = 0 and the point (2, 2, 1). 10. Find the vector equation of the plane passing through the intersection of the ) 7, r ) 9 and through the point 2 5 planes r .( 2 i j 3k .( 2 i j 3k (2, 1, 3). 11. Find the equation of the plane through the line of intersection of the planes x + y + z = 1 and 2x + 3y + 4z = 5 which is perpendicular to the plane x y + z = 0.
(a) r (i j k) 2
) 1 (b) r (2 i j 4k 3
494
MATHEMATICS
12. Find the angle between the planes whose vector equations are
) 5 and r 2 3 r (2 i j3k j (3 i
) 3. 5k
13. In the following cases, determine whether the given planes are parallel or perpendicular, and in case they are neither, find the angles between them. (a) 7x + 5y + 6z + 30 = 0 and 3x y 10z + 4 = 0 (b) 2x + y + 3z 2 = 0 (c) 2x 2y + 4z + 5 = 0 (d) 2x y + 3z 1 = 0 (e) 4x + 8y + z 8 = 0 and x 2y + 5 = 0 and 3x 3y + 6z 1 = 0 and 2x y + 3z + 3 = 0 and y + z 4 = 0
14. In the following cases, find the distance of each of the given points from the corresponding given plane. Point (a) (0, 0, 0) (b) (3, 2, 1) (c) (2, 3, 5) (d) ( 6, 0, 0) Plane 3x 4y + 12 z = 3 2x y + 2z + 3 = 0 x + 2y 2z = 9 2x 3y + 6z 2 = 0
Miscellaneous Examples
Example 26 A line makes angles
, , and
cos2 + cos2
+ cos2 + cos2 =
4 3
Solution A cube is a rectangular parallelopiped having equal length, breadth and height. Let OADBFEGC be the cube with each side of length a units. (Fig 11.21) The four diagonals are OE, AF, BG and CD. The direction cosines of the diagonal OE which is the line joining two points O and E are
a0 a2 a2 a2
i.e.,
1 3
a0 a2 a2 a2
1 3
a 0 a2 a2 a2
1 3
Fig 11.21
495
1 1 1 1 , , ; , 3 3 3 3
1 1 1 1 1 , and , , , respectively. 3 3 3 3 3 Let l, m, n be the direction cosines of the given line which makes angles with OE, AF, BG, CD, respectively. Then
, , ,
cos = cos =
1 1 (l m + n); cos = (l + m n) 3 3 Squaring and adding, we get cos2 + cos2 + cos2 + cos2
(Why?)
= =
Example 27 Find the equation of the plane that contains the point (1, 1, 2) and is perpendicular to each of the planes 2x + 3y 2z = 5 and x + 2y 3z = 8. Solution The equation of the plane containing the given point is A (x 1) + B(y + 1) + C (z 2) = 0 ... (1) Applying the condition of perpendicularly to the plane given in (1) with the planes 2x + 3y 2z = 5 and x + 2y 3z = 8, we have 2A + 3B 2C = 0 and A + 2B 3C = 0 Solving these equations, we find A = 5C and B = 4C. Hence, the required equation is 5C (x 1) + 4 C (y + 1) + C(z 2) = 0 i.e. 5x 4y z = 7 Example 28 Find the distance between the point P(6, 5, 9) and the plane determined by the points A (3, 1, 2), B (5, 2, 4) and C( 1, 1, 6). Solution Let A, B, C be the three points in the plane. D is the foot of the perpendicular drawn from a point P to the plane. PD is the required distance to be determined, which is the projection of AP on AB
AC .
496
MATHEMATICS
and
AB AC =
i 2
j k 16 3 2 12 i j 12 k 0 4
4 3i j 3k 34
4 j 3k ) . 3 i PD = ( 3 i 6 j7k 34
=
3 34 17 Alternatively, find the equation of the plane passing through A, B and C and then compute the distance of the point P from the plane.
xad
= =
ya
y b
zad
zbc
xbc
are coplanar.
x2 y2 z2 a2 b2 c2
= = = = = =
bc b b+c
x2 x1 a1 a2
y2 y1 b1 b2
b c a d z2 z1 c1 = c2
b a b c a d
497
ba
2
b a b c a d
=0
Since the first and second columns are identical. Hence, the given two lines are coplanar. Example 30 Find the coordinates of the point where the line through the points A (3, 4, 1) and B (5, 1, 6) crosses the XY-plane. Solution The vector equation of the line through the points A and B is [ (5 3) i ] 4 (1 4) jk j ( 6 1) k r = 3i i.e.
(2i ) 4 3 ... (1) jk j 5 k r = 3i Let P be the point where the line AB crosses the XY-plane. Then the position y vector of the point P is of the form x i j.
, we have , Equating the like coefficients of i j and k x= 3+2 y= 43 0= 1+5 Solving the above equations, we get
x=
13 23 and y 5 5
13 23 , 0 . , 5 5
498
MATHEMATICS
3. Find the angle between the lines whose direction ratios are a, b , c and b c, c a, a b. 4. Find the equation of a line parallel to x-axis and passing through the origin. 5. If the coordinates of the points A, B, C, D be (1, 2, 3), (4, 5, 7), ( 4, 3, 6) and (2, 9, 2) respectively, then find the angle between the lines AB and CD. 6. If the lines
x 1 y 2 z 3 x 1 y 1 z 6 are perpendicular, and 2k 2 3k 1 3 5 find the value of k. 7. Find the vector equation of the line passing through (1, 2, 3) and perpendicular to
) 9 0 . 2 j5k the plane r . ( i 8. Find the equation of the plane passing through (a, b, c) and parallel to the plane r (i j k ) 2.
(3 i ) . k 2 j2k and r 4 i Find the coordinates of the point where the line through (5, 1, 6) and (3, 4,1) crosses the YZ-plane. Find the coordinates of the point where the line through (5, 1, 6) and (3, 4, 1) crosses the ZX-plane. Find the coordinates of the point where the line through (3, 4, 5) and (2, 3, 1) crosses the plane 2x + y + z = 7. Find the equation of the plane passing through the point ( 1, 3, 2) and perpendicular to each of the planes x + 2y + 3z = 5 and 3x + 3y + z = 0. If the points (1, 1, p ) and ( 3, 0, 1) be equidistant from the plane ) 13 0, then find the value of p. r (3 i j 12 k 4
15. Find the equation of the plane passing through the line of intersection of the ) 4 0 and parallel to x-axis. planes r (i j k ) 1 and r (2 i 3 jk 16. If O be the origin and the coordinates of P be (1, 2, 3), then find the equation of the plane passing through P and perpendicular to OP. 17. Find the equation of the plane which contains the line of intersection of the planes ) 4 0 , r ) 5 0 and which is perpendicular to the 2 (2 i r (i j 3k jk
) 8 0 . plane r (5 i 3 j 6k
499
18. Find the distance of the point ( 1, 5, 10) from the point of intersection of the (3 i ) and the plane r 4 line r 2 i j2k j2k (i j k ) 5 . 19. Find the vector equation of the line passing through (1, 2, 3) and parallel to the ) 5 and r planes r (i j 2k (3 i j k ) 6 . 20. Find the vector equation of the line passing through the point (1, 2, 4) and perpendicular to the two lines:
x 8 y 19 z 10 x 15 y 29 z 5 . and = 3 7 3 8 16 5 21. Prove that if a plane has the intercepts a, b, c and is at a distance of p units from
1 1 1 1 2 2 2. 2 a b c p Choose the correct answer in Exercises 22 and 23. 22. Distance between the two planes: 2x + 3y + 4z = 4 and 4x + 6y + 8z = 12 is
the origin, then (A) 2 units (B) 4 units (C) 8 units (D)
2 units 29
23. The planes: 2x y + 4z = 5 and 5x 2.5y + 10z = 6 are (A) Perpendicular (B) Parallel (C) intersect y-axis
5 (D) passes through 0,0, 4
Summary
Direction cosines of a line are the cosines of the angles made by the line
with the positive directions of the coordinate axes. 2 2 2 If l, m, n are the direction cosines of a line, then l + m + n = 1. Direction cosines of a line joining two points P(x1, y1, z1) and Q(x2, y2, z2) are
x2 x1 y2 y1 z2 z1 , , PQ PQ PQ
where PQ =
( x2 x1 ) 2 ( y2 y1 ) 2 z 2 z1
Direction ratios of a line are the numbers which are proportional to the
direction cosines of a line. If l, m, n are the direction cosines and a, b, c are the direction ratios of a line
500
MATHEMATICS
then
a b c a b c a b2 c2 Skew lines are lines in space which are neither parallel nor intersecting. They lie in different planes. Angle between skew lines is the angle between two intersecting lines drawn from any point (preferably through the origin) parallel to each of the skew lines. If l1, m1, n1 and l2, m2, n2 are the direction cosines of two lines; and is the acute angle between the two lines; then cos = | l1l2 + m1m2 + n1n2 | If a1, b1, c1 and a2, b2, c2 are the direction ratios of two lines and is the acute angle between the two lines; then
2 2 2
l=
;m=
b
2 2 2
;n=
c
2
cos =
whose position Vector equation of a line that passes through the given point vector is a and parallel to a given vector b is r a b . Equation of a line through a point (x1, y1, z1) and having direction cosines l, m, n is x x1 y y1 z z1
l m n The vector equation of a line which passes through two points whose position vectors are a and b is r a (b a ) . Cartesian equation of a line that passes through two points (x1, y1, z1) and
(x2, y2, z2) is
x x1 y y1 z z1 . x2 x1 y2 y1 z2 z1
If
x x2 y y2 z z2 x x1 y y1 z z1 and l2 m2 n2 l1 m1 n1 are the equations of two lines, then the acute angle between the two lines is given by cos = | l1 l2 + m1 m2 + n1 n2 |.
501
Shortest distance between two skew lines is the line segment perpendicular Shortest distance between r a1 b1 and r a2 b2 is (b1 b2 ) (a2 a1 ) | b1 b2 | Shortest distance between the lines:
z z2 x x2 y y2 = is c2 a2 b2 x2 x1 a1 a2 y2 y1 b1 b2 z2 z1 c1 c2 x x1 y y1 z z1 and a1 b1 c1
to both the lines.
a point whose position vector is a and The equation of a plane through perpendicular to the vector N is ( r a ) . N 0 . Equation of a plane perpendicular to a given line with direction ratios A, B, C
and passing through a given point (x1, y1, z1) is A (x x1) + B (y y1) + C (z z1 ) = 0 Equation of a plane passing through three non collinear points (x1, y1, z1),
502
MATHEMATICS
x x1 x2 x1 x3 x1
y y1 y 2 y1 y3 y1
z z1 z 2 z1 z3 z1
=0
Vector equation of a plane that contains three non collinear points having position vectors a , b and c is ( r a ) . [ (b a ) ( c a ) ] 0 Equation of a plane that cuts the coordinates axes at (a, 0, 0), (0, b, 0) and
(0, 0, c) is
x y z 1 a b c
Vector equation of a plane that passes through the intersection of planes r n1 d1 and r n2 d 2 is r (n1 n2 ) d1 d 2 , where is any
nonzero constant.
Vector equation of a plane that passes through the intersection of two given
planes A1 x + B1 y + C1 z + D1 = 0 and A2 x + B2 y + C2 z + D2 = 0 is (A1 x + B1 y + C1 z + D1) + (A2 x + B2 y + C2 z + D2) = 0.
= 0.
In the vector form, if is the angle between the two planes, r n1 d1 and | n1 n2 | 1 r n2 d 2 , then = cos . | n1 | | n2 | d is The angle between the line r a b and the plane r n b n sin
| |b | | n
503
The angle between the planes A1x + B1y + C1z + D1 = 0 and A2 x + B2 y + C2 z + D2 = 0 is given by
cos =
A1 A 2 B1 B2 C1 C2
2 A1 2 2 B1 C1 2 2 A2 2 B2 C 2
d is The distance of a point whose position vector is a from the plane r n | |d an The distance from a point (x1, y1, z1) to the plane Ax + By + Cz + D = 0 is
Ax1 By1 Cz1 D A 2 B2 C 2
Chapter
12
LINEAR PROGRAMMING
The mathematical experience of the student is incomplete if he never had the opportunity to solve a problem invented by himself. G. POLYA
12.1 Introduction
In earlier classes, we have discussed systems of linear equations and their applications in day to day problems. In Class XI, we have studied linear inequalities and systems of linear inequalities in two variables and their solutions by graphical method. Many applications in mathematics involve systems of inequalities/equations. In this chapter, we shall apply the systems of linear inequalities/equations to solve some real life problems of the type as given below: A furniture dealer deals in only two itemstables and chairs. He has Rs 50,000 to invest and has storage space of at most 60 pieces. A table costs Rs 2500 and a chair Rs 500. He estimates that from the sale of one table, he L. Kantorovich can make a profit of Rs 250 and that from the sale of one chair a profit of Rs 75. He wants to know how many tables and chairs he should buy from the available money so as to maximise his total profit, assuming that he can sell all the items which he buys. Such type of problems which seek to maximise (or, minimise) profit (or, cost) form a general class of problems called optimisation problems. Thus, an optimisation problem may involve finding maximum profit, minimum cost, or minimum use of resources etc. A special but a very important class of optimisation problems is linear programming problem. The above stated optimisation problem is an example of linear programming problem. Linear programming problems are of much interest because of their wide applicability in industry, commerce, management science etc. In this chapter, we shall study some linear programming problems and their solutions by graphical method only, though there are many other methods also to solve such problems.
LINEAR PROGRAMMING
505
The dealer is constrained by the maximum amount he can invest (Here it is Rs 50,000) and by the maximum number of items he can store (Here it is 60). Stated mathematically,
or
and
506
MATHEMATICS
The dealer wants to invest in such a way so as to maximise his profit, say, Z which stated as a function of x and y is given by Z = 250x + 75y (called objective function) ... (5) Mathematically, the given problems now reduces to: Maximise Z = 250x + 75y subject to the constraints: 5x + y 100 x + y 60 x 0, y 0 So, we have to maximise the linear function Z subject to certain conditions determined by a set of linear inequalities with variables as non-negative. There are also some other problems where we have to minimise a linear function subject to certain conditions determined by a set of linear inequalities with variables as non-negative. Such problems are called Linear Programming Problems. Thus, a Linear Programming Problem is one that is concerned with finding the optimal value (maximum or minimum value) of a linear function (called objective function) of several variables (say x and y), subject to the conditions that the variables are non-negative and satisfy a set of linear inequalities (called linear constraints). The term linear implies that all the mathematical relations used in the problem are linear relations while the term programming refers to the method of determining a particular programme or plan of action. Before we proceed further, we now formally define some terms (which have been used above) which we shall be using in the linear programming problems: Objective function Linear function Z = ax + by, where a, b are constants, which has to be maximised or minimized is called a linear objective function. In the above example, Z = 250x + 75y is a linear objective function. Variables x and y are called decision variables. Constraints The linear inequalities or equations or restrictions on the variables of a linear programming problem are called constraints. The conditions x 0, y 0 are called non-negative restrictions. In the above example, the set of inequalities (1) to (4) are constraints. Optimisation problem A problem which seeks to maximise or minimise a linear function (say of two variables x and y) subject to certain constraints as determined by a set of linear inequalities is called an optimisation problem. Linear programming problems are special type of optimisation problems. The above problem of investing a
LINEAR PROGRAMMING
507
given sum by the dealer in purchasing chairs and tables is an example of an optimisation problem as well as of a linear programming problem. We will now discuss how to find solutions to a linear programming problem. In this chapter, we will be concerned only with the graphical method. 12.2.2 Graphical method of solving linear programming problems In Class XI, we have learnt how to graph a system of linear inequalities involving two variables x and y and to find its solutions graphically. Let us refer to the problem of investment in tables and chairs discussed in Section 12.2. We will now solve this problem graphically. Let us graph the constraints stated as linear inequalities: 5x + y 100 x + y 60 x0 y0 ... (1) ... (2) ... (3) ... (4)
The graph of this system (shaded region) consists of the points common to all half planes determined by the inequalities (1) to (4) (Fig 12.1). Each point in this region represents a feasible choice open to the dealer for investing in tables and chairs. The region, therefore, is called the feasible region for the problem. Every point of this region is called a feasible solution to the problem. Thus, we have, Feasible region The common region determined by all the constraints including non-negative constraints x, y 0 of a linear programming problem is called the feasible region (or solution region) for the problem. In Fig 12.1, the region OABC (shaded) is the feasible region for the problem. The region other than feasible region is called an infeasible region. Feasible solutions Points within and on the boundary of the feasible region represent feasible solutions of the constraints. In Fig 12.1, every point within and on the boundary of the feasible region OABC represents feasible solution to the problem. For example, the point (10, 50) is a feasible solution of the problem and so are the points (0, 60), (20, 0) etc. Any point outside the feasible region is called an infeasible solution. For example, the point (25, 40) is an infeasible solution of the problem.
Fig 12.1
508
MATHEMATICS
Optimal (feasible) solution: Any point in the feasible region that gives the optimal value (maximum or minimum) of the objective function is called an optimal solution. Now, we see that every point in the feasible region OABC satisfies all the constraints as given in (1) to (4), and since there are infinitely many points, it is not evident how we should go about finding a point that gives a maximum value of the objective function Z = 250x + 75y. To handle this situation, we use the following theorems which are fundamental in solving linear programming problems. The proofs of these theorems are beyond the scope of the book. Theorem 1 Let R be the feasible region (convex polygon) for a linear programming problem and let Z = ax + by be the objective function. When Z has an optimal value (maximum or minimum), where the variables x and y are subject to constraints described by linear inequalities, this optimal value must occur at a corner point* (vertex) of the feasible region. Theorem 2 Let R be the feasible region for a linear programming problem, and let Z = ax + by be the objective function. If R is bounded**, then the objective function Z has both a maximum and a minimum value on R and each of these occurs at a corner point (vertex) of R. Remark If R is unbounded, then a maximum or a minimum value of the objective function may not exist. However, if it exists, it must occur at a corner point of R. (By Theorem 1). In the above example, the corner points (vertices) of the bounded (feasible) region are: O, A, B and C and it is easy to find their coordinates as (0, 0), (20, 0), (10, 50) and (0, 60) respectively. Let us now compute the values of Z at these points. We have Vertex of the Feasible Region O (0,0) A (0,60) B (10,50) C (20,0) Corresponding value of Z (in Rs) 0 4500 6250 5000
Maximum
* A corner point of a feasible region is a point in the region which is the intersection of two boundary lines. ** A feasible region of a system of linear inequalities is said to be bounded if it can be enclosed within a circle. Otherwise, it is called unbounded. Unbounded means that the feasible region does extend indefinitely in any direction.
LINEAR PROGRAMMING
509
We observe that the maximum profit to the dealer results from the investment strategy (10, 50), i.e. buying 10 tables and 50 chairs. This method of solving linear programming problem is referred as Corner Point Method. The method comprises of the following steps: 1. Find the feasible region of the linear programming problem and determine its corner points (vertices) either by inspection or by solving the two equations of the lines intersecting at that point. 2. Evaluate the objective function Z = ax + by at each corner point. Let M and m, respectively denote the largest and smallest values of these points. 3. (i) When the feasible region is bounded, M and m are the maximum and minimum values of Z. (ii) In case, the feasible region is unbounded, we have: 4. (a) M is the maximum value of Z, if the open half plane determined by ax + by > M has no point in common with the feasible region. Otherwise, Z has no maximum value. (b) Similarly, m is the minimum value of Z, if the open half plane determined by ax + by < m has no point in common with the feasible region. Otherwise, Z has no minimum value. We will now illustrate these steps of Corner Point Method by considering some examples: Example 1 Solve the following linear programming problem graphically: Maximise Z = 4x + y subject to the constraints: x + y 50 3x + y 90 x 0, y 0 ... (2) ... (3) ... (4) ... (1)
Solution The shaded region in Fig 12.2 is the feasible region determined by the system of constraints (2) to (4). We observe that the feasible region OABC is bounded. So, we now use Corner Point Method to determine the maximum value of Z. The coordinates of the corner points O, A, B and C are (0, 0), (30, 0), (20, 30) and (0, 50) respectively. Now we evaluate Z at each corner point.
510
MATHEMATICS
Corner Point Corresponding value of Z (0, 0) (30, 0) (20, 30) (0, 50) 0 120 110 50 Maximum
Fig 12.2
Hence, maximum value of Z is 120 at the point (30, 0). Example 2 Solve the following linear programming problem graphically: Minimise Z = 200 x + 500 y subject to the constraints: x + 2y 10 3x + 4y 24 x 0, y 0 ... (1) ... (2) ... (3) ... (4)
Solution The shaded region in Fig 12.3 is the feasible region ABC determined by the system of constraints (2) to (4), which is bounded. The coordinates of corner points Corner Point Corresponding value of Z (0, 5) (4, 3) (0, 6) 2500 2300 3000 Minimum
Fig 12.3
LINEAR PROGRAMMING
511
A, B and C are (0,5), (4,3) and (0,6) respectively. Now we evaluate Z = 200x + 500y at these points. Hence, minimum value of Z is 2300 attained at the point (4, 3) Example 3 Solve the following problem graphically: Minimise and Maximise Z = 3x + 9y subject to the constraints: x + 3y 60 x + y 10 xy x 0, y 0 ... ... ... ... (1) (2) (3) (4)
... (5)
Solution First of all, let us graph the feasible region of the system of linear inequalities (2) to (5). The feasible region ABCD is shown in the Fig 12.4. Note that the region is bounded. The coordinates of the corner points A, B, C and D are (0, 10), (5, 5), (15,15) and (0, 20) respectively. Corner Point A (0, 10) B (5, 5) C (15, 15) D (0, 20) Corresponding value of Z = 3x + 9y 90 60 180 180
Minimum Maximum (Multiple optimal solutions)
Fig 12.4
We now find the minimum and maximum value of Z. From the table, we find that the minimum value of Z is 60 at the point B (5, 5) of the feasible region. The maximum value of Z on the feasible region occurs at the two corner points C (15, 15) and D (0, 20) and it is 180 in each case. Remark Observe that in the above example, the problem has multiple optimal solutions at the corner points C and D, i.e. the both points produce same maximum value 180. In such cases, you can see that every point on the line segment CD joining the two corner points C and D also give the same maximum value. Same is also true in the case if the two points produce same minimum value.
512
MATHEMATICS
Example 4 Determine graphically the minimum value of the objective function Z = 50x + 20y ... subject to the constraints: ... 2x y 5 ... 3x + y 3 ... 2x 3y 12 ... x 0, y 0
Solution First of all, let us graph the feasible region of the system of inequalities (2) to (5). The feasible region (shaded) is shown in the Fig 12.5. Observe that the feasible region is unbounded. We now evaluate Z at the corner points.
Fig 12.5
From this table, we find that 300 is the smallest value of Z at the corner point (6, 0). Can we say that minimum value of Z is 300? Note that if the region would have been bounded, this smallest value of Z is the minimum value of Z (Theorem 2). But here we see that the feasible region is unbounded. Therefore, 300 may or may not be the minimum value of Z. To decide this issue, we graph the inequality 50x + 20y < 300 (see Step 3(ii) of corner Point Method.) i.e., 5x + 2y < 30 and check whether the resulting open half plane has points in common with feasible region or not. If it has common points, then 300 will not be the minimum value of Z. Otherwise, 300 will be the minimum value of Z.
LINEAR PROGRAMMING
513
As shown in the Fig 12.5, it has common points. Therefore, Z = 50 x + 20 y has no minimum value subject to the given constraints. In the above example, can you say whether z = 50 x + 20 y has the maximum value 100 at (0,5)? For this, check whether the graph of 50 x + 20 y > 100 has points in common with the feasible region. (Why?) Example 5 Minimise Z = 3x + 2y subject to the constraints: x+y8 3x + 5y 15 x 0, y 0 ... (1) ... (2) ... (3)
Solution Let us graph the inequalities (1) to (3) (Fig 12.6). Is there any feasible region? Why is so? From Fig 12.6, you can see that there is no point satisfying all the constraints simultaneously. Thus, the problem is having no feasible region and hence no feasible solution. Remarks From the examples which we have discussed so far, we notice some general features of linear programming problems: (i) The feasible region is always a convex region.
Fig 12.6 (ii) The maximum (or minimum) solution of the objective function occurs at the vertex (corner) of the feasible region. If two corner points produce the same maximum (or minimum) value of the objective function, then every point on the line segment joining these points will also give the same maximum (or minimum) value.
EXERCISE 12.1
Solve the following Linear Programming Problems graphically: 1. Maximise Z = 3x + 4y subject to the constraints : x + y 4, x 0, y 0.
514
MATHEMATICS
2. Minimise Z = 3x + 4 y subject to x + 2y 8, 3x + 2y 12, x 0, y 0. 3. Maximise Z = 5x + 3y subject to 3x + 5y 15, 5x + 2y 10, x 0, y 0. 4. Minimise Z = 3x + 5y such that x + 3y 3, x + y 2, x, y 0. 5. Maximise Z = 3x + 2y subject to x + 2y 10, 3x + y 15, x, y 0. 6. Minimise Z = x + 2y subject to 2x + y 3, x + 2y 6, x, y 0. Show that the minimum of Z occurs at more than two points. 7. Minimise and Maximise Z = 5x + 10 y subject to x + 2y 120, x + y 60, x 2y 0, x, y 0. 8. Minimise and Maximise Z = x + 2y subject to x + 2y 100, 2x y 0, 2x + y 200; x, y 0. 9. Maximise Z = x + 2y, subject to the constraints: x 3, x + y 5, x + 2y 6, y 0. 10. Maximise Z = x + y, subject to x y 1, x + y 0, x, y 0.
LINEAR PROGRAMMING
515
Let us now solve some of these types of linear programming problems: Example 6 (Diet problem): A dietician wishes to mix two types of foods in such a way that vitamin contents of the mixture contain atleast 8 units of vitamin A and 10 units of vitamin C. Food I contains 2 units/kg of vitamin A and 1 unit/kg of vitamin C. Food II contains 1 unit/kg of vitamin A and 2 units/kg of vitamin C. It costs Rs 50 per kg to purchase Food I and Rs 70 per kg to purchase Food II. Formulate this problem as a linear programming problem to minimise the cost of such a mixture. Solution Let the mixture contain x kg of Food I and y kg of Food II. Clearly, x 0, y 0. We make the following table from the given data: Resources I ( x) Vitamin A (units/kg) Vitamin C (units/kg) Cost (Rs/kg) 2 1 50 Food II ( y) 1 2 70 8 10 Requirement
Since the mixture must contain at least 8 units of vitamin A and 10 units of vitamin C, we have the constraints: 2x + y 8 x + 2y 10 Total cost Z of purchasing x kg of food I and y kg of Food II is Z = 50x + 70y Hence, the mathematical formulation of the problem is: Minimise subject to the constraints: 2x + y 8 x + 2y 10 x, y 0 ... (2) ... (3) ... (4) Z = 50x + 70y ... (1)
Let us graph the inequalities (2) to (4). The feasible region determined by the system is shown in the Fig 12.7. Here again, observe that the feasible region is unbounded.
516
MATHEMATICS
Fig 12.7
In the table, we find that smallest value of Z is 380 at the point (2,4). Can we say that the minimum value of Z is 380? Remember that the feasible region is unbounded. Therefore, we have to draw the graph of the inequality 50x + 70y < 380 i.e., 5x + 7y < 38 to check whether the resulting open half plane has any point common with the feasible region. From the Fig 12.7, we see that it has no points in common. Thus, the minimum value of Z is 380 attained at the point (2, 4). Hence, the optimal mixing strategy for the dietician would be to mix 2 kg of Food I and 4 kg of Food II, and with this strategy, the minimum cost of the mixture will be Rs 380. Example 7 (Allocation problem) A cooperative society of farmers has 50 hectare of land to grow two crops X and Y. The profit from crops X and Y per hectare are estimated as Rs 10,500 and Rs 9,000 respectively. To control weeds, a liquid herbicide has to be used for crops X and Y at rates of 20 litres and 10 litres per hectare. Further, no more than 800 litres of herbicide should be used in order to protect fish and wild life using a pond which collects drainage from this land. How much land should be allocated to each crop so as to maximise the total profit of the society? Solution Let x hectare of land be allocated to crop X and y hectare to crop Y. Obviously, x 0, y 0. Profit per hectare on crop X = Rs 10500 Profit per hectare on crop Y = Rs 9000 Therefore, total profit = Rs (10500x + 9000y)
LINEAR PROGRAMMING
517
The mathematical formulation of the problem is as follows: Maximise subject to the constraints: x + y 50 (constraint related to land) 20x + 10y 800 (constraint related to use of herbicide) i.e. 2x + y 80 x 0, y 0 (non negative constraint) ... (2) ... (3) ... (1) Z = 10500 x + 9000 y
Let us draw the graph of the system of inequalities (1) to (3). The feasible region OABC is shown (shaded) in the Fig 12.8. Observe that the feasible region is bounded. The coordinates of the corner points O, A, B and C are (0, 0), (40, 0), (30, 20) and (0, 50) respectively. Let us evaluate the objective function Z = 10500 x + 9000y at these vertices to find which one gives the maximum profit. Corner Point Z = 10500x + 9000y O (0, 0) A ( 40, 0) B (30, 20) C(0,50) 0 420000 495000 Maximum 450000
Fig 12.8
Hence, the society will get the maximum profit of Rs 4,95,000 by allocating 30 hectares for crop X and 20 hectares for crop Y. Example 8 (Manufacturing problem) A manufacturing company makes two models A and B of a product. Each piece of Model A requires 9 labour hours for fabricating and 1 labour hour for finishing. Each piece of Model B requires 12 labour hours for fabricating and 3 labour hours for finishing. For fabricating and finishing, the maximum labour hours available are 180 and 30 respectively. The company makes a profit of Rs 8000 on each piece of model A and Rs 12000 on each piece of Model B. How many pieces of Model A and Model B should be manufactured per week to realise a maximum profit? What is the maximum profit per week?
518
MATHEMATICS
Solution Suppose x is the number of pieces of Model A and y is the number of pieces of Model B. Then Total profit (in Rs) = 8000 x + 12000 y Let Maximise Z = 8000 x + 12000 y subject to the constraints: 9x + 12y 180 i.e. 3x + 4y 60 x + 3y 30 x 0, y 0 (Finishing constraint) (non-negative constraint) (Fabricating constraint) ... (2) ... (3) ... (4) Z = 8000 x + 12000 y ... (1) We now have the following mathematical model for the given problem.
The feasible region (shaded) OABC determined by the linear inequalities (2) to (4) is shown in the Fig 12.9. Note that the feasible region is bounded.
Fig 12.9
Let us evaluate the objective function Z at each corner point as shown below: Corner Point 0 (0, 0) A (20, 0) B (12, 6) C (0, 10) Z = 8000 x + 12000 y 0 160000 168000 120000 Maximum
We find that maximum value of Z is 1,68,000 at B (12, 6). Hence, the company should produce 12 pieces of Model A and 6 pieces of Model B to realise maximum profit and maximum profit then will be Rs 1,68,000.
LINEAR PROGRAMMING
519
EXERCISE 12.2
1. Reshma wishes to mix two types of food P and Q in such a way that the vitamin contents of the mixture contain at least 8 units of vitamin A and 11 units of vitamin B. Food P costs Rs 60/kg and Food Q costs Rs 80/kg. Food P contains 3 units/kg of Vitamin A and 5 units / kg of Vitamin B while food Q contains 4 units/kg of Vitamin A and 2 units/kg of vitamin B. Determine the minimum cost of the mixture. 2. One kind of cake requires 200g of flour and 25g of fat, and another kind of cake requires 100g of flour and 50g of fat. Find the maximum number of cakes which can be made from 5kg of flour and 1 kg of fat assuming that there is no shortage of the other ingredients used in making the cakes. 3. A factory makes tennis rackets and cricket bats. A tennis racket takes 1.5 hours of machine time and 3 hours of craftmans time in its making while a cricket bat takes 3 hour of machine time and 1 hour of craftmans time. In a day, the factory has the availability of not more than 42 hours of machine time and 24 hours of craftsmans time. (i) What number of rackets and bats must be made if the factory is to work at full capacity? (ii) If the profit on a racket and on a bat is Rs 20 and Rs 10 respectively, find the maximum profit of the factory when it works at full capacity. 4. A manufacturer produces nuts and bolts. It takes 1 hour of work on machine A and 3 hours on machine B to produce a package of nuts. It takes 3 hours on machine A and 1 hour on machine B to produce a package of bolts. He earns a profit of Rs17.50 per package on nuts and Rs 7.00 per package on bolts. How many packages of each should be produced each day so as to maximise his profit, if he operates his machines for at the most 12 hours a day? 5. A factory manufactures two types of screws, A and B. Each type of screw requires the use of two machines, an automatic and a hand operated. It takes 4 minutes on the automatic and 6 minutes on hand operated machines to manufacture a package of screws A, while it takes 6 minutes on automatic and 3 minutes on the hand operated machines to manufacture a package of screws B. Each machine is available for at the most 4 hours on any day. The manufacturer can sell a package of screws A at a profit of Rs 7 and screws B at a profit of Rs 10. Assuming that he can sell all the screws he manufactures, how many packages of each type should the factory owner produce in a day in order to maximise his profit? Determine the maximum profit.
520
MATHEMATICS
6. A cottage industry manufactures pedestal lamps and wooden shades, each requiring the use of a grinding/cutting machine and a sprayer. It takes 2 hours on grinding/cutting machine and 3 hours on the sprayer to manufacture a pedestal lamp. It takes 1 hour on the grinding/cutting machine and 2 hours on the sprayer to manufacture a shade. On any day, the sprayer is available for at the most 20 hours and the grinding/cutting machine for at the most 12 hours. The profit from the sale of a lamp is Rs 5 and that from a shade is Rs 3. Assuming that the manufacturer can sell all the lamps and shades that he produces, how should he schedule his daily production in order to maximise his profit? 7. A company manufactures two types of novelty souvenirs made of plywood. Souvenirs of type A require 5 minutes each for cutting and 10 minutes each for assembling. Souvenirs of type B require 8 minutes each for cutting and 8 minutes each for assembling. There are 3 hours 20 minutes available for cutting and 4 hours for assembling. The profit is Rs 5 each for type A and Rs 6 each for type B souvenirs. How many souvenirs of each type should the company manufacture in order to maximise the profit? 8. A merchant plans to sell two types of personal computers a desktop model and a portable model that will cost Rs 25000 and Rs 40000 respectively. He estimates that the total monthly demand of computers will not exceed 250 units. Determine the number of units of each type of computers which the merchant should stock to get maximum profit if he does not want to invest more than Rs 70 lakhs and if his profit on the desktop model is Rs 4500 and on portable model is Rs 5000. 9. A diet is to contain at least 80 units of vitamin A and 100 units of minerals. Two foods F1 and F2 are available. Food F1 costs Rs 4 per unit food and F2 costs Rs 6 per unit. One unit of food F1 contains 3 units of vitamin A and 4 units of minerals. One unit of food F2 contains 6 units of vitamin A and 3 units of minerals. Formulate this as a linear programming problem. Find the minimum cost for diet that consists of mixture of these two foods and also meets the minimal nutritional requirements. 10. There are two types of fertilisers F1 and F2. F1 consists of 10% nitrogen and 6% phosphoric acid and F2 consists of 5% nitrogen and 10% phosphoric acid. After testing the soil conditions, a farmer finds that she needs atleast 14 kg of nitrogen and 14 kg of phosphoric acid for her crop. If F1 costs Rs 6/kg and F2 costs Rs 5/kg, determine how much of each type of fertiliser should be used so that nutrient requirements are met at a minimum cost. What is the minimum cost? 11. The corner points of the feasible region determined by the following system of linear inequalities: 2x + y 10, x + 3y 15, x, y 0 are (0, 0), (5, 0), (3, 4) and (0, 5). Let Z = px + qy, where p, q > 0. Condition on p and q so that the maximum of Z occurs at both (3, 4) and (0, 5) is (A) p = q (B) p = 2q (C) p = 3q (D) q = 3p
LINEAR PROGRAMMING
521
Miscellaneous Examples
Example 9 (Diet problem) A dietician has to develop a special diet using two foods P and Q. Each packet (containing 30 g) of food P contains 12 units of calcium, 4 units of iron, 6 units of cholesterol and 6 units of vitamin A. Each packet of the same quantity of food Q contains 3 units of calcium, 20 units of iron, 4 units of cholesterol and 3 units of vitamin A. The diet requires atleast 240 units of calcium, atleast 460 units of iron and at most 300 units of cholesterol. How many packets of each food should be used to minimise the amount of vitamin A in the diet? What is the minimum amount of vitamin A? Solution Let x and y be the number of packets of food P and Q respectively. Obviously x 0, y 0. Mathematical formulation of the given problem is as follows: Minimise Z = 6x + 3y (vitamin A) subject to the constraints 12x + 3y 240 (constraint on calcium), i.e. 4x + 20y 460 (constraint on iron), i.e. 4x + y 80 x + 5y 115 x 0, y 0 ... (1) ... (2) ... (3) ... (4)
Let us graph the inequalities (1) to (4). The feasible region (shaded) determined by the constraints (1) to (4) is shown in Fig 12.10 and note that it is bounded.
Fig 12.10
522
MATHEMATICS
The coordinates of the corner points L, M and N are (2, 72), (15, 20) and (40, 15) respectively. Let us evaluate Z at these points: Corner Point (2, 72) (15, 20) (40, 15) Z=6x+3y 228 150 285 Minimum
From the table, we find that Z is minimum at the point (15, 20). Hence, the amount of vitamin A under the constraints given in the problem will be minimum, if 15 packets of food P and 20 packets of food Q are used in the special diet. The minimum amount of vitamin A will be 150 units. Example 10 (Manufacturing problem) A manufacturer has three machines I, II and III installed in his factory. Machines I and II are capable of being operated for at most 12 hours whereas machine III must be operated for atleast 5 hours a day. She produces only two items M and N each requiring the use of all the three machines. The number of hours required for producing 1 unit of each of M and N on the three machines are given in the following table: Items Number of hours required on machines M N I 1 2 II 2 1 III 1 1.25
She makes a profit of Rs 600 and Rs 400 on items M and N respectively. How many of each item should she produce so as to maximise her profit assuming that she can sell all the items that she produced? What will be the maximum profit? Solution Let x and y be the number of items M and N respectively. Total profit on the production = Rs (600 x + 400 y) Mathematical formulation of the given problem is as follows: Maximise Z = 600 x + 400 y subject to the constraints: x + 2y 12 (constraint on Machine I) 2x + y 12 (constraint on Machine II)
LINEAR PROGRAMMING
523
Let us draw the graph of constraints (1) to (4). ABCDE is the feasible region (shaded) as shown in Fig 12.11 determined by the constraints (1) to (4). Observe that the feasible region is bounded, coordinates of the corner points A, B, C, D and E are (5, 0) (6, 0), (4, 4), (0, 6) and (0, 4) respectively.
Fig 12.11
Let us evaluate Z = 600 x + 400 y at these corner points. Corner point (5, 0) (6, 0) (4, 4) (0, 6) (0, 4) Z = 600 x + 400 y 3000 3600 4000 2400 1600
Maximum
We see that the point (4, 4) is giving the maximum value of Z. Hence, the manufacturer has to produce 4 units of each item to get the maximum profit of Rs 4000. Example 11 (Transportation problem) There are two factories located one at place P and the other at place Q. From these locations, a certain commodity is to be delivered to each of the three depots situated at A, B and C. The weekly requirements of the depots are respectively 5, 5 and 4 units of the commodity while the production capacity of the factories at P and Q are respectively 8 and 6 units. The cost of
524
MATHEMATICS
transportation per unit is given below: From/To A P Q 160 100 Cost (in Rs) B 100 120 C 150 100
How many units should be transported from each factory to each depot in order that the transportation cost is minimum. What will be the minimum transportation cost? Solution The problem can be explained diagrammatically as follows (Fig 12.12): Let x units and y units of the commodity be transported from the factory at P to the depots at A and B respectively. Then (8 x y) units will be transported to depot at C (Why?) Factory
P 8 units
R
x
R
A Depot 5 units
6 s1
8
y
s1
y
50
C 4 units Depot
Rs 100
B 5 units Depot
Rs
5x
Rs 100 5 y Rs 120
[ Q 6 6 units
Factory Fig 12.12
(5
+ x)
(5
y)
and 8 x y 0 Hence, we have x 0, y 0 i.e. x 0, y 0 and x + y 8 Now, the weekly requirement of the depot at A is 5 units of the commodity. Since x units are transported from the factory at P, the remaining (5 x) units need to be transported from the factory at Q. Obviously, 5 x 0, i.e. x 5. Similarly, (5 y) and 6 (5 x + 5 y) = x + y 4 units are to be transported from the factory at Q to the depots at B and C respectively. Thus, i.e. 5 y 0 , x + y 4 0 y5 , x+y 4
10
LINEAR PROGRAMMING
525
Total transportation cost Z is given by Z = 160 x + 100 y + 100 ( 5 x) + 120 (5 y) + 100 (x + y 4) + 150 (8 x y) = 10 (x 7 y + 190) Therefore, the problem reduces to Minimise Z = 10 (x 7y + 190) subject to the constraints: x 0, y 0 ... (1) ... (2) x+y8 x5 ... (3) y5 ... (4) ... (5) and x+y4 The shaded region ABCDEF represented by the constraints (1) to Fig 12.13 (5) is the feasible region (Fig 12.13). Observe that the feasible region is bounded. The coordinates of the corner points of the feasible region are (0, 4), (0, 5), (3, 5), (5, 3), (5, 0) and (4, 0). Let us evaluate Z at these points. Corner Point (0, 4) (0, 5) (3, 5) (5, 3) (5, 0) (4, 0) Z = 10 (x 7 y + 190) 1620 1550 1580 1740 1950 1940 Minimum
From the table, we see that the minimum value of Z is 1550 at the point (0, 5). Hence, the optimal transportation strategy will be to deliver 0, 5 and 3 units from the factory at P and 5, 0 and 1 units from the factory at Q to the depots at A, B and C respectively. Corresponding to this strategy, the transportation cost would be minimum, i.e., Rs 1550.
526
MATHEMATICS
2. A farmer mixes two brands P and Q of cattle feed. Brand P, costing Rs 250 per bag, contains 3 units of nutritional element A, 2.5 units of element B and 2 units of element C. Brand Q costing Rs 200 per bag contains 1.5 units of nutritional element A, 11.25 units of element B, and 3 units of element C. The minimum requirements of nutrients A, B and C are 18 units, 45 units and 24 units respectively. Determine the number of bags of each brand which should be mixed in order to produce a mixture having a minimum cost per bag? What is the minimum cost of the mixture per bag? 3. A dietician wishes to mix together two kinds of food X and Y in such a way that the mixture contains at least 10 units of vitamin A, 12 units of vitamin B and 8 units of vitamin C. The vitamin contents of one kg food is given below: Food X Y Vitamin A Vitamin B Vitamin C 1 2 2 2 3 1
One kg of food X costs Rs 16 and one kg of food Y costs Rs 20. Find the least cost of the mixture which will produce the required diet? 4. A manufacturer makes two types of toys A and B. Three machines are needed for this purpose and the time (in minutes) required for each toy on the machines is given below: Types of Toys I A B 12 6 Machines II 18 0 III 6 9
Each machine is available for a maximum of 6 hours per day. If the profit on each toy of type A is Rs 7.50 and that on each toy of type B is Rs 5, show that 15 toys of type A and 30 of type B should be manufactured in a day to get maximum profit. 5. An aeroplane can carry a maximum of 200 passengers. A profit of Rs 1000 is made on each executive class ticket and a profit of Rs 600 is made on each economy class ticket. The airline reserves at least 20 seats for executive class. However, at least 4 times as many passengers prefer to travel by economy class than by the executive class. Determine how many tickets of each type must be sold in order to maximise the profit for the airline. What is the maximum profit?
LINEAR PROGRAMMING
527
6. Two godowns A and B have grain capacity of 100 quintals and 50 quintals respectively. They supply to 3 ration shops, D, E and F whose requirements are 60, 50 and 40 quintals respectively. The cost of transportation per quintal from the godowns to the shops are given in the following table: Transportation cost per quintal (in Rs) From/To D E F A 6 3 2.50 B 4 2 3
How should the supplies be transported in order that the transportation cost is minimum? What is the minimum cost? 7. An oil company has two depots A and B with capacities of 7000 L and 4000 L respectively. The company is to supply oil to three petrol pumps, D, E and F whose requirements are 4500L, 3000L and 3500L respectively. The distances (in km) between the depots and the petrol pumps is given in the following table: Distance in (km.) From / To D E F A 7 6 3 B 3 4 2
Assuming that the transportation cost of 10 litres of oil is Re 1 per km, how should the delivery be scheduled in order that the transportation cost is minimum? What is the minimum cost? 8. A fruit grower can use two types of fertilizer in his garden, brand P and brand Q. The amounts (in kg) of nitrogen, phosphoric acid, potash, and chlorine in a bag of each brand are given in the table. Tests indicate that the garden needs at least 240 kg of phosphoric acid, at least 270 kg of potash and at most 310 kg of chlorine. If the grower wants to minimise the amount of nitrogen added to the garden, how many bags of each brand should be used? What is the minimum amount of nitrogen added in the garden?
528
MATHEMATICS
kg per bag Brand P Nitrogen Phosphoric acid Potash Chlorine 3 1 3 1.5 Brand Q 3.5 2 1.5 2
9. Refer to Question 8. If the grower wants to maximise the amount of nitrogen added to the garden, how many bags of each brand should be added? What is the maximum amount of nitrogen added? 10. A toy company manufactures two types of dolls, A and B. Market tests and available resources have indicated that the combined production level should not exceed 1200 dolls per week and the demand for dolls of type B is at most half of that for dolls of type A. Further, the production level of dolls of type A can exceed three times the production of dolls of other type by at most 600 units. If the company makes profit of Rs 12 and Rs 16 per doll respectively on dolls A and B, how many of each should be produced weekly in order to maximise the profit?
Summary
A linear programming problem is one that is concerned with finding the optimal value (maximum or minimum) of a linear function of several variables (called objective function) subject to the conditions that the variables are non-negative and satisfy a set of linear inequalities (called linear constraints). Variables are sometimes called decision variables and are non-negative. A few important linear programming problems are: (i) Diet problems (ii) Manufacturing problems (iii) Transportation problems The common region determined by all the constraints including the non-negative constraints x 0, y 0 of a linear programming problem is called the feasible region (or solution region) for the problem. Points within and on the boundary of the feasible region represent feasible solutions of the constraints. Any point outside the feasible region is an infeasible solution.
LINEAR PROGRAMMING
529
Any point in the feasible region that gives the optimal value (maximum or minimum) of the objective function is called an optimal solution. The following Theorems are fundamental in solving linear programming problems: Theorem 1 Let R be the feasible region (convex polygon) for a linear programming problem and let Z = ax + by be the objective function. When Z has an optimal value (maximum or minimum), where the variables x and y are subject to constraints described by linear inequalities, this optimal value must occur at a corner point (vertex) of the feasible region. Theorem 2 Let R be the feasible region for a linear programming problem, and let Z = ax + by be the objective function. If R is bounded, then the objective function Z has both a maximum and a minimum value on R and each of these occurs at a corner point (vertex) of R. If the feasible region is unbounded, then a maximum or a minimum may not exist. However, if it exists, it must occur at a corner point of R. Corner point method for solving a linear programming problem. The method comprises of the following steps: (i) Find the feasible region of the linear programming problem and determine its corner points (vertices). (ii) Evaluate the objective function Z = ax + by at each corner point. Let M and m respectively be the largest and smallest values at these points. (iii) If the feasible region is bounded, M and m respectively are the maximum and minimum values of the objective function. If the feasible region is unbounded, then (i) M is the maximum value of the objective function, if the open half plane determined by ax + by > M has no point in common with the feasible region. Otherwise, the objective function has no maximum value. (ii) m is the minimum value of the objective function, if the open half plane determined by ax + by < m has no point in common with the feasible region. Otherwise, the objective function has no minimum value. If two corner points of the feasible region are both optimal solutions of the same type, i.e., both produce the same maximum or minimum, then any point on the line segment joining these two points is also an optimal solution of the same type.
530
MATHEMATICS
Historical Note
In the World War II, when the war operations had to be planned to economise expenditure, maximise damage to the enemy, linear programming problems came to the forefront. The first problem in linear programming was formulated in 1941 by the Russian mathematician, L. Kantorovich and the American economist, F. L. Hitchcock, both of whom worked at it independently of each other. This was the well known transportation problem. In 1945, an English economist, G.Stigler, described yet another linear programming problem that of determining an optimal diet. In 1947, the American economist, G. B. Dantzig suggested an efficient method known as the simplex method which is an iterative procedure to solve any linear programming problem in a finite number of steps. L. Katorovich and American mathematical economist, T. C. Koopmans were awarded the nobel prize in the year 1975 in economics for their pioneering work in linear programming. With the advent of computers and the necessary softwares, it has become possible to apply linear programming model to increasingly complex problems in many areas.
Chapter
10
VECTOR ALGEBRA
In most sciences one generation tears down what another has built and what one has established another undoes. In Mathematics alone each generation builds a new story to the old structure. HERMAN HANKEL
10.1 Introduction
In our day to day life, we come across many queries such as What is your height? How should a football player hit the ball to give a pass to another player of his team? Observe that a possible answer to the first query may be 1.6 meters, a quantity that involves only one value (magnitude) which is a real number. Such quantities are called scalars. However, an answer to the second query is a quantity (called force) which involves muscular strength (magnitude) and direction (in which another player is positioned). Such quantities are called vectors. In mathematics, physics and engineering, we frequently come across with both types of W.R. Hamilton quantities, namely, scalar quantities such as length, mass, (1805-1865) time, distance, speed, area, volume, temperature, work, money, voltage, density, resistance etc. and vector quantities like displacement, velocity, acceleration, force, weight, momentum, electric field intensity etc. In this chapter, we will study some of the basic concepts about vectors, various operations on vectors, and their algebraic and geometric properties. These two type of properties, when considered together give a full realisation to the concept of vectors, and lead to their vital applicability in various areas as mentioned above.
VECTOR ALGEBRA
425
Fig 10.1
Now observe that if we restrict the line l to the line segment AB, then a magnitude is prescribed on the line l with one of the two directions, so that we obtain a directed line segment (Fig 10.1(iii)). Thus, a directed line segment has magnitude as well as direction. Definition 1 A quantity that has magnitude as well as direction is called a vector.
simply as a , and read as vector AB or vector a .
The point A from where the vector AB starts is called its initial point, and the point B where it ends is called its terminal point. The distance between initial and terminal points of a vector is called the magnitude (or length) of the vector, denoted as | AB |, or | a |, or a. The arrow indicates the direction of the vector.
Note Since the length is never negative, the notation | a | < 0 has no meaning.
Position Vector From Class XI, recall the three dimensional right handed rectangular coordinate system (Fig 10.2(i)). Consider a point P in space, having coordinates (x, y, z) with respect to the origin O (0, 0, 0). Then, the vector OP having O and P as its initial and terminal points, respectively, is called the position vector of the point P with respect to O. Using distance formula (from Class XI), the magnitude of OP (or r ) is given by
| OP | =
x2 y 2 z2
In practice, the position vectors of points A, B, C, etc., with respect to the origin O are denoted by a , b , c , etc., respectively (Fig 10.2 (ii)).
426
MATHEMATICS
Fig 10.2
Direction Cosines
Consider the position vector OP or r of a point P(x, y, z) as in Fig 10.3. The angles , , made by the vector r with the positive directions of x, y and z-axes respectively, are called its direction angles. The cosine values of these angles, i.e., cos , cos and cos are called direction cosines of the vector r , and usually denoted by l, m and n, Z respectively.
C
z r O x A X y
P(x,y,z)
Y P
O 90 A
Fig 10.3
From Fig 10.3, one may note that the triangle OAP is right angled, and in it, we x have cos r stands for | r | . Similarly, from the right angled triangles OBP and r y z OCP, we may write cos and cos . Thus, the coordinates of the point P may r r also be expressed as (lr, mr,nr). The numbers lr, mr and nr, proportional to the direction cosines are called as direction ratios of vector r , and denoted as a, b and c, respectively.
VECTOR ALGEBRA
Zero Vector A vector whose initial and terminal points coincide, is called a zero vector (or null vector), and denoted as 0 . Zero vector can not be assigned a definite direction as it has zero magnitude. Or, alternatively otherwise, it may be regarded as having any direction. The vectors AA, BB represent the zero vector, Unit Vector A vector whose magnitude is unity (i.e., 1 unit) is called a unit vector. The . unit vector in the direction of a given vector a is denoted by a Coinitial Vectors Two or more vectors having the same initial point are called coinitial vectors. Collinear Vectors Two or more vectors are said to be collinear if they are parallel to the same line, irrespective of their magnitudes and directions. Equal Vectors Two vectors a and b are said to be equal, if they have the same magnitude and direction regardless of the positions of their initial points, and written as a = b . Negative of a Vector A vector whose magnitude is the same as that of a given vector (say, AB ), but direction is opposite to that of it, is called negative of the given vector. For example, vector BA is negative of the vector AB , and written as BA AB . Remark The vectors defined above are such that any of them may be subject to its parallel displacement without changing its magnitude and direction. Such vectors are called free vectors. Throughout this chapter, we will be dealing with free vectors only. Example 1 Represent graphically a displacement of 40 km, 30 west of south. Solution The vector OP represents the required displacement (Fig 10.4). Example 2 Classify the following measures as scalars and vectors. (i) 5 seconds (ii) 1000 cm3
427
1, in general.
Fig 10.4
428
MATHEMATICS
(iii) 10 Newton (iv) 30 km/hr (vi) 20 m/s towards north Solution (i) Time-scalar (iv) Speed-scalar
(v) 10 g/cm3
Example 3 In Fig 10.5, which of the vectors are: (i) Collinear (ii) Equal Solution (i) Collinear vectors : a , c and d . (ii) Equal vectors : a and c . (iii) Coinitial vectors : b , c and d .
(iii) Coinitial
Fig 10.5
EXERCISE 10.1
1. Represent graphically a displacement of 40 km, 30 east of north. 2. Classify the following measures as scalars and vectors. (i) 10 kg (ii) 2 meters north-west (iii) 40 (iv) 40 watt (i) time period (iv) velocity (i) Coinitial (v) 1019 coulomb (ii) distance (v) work done (ii) Equal (vi) 20 m/s2 (iii) force 3. Classify the following as scalar and vector quantities.
4. In Fig 10.6 (a square), identify the following vectors. (iii) Collinear but not equal 5. Answer the following as true or false. (i) a and a are collinear. (ii) Two collinear vectors are always equal in magnitude.
Fig 10.6
(iii) Two vectors having same magnitude are collinear. (iv) Two collinear vectors having the same magnitude are equal.
VECTOR ALGEBRA
429
Fig 10.7
AC = AB BC
This is known as the triangle law of vector addition. In general, if we have two vectors a and b (Fig 10.8 (i)), then to add them, they are positioned so that the initial point of one coincides with the terminal point of the other (Fig 10.8(ii)).
b C C b B a (ii) A a b B b C
a
A a (i)
+b
a b (iii)
Fig 10.8
For example, in Fig 10.8 (ii), we have shifted vector b without changing its magnitude and direction, so that its initial point coincides with the terminal point of a . Then, the vector a b , represented by the third side AC of the triangle ABC, gives us the sum (or resultant) of the vectors a and b i.e., in triangle ABC (Fig 10.8 (ii)), we have
AB BC = AC
430
MATHEMATICS
Now, construct a vector BC so that its magnitude is same as the vector BC , but the direction opposite to that of it (Fig 10.8 (iii)), i.e.,
BC =
BC
Then, on applying triangle law from the Fig 10.8 (iii), we have
AC AB BC = AB ( BC)
a b
The vector AC is said to represent the difference of a and b . Now, consider a boat in a river going from one bank of the river to the other in a direction perpendicular to the flow of the river. Then, it is acted upon by two velocity vectorsone is the velocity imparted to the boat by its engine and other one is the velocity of the flow of river water. Under the simultaneous influence of these two velocities, the boat in actual starts travelling with a different velocity. To have a precise idea about the effective speed and direction (i.e., the resultant velocity) of the boat, we have the following law of vector addition. If we have two vectors a and b represented by the two adjacent sides of a parallelogram in magnitude and direction (Fig 10.9), then their sum a + b is represented in magnitude and direction by the diagonal of the parallelogram through their common point. This is known as the parallelogram law of vector addition.
Fig 10.9
Note From Fig 10.9, using the triangle law, one may note that
OA AC = OC
or
OA OB = OC
(since AC OB )
which is parallelogram law. Thus, we may say that the two laws of vector addition are equivalent to each other. Properties of vector addition Property 1 For any two vectors a and b ,
ab = b a
(Commutative property)
VECTOR ALGEBRA
431
Proof Consider the parallelogram ABCD (Fig 10.10). Let AB a and BC b , then using the triangle law, from triangle ABC, we have
AC = a + b Now, since the opposite sides of a parallelogram are equal and parallel, from
AD = BC = b
and
Fig 10.10
Hence
AC = AD + DC = b + a
(Associative property)
ab = b a
Proof Let the vectors a, b and c be represented by PQ, QR and RS , respectively, as shown in Fig 10.11(i) and (ii).
( a b ) c = a (b c )
Then and So
a b = PQ + QR = PR b c = QR + RS = QS
Fig 10.11
(a b ) c = PR + RS = PS
432
MATHEMATICS
and Hence
a (b c ) = PQ + QS = PS ( a b ) c = a (b c )
Remark The associative property of vector addition enables us to write the sum of three vectors a , b , c as a b c without using brackets. Note that for any vector a , we have
a0 = 0 a a
Here, the zero vector 0 is called the additive identity for the vector addition.
Fig 10.12
When
= 1, then
magnitude of a and direction opposite to that of the direction of a . The vector a is called the negative (or additive inverse) of vector a and we always have
a ( a ) = ( a ) a 0
Also, if
| a || | | a | =
1 | a | 1 |a |
VECTOR ALGEBRA
433
So,
10.5.1 Components of a vector Let us take the points A(1, 0, 0), B(0, 1, 0) and C(0, 0, 1) on the x-axis, y-axis and z-axis, respectively. Then, clearly
| OA | 1, | OB | = 1 and | OC | 1
The vectors OA, OB and OC , each having magnitude 1, are called unit vectors along the axes OX, OY and OZ, , respectively , respectively, and denoted by i j and k (Fig 10.13). Now, consider the position vector OP of a point P (x, y, z) as in Fig 10.14. Let P1 be the foot of the perpendicular from P on the plane XOY. We, thus, see that P1 P is
Fig 10.13
Fig 10.14
are the unit vectors along the x, y and z-axes, , parallel to z-axis. As i j and k . respectively, and by the definition of the coordinates of P, we have P1P OR zk and OQ xi . Similarly, QP1 OS yj
434
MATHEMATICS
yj OP1 = OQ + QP1 xi
zk OP = OP1 + P1P xi yj yj zk OP (or r ) = xi
This form of any vector is called its component form. Here, x, y and z are called are called the vector components , yj and zk as the scalar components of r , and xi of r along the respective axes. Sometimes x, y and z are also termed as rectangular components.
, is readily determined by applying the yj zk The length of any vector r xi Pythagoras theorem twice. We note that in the right angle triangle OQP1 (Fig 10.14)
| OP 1 | = | OP 1 | =
| OQ |2 +|QP1|2 x 2 y 2 ,
| OP1 |2 | P1P |2 ( x 2 y 2 ) z 2
and a2 If a and b are any two vectors given in the component form a1i j + a3k , respectively, then b2 b1i j b3 k
(iii) the vectors a and b are equal if and only if a1 = b1, a2 = b2 and a3 = b3 (iv) the multiplication of vector a by any scalar is given by
a
VECTOR ALGEBRA
435
The addition of vectors and the multiplication of a vector by a scalar together give the following distributive laws: Let a and b be any two vectors, and k and m be any scalars. Then (i) ka ma ( k m) a (ii) k (ma) (km)a (iii) k ( a b ) ka kb Remarks (i) One may observe that whatever be the value of , the vector a is always collinear to the vector a . In fact, two vectors a and b are collinear if and only if there exists a nonzero scalar such that b a . If the vectors a and b are and b b i a2 j a3k given in the component form, i.e. a a1i 1 b2 j b3 k , then the two vectors are collinear if and only if
) = ( a1i a2 b2 j a3k b1i j b3 k
= ( a )i b2 b1i j b3 k 1 ( a2 ) j ( a3 ) k
b1 a1 , b2 a2 , b3 a3
b1 b2 b3 a1 a2 a3
, then a , a , a are also called direction ratios of a . a2 (ii) If a a1i j a3 k 1 2 3 mj nk (iii) In case if it is given that l, m, n are direction cosines of a vector, then li is the unit vector in the direction of that vector, (cos ) j (cos )k = (cos )i where , and are the angles which the vector makes with x, y and z axes respectively. and 2 Example 4 Find the values of x, y and z so that the vectors a xi j zk are equal. yj k b 2i
Solution Note that two vectors are equal if and only if their corresponding components are equal. Thus, the given vectors a and b will be equal if and only if x = 2, y = 2, z = 1
436
MATHEMATICS
So, | a | | b | . But, the two vectors are not equal since their corresponding components are distinct. Example 6 Find unit vector in the direction of vector a 2i 3j k
1 a. Solution The unit vector in the direction of a vector a is given by a |a|
Now Therefore
a
|a| =
1 ) = 3 (2i jk 14
22 32 12 14
2 3 1 i j k 14 14 14
that has magnitude Example 7 Find a vector in the direction of vector a i 2j 7 units. is Solution The unit vector in the direction of the given vector a
1 1 1 2 a = a (i 2 j) i j |a| 5 5 5
7 a = 7
7 14 1 2 i j i j = 5 5 5 5
Example 8 Find the unit vector in the direction of the sum of the vectors, and b 2i . a 2i j 3k 2 j 5k Solution The sum of the given vectors is
3 a b ( c , say) = 4i j 2k
and
|c | =
42 32 (2)2 29
VECTOR ALGEBRA
437
and hence calculate Example 9 Write the direction ratios of the vector a i j 2k its direction cosines. Solution Note that the direction ratios a, b, c of a vector r xi yj zk are just the respective components x, y and z of the vector. So, for the given vector, we have a = 1, b = 1 and c = 2. Further, if l, m and n are the direction cosines of the given vector, then
1 a , l |r | 6 1 b c 2 , n as |r | 6 m |r | | | r 6 6
2 1 1 , , . 6 6 6
10.5.2 Vector joining two points If P1(x1, y1, z1) and P2(x2, y2, z2) are any two points, then the vector joining P1 and P2 is the vector P1P2 (Fig 10.15). Joining the points P1 and P2 with the origin O, and applying triangle law, from the triangle OP1P2 , we have
OP1 P1P2 = OP2 .
Fig 10.15
i.e.
P1P2 =
( x2 x1 ) 2 ( y2 y1 )2 ( z2 z1 ) 2
438
MATHEMATICS
Example 10 Find the vector joining the points P(2, 3, 0) and Q( 1, 2, 4) directed from P to Q. Solution Since the vector is to be directed from P to Q, clearly P is the initial point and Q is the terminal point. So, the required vector joining P and Q is the vector PQ , given by (2 3) j ( 4 0) k PQ = (1 2)i i.e. 10.5.3 Section formula
. PQ = 3i 5 j 4k
Let P and Q be two points represented by the position vectors OP and OQ , respectively, with respect to the origin O. Then the line segment joining the points P and Q may be divided by a third point, say R, in two ways internally (Fig 10.16) and externally (Fig 10.17). Here, we intend to find the position vector OR for the point R with respect to the origin O. We take the two cases one by one. Case I When R divides PQ internally (Fig 10.16). If R divides PQ such that m RQ = n PR , where m and n are positive scalars, we say that the point R divides PQ internally in the ratio of m : n. Now from triangles ORQ and OPR, we have
Fig 10.16
RQ = OQ OR b r
PR = OR OP r a ,
m (b r ) = n (r a )
mb na r = mn
Hence, the position vector of the point R which divides P and Q internally in the ratio of m : n is given by
mb na OR = m n
VECTOR ALGEBRA
439
Case II When R divides PQ externally (Fig 10.17). We leave it to the reader as an exercise to verify that the position vector of the point R which divides the line segment PQ externally in the ratio m : n i.e.
PR QR
m is given by n
mb na Fig 10.17 OR = m n Remark If R is the midpoint of PQ , then m = n. And therefore, from Case I, the
in the ratio 2:1, (i) internally, and (ii) externally. Solution (i) The position vector of the point R dividing the join of P and Q internally in the ratio 2:1 is
2( a b ) (3a 2b ) 5a OR = 21 3 (ii) The position vector of the point R dividing the join of P and Q externally in the ratio 2:1 is
2( a b ) (3a 2b ) 4 b a = OR 2 1
), B(i 3 ), C(3i ) are 4 j 4k jk j 5k Example 12 Show that the points A(2i the vertices of a right angled triangle.
Solution We have
(3 1) j (5 1)k AB = (1 2)i
2 j 6k
(4 3) j (4 5) k BC = (3 1)i
2i jk
and
(1 4) CA = (2 3)i j (1 4)k
3 j 5k i
440
MATHEMATICS
EXERCISE 10.2
1. Compute the magnitude of the following vectors:
ai j k;
1 1 1 i j k 3 3 3 2. Write two different vectors having same magnitude. 3. Write two different vectors having same direction. ; c 7 b 2i j 3k
3 yj are equal. 4. Find the values of x and y so that the vectors 2i j and xi
5. Find the scalar and vector components of the vector with initial point (2, 1) and terminal point ( 5, 7). , b 2i and c . 4 6. Find the sum of the vectors a i jk j 5k j 7k 2 i 6
. 7. Find the unit vector in the direction of the vector a i j 2k
8. Find the unit vector in the direction of vector PQ, where P and Q are the points (1, 2, 3) and (4, 5, 6), respectively. and b i , find the unit vector in the 9. For given vectors, a 2i j 2k jk direction of the vector a b .
which has magnitude 8 units. 10. Find a vector in the direction of vector 5i j 2k and 4i are collinear. 3 6 11. Show that the vectors 2i j 4k j 8k . 2 12. Find the direction cosines of the vector i j 3k
13. Find the direction cosines of the vector joining the points A (1, 2, 3) and B(1, 2, 1), directed from A to B. is equally inclined to the axes OX, OY and OZ. 14. Show that the vector i jk 15. Find the position vector of a point R which divides the line joining two points P and i respectively, in the 2 and Q whose position vectors are i jk jk ratio 2 : 1 (i) internally (ii) externally
VECTOR ALGEBRA
441
16. Find the position vector of the mid point of the vector joining the points P(2, 3, 4) and Q(4, 1, 2).
Fig 10.18
19. If a and b are two collinear vectors, then which of the following are incorrect: (A) b a , for some scalar (B) a b
(C) the respective components of a and b are proportional (D) both the vectors a and b have same direction, but different magnitudes.
442
MATHEMATICS
defined as
a b = | a | | b | cos ,
where, is the angle between a and b , 0 (Fig 10.19). If either a 0 or b 0, then is not defined, and in this case, we define a b
Fig 10.19
Observations 1.
a b is a real number.
2. Let a and b be two nonzero vectors, then a b 0 if and only if a and b are perpendicular to each other. i.e.
a b 0 ab
3. If = 0, then a b | a | | b | In particular, a a | a |2 , as in this case is 0. 4. If = , then a b | a | | b | In particular, a ( a ) | a |2 , as in this case is . 5. In view of the Observations 2 and 3, for mutually perpendicular unit vectors
, we have , i j and k
k 1, i i j j = k
= k i 0 i j jk
a.b cos | a || b |
1
Property 1 (Distributivity of scalar product over addition) Let a, b and c be any three vectors, then
a (b c ) = a b
a c
VECTOR ALGEBRA
443
Property 2 Let a and b be any two vectors, and be any scalar. Then
( a ) b = ( a ) b (a b ) a (b )
and a2 If two vectors a and b are given in component form as a1i j a3k
(b i ) ) a b (b1i b2 ak j bk j b3k = a1i 2 j (b1i b2 j b3 k ) + 3 1 2 3 ) a b ( ) a1b2 (i k j ) a1b3 (i = a1b1 (i i 2 1 j i ) a2 b2 ( j j ) a2 b3 ( j k ) i k ) (Using the above Properties 1 and 2) ) a3b2 (k j ) a3b3 ( k + a3b1 ( k = a1b1 + a2b2 + a3b3 (Using Observation 5)
Thus
a b = a1b1 a2 b2
a3 b3
anticlockwise direction (Fig 10.20). Then the projection of AB on l is a vector p (say) with magnitude | AB | cos , and the direction of p being the same (or opposite) to that of the line l, depending upon whether cos is positive or negative. The vector p
Fig 10.20
444
MATHEMATICS
is called the projection vector, and its magnitude | p | is simply called as the projection of the vector AB on the directed line l. For example, in each of the following figures (Fig 10.20 (i) to (iv)), projection vector of AB along the line l is vector AC . Observations is the unit vector along a line l, then the projection of a vector a 1. If p on the line . l is given by a p 2. Projection of a vector a on other vector b , is given by
ab , 1 b a , or ( a b ) |b | |b |
or
3. If = 0, then the projection vector of AB will be AB itself and if = , then the projection vector of AB will be BA .
3 , then the projection vector of AB will be zero vector. 2 2 , then its Remark If , and are the direction angles of vector a a1i a2 j a3 k direction cosines may be given as
4. If =
or =
Also, note that | a | cos , | a |cos and | a |cos are respectively the projections of a along OX, OY and OZ. i.e., the scalar components a1, a2 and a3 of the vector a , are precisely the projections of a along x-axis, y-axis and z-axis, respectively. Further, if a is a unit vector, then it may be expressed in terms of its direction cosines as cos a cos i j cos k Example 13 Find the angle between two vectors a and b with magnitudes 1 and 2 respectively and when a b 1 .
VECTOR ALGEBRA
445
) ( i ) 1 1 1 1 . jk jk a b = (i 1
3
cos =
1 1 = cos 3 and b i , then show that the vectors 3 Example 15 If a 5i j 3k j 5k a b and a b are perpendicular.
Solution We know that two nonzero vectors are perpendicular if their scalar product is zero. ) ( i ) 6i 3 2 Here j 3k j 5k j 8k a b = (5i and So Hence
) (4i ) 24 8 16 0. 2 4 (a b ) (a b ) (6i j 8k j 2k
a b and a b are perpendicular vectors.
) ( i ) 4i 3 4 j 3k j 5k j 2k a b = (5i
= a.a a b b a b b
446
MATHEMATICS
= | a |2 2( a b ) | b |2 Therefore
Therefore
Example 18 If a is a unit vector and ( x a ) ( x a ) 8 , then find | x | . Solution Since a is a unit vector, | a | 1 . Also, ( x a ) ( x a) = 8 or x x xa a x aa = 8 | x |2 1 = 8 i.e. | x | 2 = 9 or
|a b | =
Example 19 For any two vectors a and b , we always have | a b | | a | | b | (CauchySchwartz inequality). Solution The inequality holds trivially when either a 0 or b 0 . Actually, in such a situation we have | a b | 0 | a | | b | . So, let us assume that | a | 0 | b | . Then, we have
| ab | = | cos | 1 | a || b |
Therefore
| a b | | a ||b |
Example 20 For any two vectors a and b , we always have | a b | | a | | b | (triangle inequality). Solution The inequality holds trivially in case either
A
a
C
b a +
a 0 or b 0 (How?). So, let | a | 0 | b | . Then, Fig 10.21 | a b |2 = ( a b ) 2 ( a b ) ( a b ) = aa ab b a b b = | a |2 2a b | b |2 (scalar product is commutative) 2 2 (since x | x | x R ) | a | 2 | a b | | b | 2 2 (from Example 19) | a | 2 | a || b | | b | 2 = (| a | | b |)
VECTOR ALGEBRA
447
Hence
|a b | |a | |b | | a b | = | a | | b |,
Remark If the equality holds in triangle inequality (in the above Example 20), i.e.
| AC | = | AB | | BC | then showing that the points A, B and C are collinear. ), B( i ) and C(7i ) 3 2 k Example 21 Show that the points A (2i j 5k j 3k are collinear.
Solution We have
3i , j (3 5) k j 2k AB = (1 2) i (2 3)
6i , (0 2) 2 j (1 3) k j 4k BC = (7 1) i
9i (0 3) 3 j (1 5)k j 6k AC = (7 2) i
| AB | = 14, | BC | 2 14 and | AC | 3 14
Therefore
AC = | AB | | BC |
Note In Example 21, one may note that although AB BC CA 0 but the points A, B and C do not form the vertices of a triangle.
EXERCISE 10.3
1. Find the angle between two vectors a and b with magnitudes
respectively having a b 6 .
3 and 2 ,
1 ), 1 (3i ), 1 (6i ) 6 2 (2i 3 j 6k j 2k j 3k 7 7 7 Also, show that they are mutually perpendicular to each other.
448
MATHEMATICS
6. Find | a | and | b | , if (a b ) (a b ) 8 and | a | 8 | b | . 7. Evaluate the product (3a 5b ) (2a 7b ) . 8. Find the magnitude of two vectors a and b , having the same magnitude and such that the angle between them is 60o and their scalar product is 9. Find | x | , if for a unit vector a , ( x a ) ( x a ) 12 .
, b i and c 2 2 j 3k jk j are such that a 3i 10. If a 2i b is
1 . 2
11. Show that | a | b | b | a is perpendicular to | a | b | b | a , for any two nonzero vectors a and b .
12. If a a 0 and a b 0 , then what can be concluded about the vector b ? 13. If a , b , c are unit vectors such that a b c 0 , find the value of
ab bc c a .
14. If either vector a 0 or b 0, then a b 0 . But the converse need not be true. Justify your answer with an example. 15. If the vertices A, B, C of a triangle ABC are (1, 2, 3), (1, 0, 0), (0, 1, 2), respectively, then find ABC. [ABC is the angle between the vectors BA and BC ]. 16. Show that the points A(1, 2, 7), B(2, 6, 3) and C(3, 10, 1) are collinear.
, i and 3i form the vertices 3 4 17. Show that the vectors 2i jk j 5k j 4k of a right angled triangle.
18. If a is a nonzero vector of magnitude a and a nonzero scalar, then a is unit vector if (A) = 1 (B) = 1 (C) a = | | (D) a = 1/| | 10.6.3 Vector (or cross) product of two vectors In Section 10.2, we have discussed on the three dimensional right handed rectangular coordinate system. In this system, when the positive x-axis is rotated counterclockwise
VECTOR ALGEBRA
449
into the positive y-axis, a right handed (standard) screw would advance in the direction of the positive z-axis (Fig 10.22(i)). In a right handed coordinate system, the thumb of the right hand points in the direction of the positive z-axis when the fingers are curled in the direction away from the positive x-axis toward the positive y-axis (Fig 10.22(ii)).
Definition 3 The vector product of two nonzero vectors a and b , is denoted by a b and defined as
, a b = | a || b | sin n is where, is the angle between a and b , 0 and n
Fig 10.23
If either a 0 or b 0 , then is not defined and in this case, we define a b 0 . Observations 1. a b is a vector. 2. Let a and b be two nonzero vectors. Then a b 0 if and only if a and b are parallel (or collinear) to each other, i.e.,
ab = 0 a b
450
MATHEMATICS
In particular, a a 0 and a ( a ) 0 , since in the first situation, = 0 and in the second one, , making the value of sin to be 0. 3. If
then a b | a || b | .
5. In terms of vector product, the angle between two vectors a and b may be given as
| ab | sin = | a || b |
and n 1 both Thus, if we assume a and b to lie in the plane of the paper, then n
being directed above the will be perpendicular to the plane of the paper. But, n 1 directed below the paper. i.e. n 1 n . paper while n
VECTOR ALGEBRA
451
Hence
a b = | a || b | sin n
1 AB CD. 2
Fig 10.26
9. If a and b represent the adjacent sides of a parallelogram, then its area is given by | a b | . From Fig 10.27, we have Area of parallelogram ABCD = AB. DE. But AB | b | (as given), and
DE | a | sin .
1 1 | b || a | sin | a b | . 2 2
Thus,
Area of parallelogram ABCD = | b || a | sin | a b | . We now state two important properties of vector product. Property 3 (Distributivity of vector product over addition): If a , b and c are any three vectors and be a scalar, then (i)
a (b c) = a b a c
Fig 10.27
(ii) ( a b ) = (a ) b a (b )
452
MATHEMATICS
and a2 j a3k Let a and b be two vectors given in component form as a1i , respectively. Then their cross product may be given by b bi jb k
1 2 3
a b = a1 b1
j a2 b2
k a3 b3
Explanation We have
) (b i a2 j a3k a b = (a1i 1 b2 j b3 k ) ) a b ( i ) a1b2 (i k j ) a1b3 (i = a1b1 (i 2 1 j i)
) j j ) a2b3 ( jk + a2b2 ( i k ) ) a3b2 (k + a3b1 ( k j ) a3b3 ( k i ) a2b1 (i = a1b2 (i j ) a1b3 (k j) ) a b (k i ) ) a3b2 ( + a2b3 ( jk jk 3 1
(by Property 1)
k 0 and i k i ) i k , i (as i j jk j i j and k j j k ab = a1b2 k 1 3 j a2 b 1k a2 b3i a3 b 1 j a3b2 i , i i and k (as i jk j k j) (a1b3 a3b1 ) j ( a1b2 a2b1 ) k = (a2b3 a3b2 )i
i j = a1 a2 b1 b2
k a3 b3
Solution We have
ab = 2 1 3 3 5 2
Hence
| a b | =
VECTOR ALGEBRA
453
(a b ) ( a b ) = 2
|c | = Now Therefore, the required unit vector is
j k ( c 4 3 4 2i j 2k , say) 0 1 2
4 16 4 24 2 6
c 1 2 1 i j k = |c | 6 6 6
Note There are two perpendicular directions to any plane. Thus, another unit 1 2 1 i j k . But that will vector perpendicular to a b and a b will be be a consequence of (a b ) ( a b ) .
6 6 6
Example 24 Find the area of a triangle having the points A(1, 1, 1), B(1, 2, 3) and C(2, 3, 1) as its vertices.
and AC i 2 Solution We have AB j 2k j . The area of the given triangle
is
1 | AB AC | . 2
i j k 2 jk AB AC = 0 1 2 4i 1 2 0
| AB AC | =
1 2 21
Now,
16 4 1 21
454
MATHEMATICS
Example 25 Find the area of a parallelogram whose adjacent sides are given and b i by the vectors a 3i j k j 4k Solution The area of a parallelogram with a and b as its adjacent sides is given by | a b | .
Now
ab = 3
| ab | =
42 .
j 4k 1 4 5i 1 1 1
Therefore
25 1 16 42
and b i . 2 a 3i j 2k 2 j 2k
, b i a2 j a3k 7. Let the vectors a, b , c be given as a1i 1 b2 j b3 k , . . Then show that a c2 c1i j c3 k ( b c ) a b a c
8. If either a 0 or b 0, then a b 0 . Is the converse true? Justify your answer with an example. 9. Find the area of the triangle with vertices A(1, 1, 2), B(2, 3, 5) and C(1, 5, 5).
VECTOR ALGEBRA
455
10. Find the area of the parallelogram whose adjacent sides are determined by the and . vectors a i b 2i 7 j k j 3k 11. Let the vectors a and b be such that | a | 3 and | b |
unit vector, if the angle between a and b is (B) /4 (C) /3 (D) /2 (A) /6 12. Area of a rectangle having vertices A, B, C and D with position vectors , i , i and i 1 1 1 1 , respectively is i j 4k j 4k j 4k j 4k 2 2 2 2 1 (B) 1 (A) 2 (C) 2 (D) 4
2 , then a b is a 3
Miscellaneous Examples
Example 26 Write all the unit vectors in XY-plane. Solution Let r x i y j be a unit vector in XY-plane (Fig 10.28). Then, from the | = 1). So, we may write the vector r as figure, we have x = cos and y = sin (since | r sin j r OP = cos i ... (1) Clearly,
|r | =
cos 2 sin 2 1
Fig 10.28
Also, as varies from 0 to 2, the point P (Fig 10.28) traces the circle x2 + y2 = 1 counterclockwise, and this covers all possible directions. So, (1) gives every unit vector in the XY-plane.
456
MATHEMATICS
vectors of points A, B, C and D respectively, then find the angle between AB and
CD . Deduce that AB and CD are collinear.
Solution Note that if is the angle between AB and CD, then is also the angle between AB and CD . Now
| AB | =
AB CD cos =
=
and |CD | 6 2 8 j 2k CD = 2i
|AB||CD|
Since 0 , it follows that = . This shows that AB and CD are collinear. Alternatively, AB
Example 28 Let a , b and c be three vectors such that | a | 3, | b | 4, | c | 5 and each one of them being perpendicular to the sum of the other two, find | a b c | . Solution Given a (b c ) = 0, b (c a ) 0, c ( a b ) 0. Now
| a b c |2 = (a b c ) 2 (a b c ) (a b c )
= a a a (b c ) b b b (a c ) + c .(a b ) c .c
Therefore
|a b c | =
= | a |2 | b |2 | c |2 = 9 + 16 + 25 = 50
50 5 2
VECTOR ALGEBRA
457
Example 29 Three vectors a, b and c satisfy the condition a b c 0 . Evaluate the quantity a b b c c a , if | a | 1, | b | 4 and | c | 2 . Solution Since a b c 0 , we have
a (a b c ) = 0
a a a b a c = 0 a b a c = a
b a b c = 0
2
... (1)
a b bc = b
a c b c = 4.
16
or
2 = 21, i.e., =
21
Example 30 If with reference to the right handed system of mutually perpendicular , , then express , in the form unit vectors i j and k j, 2i j 3k 3i
1 2 , where 1 is parallel to and 2 is perpendicular to . Solution Let 1 , is a scalar, i.e., 1 3 i j. . (1 ) j 3k 2 1 = (2 3 )i Now, since 2 is to be perpendicular to , we should have 2 0 . i.e.,
Now
3(2 3 ) (1 ) = 0
or Therefore
1 2 2 2 2 2
3 1 1 3 j and 2 i j 3k 1 = i
458
MATHEMATICS
to the vector 2a b 3c . 8. Show that the points A (1, 2, 8), B (5, 0, 2) and C (11, 3, 7) are collinear, and find the ratio in which B divides AC. 9. Find the position vector of a point R which divides the line joining two points P and Q whose position vectors are (2a b ) and (a 3b ) externally in the ratio 1 : 2. Also, show that P is the mid point of the line segment RQ.
and i . 4 2 10. The two adjacent sides of a parallelogram are 2i j 5k j 3k Find the unit vector parallel to its diagonal. Also, find its area. 11. Show that the direction cosines of a vector equally inclined to the axes OX, OY
and OZ are
1 1 1 , , . 3 3 3
14. If a , b , c are mutually perpendicular vectors of equal magnitudes, show that the vector a b c is equally inclined to a , b and c .
VECTOR ALGEBRA
459
15. Prove that (a b ) ( a b ) | a |2 | b |2 , if and only if a, b are perpendicular, given a 0, b 0 . Choose the correct answer in Exercises 16 to 19.
16. If is the angle between two vectors a and b , then a b 0 only when (A) 0
(B) 0
17. Let a and b be two unit vectors and is the angle between them. Then a b is a unit vector if (A)
(D) 0
(B)
(C)
(D)
2 3
19. If is the angle between any two vectors a and b , then | a b | | a b | when is equal to (A) 0 (B)
(D) 3
(C)
(D)
Summary
The scalar components of a vector are its direction ratios, and represent its
projections along the respective axes. The magnitude (r), direction ratios (a, b, c) and direction cosines (l, m, n) of any vector are related as:
a l , r
b c m , n r r
460
MATHEMATICS
The vector sum of two coinitial vectors is given by the diagonal of the parallelogram whose adjacent sides are the given vectors. The multiplication of a given vector by a scalar , changes the magnitude of the vector by the multiple | |, and keeps the direction same (or makes it opposite) according as the value of is positive (or negative).
of a . The position vector of a point R dividing a line segment joining the points P and Q whose position vectors are a and b respectively, in the ratio m : n (i) (ii)
na mb . internally, is given by m n
mb na externally, is given by . mn
The scalar product of two given vectors a and b having angle them is defined as
a b | a || b | cos .
between
Also, when a b is given, the angle between the vectors a and b may be determined by ab cos = | a || b | If is the angle between two vectors a and b , then their cross product is
given as
a b = | a || b | sin n
VECTOR ALGEBRA
461
then
and a b = a1
a2
Historical Note
The word vector has been derived from a Latin word vectus, which means to carry. The germinal ideas of modern vector theory date from around 1800 when Caspar Wessel (1745-1818) and Jean Robert Argand (1768-1822) described that how a complex number a + ib could be given a geometric interpretation with the help of a directed line segment in a coordinate plane. William Rowen Hamilton (1805-1865) an Irish mathematician was the first to use the term vector for a directed line segment in his book Lectures on Quaternions (1853). Hamiltons method of quaternions (an ordered set of four real numbers given as: , i following certain algebraic rules) was a solution to the cj dk , a bi j, k problem of multiplying vectors in three dimensional space. Though, we must mention here that in practice, the idea of vector concept and their addition was known much earlier ever since the time of Aristotle (384-322 B.C.), a Greek philosopher, and pupil of Plato (427-348 B.C.). That time it was supposed to be known that the combined action of two or more forces could be seen by adding them according to parallelogram law. The correct law for the composition of forces, that forces add vectorially, had been discovered in the case of perpendicular forces by Stevin-Simon (1548-1620). In 1586 A.D., he analysed the principle of geometric addition of forces in his treatise DeBeghinselen der Weeghconst (Principles of the Art of Weighing), which caused a major breakthrough in the development of mechanics. But it took another 200 years for the general concept of vectors to form. In the 1880, Josaih Willard Gibbs (1839-1903), an American physicist and mathematician, and Oliver Heaviside (1850-1925), an English engineer, created what we now know as vector analysis, essentially by separating the real (scalar)
462
MATHEMATICS
part of quaternion from its imaginary (vector) part. In 1881 and 1884, Gibbs printed a treatise entitled Element of Vector Analysis. This book gave a systematic and concise account of vectors. However, much of the credit for demonstrating the applications of vectors is due to the D. Heaviside and P.G. Tait (1831-1901) who contributed significantly to this subject.
ANSWERS
EXERCISE 7.1
1 1. cos 2 x 2
4. 7. 2.
1 sin 3x 3
3. 6.
1 2x e 2 4 3x e xC 3 2 3 x x e C 3
x2 4 5x C 2 x
x3 xC 3
1 ( ax b)3 3a
x3 xC 3
1 4 3x 5. cos 2 x e 2 3
8.
ax 3 bx 2 cx C 9. 3 2
10.
x2 log x 2 x C 2
11.
12.
2 2 x 2 x2 8 x C 7
2 2 2 2 x x C 3 5
x 3sin x + e C
2 x
13.
14.
15.
6 2 4 2 x x 2x2 C 7 5
3
16.
EXERCISE 7.2
1. log (1 + x2) + C 4. cos (cos x) + C 2.
1 (log| x |)3 C 3
3. log 1+ log x C
5. 7.
1 cos 2( ax b) C 4a
5 3
6.
2 (ax b) 2 C 3a
2 4 ( x 2) 2 ( x 2) 2 C 5 3
ANSWERS
589
8.
1 (1 2 x 2 ) 2 C 6
9.
4 2 ( x x 1) 2 C 10. 2log 3
x 1 C
11.
2 x 4( x 8) C 3
1 3 1 ( x 1) 3 ( x3 1) 3 C 7 4
(log x)1 m C 1 m
7 4
12.
13.
1 C 18(2 3x 3 ) 2
14.
15.
1 log | 9 4 x 2 | 16. 8
1
1 2 x 3 e C 2
17.
1 2e
x2
18. e tan
x x 19. log (e e ) +C
20.
1 log (e 2 x e2 x ) C 2
21. 23.
1 tan (2 x 3) x C 2 1 (sin 1 x )2 C 2
1 C (1 tan x)
2 1+sin x C
1 22. tan (7 4 x) C 4
24.
25.
26.
27.
1 (sin 2 x ) 2 C 3
28.
29.
1 31. 1+ cos x C
33. 36.
32. 34.
35.
1 (1 log x)3 C 3
38. D
590
MATHEMATICS
EXERCISE 7.3
1. 3.
x 1 sin (4 x 10) C 2 8
1 1 1 1 sin12 x x sin 8 x sin 4 x C 4 12 8 4
2.
1 1 cos 7 x cos x C 14 2
1 1 4. cos (2 x 1) cos3 (2 x 1) C 2 6
6.
5.
1 1 cos6 x cos 4 x C 6 4
7. 9. 11.
x 2 tan x C 2
x x tan C 2
10.
3x 1 1 sin 2 x sin 4 x C 8 4 32
12. x sin x + C
3x 1 1 sin 4 x sin 8 x C 8 8 64
2 23. A
x x2 C
2
22.
24. B
EXERCISE 7.4
1.
tan 1 x 3 + C
2.
1 log 2 x 1 4 x 2 C 2
ANSWERS
591
3. log
1 2 x x 4x 5
2
4.
1 1 5 x sin C 5 3
1 1 x3 log C 6 1 x3
5.
3 2 2
tan 1 2 x 2 C
6.
7.
x 2 1 log x x 2 1 C
8.
1 log x 3 x 6 a 6 C 3
2 10. log x 1 x 2 x 2 C
11.
1 1 3 x 1 tan C 2 6
1 12. sin
x 3 C 4 2 x 3 C 41
3 2 13. log x x 3x 2 C 2
15. log x 16.
1 14. sin
a +b ( x a)( x b) C 2
17.
2 2x 2 + x 3 C
x 2 1 2log x x 2 1 C
18.
5 11 3x 1 log 3x 2 2 x 1 tan 1 C 2 6 3 2
9 2 2 19. 6 x 9x + 20 34 log x x 9 x 20 C 2
20. 21.
4x x2 4 sin 1
x 2 C 2
x2 2 x +3 log x 1 x2 2 x 3 C
1 2 x 1 6 log x 2 2 x 5 log C 2 6 x 1 6
22.
592
MATHEMATICS
24. B
25. B
EXERCISE 7.5
1. log
( x 2)2 C x1
2.
1 x3 log C 6 x3
6.
3 x log x log 1 2 x C 2 4
2 1 x 1 log C 9 x 2 3( x 1)
9.
1 4 x1 log C 2 x 1 x 1
5 x2
15.
x 1 1 1 log tan 1 x C x 1 2 4
1 xn log n C n x 1
17. log
2 sin x C 1 sinx
18.
x+
x2 1 1 log 2 C 2 x 3
ANSWERS
593
ex 1 C x e
EXERCISE 7.6
1. x cos x + sin x + C 3. e x (x2 2x + 2) + C 5.
x2 x2 log 2 x C 2 4
x 1 2. cos3 x sin 3 x C 3 9
4. 6.
x2 x2 log x C 2 4 x3 x3 log x C 3 9 x2 x 1 tan 1 x tan 1 x C 2 2 2
7.
1 x 1 x2 (2 x 2 1) sin 1 x C 4 4
cos 1 x x 1 x2 C 4 4
8.
2 9. (2 x 1)
11. 13.
2 1 1x cos x x C
1 x tan 1 x log (1 x 2 ) C 2
x3 x3 log x x x C 15. 9 3
ex C 17. 1+ x
16. ex sin x + C
x x 18. e tan C 2
20.
ex C ( x 1) 2
19. 21.
ex C x
594
MATHEMATICS
EXERCISE 7.7
1. 3. 4.
1 x 4 x2 2
2sin
x C 2
2.
1 1 1 sin 2 x x 1 4 x 2 4 2
C
5. 6.
(x +2) 2 9 x 4 x 5 log x 2 x 2 4 x 5 2 2
(2x 3) 13 2 x 3 1 3x x 2 sin 1 C 4 8 13
7.
8. 9.
2x +3 2 x 3x 4
9 3 log x x 2 3x 8 2
C
x 2 3 x 9 log x x 2 9 6 2 10. A
11. D
EXERCISE 7.8
1. 4.
1 2 2 (b a ) 2
2.
35 2
3.
19 3
15 e8 2
27 2
5. e
1 e
6.
EXERCISE 7.9
1. 2 4. 2. log 5. 0
3 2
3.
64 3
1 2
6. e4 (e 1)
ANSWERS
595
7.
1 log 2 2
8. log
2 1 2 3
9.
4 1 log 2 2 1 (e 1) 2
11. 14.
1 3 log 2 2
12.
1 3 log 6 tan 1 5 5 5
16. 5
2
5 5 3 9log log 2 4 2
19. 3log 2 22. C
17.
1024 2
4
18. 0 21. D
3 8
20. 1 +
2 2
EXERCISE 7.10
1.
1 log 2 2
16 2 ( 2 1) 15
2.
64 231
3.
log 2
1 17 log 21 5 17 4
4.
5.
4
e2 (e2 2) 4
6.
8 10. B
7.
8.
9. D
EXERCISE 7.11
1.
2.
3. 7. 10.
4.
5. 29 8.
6. 9
1 (n 1) (n 2)
log 2
9.
16 2 15
log
1 2
11.
596
MATHEMATICS
13. 0 17.
14. 0 18. 5
15. 0 20. C
a 2
3.
2 ( a x) C a x
1 1 1
1 4 4. 1+ 4 C x
5.
2 x 3x 3 6 x 6 6log (1 x 6 ) C
8.
x3 C 3
11.
13. log
1+e x C 2+e x
14. 16.
1 4 15. cos x C 4
17.
[f (ax + b)]n +1 C a (n+1)
18.
19.
2(2x 1)
sin 1 x
2 x x2
x C
ANSWERS
597
20.
2 1 x cos 1 x x x 2
21. ex tan x + C
22.
2log
x +1
3
1 x 1
3log
x 2 C
23.
1 x cos1 x 1 x 2 C 2
24.
1 1 2 1 1 2 log 1 2 3 x x
2 C 3
25. e 2 27.
26.
8
2sin 1 ( 3 1) 2
6
4 2 3
28.
29.
30.
1 log 9 40
31.
32.
( 2)
33.
19 2
40.
1 2 1 e 3 e
41. A 43. D
42. B 44. B
EXERCISE 8.1
1.
14 3
2. 16 4 2 5. 6
2
3.
32 8 2 3
4. 12
6.
3 1 3
13. B
7.
a2 1 2 2
8. (4) 3 11. 8 3
9.
10.
9 8
12. A
598
MATHEMATICS
EXERCISE 8.2
1.
2 6
9 2 2 sin 1 4 3
2.
2 3
3 2
21 2 6. B
3.
4. 4 7. B
5. 8
7 3
3.
(ii) 624.8
1 6
7 3
4. 9 8.
5. 4
6. 9.
8 a2 3 m3
7. 27 10.
3 ( 2) 2
12.
ab ( 2) 4
9 2
11. 2
1 3
13. 7 16. D
7 2 17. C
14.
9 8 18. C
15.
9 1 1 sin 1 4 3 3 2 19. B
EXERCISE 9.1
1. 3. 5. 7. 9. 11. Order 4; Degree not defined Order 2; Degree 1 Order 2; Degree 1 Order 3; Degree 1 Order 2; Degree 1 D 2. 4. 6. 8. 10. 12. Order 1; Degree 1 Order 2; Degree not defined Order 3; Degree 2 Order 1; Degree 1 Order 2; Degree 1 A
EXERCISE 9.2
11. D 12. D
ANSWERS
599
EXERCISE 9.3
1. 3. 5. 7. 9. 11. y = 0 y y 6 y = 0 y 2y + 2y = 0 xy 2y = 0 xyy + x(y) yy = 0 B 2. 4. 6. 8. 10. 12. xy y + x (y) y y = 0 y 4y + 4y = 0 2xyy + x2 = y2 xyy + x(y) yy = 0 (x 9) (y) + x = 0 C
EXERCISE 9.4
x y 2 tan x C 2 3. y = 1 + Aex
1. 5. y = log (ex + ex) + C 7. y = ecx 9. y = x sin1x +
1 x 2 + C
2. y = 2 sin (x + C) 4. 6.
tan x tan y C
tan 1 y = x + x3 C 3 =C
8. x 4 + y 4
13. cos
y2 a x
EXERCISE 9.5
2 1. ( x y) Cx e
y
x
2.
y x log x Cx
600
MATHEMATICS
3.
tan 1
1
y 1 2 2 log ( x y ) C 2 x
4. x2 + y2 = Cx
5.
2 2
log
x 2y x 2y
log x
6.
y + x2 + y 2
x 1 cos
x y
Cx
7. xy cos
y =C x
8.
y y Csin x x
y 9. cy = log 1 x
11. log ( x2 + y2) + 2 tan1 12. y + 2x = 3x2 y
10.
ye
xC
y = log 2 2 x
13. cot
y log ex x
y log ex x
15.
2x ( x 0, x e) 1 log x
17. D
EXERCISE 9.6
1. y = 3.
xy
y log x
y
(1 log x ) C
1 C cot x x x sin x
y2 C 3 y
ANSWERS
601
19. D
6. sin1y + sin1x = C
x y
(2 x C)
2 x 1 , x 1 x 1
2
2
(sin x 0)
y log
16. C 18. C
EXERCISE 10.1
602
MATHEMATICS
(v) scalar
4. (i) Vectors a and b are coinitial (ii) Vectors b and d are equal (iii) Vectors a and c are collinear but not equal 5. (i) True (ii) False (iii) False (iv) False
EXERCISE 10.2
1.
a 3, b 62, c 1
2. An infinite number of possible answers. 3. An infinite number of possible answers. 4. x = 2, y = 3 6. 8. 10. 13.
jk 4
1 1 1 i j k 3 3 3 40 8 16 i j k 30 30 30
and 6 5. 7 and 6; 7 i j
7. 9. 12.
1 1 2 i j k 6 6 6 1 1 i k 2 2 1 2 3 , , 14 14 14
1 2 2 , , 3 3 3
1 4 1 i j k (ii) 3 3 3
3k 3i
2 16. 3i jk
19. (D)
EXERCISE 10.3
1.
4
60 114
a 1, b 1
2. cos 1 6. 9.
5 7
3. 0
2 2 11a .b 35 b
4. 8.
16 2 2 2 , 3 7 3 7
7. 6 a 10. 8
13
ANSWERS
603
13.
18. (D)
EXERCISE 10.4
1. 19 2 5. 3,
2 2 1 j k 2. i 3 3 3
3.
1 1 1 , , 3 2 2 2 ;
9.
61 2
10. 15 2
11. (B)
12. (C)
x2 x1 , y2 y1 , z2 z1; ( x2 x1 ) 2 ( y2 y1 ) 2 ( z2 z1 ) 2
5
5.
1 3
6.
3 10 10 i j 2 2
7.
3 3 2 i j k 22 22 22
8. 2 : 3 12.
9. 3 a + 5 b
10.
1 ); 11 5 (3i 6 j 2k 7
604
MATHEMATICS
EXERCISE 11.1
1. 0, 5.
1 2 2 2 2 3 , , ; 17 17 17 ,
9 6 2 1 1 1 , , , , 3. 11 11 11 3 3 3 4 5 2 3 2 1 , , ; , , 17 17 17 42 42 42
2.
EXERCISE 11.2
4. 5.
x2 y4 z5 3 5 6 ) (3 i ) 4 7 7. r (5 i j6k j 2k
6. 8. Vector equation of the line: Cartesian equation of the line: 9. Vector equation of the line: Cartesian equation of the line:
); 2 r (5i j 3k
x y z 5 2 3
(11k ) r 3i 2 j 5k
x3 y2 z5 0 0 11
19 21
1 (ii) = cos
8 5 3
1 2 (ii) = cos 3
p
3 19
70 11
14. 17.
3 2 2 8 29
15.
2 29
ANSWERS
605
EXERCISE 11.3
1. (a) 0, 0, 1; 2 (c) 2.
r
2 3 1 5 , , ; 14 14 14 14
(b)
1 1 1 1 , , ; 3 3 3 3
(d) 0, 1, 0;
8 5
j6k 3 i 5 7 70
24 36 48 , , 29 29 29
1 1 , 3 3
(b) 0, (d) 0,
18 24 , 5 5
1 , 3 5. (a) [ r (b) [ r
8
5
, 0
)] (i ) 0; x + y z = 3 jk ( i 2 k ) ] ( i ) 0; x 2y + z + 1 = 0 4 2 j6k jk (i
6. (a) The points are collinear. There will be infinite number of planes passing through the given points. (b) 2x + 3y 3z = 5 7. 10.
153 68 r 38 i j 3k 15 731
5 , 5, 5 2
8. y = 3
9. 7x 5y + 4z 8 = 0 11. x z + 2 = 0
12. cos 1
2 13. (a) cos 1 5 (c) The planes are parallel (e) 45o
14. (a)
(b) The planes are perpendicular (d) The planes are parallel
3 13 (c) 3
(b)
13 3 (d) 2
606
MATHEMATICS
x y z 1 0 0
1 5. cos
5 187
6.
(i ) 2 7. r j 3 k j5k i 2 7 9. 9 8. x + y + z = a + b + c
k
10
10. 0,
17 13 , 2 2
11.
17 , 0, 23 3 3
12. (1, 2, 7)
7 3 16. x + 2y 3z 14 = 0 18. 13
14. p = 1 or
(2 i ) 3 j 4k j 6k 2 20. r i 23. B
22. D
EXERCISE 12.1
1. Maximum Z = 16 at (0, 4) 2. Minimum Z = 12 at (4, 0) 3. Maximum Z =
235 20 45 at , 19 19 19
3 1 , 4. Minimum Z = 7 at 2 2
5. Maximum Z = 18 at (4, 3) 6. Minimum Z = 6 at all the points on the line segment joining the points (6, 0) and (0, 3). 7. Minimum Z = 300 at (60, 0); Maximum Z = 600 at all the points on the line segment joining the points (120, 0) and (60, 30).
ANSWERS
607
8. Minimum Z = 100 at all the points on the line segment joining the points (0, 50) and (20, 40); Maximum Z = 400 at (0, 200) 9. Z has no maximum value 10. No feasible region, hence no maximum value of Z.
EXERCISE 12.2
1. Minimum cost = Rs 160 at all points lying on segment joining
8 ,0 3
2, and
1 . 2
2. Maximum number of cakes = 30 of kind one and 10 cakes of another kind. 3. (i) 4 tennis rackets and 12 cricket bats (ii) Maximum profit = Rs 200 4. 3 packages of nuts and 3 packages of bolts; Maximum profit = Rs 73.50. 5. 30 packages of screws A and 20 packages of screws B; Maximum profit = Rs 410 6. 4 Pedestal lamps and 4 wooden shades; Maximum profit = Rs 32 7. 8 Souvenir of types A and 20 of Souvenir of type B; Maximum profit = Rs 1600. 8. 200 units of desktop model and 50 units of portable model; Maximum profit = Rs 1150000. 9. Minimise Z = 4x + 6y subject to 3x + 6y 80, 4x + 3y 100, x 0 and y 0, where x and y denote the number of units of food F1 and food F2 respectively; Minimum cost = Rs 104 10. 100 kg of fertiliser F1 and 80 kg of fertiliser F2; Minimum cost = Rs 1000 11. (D)
608
MATHEMATICS
5. 40 tickets of executive class and 160 tickets of economy class; Maximum profit = Rs 136000. 6. From A : 10,50, 40 units; From B: 50,0,0 units to D, E and F respectively and minimum cost = Rs 510 7. From A: 500, 3000 and 3500 litres; From B: 4000, 0, 0 litres to D, E and F respectively; Minimum cost = Rs 4400 8. 40 bags of brand P and 100 bags of brand Q; Minimum amount of nitrogen = 470 kg. 9. 140 bags of brand P and 50 bags of brand Q; Maximum amount of nitrogen = 595 kg. 10. 800 dolls of type A and 400 dolls of type B; Maximum profit = Rs 16000
EXERCISE 13.1
2 1 P E|F , P F|E 3 3 3. (i) 0.32 (ii) 0.64
1. 4. 2.
P A|B
(iii) 0.98
16 25
11 26 4 11
(ii) (ii)
5. (i) 6. (i)
4 5
(iii) (iii)
2 3 6 7 1 1 , (b) 3 9 3 1 , 4 4
1 2 7. (i) 1
8.
3 7 (ii) 0
1 6 1 1 , 2 3 1 2
10. (a)
1 2 , 2 3 1 3
13.
(iii)
5 9
17. D
1 15
16. C
ANSWERS
609
EXERCISE 13.2
1. 4. 6. 7. 8. 9. 11. 12. 14. 17.
3 25 44 2. 3. 25 102 91 A and B are independent 5. A and B are not independent E and F are not independent 1 1 (i) p (ii) p 5 10 (i) 0.12 (ii) 0.58 (iii) 0.3 (iv) 0.4 3 10. A and B are not independent 8 (i) 0.18 (ii) 0.12 (iii) 0.72 (iv) 0.28 20 40 7 16 13. (i) , (ii) , (iii) 81 81 8 81 2 1 1 1 1 (i) , (ii) 15. (i) , (ii) 16. (a) , (b) , (c) 3 2 5 3 2 D 18. B
EXERCISE 13.3
1 2 198 5. 1197 2 9. 9 13. A
1.
2 3 4 6. 9 8 10. 11 14. C
2.
9 13 1 7. 52 5 11. 34
3.
12 13 1 8. 4 11 12. 50
4.
EXERCISE 13.4
1. (ii), (iii) and (iv) 4. (i) X P(X) (ii) X P(X) 0 1 2 2. X = 0, 1, 2; yes 3. X = 6, 4, 2, 0
1 4
0
1 2
1
1 4
2 3
1 8
3 8
3 8
1 8
610
MATHEMATICS
(iii)
X P(X)
1 16
0
1 4
1
3 8
2
1 4
1 16
5. (i)
X P(X)
4 9
0
4 9
1
1 9
(ii)
X P(X)
25 36
0
11 36
1 2 3 4
6.
X P(X)
96 625
2
16 1 625 625
7.
X P(X)
9 16
6 16
1 16
(ii) P(X 3)
1 10 3 10
3 10
(iii)
P(X 6)
17 100
P(0 X 3) k 1 6
1 1 (b) P(X 2) , P(X 2) 1, P(X 2) 2 2 1 14 10. 1.5 11. 12. 3 3 13. Var(X) = 5.833, S.D = 2.415
14. X P(X) 14 15 16 17 18 19 20 21
2 15
1 15
2 15
3 15
1 15
16. B
2 15
3 15
1 15
17. D
Mean = 17.53, Var(X) = 4.78 and S.D(X) = 2.19 15. E(X) = 0.7 and Var (X) = 0.21
ANSWERS
611
EXERCISE 13.5
1. (i)
3 32
3.
(ii)
7 64
9
(iii)
63 64
2.
25 216
29 19 20 20
(iii)
7.
11 243
99 100
50
10. (a) 1
7 5 11. 12 6 14. C
5
(b)
1 99 2 100
4
49
(c) 1
49
35 5 12. 18 6 15. A
13.
22 93 1011
1 3
1 2
20 21
10
4. 1 10 Cr (0.9) r (0.1)10 r
r7
5. (i)
2 5
(ii) 7
2 2 (iii) 1 5 5
(iv)
864 3125
612
MATHEMATICS
6.
510 2 69
7.
4
625 23328
8.
2 7 11 216
3 16
9. 12.
31 2 9 3
1 2 8 , , 15 5 15
14 29
16 31 19. B