Quiz-3 (3)
Quiz-3 (3)
Submit a single scanned pdf file of your handwritten work to Moodle. If you take images
of your work, convert it into a single pdf using the print-to-pdf function.
n
(1) Combinatorics on binomial coefficients: remember that is the number of subsets we can
k
form by choosing k elements from {1, 2, . . . , n}.
(8 marks total) Prove that the alternating sum of binomial coefficients is 0:
n
k n n n n n n
X
(−1) = − + − · · · + (−1) =0
k 0 1 2 n
k=0
even: Ø, {1, 2}, {1, 3}, {1, 4}, {2, 3}, {2, 4}, {3, 4}, {1, 2, 3, 4};
odd: {1}, {2}, {3}, {4}, {1, 2, 3}, {1, 2, 4}, {1, 3, 4}, {2, 3, 4}.
What pattern can you observe? Try to generalize this pattern to arbitrary even n.
(b) (3 marks) Use inclusion-exclusion principle on n sets
and just take the same set A1 = A2 = · · · = An , which are all singleton.
(2) (6 marks total) Determine whether each of the following relations is reflexive, symmetric, and
transitive respectively. If the relation satisfies all these properties, express (in the simplest form
as possible) the equivalence classes by choosing class representatives.
(b) (3 marks) A is the set of all cities in the world, and R consists of (a, b) ∈ A × A where there
is a direct flight from a to b.
(3) (9 marks total) Imagine a bracelet having four beads of different colors A,B,C,D. Let S be the
set
S = {permutations of A,B,C,D around the bracelet.}
Define a relation R on S such that
and
reflexion along
A B the diagonal A C rotation by 180◦ D B
a= −−−−−−−−−−→ −−−−−−−−−−→ =b
C D B D C A
are two allowable sequences. Notice that doing nothing on a bracelet (no rotation or reflection
whatsoever) is also regarded as an allowable sequence, known as the identity sequence.
(5 marks) Show that R is an equivalence relation.
(4 marks) List all equivalence classes in S with respect to R.
(Hint: there are 3 of them, all of them having the same cardinality.)
(4) (13 marks total) Answer the following questions for the poset (S, R), where
S = {2, 4, 6, 9, 12, 18, 27, 36, 48, 60, 72} and R = | (divides).
(3 marks) First show that R is a partial order, i.e., show that it is reflexive, anti-symmetric, and
transitive.
(10 marks, 1 mark each) Answer the following questions. For (a)-(h), it is fine to just give answers.
For (i), provide a simple reason.
(10 marks total) Answer the following questions. For (a)-(b), it is fine to just give answers. For
(c)-(g), provide also simple reasons.
(6) (4 marks) Suppose that a connected planar graph has 10 vertices, each of degree 5. Into how
many regions is the plane divided by a planar representation of this graph?