Professional Documents
Culture Documents
• An experiment that can result in different outcomes, even though it is repeated in the
same manner every time, is called a random experiment.
• It refers to any activity or process in which there is uncertainty as to which of the
possible outcomes will be observed
Examples:
✓tossing a coin
✓rolling a die
✓selecting a card from a deck of playing cards
✓measuring current in a copper wire
✓recording the annual Return of Investment
SAMPLE SPACE
• 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.
Experiment 1: Tossing a coin
→ S={head, tail}
Experiment 2: Rolling a die
→ S={1, 2, 3, 4, 5, 6}
Experiment 3: Rolling a pair of dice
→ S={(1,1), (1,2), …, (6,6)}
SAMPLE SPACE
Experiment: Consider an experiment that selects a cell phone camera and records
the recycle time of a flash (the time taken to ready the camera for another
flash). The possible values for this time depend on the resolution of the
timer and on the minimum and maximum recycle times.
1st child G B
2nd child G B G B
3rd child G B G B G B G B
• Multiplication Rule
• Permutation Rule
• Circular Permutation
• Combination Rule
MULTIPLICATION RULE
Assume an operation can be described as a sequence of k steps, and
•the number of ways of completing step 1 is n1, and
•the number of ways of completing step 2 is n2 for each way of completing
step 1, and
•the number of ways of completing step 3 is n3 for each way of completing
step 2,
and so forth.
The total number of ways of completing the operation is
n1 × n2 × n3 × … × nk
MULTIPLICATION RULE
Example 16: If 54 heads are recorded when a coin is tossed 100 times, then the
probability of a head in the next toss is estimated to be .
Answer: 0.54
PROBABILITY: ADDITIONAL EXAMPLES
Example 17: A random experiment can result in one of the
outcomes {a, b, c, d} with probabilities 0.1, 0.3, 0.5, and 0.1,
respectively. Let A denote the event {a, b, c}, B the event {b, c, d},
and C the event {d}. Compute the following:
a. P(A) = 0.9 d. P(B∪C) = 0.9
b. P(B) = 0.9 e. P(A∩B) = 0.8
c. P(C) = 0.1
PROBABILITY: ADDITIONAL EXAMPLES
Example 18: A box of 50 parts contains 5 that are defective.
A sample of 10 parts is selected at random, without
replacement. What is the probability that the sample
a) no defective part? Answer: 0.311
b) at least 3 defective parts? Answer: 0.048
c) at most 2 defective parts? Answer: 0.952
PROBABILITY: ADDITIONAL EXAMPLES
Example 19: A group of tourists is composed of 3 British, 4 Thais, and 2
Americans.
a) How many ways can a tourist guide select 4 persons at random for a
trip to Corregidor? Answer: 126 ways
b) What is the probability that of the 4 persons, 2 are British and 2 are
Thais? Answer: 0.143
c) What is the chance that 1 British, 2, Thais, and 1 American can go
with the trip to Corregidor? Answer: 0.286
PROBABILITY: ADDITIONAL EXAMPLES
Example 20: Samples of emissions from three suppliers are classified for conformance to
air-quality specifications. The results from 100 samples are summarized as follows
Conforms
Yes No
1 22 8
Supplier 2 25 5
3 30 10
Let A denote the event that a sample is from supplier 1, and let B denote the event that a
sample conforms to specifications. If a sample is selected at random, determine the
following probabilities: a) P(A), b) P(B), c) P(A∪B), d) P(A∩B), e) P(A’)
ADDITION RULES OF PROBABILITY
• For any two events E1 and E2,
P(E1∪E2)=P(E1)+P(E2)-P(E1∩E2)
• If E1 and E2 are mutually exclusive events, then
P(E1∪E2)=P(E1)+P(E2)
• A collection of events E1, E2, E3, …, Ek, is said to be mutually exclusive if for all
pairs Ei∩Ej=∅.
• For a collection of mutually exclusive events,
P(E1∪E2∪…∪Ek)=P(E1)+P(E2)+…+P(Ek)
ADDITION RULES OF PROBABILITY
Example 21: A digit is selected from the set of digits
from 1 through 9.
a) What is the probability that a prime or an odd digit is
selected? Answer: 2/3
b) What is the probability that a digit greater than 5 is
selected? Answer: 4/9
ADDITION RULES OF PROBABILITY
Example 22: In a group of 2500 persons, 1400 are
female, 600 are vegetarian, and 400 are female
and vegetarian. What is the probability that a
randomly selected person from this group is a
male or vegetarian?
Answer: 0.6
CONDITIONAL PROBABILITY
• There are times when we change the probability we assign to an event
once we have additional information concerning the occurrence of
other related events.
• For example, at any given day we may assign a 45% chance of rain.
However, if it rained hard the previous two days, do you risk of leaving
the dorm without an umbrella?
• Of course not!
• You tend to increase the chance of rain today to 99% (from 45%).
CONDITIONAL PROBABILITY
• The probability that event A will occur given a related event B has occurred is
called conditional probability. It is denoted by P(A|B) and is computed as
𝐏 𝐀∩𝐁
𝐏 𝐀|𝐁 = ,𝐏 𝐁 > 𝟎
𝐏 𝐁
• We call event B the “conditioning” event
• Knowing the conditioning event, the sample space is no longer S but B
• The conditioning event is equivalent to the “reduced” sample space
CONDITIONAL PROBABILITY
Example 23: A digit is selected from the set of digits
from 1 through 9.
a) What is the probability that a prime is selected if the
digit is odd? Answer: 3/5
b) If the digit selected is even, what is the probability
that it is composite? Answer: 3/4
CONDITIONAL PROBABILITY
Example 24: Suppose the probability that a randomly selected
student passes Stat21 is 0.6, the probability that he passes
Eng23 is 0.85, and the probability that he passes at least one of
the two subjects is 0.95.
a) If the student received a passing grade in Stat21, what is the
probability that he passes Eng23? Answer: 5/6
b) If the student received a failing grade in Stat21, what is the
probability that he passes Eng23? Answer: 0.875
CONDITIONAL PROBABILITY
Example 25: Suppose 100 employees of VSU were asked whether they are in favor
of or against imposing strictly the “No Smoking Policy” in the campus. The
table below shows the distribution of the 100 employees based on smoking
behavior (smoker or nonsmoker) and opinion (in favor or against).
Favor Against
Non-Smoker 45 15
Smoker 36 4
If an employee is selected at random, what is the probability that he is against
the policy if he smokes? Answer: 0.1
MULTIPLICATION RULE OF PROBABILITY
• Let the sample space be partitioned into two: A and A’. Suppose an event
B cuts across these two partitions.
• The probability of B occurring is given by
𝐏(𝐁) = 𝐏 𝐁 ∩ 𝐀 + 𝐏 𝐁 ∩ 𝐀′
= 𝐏 𝐁|𝐀 𝐏 𝐀 + 𝐏 𝐁|𝐀′ 𝐏 𝐀′
LAW OF TOTAL PROBABILITY
Example 29: Suppose we have two hats: one has 4 red
balls and 6 green balls, the other has 6 red and 4
green. We toss a fair coin, if heads, pick a random
ball from the first hat, if tails from the second.
What is the probability of getting a red ball?
Answer: 0.5
LAW OF TOTAL PROBABILITY
Example 30: A soccer team wins 60% of its games
when it scores the first goal, and 10% of its
games when the opposing team scores first. If
the team scores the first goal about 30% of the
time, what fraction of the games does it win?
Answer: 0.25
LAW OF TOTAL PROBABILITY
•Suppose the sample space S is partitioned into k
mutually exclusive and exhaustive events E1, E2, …, Ek
(refer to the figure below for k=4). Then
𝐏(𝐁) = 𝐏 𝐁 ∩ 𝐄𝟏 + 𝐏 𝐁 ∩ 𝐄𝟐 + ⋯ + 𝐏 𝐁 ∩ 𝐄𝐤
= 𝐏 𝐁|𝐄𝟏 𝐏 𝐄𝟏 + 𝐏 𝐁|𝐄𝟐 𝐏 𝐄𝟐 + ⋯ + 𝐏 𝐁|𝐄𝐤 𝐏 𝐄𝐤
𝐤
= 𝐏 𝐁|𝐄𝐢 𝐏 𝐄𝐢
𝐢=𝟏
LAW OF TOTAL PROBABILITY
Example 31: A factory production line is manufacturing bolts using three
machines, A, B and C. Of the total output, machine A is
responsible for 25%, machine B for 35% and machine C for the
rest. It is known from previous experience with the machines that
5% of the output from machine A is defective, 4% from machine B
and 2% from machine C. A bolt is chosen at random from the
production line, what is the probability that it is defective?
Answer: 0.0345
LAW OF TOTAL PROBABILITY