Stat Fundamentals Counting Principles
Stat Fundamentals Counting Principles
principles of
counting
ENGR. EDMAR B. ALONZO
First Semester AY 2016-2017
Fundamental principles of
counting
Tree Diagram
Multiplicative Rule
Additive Rule
Permutations
Combinations
counting
Example:
What is the number of bit strings of
length 4 that do not have two consecutive
Tree diagrams
Example:
What is the number of bit strings of
length 4 that do not have two consecutive
ones.
Empty string
1 0
Tree diagrams
1. How many bit strings of length four do not have two
consecutive 1s?
A better solution?
For each letter there are 50 numbers
So the number of seats is 26*50 = 1300
MULTIPLICATIVE rule
Example:
Number of available phone numbers
with 7 digits in the local calling area.
N = 107
= 10000000
Example:
You need to travel in between city A and B. You
can either fly, take a train, or a bus. There are 12
different flights in between A and B, 5 different
trains and 10 buses. How many options do you
have to get from A to B?
We can take only one type of transportation and
ADDITIVE rule
n = n1 + n2 + ...+ nk
ADDITIVE rule
1. Suppose that either a member of the
mathematics faculty or a student who is a
mathematics major is chosen as a
representative to a university committee. How
many different choices are there for this
representative if there are 37 members of the
mathematics faculty and 83 mathematics
majors and no one is both a faculty member
and a student?
2. A student can choose a computer project from
one of three lists. The three lists contain 23,
15, and 19 possible projects, respectively. No
INCLUSION-EXCLUSION
PRINCIPLE
Used in counts where the decomposition yields
two dependent count tasks with overlapping
elements
If we used the sum rule some elements would be
counted twice
Inclusion-exclusion principle: uses a sum rule and
then corrects for the overlapping elements.