Chapter I Basic Probability
Chapter I Basic Probability
1 2 2 3 3 4 4 5
1 3 2 4 3 5
1 4 2 5
1 5
Fundamental of Counting
Total balls = 3 blue + 2 white = 5
1 2 3 44 55
One blue and one white = 3C1× 𝟐𝑪𝟏 = 𝟔
Prob(one blue and one white) = 6/10=0.6
The possible cases are = 10
1 2 2 3 3 4 4 5
1 3 2 4 3 5
1 44 2 5
1 5
Numerical Example:
A box contains 3 red and 2white balls. Two balls are drawn at random.
Find the probability of selecting (i) both red (ii) both non-red (iii) same
color [ both red or both white] (iv) different color ( a red and a white)
(v) At least one red and (vi) at most one red.
Solution:
Number of balls = 3 red + 2 white =5
Two balls are drawn at random
Total no. of cases(n) = 𝟓𝑪𝟐 = 10
Contd….
Total balls = 3 red + 2 white = 5 balls
1 2 3 44 55
1 2 2 3 3 4 4 5
1 3 2 4 3 5
White(2) 1 0
= 𝟔 𝑪𝟎 × 𝟗 𝑪𝟒 + 𝟔 𝑪𝟏 × 𝟗 𝑪𝟑 + 𝟔𝑪𝟐 × 𝟗𝑪𝟐
Contd…
= 126× 1 + 6 × 84 + 15× 36
= 1170
P( at most 2 managers) = 1170/1365= 0.86
Numerical Example:
A coin is tossed three times. What is the probability of obtaining (i) all
heads (ii) no head (iii) one head and two tails (iv) two heads (v) at most
one head (vi) at least one head (vii) less than one head (vii) more than
one head and (ix) head, tail and head in order.
Solution:
When a coin is tossed three times, then total no. of possible case
= {H,T} × {H,T} × {H,T}
= { HH, HT, TH, TT} × {H,T}
= {HHH, HTH, THH, TTH, HHT, HTT, THT, TTT }
Contd…
= {HHH, HTH, THH, TTH, HHT, HTT, THT, TTT }
i) P( all heads) = 1/8 {HHH}
ii) P(no heads) = P(all tails) = 1/8 {TTT }
iii) P (one heads and two tails) = 3/8 {TTH, HTT, THT}
iv) P(two heads) = 3/8 {HTH, THH, HHT}
v) P ( at most one head) = 4/8=1/2 {TTH, HTT, THT, TTT }
vi) P (at least one head) = 7/8
{HHH, HTH, THH, TTH, HHT, HTT,THT }
vii) P( less than one head) = P(no heads) = 1/8 { TTT}
viii) P(more than one head) = 4/8 =1/2 {HHH, HTH, THH, HHT}
ix) P(head, tail and head in order) = 1/8 {HTH}
Numerical Example:
What is the probability that (i) a leap year (ii) non- leap year selected at
randomly will contain 53 Mondays ?
Solution
i)In leap year, there are 366 days ie 52 weeks (52×7=364 days) and 2
days over. The two days over may be either
{Sun, Mon} or {Mon, Tue} or {Tue, Wed} or {Wed, Thu} or {Thu, Fri}
or {Fri, Sat} or {Sat, Sun}
Total no. possible cases (n) = 7
Favorable cases ie Monday (m) =2 {Sun- Mon ,Mon- Tue}
Prob( Monday) = m/n = 2/7
Contd……
ii) In non leap year, there are 365 days ie 52 weeks (52×7=364 days)
and 1 day over. The 1 day over may be either
{Sunday} or {Monday} or {Tuesday} or {Wednesday} or {Thursday}
or {Friday} or {Saturday}
Total no. possible cases (n) = 7
Favorable cases i.e. Monday (m) =1 { Monday }
Prob( Monday) = m/n = 1/7
Numerical Example:
In a group of equal number of men and women, 20% of men and 30%
of women are unemployed. What is the probability that a person
selected at random is employed?
Solution:
Let , number of men =100 and number of women = 100
Employed Unemployed Total
Men 80 20 100
Women 70 30 100
Total 150 50 200
𝑛
P(n) = (Against)
𝑚+𝑛
Numerical Example
It is 8:5 against a husband who is now 55 years old living
till he is 75 and 4:3 against his wife who is now is 48 years
living till he she is 68. Find the probability that
➢The couple will be alive 20 years hence.
➢At least one of them will be alive 20 years hence.
Solution:
Let, A = husband who is now 55 years old living till he is
75
B = wife who is now 48 years living till she is 68.
Contd………..
P(A)= 8:5 (against)
5 5
= =
8+5 13
5 8
P(𝐴ҧ ) = 1- P(A) = 1- =
13 13
P(B) = 4:3 (against)
3 3
= =
4+3 7
3 4
ത
P (𝐵) = 1- P(B) = 1- =
7 7
Contd…..
a)The probability that the couple will alive 20 years hence is
P(A and B) = P(A).P(B)
5 3 15
= × =
13 7 91
b)The probability that at least one of them will alive 20
years hence is
P( at least one of them will alive 20 years hence)
= 1- P( none of them will alive 20 years hence)
ҧ 𝐵)
= 1- P(𝐴).P( ത
8 4
= 1- ×
13 7
32 59
= 1- =
91 91
Numerical Example
A problem in statistics is given to three students A, B, and C whose
chances of solving it are 3:4:5 respectively. Find the probability that
➢The problem will be solved
➢None of them will solve the problem.
Solution:
Let, A= Student A will solve the problem
B= student B will solve the problem
C = student C will solve the problem.
Contd..
3 3 1 1 3
P(A)= = = ҧ
P(𝐴 ) = 1- P(A) =1 - =
3+4+5 12 4 4 4
4 1 1 2
P(B) = = P(𝐵ത ) = 1- P(B) = 1 - =
12 3 3 3
5 5 7
P( C) = P(𝐶ҧ ) = 1 – P(C) = 1- =
12 12 12
a)The probability that problem will be solved.
P(problem will be solved)
= P(at least one of them will solve the problem)
= 1 – P(none of them will solve the problem)
ҧ 𝐵).
= 1 - P(𝐴).P( ത P(𝐶)ҧ
3 2 7
=1- × ×
4 3 12
7 17
=1- =
24 24
Contd.
b)P( none of them will solve the problem)
𝟑 𝟐 𝟕 𝟕
ഥ ഥ ഥ
= P(𝑨).P(𝑩). P(𝑪) = × × =
𝟒 𝟑 𝟏𝟐 𝟐𝟒
= P(𝐴)ҧ . P(𝐵).P(
ത 𝐶)ҧ
= 0.995× 0.7 × 0.7
= 0.4876
Probability of reaching wrong decision
= P ( at least one of them is incorrect)
= 1- P( none of them are incorrect)
=1- 0.4876 =0.5124
Stay Home and Stay Safe
Thank You
Unit – I
Probability
st
MBS 1 Semester
Butwal Multiple Campus
Question: There are three sections A, B and C. Section A consists 2 boys
and 2 girls section B consists 1 boy and 3 girls and section C consists 3 boys
and 1 girl. A student is selected randomly from each section. Find the
probability of selecting a boy and two girls.
Solution: Sec A Sec B Sec C
One boy and two girls can be 2 Boys 1 Boy 3 Boys
2 Girls 3 Girls 1 Girl
Selected from the following ways
Ways Sec A Sec B Sec C
I B G G
II G B G
P(B) = 2/4 P(B) = 1/4 P(B) = 3/4
P(G) = 2/4 P(G) = 3/4 P(G) = 1/4
III G G B
𝟐 𝟑 𝟏 𝟑 𝟐 𝟏 𝟏 𝟏 𝟐 𝟑 𝟑 𝟗
P(I) = × × = , 𝐏 𝐈𝐈 = × × = , P(III)= × × =
𝟒 𝟒 𝟒 𝟑𝟐 𝟒 𝟒 𝟒 𝟑𝟐 𝟒 𝟒 𝟒 𝟑𝟐
Contd..
Required probability of selecting 2 girls and 1 boy
P( I or II or III ) = P(I) + P(II) + P(III)
3 1 9
= + +
32 32 32
𝟏𝟑
=
𝟑𝟐
Numerical Example:
In a MBS first year class, there sections, each including 20 students. In
first section there are 10 boys and 10 girls, in second section, there are
15 boys and 5 girls and in the third section, there are 12 boys and 8
girls. Five students are selected from each group from a committee of 15
students. What is the probability that all 15 students selected are girls?
Solution: Here, Sec A Sec B Sec C
10 Boys 15 Boys 12 Boys
Conditional Probability:
Conditional probability of A given that B ( ie B has already occurred)
P(A and B)
P(A/B) = ; P(B) ≠0 P(A and B) = P(A∩B) = P(B) P(A/B)
P(B) P(A and B)
P(A/B) = P(B)
Similarly,
Conditional probability of B given that A ( ie A has already occurred)
P(A and B)
P(B/A) = ; P(A) ≠0 P(A and B) = P(A∩B) = P(A) P(B/A)
P(A) P(A and B)
P(B/A) = P(A)
Joint and Marginal Probabilities:
Enjoy shopping
Example : for clothing Yes No Total
Gender
Male a b a+b
P( Male) = (a+b)/N Female c d c+d
Total a+c b+d N= a+b+c+d
P( Enjoy shopping for clothing) = (a+c)/N
P(Female and Enjoy shopping) = c/N
If a selected person is male , what is the probability that he enjoys shopping
for clothing,
𝑃 ( 𝑀𝑎𝑙𝑒 𝑎𝑛𝑑 𝐸𝑛𝑗𝑜𝑦𝑠 𝑠ℎ𝑜𝑝𝑝𝑖𝑛𝑔 )
P(Enjoys shopping for clothing/ male) =
𝑃(𝑀𝑎𝑙𝑒)
OR, P(Enjoys shopping for clothing/ male) = a/ (a+b)
Numerical Example:
The records of 300 teachers in TU are given below
Age Master’s M. Phil Ph. D. Total
If a teacher is selected at (Years) Degree Degree Degree
random, find the probability that
Under 35 50 20 5 75
35 to 45 60 30 10 100
Over 45 80 25 20 125
Under 35 50 20 5 75
35 to 45 60 30 10 100
Over 45 80 25 20 125
Total 190 75 35 300
𝟑𝟓 𝟕
i) P(PhD degree) = =
𝟑𝟎𝟎 𝟔𝟎
𝟖𝟎 𝟒
ii) P(Master’s Degree and Over 45) = =
𝟑𝟎𝟎 𝟏𝟓
iii) P(Under 35 or PhD) = P( Under 35) + P(PhD) – P(Under 35 and PhD)
𝟕𝟓 𝟑𝟓 𝟓
= + -
𝟑𝟎𝟎 𝟑𝟎𝟎 𝟑𝟎𝟎
105 𝟕
= =
300 𝟐𝟎
Age (Years) Master’s Degree M. Phil Degree Ph. D. Degree Total
Under 35 50 20 5 75
35 to 45 60 30 10 100
Over 45 80 25 20 125
Total 190 75 35 300
iv) Probability of he/she has M.Phil degree given that he is over 45 years,
𝐏( 𝐌.𝐏𝐡𝐢𝐥 𝐃𝐞𝐠𝐫𝐞𝐞 𝐚𝐧𝐝 𝐎𝐯𝐞𝐫 𝟒𝟓 𝐘𝐞𝐚𝐫𝐬)
P(M.Phil degree/over 45 years) =
𝐏(𝐨𝐯𝐞𝐫 𝟒𝟓 𝐲𝐞𝐚𝐫𝐬)
P(M.Phil degree/over 45 )=
25 𝟏 𝟐𝟓 𝟏
= = =
𝟏𝟐𝟓 𝟓
125 𝟓
v) Probability of he/she under 35 given that he has only masters degree,
𝐏( 𝐮𝐧𝐝𝐞𝐫 𝟑𝟓 𝐚𝐧𝐝 𝐌𝐚𝐬𝐭𝐞𝐫′𝐬 𝐝𝐞𝐠𝐫𝐞𝐞)
P(Under 35/Masters degree) =
𝐏(𝐌𝐚𝐬𝐭𝐞𝐫′𝐬 𝐝𝐞𝐠𝐫𝐞𝐞)
50 𝟓
= = 𝟓𝟎
190 𝟏𝟗 P(Under 35/Masters degree) = 𝟏𝟗𝟎
𝟓
= 𝟏𝟗
Numerical Example:
In an examination of TU , 25% of the students have failed in Statistics, 15%
of the students have filed in Economics an 10 % have failed in both Statistics
and Economics. A student is selected at random.
i) What is the probability that the student has failed in Statistics if it is
known that he has failed in Economics?
ii) What is the probability that the student has failed in Economics if it is
known that he has failed in Statistics?
iii) What is the probability that the student has failed either in statistics or
in economics?
Solution:
Let, S= Student failed in Statistics
E = Student failed in Economics
P( S) = 25% = 0.25 , P(E) = 15% =0.15 and P(S and E) = 10% =0.1
Contd..
i) The probability that the student has failed in statistics if it is known
that he has failed in Economics,
𝐏(𝐒 𝐚𝐧𝐝 𝐄) 𝟎.𝟏𝟎
P(S/E) = = =0.67
𝐏(𝐄) 𝟎.𝟏𝟓
ii) The probability that the student has failed in Economics if it is
known that he has failed in Statistics,
𝐏(𝐒 𝐚𝐧𝐝 𝐄) 𝟎.𝟏𝟎
P(E/S) = = = 0.4
𝐏(𝐒) 𝟎.𝟐𝟓
iii) The probability that the student has failed either in Statistics or in
Economics,
P(S or E ) = P(S) + P(E) - P(S and E)
= 0.25 + 0.15 – 0.10 = 0.30
Numerical Example
A bag contains 7 white, 6 red and 5 black balls . From this bag three balls are
drawn in succession. Find the probability that they are drawn in the order of
white, red and black if each ball is not replaced.
Solution:
Total number of balls = 7 white + 6 red + 5 blacks = 18
Probability of white ball, P(W) = 7/18
Probability of one red ball, P(R/W) = 6/18-1 =6/17
Probability of black ball, P(B/R and W) = 5/17-1 = 5/16
∴P( W and R and B) =P(W∩ 𝐑 ∩ 𝐁) = P(W).P(R/W).P(B/W 𝐚𝐧𝐝 𝐑)
7 6 5
= × ×
18 17 16
210 35
= =
4896 816
Numerical Example:
There are three machines A, B, and C producing 1000, 2000, and 3000
articles per hours respectively. These machines are known to be
producing 10, 40 and 90 defective items respectively. One article is
selected at random from an hour production of three machines and
found to be defective. What is the probability that the defective article
is produced from (i) machine A (ii) machine B (iii) machine C?
Solution:
Let, A= production of articles from machine A
B = production of articles from machine B
C = production of articles from machine C
D = Production of defective articles
𝟏𝟎𝟎𝟎 𝟏𝟎𝟎𝟎 𝟏 𝟐𝟎𝟎𝟎 𝟏 𝟑𝟎𝟎𝟎 𝟏
P(A) = = = , P(B) = = , P(C) = =
𝟏𝟎𝟎𝟎+𝟐𝟎𝟎𝟎+𝟑𝟎𝟎𝟎 𝟔𝟎𝟎𝟎 𝟔 𝟔𝟎𝟎𝟎 𝟑 𝟔𝟎𝟎𝟎 𝟐
P(D/A) =10/1000 = 0.01 , P(D/B) = 40/2000 =0.02, P(D/C) =90/3000 =0.03
P(D/A)= 0.01 𝟏
P(A)P(D/A) = 𝟔 × 𝟎. 𝟎𝟏 = 𝟎. 𝟎𝟎𝟏𝟔𝟔 = P(A and D)
P(D/B)= 0.02 𝟏
P(B)P(D/B) = 𝟑 × 𝟎. 𝟎𝟐 = 𝟎. 𝟎𝟎𝟔𝟔 = P(B and D)
𝟏
P(C)P(D/C) = 𝟐 × 𝟎. 𝟎𝟑 = 𝟎. 𝟎𝟏𝟓 = P(C and D)
P(N/A)= 0.99
P(A)P(N/A) = 0.3× 𝟎. 𝟗𝟗 = 𝟎. 𝟐𝟗𝟕 = P(A and N)
= P(C and N)
P(C)P(N/C) = 0.45× 𝟎. 𝟗𝟖 = 𝟎. 𝟒𝟒𝟏
P(W/H)= 0.4
P(H)P(W/H) = 0.6× 𝟎. 𝟒 = 𝟎. 𝟐𝟒 = P(H and W)
ഥ and W)
= P(𝐇
ഥ ) = 0.4× 𝟎. 𝟑 = 𝟎. 𝟏𝟐
ഥ )P(W/ 𝐇
P(𝐇
P(D/A)= 0.01
P(A)P(D/A) = 0.25× 𝟎. 𝟎𝟏 = 𝟎. 𝟎𝟎𝟐𝟓 = P(A and D)
P(D/B)= 0.02
P(B)P(D/B) = 𝟎. 𝟐𝟓 × 𝟎. 𝟎𝟐 = 𝟎. 𝟎𝟎𝟓
= P(B and D)
= P(C and D)
P(C)P(D/C) = 0.5× 𝟎. 𝟎𝟑 = 𝟎. 𝟎𝟏𝟓
P(B/X)= 0.3
P(X)P(B/X) = 4/9× 𝟎. 𝟑 = 𝟎. 𝟏𝟑𝟑 = P(X and B)
= P(Z and B)
P(Z)P(B/Z) = 1/3× 𝟎. 𝟖 = 𝟎. 𝟐𝟔𝟕