Module #2
Module #2
Module #2
PROBABILITY
ENGR. JOSEPH B. CANAPI, BSEE, MS MGMT. ENGG
CHAPTER 1: COVERAGE
❑ LEARNING OBJECTIVES:
▪ Understand and describe sample spaces and events for random experiments with graphs, tables, lists, or tree
diagrams
▪ Interpret probabilities and use the probabilities of outcomes to calculate probabilities of events in discrete
sample spaces
▪ Use permutations and combinations to count the number of outcomes in both an event and the sample
space
❑ SAMPLE SPACES AND EVENTS
▪ Random Experiments
▪ Sample Spaces
▪ Trial & Event
❑ Probability concept
❑ Counting Techniques
Introduction
❑ An experiment that can result in different outcomes, even though it is repeated in the same manner every time,
is called a random experiment.
If an experiment is repeated under essentially homogeneous & similar conditions we generally come across 2
types of situations:
▪ Deterministic/ Predictable: - The result of what is usually known as the ‘outcome’ is unique or certain.
Example:- The velocity ‘v’ of a particle after time ‘t’ is given by
v = u + at
Equation uniquely determines v if the right-hand quantities are known.
▪ Unpredictable/ Probabilistic: - The result is not unique but may be one of the several possible outcomes.
Examples: -
(i) In tossing of a coin one is not sure if a head or a tail will be obtained.
(ii) If a light tube has lasted for t hours, nothing can be said about its further life. It may fail to function any
moment.
Definitions
❑ SAMPLE SPACES
▪ The set of all possible outcomes of a random experiment is called the sample space of the experiment. The
sample space is denoted as S
EXAMPLE 1:
▪ Consider an experiment in which you select a molded plastic part, such as a connector, and measure its
thickness. The possible values for thickness depend on the resolution of the measuring instrument, and they
also depend on upper and lower bounds for thickness. define the sample space as simply the positive real
line
▪ if the objective of the analysis is to consider only whether a particular part is low, medium, or high for thickness, the
sample space might be taken to be the set of three outcomes:
▪ if the objective of the analysis is to consider only whether or not a particular part conforms to the manufacturing
specifications, the sample space might be simplified to the set of two outcomes
NOTES:
▪ A sample space is continuous if it contains an interval (either finite or infinite) of real numbers.
S= 𝑅+ is an example of a continuous sample space
EXAMPLE 2: If the batch consists of three items {a, b, c} and our experiment is to select two items without
replacement
▪ In throwing of 2 dice, the number of cases favorable to getting the sum 5 is:
(1,4), (4,1), (2,3), (3,2).
▪ In drawing a card from a pack of cards the number of cases favorable to drawing an ace is 4, for drawing a spade
is 13 & for drawing a red card is 26.
❑ Independent Events: - If the happening (or non-happening) of an event is not affected by the supplementary
knowledge concerning the occurrence of any number of the remaining events.
▪ In tossing an unbiased coin the event of getting a head in the first toss is independent of getting a head in the
second, third & subsequent throws.
❑ Equally likely Events: - Outcomes of a trial are said to be equally likely if taken into consideration all the
relevant evidences, there is no reason to expect one in preference to the others.
▪ In tossing an unbiased coin or uniform coin, head or tail are equally likely events.
▪ In throwing an unbiased die, all the 6 faces are equally likely to come.
❑ Mutually exclusive Events: - If the happening of any one of the event precludes the happening of all the
others.
▪ In tossing a coin the events head & tail are mutually exclusive.
▪ In throwing a die all the 6 faces numbered 1 to 6 are mutually exclusive since if any one of these faces
comes, the possibility of others, in the same trial, is ruled out.
❑ Some of the basic set operations in terms of events:
▪ The union of two events is the event that consists of all outcomes that are contained in either of the two
events. Denoted by 𝐸1 ∪ 𝐸2 . (A or B or both.)
▪ The intersection of two events is the event that consists of all outcomes that are contained in both of the
two events. Denoted by 𝐸1 ∩ 𝐸2 . (both A and B.)
Intersection of A and B
❑ Some of the basic set operations in terms of events:
▪ The complement of an event in a sample space
is the set of outcomes in the sample space that
are not in the event. Denoted by 𝐴′ or 𝐴𝑐
i.e., p + q = 1
Notes:
▪ Classical probability is often called a priori probability because if one keeps using orderly examples of
unbiased dice, fair coin, etc. one can state the answer in advance (a priori) without rolling a dice, tossing a
coin etc.
▪ If an experiment has n possible outcomes, the classical method would assign a probability of 1/n to each
outcome.
❑ Drawback of Classical/ ‘a priori’ Probability
▪ It fails when the number of possible outcomes of the experiment is infinite.
▪ It is based on the cases which are “equally likely” and as such cannot be applied to experiments where the
outcomes are not equally likely.
SAMPLE PROBLEMS:
Hospital Emergency Visits.
1.The following table summarizes visits to emergency departments at four hospitals in Arizona. People may leave without
being seen by a physician, and those visits are denoted as LWBS. The remaining visits are serviced at the emergency
department, and the visitor may or may not be admitted for a stay in the hospital.
Let A denote the event that a visit is to Hospital 1 and let B denote the event that the result of the visit is LWBS.
Calculate the number of outcomes in A∩B, A′ , and A∪B.
SAMPLE PROBLEMS:
2. Measurements of the thickness of a plastic connector might be modeled with the sample space S= 𝑅+ , the set of
positive real numbers.
Let:
E1 = {x 10≤ 𝑥 < 12} and E2 = {x 11< 𝑥 < 15}
Find: E1 ∩ E2 , E1 ′ , E1 ′ ∩ E2 , E1 ∪ E2
3.If two unbiased dice are rolled, find the probability that
a) sum is greater than 8
b) sum is neither 7 nor 11
SOLUTION:
1. Hospital Emergency Visits. 3.If two unbiased dice are rolled, find the probability that
Calculate the number of outcomes in A∩B, A′ , and A∪B. a) sum is greater than 8
b) sum is neither 7 nor 11
▪ A∩ B=195 visits to hospital 1 that result in
LWBS.
▪ A′= 6991+5640+4329= 16,690 visits to hospitals 2,
3, and 4
▪ A∪ B=5292+270+246= 6050 visits to hospital 1 or
the visits that result in LWBS, or both
2. GIVEN: E1 = {x /10≤ 𝑥 < 12} and E2 = {x /11< 𝑥 < 15}
Find: E1 ∩ E2 , E1 ′ , E1 ′ ∩ E2 , E1 ∪ E2
▪ 𝑬𝟏 ∩ 𝑬𝟐 = {x /11< 𝑥 < 12}
▪ 𝑬𝟏 ′ = {x /x< 10 𝑜𝑟 12 ≤ 𝑥}
▪ 𝑬𝟏 ′ ∩ 𝑬𝟐 = {x /12≤ 𝑥 < 15}
▪ 𝑬𝟏 ∪ 𝑬𝟐 = {x /10 ≤ 𝑥 < 15}
❑ Relative/ Statistical/ Empirical Probability
▪ Probability of an event is determined objectively by repetitive empirical observations/ Experimentation
or historical data. Probabilities are assigned a posterior.
▪ Let A be an event of interest, and assume that same experiment n times is being performed. so that n is the
number of times A could have occurred. Then nA be the number of times that A did occur.
The method is define as: P(A) = nA/N.
Example 1: Rolling a Die S = {1, 2, · · · , 6} Example 2: When a coin is tossed, what is the probability
that the coin will turn heads?
Probabilities: Roll the given die 100 times (say) and
suppose the number of times the outcome 1 is Suppose coin is tossed for 50 times & it falls head 20
observed is 15. times, then the ratio 20/50 is used as an estimate of
the probability of heads of this coin.
A= {1}, nA = 15, and n = 100.
P(A) = 15/100 = 0.15
If the sample space consists of the set of all possible vehicle types, what is the number of outcomes in the sample
space?
EXAMPLE:
In the design of a casing for a gear housing, we can use four different types of fasteners, three different bolt lengths,
and three different bolt locations. How many designs are possible?
𝑛1 x 𝑛2 x…. 𝑛𝑘
The six sequences are easily summarized: ddnn, dndn, dnnd, nddn, ndnd, nndd
EXAMPLE 1:
A printed circuit board has eight different locations in which a component can be placed. If five identical components
are to be placed on the board, how many different designs are possible?
8!
= 56
5! 8−5 !
EXAMPLE 2:
Sampling without Replacement: A bin of 50 manufactured parts contains 3 defective parts and 47 non
defective parts. A sample of 6 parts is selected from the 50 parts without replacement. That is, each part can be
selected only once, and the sample is a subset of the 50 parts. How many different samples are there of size 6 that
contain exactly 2 defective parts?
EXAMPLE 2:
Step1: A subset containing exactly 2 defective parts can be formed by first choosing the 2 defective parts from the three
defective parts.
3!
𝐶2 = 2!(3−2)! =
3 3 different ways; 𝑛1
Step 2: is to select the remaining 4 parts from the 47 acceptable parts in the bin
47!
𝐶447 = 4!(47−4)!
= 178,365 different ways; 𝑛2
Therefore, from the multiplication rule, the number of subsets of size 6 that contain exactly 2 defective parts is
𝑛1 x 𝑛2 = 3 x 178,365 = 535,095
As an additional computation, the total number of different subsets of size six is:
50!
𝐶650 = = 15,890,700 different ways
6!(50−6)!
Therefore, calculating the probability that a sample contains exactly two defective parts is:
# favorable outcomes 535,095
P D=2 = =
#possible outcomes 15,890,700
TO BE CONTINUED