Professional Documents
Culture Documents
Review of Basic Probability Theory
Review of Basic Probability Theory
Probability Theory
2
Chapter Objectives
5. Find total number of outcomes in a sequence of
events, using the fundamental counting rule.
6. Find the number of ways that r objects can be
selected from n objects, using the permutation
rule.
7. Find the number of ways for r objects selected
from n objects without regard to order, using the
combination rule.
8. Find the probability of an event, using the
counting rules.
3
Probability
Probability can be defined as the chance of an
event occurring. E.g. The chance of financial
crisis to happen next year.
4
4-1 Sample Spaces and Probability
Typically, the starting point of an investigation is
an experiment.
This may involve either a simple rolling of a pair
of dice or as complicated as conducting a large-
scale survey of households or firms.
Experiment: An experiment is defined as a
process of observation or measurement.
Examples:
1. Tossing a coin
2. Rolling a die
3. Counting defective products of a company etc. 5
An experiment is said to be a Random
experiment if the following three conditions are
satisfied:
1. all possible distinct outcomes are known ahead
of time
2. the outcome of a particular trial is not known a
priori
3. the experiment can be duplicated, in principle,
under ideal conditions.
A probability experiment is a chance process that
leads to well-defined results called outcomes.
An outcome is the result of a single trial of a
probability experiment.
A sample space is the set of all possible outcomes
of a probability experiment.
It is usually denoted by the letter S
An event consists of outcomes.
Example: 1. in tossing two coins at the same time, event A
contains at least one head.
A HH , HT , TH
Sample Spaces
8
Example 4-1: Rolling Dice
Find the sample space for rolling two dice.
Example 4-3: Gender of Children
Find the sample space for the gender of the
children if a family has three children. Use B for
boy and G for girl.
where the first number is the outcome of the first die and
the second number is the outcome of the second die.
Null (impossible) event: the null or impossible event is
represented by . It refers to the event that never occurs
at all.
Sample Spaces and Probability
There are three basic interpretations of
probability:
Classical probability
Empirical probability
Subjective probability
13
Sample Spaces and Probability
Classical probability If a random experiment
can result in N collectively exhaustive, mutually exclusive
and equally likely outcomes and if “n” of these outcomes
result in the occurrence of event E (or favourable
outcomes or success), then the probability of event E
is defined by
14
Example1: Toss a fair coin twice, then the
sample space S = {HH, HT, TH, TT} ; N=4
Let the event A be “observing at least one
head”, then A = {HH, HT, TH}; n = 3
3
P ( A)
4
Example 4-6: Gender of Children
If a family has three children, find the probability
that two of the three children are girls.
Sample Space:
BBB BBG BGB BGG GBB GBG GGB GGG
62 2
P sum of 7 or 11
36 9
Limitations
The main limitations of this definition of
probability are:
1. it is not applicable to situations where
there is infinite number of possible
outcomes.
2. All outcomes are not mutually exclusive
and equally likely
Sample Spaces and Probability
The complement of an event E ,
denoted by E , is the set of outcomes
in the sample space that are not
included in the outcomes of event E.
P E = 1- P E
19
Example 4-10: Finding Complements
Find the complement of each event.
Classical probability
Empirical probability
Subjective probability
22
Sample Spaces and Probability
Empirical probability relies on actual experience to determine the likelihood of outcomes.
The basic argument of the frequency approach is that probability does not have to be restricted to the situations of apparent symmetry
(equally likely) since the notion of probability should be interpreted as stemming from the observable stability of empirical frequencies.
23
Let NA be the number of times the same event (say
event A) occurs in large number of N trials of an
experiment.
If there exists a real number p such that
NA
p lim
N N
, then p is called the probability of event A and is
denoted by P(A).
NB: The probability of an event, according to this definition,
is the proportion of that event of the same kind will occur
in the long run.
Example 4-13: Blood Types
In a sample of 50 people, 21 had type O blood, 22
had type A blood, 5 had type B blood, and 2 had
type AB blood. Set up a frequency distribution and
find the following probabilities.
a. A person has type O blood.
Type Frequency
f
A 22 P O
B 5 n
AB 2 21
O 21 50
Total 50
Example 4-13: Blood Types
In a sample of 50 people, 21 had type O blood, 22
had type A blood, 5 had type B blood, and 2 had
type AB blood. Set up a frequency distribution and
find the following probabilities.
b. A person has type A or type B blood.
Type Frequency
22 5
A 22 P A or B
B 5 50 50
AB 2 27
O 21 50
Total 50
Example 4-13: Blood Types
In a sample of 50 people, 21 had type O blood, 22
had type A blood, 5 had type B blood, and 2 had
type AB blood. Set up a frequency distribution and
find the following probabilities.
c. A person has neither type A nor type O blood.
Type Frequency
P neither A nor O
A 22
B 5 5 2
AB 2 50 50
O 21 7
Total 50 50
Example 4-13: Blood Types
In a sample of 50 people, 21 had type O blood, 22
had type A blood, 5 had type B blood, and 2 had
type AB blood. Set up a frequency distribution and
find the following probabilities.
d. A person does not have type AB blood.
Type Frequency
A 22 P not AB
B 5 1 P AB
AB 2 2 48 24
O 21 1
50 50 25
Total 50
Limitations:
Despite improvement over the classical
approach, there are some objections:
what is mean by limit as N goes to infinity? How
can we generate infinite sequence of trials?
What happens to phenomena where repeated
trials are not possible?
Sample Spaces and Probability
There are three basic interpretations of
probability:
Classical probability
Empirical probability
Subjective probability
30
Sample Spaces and Probability
Subjective probability uses a probability value based on an
educated guess or estimate, employing opinions and inexact
information.
31
4.2 Addition Rules for Probability
Two events are mutually exclusive
events if they cannot occur at the same
time (i.e., they have no outcomes in
common)
Addition Rules
P A or B P A P B Mutually Exclusive
P A or B P A P B P A and B Not M. E.
32
Example 4-15: Rolling a Die
Determine which events are mutually exclusive
and which are not, when a single die is rolled.
a. Getting an odd number and getting an even number
Mutually Exclusive
Example 4-15: Rolling a Die
Determine which events are mutually exclusive
and which are not, when a single die is rolled.
c. Getting an odd number and getting a number less
than 4
Example 2:
A die is loaded in such a way that each odd number is likely
to occur twice as each even number. Find the probability
that an even number will occur on a single roll.
for i= 1, 2, 3, ….
a. Verify that P(Oi ) satisfies axiom 2.
b. If Oi is the event that a person is tossing a fair coin,
find the probability of getting a tail on the first four
tosses.
c. If Oi is the event that a person is tossing a fair coin,
find the probability that the first head will occur on an
even numbered tosses.
Theorem 1.2: If an experiment can result in any one of
the N different equally likely outcomes, and n of these
outcomes together constitute event A, then the probability
of event A is given by .
n
P( A)
N
Proof: Let O1, O2, ...,ON = individual outcomes in S each
with a probability of 1/N
A = union of n elements of S that are mutually exclusive.
Then, P(A) = P(O1 O2 ... On)
= P(O1) + P(O2) + ... + P(On) (axiom 3)
= 1/N + 1/N + ... + 1/N (n terms in all)
= n/N
Theorem 1.3: P() = 0 for any sample space S.
Proof: Since S = S and the events S and are mutually
exclusive.
P(S ) = P(S)
P(S) + P() = P(S) by axiom 3
P() = 0
Note: P(A) = 0 does not imply A =
Theorem 1.4: If A and B are events in a sample space S
and A B, then P(A) ≤ P(B) (Monotonicity of the
probability function).
Proof: Since1. A B, we can write B = A (A/ B)
2. A and (A/ B) are mutually exclusive, it
follows that
P(B) = P(A) + P (A/ B) by axiom 3, therefore
P(B) ≥ P(A), as P(A/ B) 0 (by axiom 1)
Theorem 1.5: If A and A/ are complementary events
in a sample space S, then,
P(A/) = 1 - P(A)
Proof: P(S) = 1, by axiom 2
= P(A A/)
= P(A) + P(A/) by axiom 3
1 - P(A) = p(A/)
Theorem 1.6: 0 ≤ P(A) ≤ 1
Proof: Using theorem 2 and the fact that A S for any
event A and sample space S, we have
P() ≤ P(A) ≤ P(S). But P() = 0 and P(S) = 1.
Thus, 0 ≤ P(A) ≤ 1
Theorem 1.7: If A and B are two events in a
sample space S, then
P(A B) = P(A) + P(B) - P(A B)
Assignment: 1. If A, B, and C are any three events,
then show that P(A B C) = P(A) + P(B) + P(C) -
P(A B) - P(A C) - P(B C) + P(A B C).
53
Example : Paint Colors
A paint manufacturer wishes to manufacture several
different paints. The categories include
Color: red, blue, white, black, green, brown, yellow
Type: latex, oil
Texture: flat, semigloss, high gloss
Use: outdoor, indoor
How many different kinds of paint can be made if you can
select one color, one type, one texture, and one use?
# of
# of # of # of
colors types textures uses
7 2 3 2
84 different kinds of paint
Example: A college freshman must take an economics
course, a management course, and a statistics course. If
she may select any one of 3 economics courses, any of 4
management courses and any of 2 statistics courses, in
how many ways can she arrange her program?
n1 = 3, n2 = 4, n3 = 2 n1n2 n3 = 24
Counting Rules
Factorialis the product of all the positive
numbers from 1 to a number.
n ! n n 1 n 2 3 2 1
0! 1
1.5.1.Permutation is an arrangement
of objects in a specific order. Order
matters.
Suppose that we have n distinct objects in a set and
we are interested in how many different ways these
objects may be arranged. 56
For example, if we have the letters a, b, and c, we can
consider the following arrangements: abc, acb, bac, bca,
cab, cba. Thus, the three letters can be arranged in six
different ways.
first second third fourth fifth
choice choice choice choice choice
5 4 3 2 1
120 different ways to rank the locations
first second third
choice choice choice
5 4 3
60 different ways to rank the locations
r!
67
1)
n n 1 n 1
2)
r
r
r 1
Example : School Musicals
A newspaper editor has received 8 books to review. He
decides that he can use 3 reviews in his newspaper. How
many different ways can these 3 reviews be selected?
87 6 P3
or 8C3 56 or 8C3 56
8
3 2 3!
Example : Committee Selection
In a club there are 7 women and 5 men. A committee of 3 women and
2 men is to be chosen. How many different possibilities are there?
There are not separate roles listed for each committee member, so
order does not matter. We will use combinations.
72
Example 4-52: Committee Selection
A store has 6 TV Graphic magazines and 8 Newstime
magazines on the counter. If two customers purchased a
magazine, find the probability that one of each magazine
was purchased.
C1 8 C1 6 8 48
6
14 C2 91 91
Example 3: A box of 20 spare parts for a certain
type of machine contains 15 good parts and 5
defective ones. If 4 parts are selected by chance
from this box, what is the probability that exactly
3 of them will be good?
Solution: Let A be the event that 3 of the 4 parts
selected are good, then
15 5 15! 5!
n( A) 2, 275
3 1 3!15 3! 1!5 1!
20 20!
n( S ) 4,845
4 4! 20 4 !
n A 2,275
PA 0.47
n S 4,845
1.6. Conditional Probability and
Statistical Independence
Conditional probability is the probability that the
first event B occurs given that the second event A
has occurred.
Thus, this concept answers the question: what is
the probability that event A occurs, knowing that
event B has already occurred. Symbolically,
P( A B)
P( A / B) if P ( B ) 0
P( B)
Using the Venn diagram, conditional probability
is the area shown below:
Example : Women in the Military
A recent survey asked 100 people if they thought
women in the armed forces should be permitted to
participate in combat. The results of the survey are
shown.
Example : Women in the Military
a. Find the probability that the respondent answered yes
(Y), given that the respondent was a female (F).
8
P F and Y 100 8 4
P YF P F
50
50 25
100
Example : Women in the Military
b. Find the probability that the respondent was a male
(M), given that the respondent answered no (N).
18
P N and M 18 3
P MN P N
100
60
60 10
100
Example…
Consider the experiment of tossing two fair coins. Let
S = {HH, HT, TH, TT}, and assume each point is equally
likely. Find:
a. the probability of two heads given a head on the
first coin.
b. The probability of two heads given at least one
head.
Solution: Let A1 = {head on the first coin} = {HH, HT}
Let A2 = {head on the second coin} = {HH, TH}
a. P ( A1 A2) / A1
P(( A1 A2) A1)
P( A1)
P ( A1 A2) 14 1
P ( A1) 12 2
P A1 A2 A1 A2
b. P A1 A2 / A1 A2
P A1 A2
P A1 A2 A1 A2
P A1 P A2 P A1 A2
P A1 A2 14 1
P A1 P A2 P A1 A2 1 2 1 2 1 4 3
Example
Let a pair of fair dice be rolled. If the sum is 6, find the
probability that one of the dice is a 2.
Solution
Let A - be an event that 2 appears on at least one die
Let B - be an event that the sum is 6
P(A/B) ?
Theorem: If A is an event in S, then P(A//B) = 1 – P(A/B)
Proof:
P A/ B
P A/ / B but
P( B)
A
/
SA
A B
/
S A B
S B A B
P A/ B P S B A B
P B A B
P B P B A B
P B P A B
Hence,
P B P A B
P A/ / B
P B
P A B
1
P B
1 P A / B
Theorem: If A1 and A2 are elements of S, then
P A1 / B P A1 A2 / B P A1 A2/ / B
Note: 1) 0 ≤P(A|B) ≤1
2) P(S/B) = 1
Proof: PS / B PS B PB 1
PB PB
P A1 A2 / B P A1 / B P A 2 / B P A1 A 2 / B
Proof:
Theorem: P / B 0
Proof:
P / B 0
i 1
Ai / B
PA
i 1
i / B
n
Ai Aj , i j
n
P Ai P( A ) i
i 1 i 1
But n
n
P Ai B
P Ai / B i 1
i 1 P B
n
P Ai B
i 1
P B
n
PA i B
i 1
as Ai B A j B for i j
P B
n
P Ai B n
i 1 P B
PA
i 1
i / B
General Multiplication rule:
If A and B are any two events in S and P(A) and P(B) are
not zero, then
a) P(A B) = P(A).P(B/A). This implies that the
probability that A and B will both occur is the product of
the probability of A and the conditional probability of B
given A. Alternatively,
b) P(A B) = P(B).P(A/B)
Thus, P(A B) = P(A).P(B/A) = P(B).P(A/B)
( A1 B ) ( A2 B ) ( A3 B ) ... ( An B )
5
i 1 1 5 3
i 1 10
5
50 i 1
i
10
Exercise
1. We are interested with the completion of a highway construction
job, which may be delayed by a strike. Suppose that the probability
are 0.60 that there will be a strike, 0.85 that the job will be
completed on time if there is no strike, and 0.35 that the job will be
completed on time if there is a strike. What is the probability that the
job will be completed on time?
2. A number of a consulting firms rent cars from three rental agencies:
60% percent from agency I, 30% from agency II and 10% from
agency III. If 9% from I need a tune up, 20% from II need tune up
and 6% from III need tune up.
a) what is the probability that a rental car delivered to the firm will
need tune up?
b) if a delivered rental car needs a tune up, what is the probability
that it came from rental agency II.
3. In a given state 25% of all cars emit excessive pollutant. If
the probability is 0.99 that a car emitting excessive pollutant
will fail the vehicular emission test, and the probability is
0.17 that a car not emitting excessive pollutants will fail the
test, what is the probability that a car fails the test actually
emits excessive amount of pollutant.
A certain town has two taxi companies: Blue Birds,
whose cabs are blue, and Night Owls, whose cabs are
black. Blue Birds has 15 taxis in its fleet, and Night Owls
has 75. Late one night, there was a hit-and-run accident
involving a taxi. The 90 town’s taxis were all on the
streets at the time of the accident. A witness saw the
accident and claims that a blue taxi was involved. At the
request of the police, the witness undergoes a vision test
under conditions similar to those on the night in question.
Presented repeatedly with a blue taxi and a black taxi, in
random order, he shows he can successfully identify the
color of the taxi 4 times out of 5.
Which company is more likely to have been involved in
the accident?
Let A1 = the event that a taxi is blue
A2 = the event that a taxi is black
B = the event that the witness claims a blue taxi was
involved
a) What is the probability that a taxi is blue?
b) What is the probability that a taxi is black?
c) What is the probability that the witness claims the taxi is
blue if indeed it is blue?
d) What is the probability that the witness claims the taxi is
blue if it is black?
e)What is the probability that the taxi is blue if the witness
says it is blue?
f) What is the probability that the taxi is black if the witness
says it is blue?
g) Which company has the highest probability to have been
involved in the accident?