Probability
Probability
Counting Rules
1
Probability and Counting Rules
Outline
1 Sample Spaces and Probability
2 The Addition Rules for Probability
3 The Multiplication Rules and Conditional
Probability
4 Counting Rules
5 Probability and Counting Rules
Probability and Counting Rules
Objectives
1 Determine sample spaces and find the probability
of an event, using classical probability or empirical
probability.
2 Find the probability of compound events, using
the addition rules.
3 Find the probability of compound events, using
the multiplication rules.
4 Find the conditional probability of an event.
Probability
• Probability can be defined as the chance
of an event occurring. It can be used to
quantify what the “odds” are that a specific
event will occur.
a. A sum of 6
b. Doubles
c. A sum of 7 or 11
d. A sum greater than 9
e. A sum less than or equal to 4
a. A sum of
6 Total of 36
outcomes
b. Doubles
To get a sum greater than nine, one must roll a 10, 11,
or 12. There are six ways to get a 10, 11, or 12.
They are (4,6), (5,5),
(6,4), (6,5), (5,6), and (6,6).
e. The patient has had 1 or 2 tests
done.
Number Number
of Tests of
Performed Patient
0 s
12
1 8
2 2
3 3
4 or more 5
Example 2: 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.
GGG
Sample Spaces and Probability
There are three basic interpretations of probability:
• Classical probability
• Empirical probability
• Subjective probability
Sample Spaces and Probability
Classical probability uses sample spaces to
determine the numerical probability that an
event will happen and assumes that all
outcomes in the sample space are equally likely
to occur.
Sample Spaces and Probability
Sample Space:
BBB BBG BGB BGG GBB GBG GGB
GGG
Even
Rolling a diCompleme
te and
of theGettnint g a 1, 2,
getting a or
4
Selecting a letter of 63E,v5e,nt
the
vowe nt
Getting February,
a
alnpdhagbeettting a Getting
l )March,
consonant
Selecting a month A
and
N auo
cp orscgnvisto
(Decembe
O usl,eu
sbM
omt,anS
eyae,
ptember,
Getting
ry is a Saturday
gmeottninthgtahat mebr,er, or
begins or Sunday
weekda
with a J
y
Residence of People
If the probability that a person lives in an
industrialized country of the world is , find the
probability that a person does not live in an
industrialized country.
Sample Spaces and Probability
There are three basic interpretations of probability:
• Classical probability
• Empirical probability
• Subjective probability
Sample Spaces and Probability
Empirical probability relies on
actual experience to determine the
likelihood of outcomes.
Example : 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
A 22
B 5
AB 2
O 21
Total 50
Example : 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
A 22
B 5
AB 2
O 21
Total 50
Example : 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
A 22
B 5
AB 2
O 21
Total 50
Example: 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
B 5
AB 2
O 21
Total 50
Law of Large Numbers
• Classical probability
• Empirical probability
• Subjective probability
Sample Spaces and Probability
Subjective probability uses a probability
value based on an educated guess or
estimate, employing opinions and inexact
information.
Mutually Exclusive
Example : Rolling a Die
Determine which events are mutually
exclusive and which are not,
when a single die is rolled.
b. Getting a 3 and getting an odd
number
Getting a 3: 3
Getting an odd number: 1, 3, or 5
M. E.
Example : R&D Employees
The corporate research and development centers
for three local companies have the following
number of employees:
U.S. Steel 110
Alcoa 750
Bayer Material Science 250
If a research employee is selected at random, find
the probability that the employee is employed by
U.S. Steel or Alcoa.
Example 4-18: R&D Employees
Example : Medical Staff
In a hospital unit there are 8 nurses and 5 physicians; 7
nurses and 3 physicians are females. If a staff person
is selected, find the probability that the subject is a nurse
or a male.
Staff Females Males Total
Nurses 7 1 8
Physicians 3 2 5
Total 10 3 13
Multiplication Rules
■Two events A and B are independent
events if the fact that A occurs does not
affect the probability of B occurring.
Bluman,
Chapter 4
Example : Tossing a Coin
A coin is flipped and a die is rolled. Find the probability
of getting a head on the coin and a 4 on the die.
This problem could be solved using sample space. H1, H2, H3,
H4, H5, H6, T1, T2, T3, T4, T5, T6
Bluman,
Chapter 4
Example : Survey on Stress
A Harris poll found that 46% of Americans say
they suffer great stress at least once a week. If
three people are selected at random, find the
probability that all three will say that they
suffer great stress at least once a week.
Bluman,
Chapter 4
Example : University Crime
At a university in western Pennsylvania, there
were 5 burglaries reported in 2003, 16 in 2004,
and 32 in 2005. If a researcher wishes to select at
random two burglaries to further investigate, find
the probability that both will have occurred in
2004.
Bluman,
Chapter 4
4.3 Conditional Probability
■Conditional probability is the
probability that the second event B
occurs given that the first event A has
occurred.
Bluman,
Chapter 4
Example : Parking Tickets
The probability that Sam parks in a no-parking zone and
gets a parking ticket is 0.06, and the probability that Sam
cannot find a legal parking space and has to park in the
no-parking zone is 0.20. On Tuesday, Sam arrives at school
and has to park in a no-parking zone. Find the probability
that he will get a parking ticket.
N = parking in a no-parking zone
T = getting a ticket
Bluman,
Chapter 4
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.
Bluman,
Chapter 4
Example : Women in the Military
a. Find the probability that the respondent answered yes
(Y), given that the respondent was a female (F).
Bluman,
Chapter 4
Example : Women in the Military
b. Find the probability that the respondent was a
male (M), given that the respondent answered no (N).
Bluman,
Chapter 4
Example : Bow Ties
The Neckware Association of America reported that 3% of
ties sold in the United States are bow ties (B). If 4
customers who purchased a tie are randomly selected, find
the probability that at least 1 purchased a bow tie.
Bluman,
Chapter 4
EXAMPLE
If one card is drawn from an ordinary deck
of cards, find the probability of getting
the following:
a. A king or a queen or a jack.
b. A club or a heart or a spade.
c. A king or a queen or a diamond.
d. An ace or a diamond or a heart.
e. A 9 or a 10 or a spade or a club.
If one card is drawn from an ordinary deck of
cards, find the probability of getting the
following:
a. A king or a queen or a jack.
There are 4 kings, 4 queens, and 4
jacks, hence:
P (king or queen or jack)
If one card is drawn from an ordinary deck of
cards, find the probability of getting the
following:
b. A club or a heart or a spade.
There are 13 clubs, 13 hearts, and
13 spades, hence:
0. D (0.8)(0.1) =
0. 1 0.08
8 0.9 N
D
0.1 D (0.2)(0.18) =
0. 8 0.036
2 N
0.8 D
2
Finally, use the addition rule, since the item
is chosen at random from model I or
model II.
0.1 D (0.8)(0.1) =
0. 0.08
8 0.9 N
D
0.1 D (0.2)(0.18) =
0. 8 0.036
2 N
0.8 D
2
EXAMPLE
In Rolling Acres Housing Plan, 42% of the houses
have a deck and a garage; 60% have a deck. Find
the probability that a home has a garage, given
that it has a deck.
EXAMPL
E Corporation Government Individual
U.S. 70,894 921 6129
Foreign 63,182 104 6267
Consider this table concerning
utility patents granted for a
specific year.
Select one patent at random.
a. What is the probability that
it is a foreign patent, given that
it was issued to a corporation?
b. What is the probability
that it was issued to an
individual, given that it was
a U.S. patent?
Corporation Government Individual
U.S. 70,894 921 6129
Foreign 63,182 104 6267
a. What is the probability
that it is a foreign patent, given
that it was issued to a
corporation?
P(foreign patent |
corporation)
Corporation Government Individual
U.S. 70,894 921 6129
Foreign 63,182 104 6267
P(foreign patent |
corporation)
Corporation Government Individual
U.S. 70,894 921 6129
Foreign 63,182 104 6267
P(foreign patent |
corporation)
Corporation Government Individual
U.S. 70,894 921 6129
Foreign 63,182 104 6267
b. What is the probability that it
was issued to an individual,
given that it was a U.S.
patent?
P (individual |
U.S.)
Corporation Government Individual
U.S. 70,894 921 6129
Foreign 63,182 104 6267
P(individual |
U.S.)
Corporation Government Individual
U.S. 70,894 921 6129
Foreign 63,182 104 6267
P(individual |
U.S.)
Probability
and Counting
Rules
Counting Rules
■The fundamental counting rule is also called
the multiplication of choices.
■In a sequence of n events in which the first
one has k1 possibilities and the second event
has k2and the third has k3, and so forth, the
total number of possibilities of the sequence
will be
k1 · k2 · k3 · · · kn
Bluman,
Chapter 4
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?
Bluman,
Chapter 4
Counting Rules
■ Factorial is the product of all the
positive numbers from 1 to a number.
Bluman,
Chapter 4
Counting Rules
■Combinationis a grouping of objects.
Order does not matter.
Bluman,
Chapter 4
Example: Business Location
Suppose a business owner has a choice of 5 locations in
which to establish her business. She decides to rank each
location according to certain criteria, such as price of the
store and parking facilities. How many different ways can
she rank the 5 locations?
Using factorials, 5! =
1 2 0
U s in. g permutations,
5 5
P Bluman, =
Chapter 4
Example : Business Location
Suppose the business owner in the previous example
wishes to rank only the top 3 of the 5 locations. How
many different ways can she rank them?
If she selects 1 of them for the opening of the show, 1 for the middle
of the show, and 1 for the ending of the show, how many possible
ways can this be accomplished?
Bluman,
Chapter 4
Example : School Musical Plays
A school musical director can select 2 musical plays to
present next year. One will be presented in the fall, and one
will be presented in the spring. If she has 9 to pick from,
how many different possibilities are there?
Bluman,
Chapter 4
Example : Book Reviews
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?
Bluman,
Chapter 4
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?
Bluman,
Chapter 4
Probability and Counting Rules
The counting rules can be combined with the
probability rules in this chapter to solve many types
of probability problems.
Section 4-5
Example 4-52
Page #246
Bluman,
Chapter 4
Example 4-52: Magazines
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.
Bluman,
Chapter 4
Example : Combination Lock
A combination lock consists of the 26 letters of the alphabet. If a
3-letter combination is needed, find the probability that the
combination will consist of the letters ABC in that order. The
same letter can be used more than once. (Note: A combination
lock is really a
permutation lock.)
Bluman,
Chapter 4
EXAMPLE
How many different 3 - digit identification tags can
be made if the digits can be used more than once?
If the
first digit must be a 5 and repetitions are not
permitted?
If digits can be used more than
once: Since there are three
spaces to fill and 10 choices for
each space, the solution is:
How many different 3 - digit identification tags can
be made if the digits can be used more than once?
If the
first digit must be a 5 and repetitions are not
permitted?
If the first digit must be a 5
and repetitions are not
permitted: There is only one
way to assign the first digit, 9
ways to assign the second, and
8 ways to assign the third:
EXAMPLE
How many different ID cards can be made if there
are 6 digits on a card and no digit can be used
more than once?
Since order is important, the solution is:
EXAMPLE
How many ways can a committee of 4
people be selected from a group of 10
people?
Since order is not important, the solution is:
EXAMPLE
How many ways can a foursome of 2 men and 2
women be selected from 10 men and 12 women in a
golf club?
EXAMPLE
In a company there are 7 executives: 4 women
and 3 men. Three are selected to attend a
management seminar. Find these
probabilities.
a. All 3 selected will be women.
b. All 3 selected will be men.
c. 2 men and 1 woman will be selected.
d. 1 man and 2 women will be selected.
In a company there are 7 executives: 4 women
and 3 men. Three are selected to attend a
management seminar. Find these
probabilities.
a. All 3 selected will be
women.
In a company there are 7 executives: 4 women
and 3 men. Three are selected to attend a
management seminar. Find these
probabilities.
b. All 3 selected will be
men.
In a company there are 7 executives: 4 women
and 3 men. Three are selected to attend a
management seminar. Find these
probabilities.
c. 2 men and 1 woman will be
selected.
In a company there are 7 executives: 4 women
and 3 men. Three are selected to attend a
management seminar. Find these
probabilities.
d. 1 man and 2 women will be
selected.
EXAMPLE
A committee of 4 people is to be formed from 6
doctors and 8 dentists. Find the probability that the
committee will consist of:
a. All dentists.
b. 2 dentists and 2 doctors.
c. All doctors.
d. 3 doctors and 1 dentist.
e. 1 doctor and 3 dentists.
A committee of 4 people is to be formed from 6
doctors and 8 dentists. Find the probability that the
committee will consist of:
a. All
dentists.
A committee of 4 people is to be formed from 6
doctors and 8 dentists. Find the probability that the
committee will consist of:
b. 2 dentists and 2
doctors.
A committee of 4 people is to be formed from 6
doctors and 8 dentists. Find the probability that the
committee will consist of:
c. All
doctors.
A committee of 4 people is to be formed from 6
doctors and 8 dentists. Find the probability that the
committee will consist of:
d. 3 doctors and 1
dentist.
A committee of 4 people is to be formed from 6
doctors and 8 dentists. Find the probability that the
committee will consist of:
e. 1 doctor and 3
dentists.
EXAMPLE
A drawer contains 11 identical red socks and 8
identical black socks. Suppose that you
choose 2 socks at random in the dark.
a. What is the probability that
you get a pair of red socks?
b. What is the probability that
you get a pair of black
socks?
c. What is the probability
that you get 2 unmatched
socks?
d. Where did the other red
sock go?
A drawer contains 11 identical red socks and 8
identical black socks. Suppose that you choose
2 socks at random in the dark.
a. What is the probability that
you get a pair of red socks?
A drawer contains 11 identical red socks and 8
identical black socks. Suppose that you choose
2 socks at random in the dark.
b. What is the probability that
you get a pair of black
socks?
A drawer contains 11 identical red socks and 8
identical black socks. Suppose that you choose
2 socks at random in the dark.
c. What is the probability
that you get 2 unmatched
socks?
A drawer contains 11 identical red socks and 8
identical black socks. Suppose that you choose
2 socks at random in the dark.
d. Where did the other red sock go?