Professional Documents
Culture Documents
Chapter 3 Part 2 and 3 (Probability)
Chapter 3 Part 2 and 3 (Probability)
Part 2
Probability
Classical Probability
The classical definition of probability
If there are m outcomes in a sample space, and all are equally likely of being the result of an
experimental measurement, then the probability of observing an event that contains s
𝑠𝑠
outcomes is given by 𝑚𝑚
𝟖𝟖
𝟐𝟐𝟐𝟐 𝟖𝟖 𝟕𝟕 𝟓𝟓𝟓𝟓 𝟐𝟐𝟐𝟐
a) P = 𝟐𝟐
𝟏𝟏𝟏𝟏 =
𝟒𝟒𝟒𝟒
another Sol. 𝑷𝑷 =
𝟏𝟏𝟏𝟏
x =
𝟗𝟗 𝟗𝟗𝟗𝟗
=
𝟒𝟒𝟒𝟒
𝟐𝟐
𝟖𝟖 𝟐𝟐
𝒙𝒙 𝟏𝟏𝟏𝟏 𝟖𝟖 𝟐𝟐 𝟐𝟐 𝟖𝟖 𝟏𝟏𝟏𝟏
b) P = 𝟏𝟏
𝟏𝟏𝟏𝟏
𝟏𝟏
=
𝟒𝟒𝟒𝟒
another Sol. 𝑷𝑷 = (
𝟏𝟏𝟏𝟏
x )+
𝟗𝟗 𝟏𝟏𝟏𝟏
x
𝟗𝟗
=
𝟒𝟒𝟒𝟒
𝟐𝟐
𝟐𝟐
𝟏𝟏 𝟐𝟐 𝟏𝟏 𝟏𝟏
c) P = 𝟐𝟐
𝟏𝟏𝟏𝟏 =
𝟒𝟒𝟒𝟒
another Sol. 𝑷𝑷 =
𝟏𝟏𝟏𝟏
x =
𝟗𝟗 𝟒𝟒𝟒𝟒
𝟐𝟐
Example:
If an experiment has the three possible and mutually exclusive outcomes A, B, and
C, check in each case whether the assignment of probabilities is permissible:
(a) P(A) = 1/3, P(B) = 1/3, and P(C) = 1/3. The assignment of probabilities is permissible.
(b) P(A) = 0.64, P(B) = 0.38, and P(C) = − 0.02. The assignment is not permissible.
(c) P(A) = 0.35, P(B) = 0.52, and P(C) = 0.26. The assignment is not permissible.
(d) P(A) = 0.57, P(B) = 0.24, and P(C) = 0.19. The assignment of probabilities is permissible.
𝟔𝟔 𝟑𝟑 𝟑𝟑
P(A U B) = P(A) + P(B) = +
𝟔𝟔 𝟔𝟔 𝟔𝟔
𝟒𝟒 𝟑𝟑 𝟐𝟐
P(A U C) = P(A) + P(C) ≠ +
𝟔𝟔 𝟔𝟔 𝟔𝟔
General addition rule for probability
𝟔𝟔 𝟑𝟑 𝟑𝟑 𝟎𝟎
P(A U B) = P(A) + P(B) - P(A ∩ B) = + −
𝟔𝟔 𝟔𝟔 𝟔𝟔 𝟔𝟔
𝟒𝟒 𝟑𝟑 𝟐𝟐 𝟏𝟏
P(A U C) = P(A) + P(C) - P(A ∩ C) = + −
𝟔𝟔 𝟔𝟔 𝟔𝟔 𝟔𝟔
Example:
If the probabilities are 0.87, 0.36, and 0.29 that, while under warranty, a new car will require
repairs on the engine, gear box, or both, what is the probability that a car will require one or
the other or both kinds of repairs under the warranty?
Substituting these given values into the formula of Theorem 3.6, we get
0.87 + 0.36 – 0.29 = 0.94
Probability rule of the complement
Example:
There are 5 red chips, 4 blue chips, and 6 black chips
in a basket. Find the probability of randomly
selecting a chip that is not blue.
P (selecting a blue chip) = 4 ≈ 0.267
15
4 11
P (not selecting a blue chip) =1− = ≈ 0.733
15 15
Conditional Probability
Conditional Probability
Example:
Suppose that 500 machine parts are inspected before they are shipped, that I denotes that a
machine part is improperly assembled, D denotes that it contains defective components, and the
distribution of the 500 machine parts among the various categories is as shown in the Venn
diagram.
1- Calculate the probability of getting a defective.
2- Calculate the probability of getting a defective part if the choice is restricted to the machine
parts that are improperly assembled.
500
1-
2- P ( D |I ) = N(D ∩ I ) / N(I )
= 10 / 30 = 1/3
If we want P ( I |D ) = N(D ∩ I ) / N(D )
= 10 / 15 = 2/3
Conditional Probability
Conditional Probability
Example:
The supervisor of a group of 20 construction workers wants to get the opinion of 2 of them (to
be selected at random) about certain new safety regulations. If 12 workers favor the new
regulations and the other 8 are against them, what is the probability that both of the workers
chosen by the supervisor will be against the new safety regulations?
Set A: all outcomes where first worker is against, and Set B: all outcomes where second worker is
against Desire 𝑃𝑃 (𝐴𝐴 ∩ 𝐵𝐵) = 𝑃𝑃(𝐴𝐴) ∙ 𝑃𝑃(𝐵𝐵|𝐴𝐴) = (8/20)x(7/19) = 14/95
Example: What is the probability of getting two heads in two flips of a balanced coin?
Since the probability of heads is½ for each flip and the two flips are not physically
connected, we treat them as independent. The probability is ½ x ½ = ¼
Example: Two cards are drawn at random from an ordinary deck of 52 playing cards What is
the probability of getting two aces if
(a) the first card is replaced before the second card is drawn;
(b) the first card is not replaced before the second card is drawn;
Applying the
Multiplication Rule
Bayes’ theorem
Example: A manufacturer of tablets receives its LED screens from three different suppliers,
60% from supplier B1, 30% from supplier B2, and 10% from supplier B3. Also suppose that
95% of the LED screens from B1, 80% of those from B2, and 65% of those from B3 perform
according to specifications. We would like to know the probability that any one LED screen
received by the plant will perform according to specifications.
Bayes’ theorem
𝑃𝑃(𝐵𝐵r ∩ 𝐴𝐴)
𝑃𝑃 𝐵𝐵r 𝐴𝐴 =
𝑃𝑃(𝐴𝐴)
𝑃𝑃(𝐵𝐵r) ∙ 𝑃𝑃(𝐴𝐴|𝐵𝐵r)
= 𝑛𝑛 Theorem 3.10
� 𝑃𝑃(𝐵𝐵i) 𝑃𝑃 �(𝐴𝐴|𝐵𝐵i)
𝑖𝑖=1
Example: Four technicians regularly make repairs when breakdowns occur on an automated
production line. Janet, who services 20% of the breakdowns, makes an incomplete repair 1
time in 20; Tom, who services 60% of the breakdowns, makes an incomplete repair 1 time in
10; Georgia, who services 15% of the breakdowns, makes an incomplete repair 1 time in 10;
and Peter, who services 5% of the breakdowns, makes an incomplete repair 1 time in 20. For
the next problem with the production line diagnosed as being due to an initial repair that was
incomplete, what is the probability that this initial repair was made by Janet?
e.g. Janet (𝐵𝐵1) handles 20% of the breakdowns, Tom (𝐵𝐵2) handles 60%, Georgia (𝐵𝐵3) handles
15% , and Peter (𝐵𝐵4) handles 5%
Janet makes an incomplete repair 1 time in 20 (i.e. 5% of the time),Tom: 1 time in 10 (10%)
Georgia: 1 time in 10 (10%) , Peter: 1 time in 20 (5%).
= 0.114