Professional Documents
Culture Documents
Sidra Raees
LECTURE 06
Department of Mathematics, NED University of
Engineering & Technology, Karachi
1
Example
A statistics class for engineers consist of 25 industrial, 10
mechanical, 10 electrical and 8 civil engineering
students. If a person is randomly selected by the
instructor to answer a question, find the probability that
the student chosen is
(a) An industrial engineering major
(b) A civil engineering or an electrical engineering major.
𝑷 𝑨 ∪ 𝑩 ∪ 𝑪 = 𝑷 𝑨 + 𝑷 𝑩 + 𝑷 𝑪 − 𝑷 𝑨 ∩ 𝑩 − 𝑷 𝑩 ∩ 𝑪 − 𝑷 𝑨 ∩ 𝑪 + 𝑷(𝑨 ∩ 𝑩 ∩ 𝑪)
Solution:
The sample space is S = {1, 2, 3, 4, 5, 6} then n(S) = 6
Let A= number is less than 5, then A = {1, 2, 3, 4}
and then n(A) = 4
Let B= even number occurs, then B = {2, 4, 6}
and then n(B) = 3 and
Since 𝐴 ∩ 𝐵 = *2, 4+ ≠ ∅ , then n(𝐴 ∩ 𝐵) = 2
Probability & Statistics (MT-331), Sidra Raees
Copyrights Protected-Department of Mathematics, NED University of Engineering & Technology, Karachi
6
Then A and B are not mutually exclusive events.
Therefore 𝑃 𝐴 ∪ 𝐵 = 𝑃 𝐴 + 𝑃 𝐵 − 𝑃(𝐴 ∩ 𝐵)
𝑛(𝐴) 4 2
𝑃 𝐴 = = =
𝑛(𝑆) 6 3
𝑛(𝐵) 3 1
𝑃 𝐵 = = =
𝑛(𝑆) 6 2
𝑛(𝐴 ∩ 𝐵) 2 1
𝑃(𝐴 ∩ 𝐵) = = =
𝑛(𝑆) 6 3
Then,
2 1 1 5
𝑃 𝐴∪𝐵 = + − =
3 2 3 6
Solution:
Let A represent the event that the card drawn is a
diamond, B represent the event that the card is drawn is a
face card, C represent the event that the card drawn is a
king, 𝐴 ∩ 𝐵 represent the event that the card drawn is
both a diamond and face card, and so on. Then we need
𝑷 𝑨 ∪ 𝑩 ∪ 𝑪 = 𝑷 𝑨 + 𝑷 𝑩 + 𝑷 𝑪 − 𝑷 𝑨 ∩ 𝑩 − 𝑷 𝑩 ∩ 𝑪 − 𝑷 𝑨 ∩ 𝑪 + 𝑷(𝑨 ∩ 𝑩 ∩ 𝑪)
Solution:
Since P(A)=0.7, P(B)=0.5 and
P(A∩ 𝐵) = 𝑃(𝐵𝑜𝑡ℎ 𝐴 𝑎𝑛𝑑 𝐵) = 0.4
Now to find
𝑃 𝐴 ∪ 𝐵 = 𝑃 𝑒𝑖𝑡ℎ𝑒𝑟 𝐴 𝑜𝑟 𝐵 𝑜𝑟 𝑏𝑜𝑡ℎ 𝐴 𝑎𝑛𝑑 𝐵 =?
Therefore 𝑃 𝐴 ∪ 𝐵 = 𝑃 𝐴 + 𝑃 𝐵 − 𝑃 𝐴 ∩ 𝐵
𝑃 𝐴 ∪ 𝐵 = 0.7 + 0.5 − 0.4 = 0.8
Probability & Statistics (MT-331), Sidra Raees
Copyrights Protected-Department of Mathematics, NED University of Engineering & Technology, Karachi
10
Suppose A and B are two events in an experiment. If A occurs first
and B occurs second and if the probability of second event B has
not changed (or is not affected) due to occurrence of first event A,
then the events A and B are called independent events.
Suppose two cards are drawn one by one, from a pack of 52 cards,
if the events are;
A = a king is drawn in first attempt, and
B = a king is drawn in second attempt
Whereas the first card is replaced before drawing the second card.
4 4
Therefore 𝑃 𝐴 = and 𝑃 𝐵 =
52 52
Since the probabilities of second event B is not changed due to the
occurrence of first event A, then event A and B are called
independent.
Solution:
A ball can be drawn in 12𝐶1 = 12 ways, then n(S) = 12
Let A = the first ball is red, then
The number of ways of drawing one red ball is 5𝐶1 = 5 ,
Therefore n(A) = 5
𝑛(𝐴) 5
𝑃 𝐴 = =
𝑛(𝑆) 12
Probability & Statistics (MT-331), Sidra Raees
Copyrights Protected-Department of Mathematics, NED University of Engineering & Technology, Karachi
14
Let B = the second ball is black
Solution:
The sample space is
Since the result on the second toss is not affected in any way by the
result on the first toss, therefore A and B are independent
1 1 1
Then 𝑃 𝐴 ∩ 𝐵 = 𝑃 𝐴 ∙ 𝑃 𝐵 = × =
6 2 12
Solution:
𝑃 𝐴 𝑎𝑙𝑖𝑣𝑒 =𝑃 𝐴 = 0.4
𝑃 𝐴 𝑑𝑒𝑎𝑑 = 𝑃 𝐴′ = 0.6
𝑃 𝐵 𝑎𝑙𝑖𝑣𝑒 =𝑃 𝐵 = 0.8
𝑃 𝐵 𝑑𝑒𝑎𝑑 = 𝑃 𝐵′ = 0.2
Solution:
Let A and B represents the availability of each fire
engine.
So, 𝑃 𝐴 = 𝑃 𝐵 = 0.96, 𝑃 𝐴′ = 𝑃 𝐵′ = 0.04
𝑃 𝐴′ ∩ 𝐵′ = 𝑃 𝐴′ 𝑃 𝐵′ = 0.04 0.04 = 0.0016
Suppose two cards are drawn one by one from a pack of 52 cards if
A = a card drawn in first attempt is red
B = a card drawn in second attempt is black
26 1
Whereas the first card is not replaced, then 𝑃 𝐴 = =
52 2
Since first card is not replaced before drawing the second,
therefore, probability of second event B has been affected due to
the first event A.
26
i.e. and is denoted by 𝑃(𝐵|𝐴)
51
Then events A and B are called dependent events.
Probability & Statistics (MT-331), Sidra Raees
Copyrights Protected-Department of Mathematics, NED University of Engineering & Technology, Karachi
21
The probability of these two dependent events (i.e. both
of them occur) is computes as
𝑃 𝐴 𝑎𝑛𝑑 𝐵 = 𝑃 𝐴 ∙ 𝑃(𝐵|𝐴)
OR
𝑃 𝐴 ∩ 𝐵 = 𝑃(𝐴) ∙ 𝑃(𝐵|𝐴)
Note:
If A and B are independent events then
𝑃 𝐴 𝐵 = 𝑃 𝐴 𝑎𝑛𝑑 𝑃 𝐵 𝐴 = 𝑃 𝐵
′
𝑃 𝐴 𝐵 = 1 − 𝑃(𝐴|𝐵)
Solution:
Two cards are drawn one by one
Let A = card drawn in first attempt is spade, then
13 1
𝑃 𝐴 = =
52 4
Let B = card drawn in second attempt is spade
Since first card is not replaced therefore
12 4
𝑃 𝐵𝐴 = =
51 17
Since the events are dependent, then
1 4 1
𝑃 𝐴∩𝐵 =𝑃 𝐴 𝑃 𝐵 𝐴 = × =
4 17 17
Probability & Statistics (MT-331), Sidra Raees
Copyrights Protected-Department of Mathematics, NED University of Engineering & Technology, Karachi
24
Example
A box contain 8 tickets bearing the numbers 1, 2, 3, 4, 5, 6, 8,
10. One ticket is drawn and kept aside. Then a second ticket is
drawn. What is the probability that both the tickets show even
numbers.
Solution:
Let A = first ticket drawn shows an even number then
5
𝑃 𝐴 =
8
B = second ticket drawn shows an even number
4
Since first ticket is not replaced then 𝑃 𝐵 𝐴 =
7
Probability that both the tickets show even numbers is
5 4 5
𝑃 𝐴∩𝐵 =𝑃 𝐴 𝑃 𝐵 𝐴 = × =
8 7 14
Probability & Statistics (MT-331), Sidra Raees
Copyrights Protected-Department of Mathematics, NED University of Engineering & Technology, Karachi
25
Example
The probability that a regularly scheduled flight departs on time is
P(D) = 0.83; the probability that it arrives on time is P(A) = 0.82;
and the probability that it departs and arrives on time is
𝑃 𝐷 ∩ 𝐴 = 0.78. Find the probability that a plane
(a) Arrives on time, given that it departed on time, and
(b) Departed on time, given that it has arrived on time.
Solution:
(a) The probability that a plane arrives on time, given that it
departed on time, is
𝑃(𝐷 ∩ 𝐴) 0.78
𝑃 𝐴𝐷 = = = 0.94
𝑃 𝐷 0.83
(b) The probability that a plane departed on time, given that it has
arrived on time, is
𝑃(𝐷 ∩ 𝐴) 0.78
𝑃 𝐷𝐴 = = = 0.95
𝑃 𝐴 0.82
Probability & Statistics (MT-331), Sidra Raees
Copyrights Protected-Department of Mathematics, NED University of Engineering & Technology, Karachi
26
Example
In a certain college 25% of the students passed Mathematics,
15% of the students passed Statistics and 10% of the students
passed both Mathematics and Statistics. A student is selected
at random.
(i) If he passed Statistics, what is the probability that he
passed mathematics.
(ii) If he passed mathematics, what is the probability that he
passed statistics.
Solution:
Let M = student who passed mathematics and
S = students who passed statistics then
𝑃 𝑀 = 0.25, 𝑃 𝑆 = 0.15, 𝑃 𝑀 ∩ 𝑆 = 0.10
𝑃(𝑀∩𝑆) 0.10 2
(i) 𝑃 𝑀 𝑆 = = =
𝑃(𝑆) 0.15 3
𝑃(𝑆∩𝑀) 0.10 2
(ii) 𝑃 𝑆𝑀 = = =
𝑃(𝑀) 0.25 5
Probability & Statistics (MT-331), Sidra Raees
Copyrights Protected-Department of Mathematics, NED University of Engineering & Technology, Karachi
27
Example
Solution: