Professional Documents
Culture Documents
Applied Statistics and Probability For Engineers Chapter - 2
Applied Statistics and Probability For Engineers Chapter - 2
Applied Statistics and Probability For Engineers Chapter - 2
Chapter 2
Probability
Chapter Goals:
After completing this chapter, you should be able to:
Understand and describe sample space and events for random experements
Interpret probabilites and use porbabilites of outcomes to calculate probabilites
of events in discrete space.
Intrpret and calculate conditional probabilites of events
Determine the independence of events and use the independence to calculate
probabilites
Use Bayes’ Theorem for conditional probabilities.
Example: If two customers are asked to list their choice of ice cream flavor from
among vanilla, chocolate and strawberry. Lest the sample space showing the possible
outcoms.
Page |3
Events:
An event is a subset of the sample space of a random experiment.
Probability Concepts
Assume E1and E2 events defined on a sample space, then
1. Mutually Exclusive Events
The events are mutually exclusive if they cannot occur together.
If the event E1 occurs, then the event E2 cannot occur
The events E1 and E2 have no common elements
Example:
Let Let Ω = {𝑒1 , 𝑒2 , 𝑒3 , 𝑒4 , 𝑒5 , 𝑒6 , 𝑒7 , 𝑒8 } and 𝐴 = {𝑒1 , 𝑒2 , 𝑒4 , 𝑒8 }, 𝐵 = {𝑒1 , 𝑒3 , 𝑒5 , 𝑒7 }
are the two event
1. Mutually exclusive?
2. Collectively Exhaustive?
Page |5
Example:
Drawing one card from a deck of cards. Defined the events
A = aces; B = black cards;
C = diamonds; D = hearts
1. Are all event Collectively Exhaustive?
2. Are all event Mutually exclusive?
3. Are the events B, C and D Collectively Exhaustive?
4. Are the events B, C and D Mutually exclusive?
Example:
Tossing acoin two time. Defined the events:
A = heads on one flip of fair coin
B = heads on second flip of same coin
Are the two events independent?
Page |6
P(e ) 1
i 1
i
where:
k = Number of elementary events in the sample space
ei = ith elementary event
3. Complement Rule
𝐴̅ is the collection of all possible elementary events not contained in event E.
The complement of event E
𝑃(𝐴̅) = 1 − 𝑃(𝐴) or 𝑃(𝐴) + 𝑃(𝐴̅) = 1
𝑃 (𝐴 ∩ 𝐵 )
𝑃(𝐴|𝐵) = , 𝑃 (𝐵 ) > 0
𝑃 (𝐵 )
7. Independent Events:
Conditional probability for independent events 𝐴, 𝐵:
Note:
1. If 𝑃(𝐴 ∩ 𝐵 ) = 𝑃 (𝐴)𝑃 (𝐵 ) then the two events are independent.
6. The events E1, E2, E3, …, En are independent iff for any subset of these events Ei1, Ei2, Ei3,
…, Eik
P Ei1 Ei 2 ... Eik P Ei1 P Ei 2 ...P Eik
Page |8
Example:
Let Ω = {𝑒1 , 𝑒2 , 𝑒3 , 𝑒4 , 𝑒5 , 𝑒6 , 𝑒7 , 𝑒8 }and 𝐴 = {𝑒1 , 𝑒3 , 𝑒5 , 𝑒7 }, 𝐵 = {𝑒1 , 𝑒3 , 𝑒6 , 𝑒8 }
and P e1 P e3 0.1, P e2 P e4 0.15 P e5 P e7 0.01, P e6 0.05 , then find
1. 𝑃(𝐴) =
2. 𝑃(𝐵̅ ) =
3. 𝑃(𝐴 ∪ 𝐵) =
4. 𝑃(𝐴 ∩ 𝐵̅ ) =
5. ̅̅̅̅̅̅̅
𝑃(𝐴 ∪ 𝐵) =
6. 𝑃(𝐴|𝐵) =
7. Are the events 𝐴 and 𝐵 independent? Explain.
Page |9
Example:
In a statistics class there are 18 juniors and 10 seniors; 6 of the seniors are females and
12 of the junurs are males. A student selected at random, find the probability of
selecting the following
1. A junior or a female
2. A junior or a senior.
3. A junior given that the student was a female
P a g e | 10
Example:
There are four hotels in a town. Three men check into hotels in the town. What is the
probability that all three check into the same hotel?
Example:
If x is chosen at random from the set {1,2,3,4} and y is to be chosen at random from the set
{5,6,7}, what is the probability that xy will be even?
P a g e | 11
Example:
Of the cars on a used car lot, 70% have air conditioning (AC) and 40% have a CD
player (CD). 20% of the cars have both.
1. Find the probability that a car has a CD or AC or both.
2. What is the probability that a car has a CD player, given that it has AC?
3. What is the probability that a car with no CD and no AC?
4. What is the probability that a car with no CD but with AC?
5. What is the probability that a car with just one?
6. Are the events independent? Explain.
P a g e | 12
Example:
Sample of a cost aluminum per classified on the basis of surface finish ( in micrometers) and
length measurments. The results of 100 parts are sammarized as follows:
length
Excellent good Total
Excellent 80 3 83
Surface finish
good 10 7 17
total 90 10 100
1. If the selected part has excellent finish, what is the probability that the length is
excellent?
2. If the selected part has good length, what is the probability that the finish is
excellent?
3. Are the events independent? Explain
P a g e | 13
Example:
The following circuit operates if and only if there is a path of functional devices from
left to right. The probability each device functions is shown. Assume that the
probability that a device functions does not depend on whether or not other devices are
functional. What is the probability that the circuit operates?
P a g e | 14
Example:
Assume that business conditions in any year can be classified as either good or bad.
Suppose that if business is good this year, then it it will be also good next year with
probability 0.7. Also suppose that if business is bad this year, then with probability 0.4
it will be good next year. The prpbability that business will be good this year is 0.6.
Find the probability that the following statements are true
1. Business conditions both this year and next year will be good.
2. Business conditions will be good this year and bad next year.
3. Business conditions will be bad both years.
4. Business conditions will be good next year.
5. Given that business conditions are good next year, what is the probability that
they were good this year?
P a g e | 15
E1 E2 Ek
Example:
Three sections each working on a big senior project, it was known that usually from
section 1 only 2% of the students does not submit the project on time, from section 2
only 3% of the students does not submit the project on time, and from section 3 only
4% of the students does not submit the project on time. If the three sections were given
50%, 30%, and 20% of the work respectively, find the following:
1. The probability that part of the project will not be submitted on time.
2. If part of the project was not submitted on time, what is the probability that it
was from section 2?
3. If part of the project was submitted on time, what is the probability that it was
from section 1?
P a g e | 16
Example:
An internal auditor is auditing three departments X, Y, and Z, in his company. The number
of procedures in departments X, Y, and Z are respectively in the ratio 1 to 2 to 3. It is
known that the percentages of non-compliance in departments X, Y, and Z are 2%, 7%, and
12% respectively. If the auditor finds one non-compliance, what is the probability that this
procedure came from department Y?