组合数学 (Fall 2024)/Problem Set 2: Difference between revisions
Line 46: | Line 46: | ||
^b → \{0, 1\}</math> of the joint input <math>(\mathbf{x}, \mathbf{y})</math>. The players | ^b → \{0, 1\}</math> of the joint input <math>(\mathbf{x}, \mathbf{y})</math>. The players | ||
communicate as follows: Alice sends a message <math>\mathbf{z}</math> to Bob as a function of <math>\mathbf{x}</math> only (she | communicate as follows: Alice sends a message <math>\mathbf{z}</math> to Bob as a function of <math>\mathbf{x}</math> only (she | ||
doesn't know Bob's input <math>\mathbf{y}</math>), and Bob has to decide the function <math>f</math> knowing only <math>\mathbf{z}</math> and | |||
<math>\mathbf{y}</math> (he doesn't know Alice's input <math>x</math>). The one-way communication complexity of <math>f</math> is the smallest number of bits communicated (in the worst case over <math>(\mathbf{x}, \mathbf{y})</math>) of any protocol that | <math>\mathbf{y}</math> (he doesn't know Alice's input <math>x</math>). The one-way communication complexity of <math>f</math> is the smallest number of bits communicated (in the worst case over <math>(\mathbf{x}, \mathbf{y})</math>) of any protocol that | ||
computes <math>f</math>. | computes <math>f</math>. |
Latest revision as of 02:38, 10 April 2024
Problem 1
Count the number of lattice paths from [math]\displaystyle{ (0, 0) }[/math] to [math]\displaystyle{ (n, n) }[/math] with steps up and to the right, when two paths are considered equal if one can be moved on top of the other by a rotation or reflection. For example:
(Hint: Represent a path as a sequence of [math]\displaystyle{ 0 }[/math]s and [math]\displaystyle{ 1 }[/math]s and determine the group that acts on these sequences.)
Problem 2
Suppose we are given [math]\displaystyle{ m }[/math] [math]\displaystyle{ n }[/math]-sets whose elements are colored with two colors. Two colorings are equal if they arise from each other by a permutation of the [math]\displaystyle{ m }[/math] sets followed by permutations of the individual sets. Determine the number of different colorings using Pólya's enumeration formula. (The answer should be easily verifiable through combinatorial arguments if you get it right!)
Problem 3
Prove the following claims related to Cayley's formula:
- The number of rooted labelled forests with [math]\displaystyle{ n }[/math] vertices is given by [math]\displaystyle{ (n+1)^{n-1} }[/math].
- The number of unrooted labelled forests with [math]\displaystyle{ n }[/math] vertices and [math]\displaystyle{ k }[/math] connected components such that [math]\displaystyle{ 1,\dots,k }[/math] belong to distinct components is given by [math]\displaystyle{ kn^{n-k-1} }[/math].
- The number of unrooted labelled trees with [math]\displaystyle{ n }[/math] vertices of degrees [math]\displaystyle{ d_1,d_2,\dots,d_n }[/math] respectively is given by [math]\displaystyle{ \binom{n-2}{d_1-1,d_2-1,\dots,d_n-1}=\frac{(n-2)!}{(d_1-1)!(d_2-1)!\cdots(d_n-1)!} }[/math].
Problem 4
There are [math]\displaystyle{ n }[/math] parking spaces [math]\displaystyle{ 1, 2,...,n }[/math] available for [math]\displaystyle{ n }[/math] drivers. Each driver has a favorite space, driver [math]\displaystyle{ i }[/math] space [math]\displaystyle{ f (i) }[/math], [math]\displaystyle{ 1 ≤ f (i) ≤ n }[/math]. The drivers arrive one by one. When driver [math]\displaystyle{ i }[/math] arrives he tries to park his car in space [math]\displaystyle{ f (i) }[/math]. If it is taken he moves down the line to take the first free space greater than [math]\displaystyle{ f (i) }[/math], if any. Example: [math]\displaystyle{ n = 4, f = 3221 }[/math]; then driver [math]\displaystyle{ 1 → 3, 2 → 2, 3 → 4, 4 → 1 }[/math], but for [math]\displaystyle{ f = 2332 }[/math] we have [math]\displaystyle{ 1 → 2, 2 → 3, 3 → 4, 2 →? }[/math]. Let [math]\displaystyle{ p(n) }[/math] be the number of sequences [math]\displaystyle{ f }[/math] that allow each driver to park his car; [math]\displaystyle{ f }[/math] is then called a parking sequence. Prove:
- [math]\displaystyle{ f }[/math] is a parking sequence if and only if [math]\displaystyle{ \#\{i : f (i) ≤ k\} ≥ k }[/math].
- [math]\displaystyle{ p(n) = (n + 1)^{n−1} }[/math]. This looks like the number of rooted labelled forests with [math]\displaystyle{ n }[/math] vertices. Can you find a bijection?
Problem 5
Let's dive into the world of (one-way) communication complexity. Alice has an input [math]\displaystyle{ \mathbf{x} ∈ \{0, 1\} ^a }[/math] , Bob has an input [math]\displaystyle{ \mathbf{y} ∈ \{0, 1\} ^b }[/math] , and the goal is to compute a Boolean function [math]\displaystyle{ f : \{0, 1\} ^a × \{0, 1\} ^b → \{0, 1\} }[/math] of the joint input [math]\displaystyle{ (\mathbf{x}, \mathbf{y}) }[/math]. The players communicate as follows: Alice sends a message [math]\displaystyle{ \mathbf{z} }[/math] to Bob as a function of [math]\displaystyle{ \mathbf{x} }[/math] only (she doesn't know Bob's input [math]\displaystyle{ \mathbf{y} }[/math]), and Bob has to decide the function [math]\displaystyle{ f }[/math] knowing only [math]\displaystyle{ \mathbf{z} }[/math] and [math]\displaystyle{ \mathbf{y} }[/math] (he doesn't know Alice's input [math]\displaystyle{ x }[/math]). The one-way communication complexity of [math]\displaystyle{ f }[/math] is the smallest number of bits communicated (in the worst case over [math]\displaystyle{ (\mathbf{x}, \mathbf{y}) }[/math]) of any protocol that computes [math]\displaystyle{ f }[/math].
We consider the (one-way) communication complexity of a problem called [math]\displaystyle{ \mathrm{INDEX} }[/math]. In an instance of [math]\displaystyle{ \mathrm{INDEX} }[/math], Alice gets an [math]\displaystyle{ n }[/math]-bit string [math]\displaystyle{ \mathbf{x} ∈ \{0, 1\} ^n }[/math] and Bob gets an integer [math]\displaystyle{ i ∈ \{1, 2, . . . , n\} }[/math], encoded in binary using [math]\displaystyle{ ≈ \log_2n }[/math] bits. The goal is simply to compute [math]\displaystyle{ x_i }[/math], the [math]\displaystyle{ i }[/math]th bit of Alice's input.
- Show that the deterministic (one-way) communication complexity of [math]\displaystyle{ \mathrm{INDEX} }[/math] is [math]\displaystyle{ \Omega(n) }[/math]. (For a deterministic communication protocol, the protocol is considered to solve [math]\displaystyle{ \mathrm{INDEX} }[/math] if Bob always outputs the correct answer in the worst case over [math]\displaystyle{ (\mathbf{x}, \mathbf{y}) }[/math] );
- Show that the randomized (one-way) communication complexity of [math]\displaystyle{ \mathrm{INDEX} }[/math] is [math]\displaystyle{ \Omega(n) }[/math]. (In a randomized communication protocol, Alice and Bob have access to public random bits: a deity writes an infinite sequence of perfectly random bits on a blackboard visible to both Alice and Bob. Alice and Bob can freely use as many of these random bits as they want — it doesn't contribute to the communication cost of the protocol. The protocol is considered to solve [math]\displaystyle{ \mathrm{INDEX} }[/math] if Bob outputs the correct answer with probability at least [math]\displaystyle{ 2/3 }[/math] in the worst case over [math]\displaystyle{ (\mathbf{x}, \mathbf{y}) }[/math] ).
(Hint: We need to formalize the intuition that Bob typically (over [math]\displaystyle{ \mathbf{x} }[/math]) doesn't learn very much about [math]\displaystyle{ \mathbf{x} }[/math], and hence typically (over [math]\displaystyle{ i }[/math]) doesn't know what [math]\displaystyle{ x_i }[/math] is. Try some counting arguments.)