Probability Math Practice-1
Probability Math Practice-1
A bag contains 4 white and 6 black balls. If one ball is drawn at random from the bag, what
is the probability that it is i. Black, ii. White, iii. White or black and iv. Red.
Answer:
i. Let A be the event that the ball is black, then the number of outcomes favorable to A is 6. Hence
m Favorable outcomes of an event A = Number of black balls
P A
m 6
;
n 10 n Total number of outcomes of the experiment = Total number of balls
ii. Let B be the event that the ball is white, and then the number of outcomes favorable to B is 4. Hence
m Favorable outcomes of an event B = Number of white balls
P B
m 4
;
n 10 n Total number of outcomes of the experiment = Total number of balls
iii. Let C be the event that the ball is black or white and then the number of outcomes favorable to C is 10.
Hence
m Favorable outcomes of an event C = Number of white or white balls
P C
m 10
;
n 10 n Total number of outcomes of the experiment = Total number of balls
iv. Let D be the event that the ball is red, and then the number of outcomes favorable to D is 0. Hence
m Favorable outcomes of an event D = Number of red balls
P D
m 0
;
n 10 n Total number of outcomes of the experiment = Total number of balls
Problem:
Two balanced dice, one black and one red are thrown and the number of dots on their upper
faces are noted, let b be the outcomes of the black die and r be the outcomes of the red die.
Now answer the following:
i. List a sample space of the experiment.
ii. What is the probability of throwing a double?
iii. What is the probability that the sum is 5, that is b r 5 ?
iv. What is the probability that the sum is even?
v. What is the probability that r 2 or b 3 ?
vi. What is the probability that the number on the red die is at least 4 greater than the
number on the black dice?
Answer:
i. If two balanced dice, one black and one red are thrown and the number of dots on their upper faces are
noted, also if b be the outcomes of the black die and r be the outcomes of the red die. Then the sample
space for the given experiment will be as follows:
r 1 2 3 4 5 6
b
1 1,1 1,2 1,3 1,6
2 2,1
3
4
5
6 6,1 6,2 6,6
ii. Let the event A = {the two dice shows the same number}
6
= {(1,1), (2,2), (3,3), (4,4), (5,5), (6,6)}; There fore P( A)
36
iii. Let the event B = {The sum of the two dies is 5, that is b r 5 the two dice shows the same number}
= {(1,4), (2,3), (3,2), (4,1)}
4
There fore P( B)
36
iv. Let the event C = {The sum of the two dies is even}
= {(1,1), (1,3), (1,5), (2,2), (2,4), …, … , … ,(6,4), (6,6), }
18
There fore P (C )
36
v. Let the event D = {(b,r)| r 2 or b 3 }
= {(1,1), (1,2), (1,3), (1,3), (1,4), (1,5), (1,6), (2,1), (2,2), (2,3), (2,4), (2,5), (2,6), (3,1), (3,2), (3,3), (3,4), (3, 5),
24
There fore P( D)
36
vi. Let the event E = { r 4 b } = {(1,5), (1,6), (2,6)}
3
There fore P( E )
36
Problem:
The following table gives a distribution of weekly wages of 4000 employes of a firm.
An individual is selected random. What is the probability that his wage are i) under Tk.750 ii)
above Tk. 1250 iii) between Tk. 750 and 1250.
Problem:
A box contains seven balls – two red, three blue and two yellow. Consider an experiment that
consists of drawing a ball from the box.
1. What is the probability that the first ball drawn is yellow?
2. What is the probability that the same colored ball is drawn twice without replacement?
3. What is the probability that the same colored ball is drawn twice with replacement?
Answer:
1. P (R) = 2/7
2. P (RR) + P (BB) + P (YY) = [P (R)*P (R)] + [P (B)*P (B)] + [P (Y)*P (Y)] =((2/7 * 1/6)
+ (3/7 * 2/6) + (2/7 * 1/6)
3. (2/7 * 2/7) + (3/7 * 3/7) + (2/7 * 2/7)
Example:
A jar consists of 21 sweets. 12 are green and 9 are blue. William picked two
sweets at random.
Solution:
Examples for Probability
Example (2)
A market survey conducted in four cities pertained to preference for
brand A soup. The responses are shown below:
MZR_Problem Sets_STAT_MNS_BRACU
Solution
Let us define the events A, B, C, D as follows:
1) A: an engineer is under 30 years of age.
B: an engineer is over 40 years of age.
C: an engineer has bachelor's degree only.
D: an engineer has a master's degree.
MZR_Problem Sets_STAT_MNS_BRACU
Problems about playing cards:
Total
Card(52)
Black
Red (26)
(26)
Problem 1:
Solution:
26
= 52
1
= 2 = 0.5
13
= 52
1
= 4 = 0.25
iii.
4
= 52
1
= 13
iv.
13
=
52
1
=4
v.
Normally, event E and F are not mutually exclusive events. Since the set of hearts contain a
king.
4
= 13
Problem 2:
A bag contains 4 white, 3 black and 5 red balls. Estimate the probability of getting a white or
red ball at random at a single draw.
Solution:
3
=4
Problem 3:
Two bags contained 12 white , 7 red and 11 black ; 7 white, 10 red and 13 black respectively.
One ball is drawn at random from each bag. Find the probability that-
Solution:
In the first bag, 12 white, 7 red and 11 black balls. Total number of balls = 30
In the second bag, 7 white, 10 red and 13 black balls. Total number of balls = 30
(i) Event A: both balls are of white color. i.e., one white ball is drawn from the first bag
and one white ball is drawn from the second bag.
= P(Probability of drawing white ball from first bag) . P(Probability of drawing white ball
from second bag)
12 7
= . 30
30
84
= 900
= 0.0933
(ii)
Event B : One red ball is drawn from the first bag and one red ball is drawn from the second
bag.
Event C : One black ball is drawn from the first bag and one black ball is drawn from the
second bag.
The required probability,
P(B) = P(Probability of drawing red ball from first bag) . P(Probability of drawing red ball
from second bag)
7 10
= . 30
30
70
= 900
= 0.0778
P(C) = P(Probability of drawing black ball from first bag) . P(Probability of drawing black ball
from second bag)
11 13
= . 30
30
143
=
900
= .1589
= 0.33
Problem 4:
One fair coin is tossed two times. Construct the sample space of the experiment. Find the
probability of getting i) all head ii) at least one head iii) at best one head iv) a head and a
tail.
Solution:
A fair coin is tossed for two times. The sample space of the experiment,
S = { HH, HT, TH, TT}
𝑛 (𝐴)
So, the required probability, P(A) = 𝑛 (𝑆)
1
=4
𝑛 (𝐵)
So, the required probability, P(B) = 𝑛 (𝑆)
3
=4
𝑛 (𝐶)
So, the required probability, P(C) = 𝑛 (𝑆)
3
=4
2
=4
1
=2
Problem 5:
Two dice are thrown at random. Write down the sample space and estimate the probability of-
Solution:
When two dice are thrown, the sample space S are listed below-
S 1 2 3 4 5 6
The set of favourable cases of event A : { (2,6), (6, 2), (4, 4), (3,5), (5, 3) }
𝑛 (𝐴)
Therefore, the probability, P(A) = 𝑛 (𝑆)
5
= 36
The set of favourable cases of event B : { (6,1), (6, 2), (6, 3), (6,4), (6, 5), (6, 6) }
𝑛 (𝐵)
Therefore, the probability, P(B) = 𝑛 (𝑆)
6
= 36
1
=6
The set of favourable cases of event C: { (1,1), (2, 2), (3, 3), (4, 4), (5,5), (6, 6) }
𝑛 (𝐶)
Therefore, the probability, P(C) = 𝑛 (𝑆)
6
= 36
1
= 6
Problem 6:
Suppose 35% of the students failed in English, 25% of the students failed in statistics and
15% of the students failed in both English and statistics. A student is selected at random.
Solution:
It is given that,
(i)
The probability that a student failed in English, given that he was failed in statistics is,
𝑃(𝐸∩𝑆)
P(E|S) =
𝑃(𝑆)
0.15
= 0.25
= 0.6
(ii)
The probability that a student failed in statistics, given that he was failed in English is
𝑃(𝑆∩𝐸)
P(S|E) = 𝑃(𝐸)
0.15
= 0.35
= 0.4286
= 0.45
Problem 7:
Of 1000 assembled components, 10 have a working defect and 20 have a structural defect.
There is a good reason to assume that no component has both defects. What is the
probability that randomly chosen component will have either type of defect?
Solution:
20
P(B) = 1000 = 0.02,
P(AꓵB) = 0
= 0.01 + 0.02
= 0.03
Problem 8:
1 1 1
Two events such that , P(A) = 2 and P(B) = 3 and P(A|B) = 4 . Find P(A ꓴ B) and P(A ꓵ
B).
Solution:
1 1 1
Here, P(A) = 2 and P(B) = 3 and P(A|B) = 4
𝑃(𝐴∩𝐵)
We know, P(A|B) = 𝑃(𝐵)
1
=
12
Again we know,
3
=4
Problem 9:
A candidate is selected for interview of management trainees for 3 companies. For the first
companies there are 12 candidates, for the second there are 15 candidates, and for the
third there are 10 candidates. What are the chances of his getting job at least one of the
company?
Solution:
P( The candidate will get job in at least one of the company)=1-P(he will not get job in any
company)
P(1)+P(2)+P(3)=1-P(0)
1 11
P(the candidate will not get job in the 1st company) = 1− = 12
12
1 14
P(the candidate will not get job in the 2nd company) = 1− 15 = 15
1 9
P(the candidate will not get job in the 3rd company) = 1− 10 = 10
Since the events are independent. So the probability of not getting job is also independent.
11 14 9
P (the candidate will not get job in any company) = 12 . 15 . 10 = 0.77
Again, P( The candidate will get job in at least one of the company) =1- P(he will not get job
in any company)=1-0.77=0.23
So, there is 23% chance that the candidate will get job in at least one of the companies.
Problem 10 :
A study showed that 65% of managers had some business education and 50% had some
engineering education. Furthermore, 45% of the managers had some business education
and some engineering education. What is the probability that a manager has some business
education, given that he has some engineering education?
Solution:
P(A ∩ B) = 0.45
We know,
𝑃(𝐴∩𝐵) 0.45
P(A|B) = = = 0.9
𝑃(𝐵) 0.50
There is 90% chance that a manager has business education given that he has some
engineering education.
or
So, the probability that a manager has some business education, given that he has some
engineering education is 0.90.
Problem 11:
Two factories manufacture the same machine part. Each part is classified having either 0,1,2
or 3 manufacturing defects. The joint probability distribution for this is given below:
Number of defects
0 1 2 3
i) A part is observed to have no defects. What is the probability that it was produced by
manufacturer A?
ii) A part is known to have been produced by manufacturer A. What is probability that the part
has no defects?
iii) A part is known to have two or more defects. What is probability that it was manufactured
by A?
iv) A part is known to have one or more defects. What is the probability that it was
manufactured by B?
Solution:
Number of defects
0 1 2 3 Total
Problem 12:
An electrical system consists of four components. The system works if the components A
and B work and either of the components C or D work. The reliability (Probability of
working) of each component is also shown in the figure. Find the probability that i) The
entire system works ii) the components C does not work given that the entire system
works. Assume that all four components work independently.
P( A works ) = 0.9
Solution:
=0.9×0.9×{0.8+0.8-0.8×0.8}
=0.7776
ii)
𝑃(𝐴)𝑃(𝐵)(1−𝑃(𝐶))𝑃(𝐷)
= 0.7776
0.9×0.9×(1−0.8)×0.8
= = 0.1667
0.7776
###Example- 2.31, 2.34 (a),(b), 2.35, 2.39 (Probability & Statistics for Engineers &
Scientists- Ronald E. Walpole)