Professional Documents
Culture Documents
BSM Unit-2 Questions & Solutions
BSM Unit-2 Questions & Solutions
Sample space and sample point: Set S of all outcomes of a random experiment is called sample space, e.g. in
rolling of a die, S= {1,2,3,4,5,6}. Each element of S is sample point.
Mutually exclusive events: A number of events A1, A2 ,…, An are said to be mutually exclusive when occurrence
of any one of the events excludes the occurrence of all other events. Alternatively, the events are called disjoint
events. Thus, for mutually exclusive events A1, A2,…, An, we have A1∩A2∩…∩An = ∅.
Classical, Mathematical or a priory definition of probability: Let S be the set of all equally likely outcomes of a
random experiment, and A be any event (a subset of S) associated with the experiment. Then the probability of
occurrence of A, denoted by P(A) defined as
𝑛(𝐴) number of outcomes favourable to 𝐴
P(A)= = .
𝑛(𝑆) Exhaustive number of cases in 𝑆
For example, in a die rolling experiment S= {1, 2, 3, 4, 5, 6}, event A of showing up odd numbers is A= {1, 2, 3}.
Therefore, P(A)=n(A)/n(S)=3/6=0.5
Axiomatic definition of probability: Probability P of any event A written as P(A) is a real-valued function P:
A→[0, 1] satisfying the following axioms:
(i) 0<P(A)<1; (ii) P(S) = 1, S is sample space.(iii) If A1 and A2 are mutually exclusive then P(A1UA2)=P(A1) + P(A2)
Note: (i) P(Φ) = 0 because P(SUΦ) =P(S) or P(S)+P(Φ)=P(S) or P(Φ)=0
(ii) P(A’) =1-P(A) because P(AUA’) =P(S) or P(A)+P(A’) =1 So P(A’) =1- P(A).
2 (a) State and prove multiplication rule of probability. Or Define conditional probability.
Sol. 2 (a): Multiplication rule: For any two events A & B, P(A∩B)= P(A|B) P(B), P(A∩B)= P(B|A) P(A)
where P(A|B) is called conditional probability of occurrence of the event A given that the event B has already
occurred (read as probability of A given B) and it is defined as
1
Sol.: Odds against the manager X =No. of unfavourable outcomes/ No. of favourable outcomes=8/6.
That is, nu/nF = 8/6 So, P (X settles the wage dispute) = P(X) = nF /(nu+nF) = 6/14.
Odds in favour of the manager =No. of favourable outcomes/ No. of unfavourable outcomes=14/16.
i.e., nF/nu = 14/16 So, P (Y settles the wage dispute) = P(Y) = nF /(nu+nF) = 14/30 =7/15.
(i) P(neither X nor Y settle the dispute)= P(X’∩Y’)= P(X’)P(Y’) = (8/14)(12/15) =32/105.
[Since A and B are independent, so are A’ and B’.]
P (The dispute will be settled) = P(X)+P(Y)-P(X)P(Y)=6/14 + 7/15 -1/5 = 3/7+4/15
= (45+28)/105=73/105
Aliter: Let A be the event that the manager X will settle the dispute and B be the event that the Manager Y
will settle the dispute. Then clearly P(A') = 8/ (8+6) = 4/7 => P (A) = 1 - P (A') = 1-4/7= 3/7.
P(B) =14/ (14 + 16) = 7/15 => P(B’) =1-P(B) = 1-7/15 =12/15.
Required probability that neither settles the dispute is given by: P(A'∩B') = P(A') P(B’) = (4/7) (12/25) =32/105.
[Since A and B are independent => A’ and B’ are also independent]
(ii) The dispute will be settled if at least one of the managers X and Y settles the dispute. Hence the required
probability is given by:
P (A U B) = Prob. [ At least one of X and Y settles the dispute]
= 1 - Prob. [ None settles the dispute] = 1- P(A'∩ B')= 1-32/105 =73/105.
3. (a) Define conditional probability. Or State and prove multiplication (product) rule of probability.
Sol.: Conditional probability P(A|B) of occurrence of the event A given that the event B has already occurred
(read as probability of A given B) and it is defined as
P(A|B)=n(A∩B)/n(B) =[n(A∩B)/n(S)]/[n(B)/n(S)] = P(A∩B)/P(B), So P(A|B)= P(A∩B)/P(B).
Similarly, P(B|A)=n(A∩B)/n(A) =[n(A∩B)/n(S)]/[n(A)/n(S)] = P(A∩B)/P(A), So P(B|A)= P(A∩B)/P(A).
Therefore, P(A∩B)= P(A|B) P(B), P(A∩B)= P(B|A) P(A).
3 (b) An MBA candidate applies for a job in two firms A and B. The probability of his being selected in firm A
is 0.7 and being rejected in firm B is 0.5. The probability of at least one of his applications being rejected is 0.6.
What is the probability that he will be selected in one of the firms?
Sol.: Let A and B denote the events that the MBA candidate is selected in firms A and B respectively.
Given: P(A)=0.7⇒P(A’)=1−0.7=0.3; P(B)=0.5⇒P(B’)=1−0.5=0.5 and P(A’∪B’)=0.6.
The probability that the persons will be selected in one of the two firms X or Y is given by:
P(A∪B)=1−P(A’∩B’)=1−(P(A’)+P(B’)−P(A’∪B’)) =1−(0.3+0.5−0.6) =0.8.
Independent Events: Two events A and B are said to be independent if and only if P(A∩B) =P(A). P(B).
Note: If we compare this equation with product rule, P(A∩B) = P(A|B) P(B) & P(A∩B) = P(B|A) P(A), we get
P(A)= P(A|B) and P(B)= P(B|A)
Example 1: In rolling of a fair die, the event A is showing up of a prime number and B is showing up of
the numbers 1 or 3. Find P(A|B) and P(A|B).
A= {2, 3, 5}, B= {1, 3}, A∩B= {3}, P(A)=1/2, P(B)=1/3 P(A∩B) =1/6.
So, P(A|B) = P(A∩B)/P(B) = (1/6)/ (1/3) =1/2.
P(B|A) = P(A∩B)/P(A) = (1/6)/ (1/2) =1/3.
See here P(A|B) ≠P(B|A). But, A and B are independent.
Example 2: In a random experiment of rolling a fair die once and tossing a fair coin once, an event A of the die
showing 1 or 2 and event B of the coin showing heads are independent.
Sol.: S= {(1, H), (2, H), (3, H), (4, H), (5, H), (6, H), (1, T), (2, T), (3, T), (4, T), (5, T), (6, T)}
A= {(1, H), (2, H), (1, T), (2, T)}; P(A)=4/12=1/3
B= {(1, H), (2, H), (3, H), (4, H), (5, H), (6, H)} =6/12=1/2.
Thus, P(A∩B) =P [{(1, H), (2, H)}] =2/12= P(A). P(B).
=1,2,..,n and A is any event associated with Bi such that A is a subset of B1UB2U,…,UBn and P(A)>0), then
Page
P(Bi|A) = P(A|Bi) P(Bi) /P(A) where P(A) is total probability
given by P(A)= P(A|B1)P(B1)+P(A|B2) P(B2)+…+P(A|Bn) P(Bn)
(b) In a bolt factory machines A, B and C manufacture 25%, 35% and 40% respectively of the total. Of their
output 5%, 4% and 2% respectively are defective bolts. A bolt is drawn at random from the product and is found
to be defective. What are the probabilities that it was manufactured by machines A, B and C respectively?
Sol.: Let A, B, C be the events of Production of bolts from
machines M1, M2 and M3 respectively and D be event defective
bolts as output. Then total probability is
P(D)= P(A) P(D|A) + P(B) P(D|B) + P(C) P(D|C)
= .0125+.0140+.0080= .0345
So, P(A|D) = P(A) P(D|A)/P(D)=.0125/.0345= 0.3623
P(B|D) = P(B) P(D|B)/P(D) = 0.0140/.0345= 0.4058
P(C|D) =P(C) P(D|C)/P(D)=0.0080/.0345 = 0.2318
Random Variable (RV or rv) denoted by X, Y, etc. is used to represent occurrence of some stochastic (random)
event by its taking some particular value(s) as X=x, X<x etc. having some probability linked to it.
Discrete RV: A random variable say X is discrete if it can take a finite or countably infinite number of possible
values at X= x or xi for which there exists a function f(x)=P(X=x) or f (xi) =P (X= xi) called discrete density
function or probability mass function (pmf) if and only if 1. f(x) > 0 or f(xi)> 0; 2. Σ all x f (x)=1 or Σi f(xi)=1.
Example: In rolling of a fair die: f(xi) =f(x)=1/6>0, x=1, 2, …, 6; 2. Σall x f(x)= Σx 1/6=1.
Continuous RV: A random variable say X is continuous if it can take infinite many possible values at X= x for
which there exists a function f(x) such that P(x<X< x+dx) = f(x)dx, here f(x) is called probability density
function (pdf) if and only if
1. f(x) > 0; 2. ∫D f(x) dx = 1, where D denotes the domain of RV X e. g. D= (-∞, ∞) has -∞ and ∞ as lower and
upper limits of integration in a given problem.
Q. (a) Define cumulative distribution function (CDF)? State the properties of CDF.
(b) Given the CDF as below.
3
Some general results on expectation: If a and b are constants then prove that
(a) E[aX+b] = aE(X)+b; (b) Var (aX+b) = a2Var (X).
Sol.: (i) E[aX+b] = a E(X)+b E (1) = a E(X)+b [Since E (1) =Σ f (x)=1]
(ii) Var[aX+b] =E[(aX+b)2]- {E(aX+b)}2 =E[a2X2+2abX+b2]- {a E(X)+b}2
= a2E(X2) +2abE(X)+ b2 – {a2 [E(X)] 2 +2abE(X)+b2} = a2E(X2)-a2 [E(X)] 2 = a2{E(X2)-[E(X)] 2 = a2 Var[X].
Determine: i) K value ii) Evaluate P(X<6), P(X≥6) iii) Mean iv) Variance
Sol.: i) K value: 0+K+2K+2K+3K+K+5K+K =1 or 15 K = 1 or K =1/15
ii) P(X<6) = P(X=0) + P(X=1) + P(X=2) +P(X=3) + P(X=4) +P(X=5) =0+K+2K+2K+3K+K = 9K=9/15
P(X≥6) = 1- P(X<6) = 1-9/15 = 6/15.
iii) Mean = 0.P(X=0) +1. P(X=1) +2. P(X=2) +3. P(X=3) +4. P(X=4) +5. P(X=5) +6. P(X=6) +7. P(X=7)
=0+K+4K+6K+12K+5K +30K+7K= 63K =63/15 =21/5 =4.2
iv) Variance = E(X2 ) –[E(X]2 = ∑7𝑥=0 𝑥 2 𝑃(𝑥) –(Mean)2
= 02.P(X=0) +12. P(X=1) +22. P(X=2) +32. P(X=3) +42. P(X=4) +52. P(X=5) +62. P(X=6) +72. P(X=7)- (63K) 2
=0 +K +4 (2K) +9(2K) + 16(3K) +25 K +36 (5K) + 49 K - (21/5)2
= K+8K+18K+48K+25K+180K +49K -(21/5)2 =329K-(21/5)2 = 329/15-441/25 = 21.933-17.6 =4.2933
8. Covishield is used to maintain a steady heart rate in patients who have suffered a mild heart attack due
COVID19. Let X denote the number of heart beats per minute obtained per patient as given in the following table.
x 40 60 68 70 72 80 100
f ( x ) 0.01 0.04 0.05 0.80 0.05 0.04 0.01
Find the average heartbeat of the patients and also find the variance of heart beats
Sol.: As shown in the following table, we get the average heart beat as E(x)=Σ x f(x) = 70.
Variance as σ2 = Var(X)=E(X2)-µ2 =Σx2f –(Σxf)2 =4926.4-4900= 26.4 Therefore, Standard Deviation σ= 5.138
X 40 60 68 70 72 80 100
f(x) 0.01 0.04 0.05 0.80 0.05 0.04 0.01 Total
xf 0.4 2.4 3.4 56.0 3.6 3.2 1.0 70.0
Table 1: Joint probability distribution function (jpdf) and mpdf for 2D discrete RV (X, Y) and mpdf
i j 1 2 … N P(X=xi)=pi*=∑𝑁 𝑗=1 𝑝𝑖𝑗
… … … … … …
M 𝑝21 𝑝22 … 𝑝2𝑁 pM*= 𝑁
∑𝑗=1 𝑝𝑀𝑗
P(Y=yj)=p*j=∑𝑀 𝑀 𝑀
𝑖=1 𝑝𝑖𝑗 p*1=∑𝑖=1 𝑝𝑖1 p*2=∑𝑖=1 𝑝𝑖2 … p*N=∑𝑀 𝑀 𝑁
𝑖=1 𝑝𝑖𝑁 p**=∑𝑖=1 ∑𝑗=1 𝑝𝑖𝑗 =1
Conditional Probability: For any two events A1 and A2 , we have P[A1|A2]=P[A1∩A2]/P[A2] (1)
Let X and Y be discrete random variables such that A1 denotes the event X=x and A2 denotes the event
Y=y. Substituting these in (1), we get
5
P[X=x |Y=y]=P[X=x, Y=y]/P[Y=y] Or PX|y (x) =pij/p*j (=pi|j) Or fX|y (x) = fXY(x, y)/fY(y).
Page
where fX|y(x) is called conditional probability density function of X given Y=y.
Similarly, we can use P[A2|A1]=P[A1∩A2]/P[A1] to get the conditional probability of Y given X=x as
fY|x (y) = fXY (x, y)/fX(x) Or fY|x (y) =pij/pi* (=pj|i). In tabular form we write the discrete jpdf as given
below.
Also, pi|j = P[X|Y=yj] = pij/p*j = P[X=xi, Y=yj]/P[Y=yj] =[nij/NM]/[∑𝑀 𝑀
𝑖=1 𝑛𝑖𝑗 /N] =𝑛𝑖𝑗 /∑𝑖=1 𝑛𝑖𝑗 ,
and pj|i = P[Y|X=xi] = pij/pi* = P[X=xi, Y=yj]/P[X=xi] =[nij/NM]/[∑𝑁 𝑁
𝑗=1 𝑛𝑖𝑗 /N] =𝑛𝑖𝑗 /∑𝑗=1 𝑛𝑖𝑗 .
So, the table 1 can be rewritten as below and conditional probabilities pi|j and pj|i can be calculated by using the
above mentioned formulae.
Table 2: jpdf for 2 D discrete RV (X, Y) and mpdf in terms of numbers contributing to X=x and Y=y.
i j 1 2 … N ni* =∑𝑁
𝑗=1 𝑛𝑖𝑗
… … … … … …
M 𝑛21 𝑛22 … 𝑛2𝑁 nM* =∑𝑁
𝑗=1 𝑛𝑀𝑗
𝑖=1 𝑛𝑖𝑗 n*1=∑𝑖=1 𝑛𝑖1 n*2=∑𝑖=1 𝑛𝑖2 … n*N=∑𝑖=1 𝑛𝑖𝑁 ∑𝑖=1 ∑𝑗=1 𝑛𝑖𝑗 =N
n*j=∑𝑀 𝑀 𝑀 𝑀 𝑀 𝑁
9. A market survey was conducted in four cities to find out the preference for brand A soap. The responses are
shown below:
Calcutta Delhi Chennai Bangalore
Yes 65 55 70 50
No 30 25 20 45
No opinion 5 20 10 5
(i) What is the probability that a consumer prefers brand A soap?
(ii) What is the probability that a consumer has no opinion about brand A soap?
(iii) What is the probability that a consumer prefers brand A soap and from Chennai?
(iv) What is the probability that a consumer prefers brand A soap given that he was from Bangalore?
Sol.: We complete the table by calculating city-wise and opinion-wise total numbers.
No opinion 5 20 10 5 40
Total number→ 100 100 100 100 400
Aliter: Taking row values i=1, -1 and 0 to denote Yes (preference), No (No preference), 0 (No opinion) and j
= 1, 2, 3 and 4 to denote Calcutta, Delhi, Chennai and Bangalore respectively, we can denote the joint
6
Page
probability pij = P (X=I, Y=j), marginal probability distribution of X i.e. Pi* and marginal probability
distribution of Y i.e. P*j is written in the following table.
i/j 1 2 3 4 Pi*↓
1 0.1625 0.1375 0.175 0.125 0.6
-1 0.075 0.0625 0.05 0.1125 0.3
0 0.0125 0.05 0.025 0.0125 0.1
P*j→ 0.25 0.25 0.25 0.25 1
Sol.: (i) P (The engineer has a Batchelor’s degree) = ∑3𝑖=1 𝑛𝑖1 /N =180/300 =0.60
(ii) P (The engineer has a Master’s degree) = ∑3𝑖=1 𝑛𝑖2 /N=120/300 =0.40
(iii) P (The engineer has a Master’s degree; given that he is over 40) = n32/ (n31+ n32) = 50/90 =0.555.
(iv) P (The engineer is under 30 given that he has only a bachelor’s degree) = n11/ (n11+n12+ n13) =90/180 =0.50.
Aliter: Taking age in three categories i =1, 2, 3 for ages (X years) under 30, 30-40, over 40 respectively; and
degree in two categories viz. j = 1 and 2 for (Y degrees) as Bachelor and Master degree holders respectively, the
following table for joint probability, and marginal probabilities of X and Y can be obtained
Xi/Yj 1 2 P(X=i)=Pi*↓
1 0.300 0.133 0.433
2 0.167 0.100 0.267
3 0.133 0.167 0.300
P(Y=i) =P*j→ 0.6 0.4 1
(i) P (The engineer has a Batchelor’s degree) = P*1=∑3𝑖=1 𝑝𝑖1= 0.6
(ii) P (The engineer has a Master’s degree) = P*2=∑3𝑖=1 𝑝𝑖2 = 0.4
(iii) P (The engineer has a Master’s degree; given that he is over 40)
=p32/P3* =0.167/0.300=0.555 [=P (X=3, Y=2)/P(Y=2)]
(iv) P (The engineer is under 30 given that he has only a bachelor’s degree)
= p11/P*1 = 0.3/0.6 =0.50. [=P (X=1, Y=1)/P(Y=1)].
7
Page