Discrete Mathematics · free preview

Chapter 6 Problem Set. Discrete Structures Revisited

Problem set for this chapter. Discrete Structures Revisited.

1. How this assessment works

This lesson is a curated assessment adapted from MIT OpenCourseWare 6.042J Mathematics for Computer Science (Spring 2015) (https://ocw.mit.edu/courses/6-042j-mathematics-for-computer-science-spring-2015/), used under CC BY-NC-SA 4.0. Work through the 10 problems in order, for each problem, type your reasoning in the answer box or write it on the handwriting pad, then submit it for AI grading.

How the grading works Every problem is graded by an AI mathematics teacher that reads the official solution shipped with the course. It checks your work criterion by criterion, awards partial credit for correct steps, and returns written feedback. Equivalent mathematics and valid alternative methods are accepted, a different route to the same result can still earn full marks.

If your answer is incomplete, the feedback names exactly which steps are missing, so you can correct them and try again.

2. Problem 1, No surjection onto power set for infinite sets

If a set AA is finite, then ∣A∣<2∣A∣=∣P(A)∣|A| < 2^{|A|} = |\mathcal{P}(A)|, and so there is no surjection from set AA to its powerset. Show that this is still true if AA is infinite. Hint: Remember Russell's paradox and consider {x∈A∣x∉f(x)}\{x \in A \mid x \notin f(x)\} where ff is such a surjection.

3. Problem 2, False theorem for products of unions of sets

(a) Give an example where the following result fails False Theorem. For sets A,B,C,A, B, C, and DD, let

L::=(A∪C)×(B∪D),L ::= (A \cup C) \times (B \cup D),
R::=(A×B)∪(C×D).R ::= (A \times B) \cup (C \times D).

Then L=RL = R. (b) Identify the mistake in the following proof of the False Theorem. Bogus proof. Since LL and RR are both sets of pairs, it's sufficient to prove that (x,y)∈L↔(x,y)∈R(x, y) \in L \leftrightarrow (x, y) \in R for all x,yx, y. The proof will be a chain of iff implications

(x,y)∈Liffx∈A∪C and y∈B∪D,iffeither x∈A or x∈C, and either y∈B or y∈D,iff(x∈A and y∈B) or else (x∈C and y∈D),iff(x,y)∈A×B, or (x,y)∈C×D,iff(x,y)∈(A×B)∪(C×D)=R.\begin{array}{lcl} (x, y) \in L & \text{iff} & \\ x \in A \cup C \text{ and } y \in B \cup D, & \text{iff} & \\ \text{either } x \in A \text{ or } x \in C, \text{ and either } y \in B \text{ or } y \in D, & \text{iff} & \\ (x \in A \text{ and } y \in B) \text{ or else } (x \in C \text{ and } y \in D), & \text{iff} & \\ (x, y) \in A \times B, \text{ or } (x, y) \in C \times D, & \text{iff} & \\ (x, y) \in (A \times B) \cup (C \times D) = R. && \end{array}

(c) Fix the proof to show that R⊆LR \subseteq L.

4. Problem 3, Independence of events and indicators

Let AA, BB, CC be events, and let IAI_A, IBI_B, ICI_C be the corresponding indicator variables. Prove that AA, BB, CC are mutually independent iff the random variables IAI_A, IBI_B, ICI_C are mutually independent.

5. Problem 4, Maximum chain in power set

We partially order the power set, P({1,2,…,n})\mathcal{P}(\{1,2,\dots,n\}), by the subset relation, ⊆\subseteq. Describe a maximum length chain in P({1,2,…,n})\mathcal{P}(\{1,2,\dots,n\}). Briefly explain why there can't be a longer chain than the one you described.

6. Problem 5, Composition of bijections and inverse bijection

For functions f:A→Bf : A \to B and g:B→Cg : B \to C, the composition of gg and ff, written g∘fg \circ f, is the function h:A→Ch : A \to C where

h(a)::=g(f(a)).h(a) ::= g(f(a)).

(a) Prove that if ff and gg are bijections, then so is g∘fg \circ f.

(b) Prove that if f:A→Bf : A \to B is a bijection, then there is a bijection, e:B→Ae : B \to A such that e∘f=IAe \circ f = I_A, where IA:A→AI_A : A \to A and IA(a)::=aI_A(a) ::= a for all a∈Aa \in A.

(c) Prove that graph isomorphism is an equivalence.

7. Problem 6, Planar graph degree bound and 6-coloring

(a) Show that every planar graph has a node of degree at most 5. Hint. Use the 3v−63v - 6 inequality.

(b) Conclude that any planar graph can be colored with six colors.

8. Problem 7, Bijection between nonadjacent book selections and bit sequences

There are 20 books arranged in a row on a shelf. Describe a bijection between ways of choosing 6 of these books so that no two adjacent books are selected and 15-bit sequences with exactly 6 ones.

9. Problem 8, Avoiding work days by inclusion-exclusion

The working days in the next year can be numbered 1,2,3,…,3001, 2, 3, \ldots, 300. I'd like to avoid as many as possible.

• On even-numbered days, I'll say I'm sick.

• On days that are a multiple of 3, I'll say I was stuck in traffic.

• On days that are a multiple of 5, I'll refuse to come out from under the blankets.

In total, how many work days will I avoid in the coming year?

10. Problem 9, Size of a fixed-point set S_i

A derangement is a permutation (x1,x2,…,xn)(x_1, x_2, \ldots, x_n) of the set {1,2,…,n}\{1, 2, \ldots, n\} such that xi≠ix_i \neq i for all ii. Let SiS_i be the set of all permutations (x1,x2,…,xn)(x_1, x_2, \ldots, x_n) that are not derangements because xi=ix_i = i. What is ∣Si∣|S_i|?

11. Problem 10, Size of intersection of two fixed-point sets

What is ∣Si∩Sj∣|S_i \cap S_j| where i≠ji \neq j?

Practice this interactively

Free account · instant grading · spaced review that schedules itself.

Start this course for free