Probability and Statistics (IT302) 4 August 2020 (10:30AM-11:00AM) Class
Probability and Statistics (IT302) 4 August 2020 (10:30AM-11:00AM) Class
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Multiplication Rule
Example 2.13: How many sample points are there in the sample
space when a pair of dice is thrown once?
Solution: The first die can land face-up in any one of n1 = 6 ways.
For each of these 6 ways, the second die can also land face-up in
n2=6 ways. Therefore, the pair of dice can land in n1n2 = (6)(6) = 36
possible ways.
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Multiplication Rule Contd.
Example 2.14: A developer of a new
subdivision offers prospective home buyers
a choice of Tudor, Rustic, Colonial, and
Traditional exterior styling in Ranch,
Two-story, and Split-level floor plans. In
how many different ways can a buyer order
one of these homes?
Solution: For the chair position, there are 22 total possibilities. For each
of those 22 possibilities, there are 21 possibilities to elect the treasurer.
Using the Multiplication Rule, we obtain n1×n2 = 22×21 = 462 different
ways.
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Multiplication Rule Contd.
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Multiplication Rule Contd.
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Multiplication Rule Contd.
Example 2.17: How many even four-digit numbers can be formed from
the digits 0, 1, 2, 5, 6, and 9 if each digit can be used only once?
Solution: Since the number must be even, we have only n1=3 choices for
the units position. However, for a four-digit number the thousands
position cannot be 0. Hence, we consider the units position in two parts,
0 or not 0. If the units position is 0 (i.e., n1=1), we have n2=5 choices for
the thousands position, n3=4 for the hundreds position, and n4=3 for the
tens position. Therefore, in this case we have a total of 60 even four-digit
numbers.
n1n2n3n4 = (1)(5)(4)(3) = 60
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Multiplication Rule Contd.
Example 2.17 Contd.: On the other hand, if the units position is not 0
(i.e., n1=2), we have n2=4 choices for the thousands position, n3=4 for the
hundreds position, and n4=3 for the tens position. In this situation, there
are a total of 96
n1n2n3n4 = (2)(4)(4)(3) = 96
Since the two cases are mutually exclusive, the total number of even
four-digit numbers can be calculated as 60 + 96 = 156.
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Permutation
A permutation is an arrangement of all or part of a set of objects.
Consider the three letters a, b, and c. The possible permutations are abc,
acb, bac, bca, cab, and cba. Thus, there are 6 distinct arrangements.
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Permutation Contd.
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Theorem 2.4
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Example 2.20
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Often we are concerned with the number of ways of partitioning a set of n
objects into r subsets called cells.
Consider the set {a, e, i, o, u}. The possible partitions into two cells in
which the first cell contains 4 elements and the second cell 1 element
are {(a, e, i, o), (u)}, {(a, i, o, u), (e)}, {(e, i, o, u), (a)}, {(a, e, o, u), (i)},
{(a, e, i, u), (o)}.
There are 5 ways to partition a set of 4 elements into two subsets, or cells,
containing 4 elements in the first cell and 1 element in the second.
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Theorem 2.5
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Example 2.21
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Theorem 2.6
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Exercises
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Exercises
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Exercises
Answer: Since the die can land in n1 = 6 ways and a letter can be selected
in n2 = 26 ways, the multiplication rule gives n1n2 = (6)(26) = 156 points in
S.
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Exercises
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Exercises
Answer: With n1=5 different shoe styles in n2=4 different colors, the
multiplication rule gives n1n2=(5)(4)=20 different pairs of shoes.
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Exercises
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Exercises
Question 2.29 In a fuel economy study, each of 3 race cars is tested using
5 different brands of gasoline at 7 test sites located in different regions of
the country. If 2 drivers are used in the study, and test runs are made once
under each distinct set of conditions, how many test runs are needed?
Answer: With n1=3 race cars, n2=5 brands of gasoline, n3=7 test sites, and
n4=2 drivers, the generalized multiplication rule yields (3)(5)(7)(2)=210
test runs.
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Exercises
Answer: With n1=2 choices for the first question, n2=2 choices for the
second question, and so forth, the generalized multiplication rule yields
n1n2 ··· n9 = 29 = 512 ways to answer the test.
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Exercises
Question 2.33 If a multiple-choice test consists of 5 questions,
each with 4 possible answers of which only 1 is correct,
(a) in how many different ways can a student check off one answer to
each question?
Answer: With n1=4 possible answers for the first question, n2=4 possible
answers for the second question, and so forth, the generalized
multiplication rule yields 45 = 1024 ways to answer the test.
(b) in how many ways can a student check off one answer to each
question and get all the answers wrong?
Answer: With n1=3 wrong answers for the first question, n2=3 wrong
answers for the second question, and so forth, the generalized
multiplication rule yields n1n2n3n4n5 = (3)(3)(3)(3)(3) = 35 = 243 ways to
answer the test and get all questions wrong.
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Exercises
Answer: The first house can be placed on any of the n1=9 lots, the
second house on any of the remaining n2=8 lots, and so forth.
Therefore, there are 9! = 362,880 ways to place the 9 homes on the 9
lots
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Exercises
Question 2.3: In how many ways can 4 boys and 5 girls sit in a row if
the boys and girls must alternate?
Answer: The first seat must be filled by any of 5 girls and the second seat
by any of 4 boys. Continuing
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Exercises
Question 2.38 Four married couples have bought 8 seats in the same
row for a concert. In how many different ways can they be seated
(a) with no restrictions?
Answer: 8! = 40320.
(b) if each couple is to sit together?
Answer: There are 4! ways to seat 4 couples and then each
member of a couple can be interchanged resulting in
24(4!) = 384 ways.
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall
Exercises
Source : Probability & Statistics for Engineers & Scientists, by Ronald E. Walpole, Raymond H. Myers, Sharon L. Myers, Keying Ye, 9th
Edition, Prentice Hall