Chapter 6 - Discrete Math
Chapter 6 - Discrete Math
Chapter 6
© 2019 McGraw-Hill Education. All rights reserved. Authorized only for instructor use in the classroom. No reproduction or further distribution permitted without the prior written consent of McGraw-Hill Education.
Chapter Summary
The Basics of Counting
The Pigeonhole Principle
Permutations and Combinations
Binomial Coefficients and Identities
Generalized Permutations and Combinations
Generating Permutations and Combinations (not yet
included in overheads)
Example: How many ways are there to seat four people around a circular table, where
two seatings are considered the same when each person has the same left and right
neighbor?
Solution: Number the seats around the table from 1 to 4 proceeding clockwise. There
are four ways to select the person for seat 1, 3 for seat 2, 2, for seat 3, and one way for
seat 4. Thus there are 4! = 24 ways to order the four people. But since two seatings are
the same when each person has the same left and right neighbor, for every choice for
seat 1, we get the same seating.
Therefore, by the division rule, there are 24/4 = 6 different seating arrangements.
where the inequality ⌈N/k⌉ < ⌈N/k⌉ + 1 has been used. This is a
contradiction because there are a total of n objects.
Example: Among 100 people there are at least
⌈100/12⌉ = 9 who were born in the same month.
© 2019 McGraw-Hill Education
The Generalized Pigeonhole Principle 2
Permutations
Combinations
Combinatorial Proofs
solutions.
© 2019 McGraw-Hill Education
Combinations with
Repetition5
r-permutations No
r-combinations No
r-permutations Yes
r-combinations Yes
There are 6 gaps, 3 for letters and 3 for digits. There is a curly
bracket under the gaps for letters showing that there are 26
choices for each letter. Also, there is a curly bracket under the
gaps for digits showing that there are 10 choices for each digit.
There are three lines of 8 gaps each. In the first line, the first gap
is 1, and there is a curly bracket under other gaps showing that
there are 2 to the seventh power equal to 128 ways to place 0
and 1 on the remaining 7 gaps. The two last gaps of the second
line are 0, and there is a curly bracket under other gaps showing
that there are 2 to the sixth power equal to 64 ways to place 0
and 1 on the remaining 6 gaps. The first gap of the third line is 1,
two last gaps are 0. Also, there is a curly bracket under other
gaps showing that there are 2 to the fifth power equal to 32
ways to place 0 and 1 on the remaining 5 gaps.
The tree has a root on a basic level. The root has five branches to
the vertices that labeled as S, M, L, X L, and X X L. Each of
vertices S, M, and L has four branches to the vertices labeled W,
R, G, and B. Vertex X L has three branches to vertices labeled R,
G, and B. Vertex X X L has two branches to vertices labeled G and
B.