Skip to main content

Section 7.6 Exercises

  1. The matching polynomial of a graph \(G\) is defined to be
    \begin{equation*} M_G(\lambda) = \sum_{M\in\mathcal{M}(G)}\lambda^{|M|} \end{equation*}
    where \(\mathcal{M}(G)\) is the set of all matchings of \(G\text{.}\)
    1. For \(0\leq j\leq d\text{,}\) determine the number of matchings of size \(j\) in \(K_{d,d}\text{.}\) Hence write down \(M_{K_{d,d}}(\lambda)\text{.}\)
    2. Let \(X\) be a random matching of \(G\) chosen according to the distribution
      \begin{equation*} \mathbb{P}(X=M) = \frac{\lambda^{|M|}}{M_G(\lambda)}. \end{equation*}
      Prove that
      \begin{equation*} \mathbb{E}|X| = \lambda \cdot \frac{\text{d}}{\text{d}\lambda}\ln(M_G(\lambda)). \end{equation*}
  2. Let \(k\geq2\) and let \(\mathcal{F}\subseteq \binom{[n]}{k}\) be nonempty. Let \(\partial\mathcal{F}\) denote the lower shadow of \(\mathcal{F}\text{.}\) Choose a random ordered \(k\)-tuple
    \begin{equation*} (X_1,\ldots,X_k) \end{equation*}
    uniformly from all \(k!|\mathcal{F}|\) orderings of the sets in \(\mathcal{F}\text{.}\)
    1. Show that
      \begin{equation*} H(X_1,\ldots,X_k)=\log_2(k!|\mathcal{F}|). \end{equation*}
    2. For each \(i\in[k]\text{,}\) show that
      \begin{equation*} H(X_1,\ldots,X_{i-1},X_{i+1},\ldots,X_k)\leq \log_2((k-1)!|\partial\mathcal{F}|). \end{equation*}
    3. Use Han’s Inequality to prove that
      \begin{equation*} \log_2(k!|\mathcal{F}|)\leq \frac{k}{k-1}\log_2((k-1)!|\partial\mathcal{F}|). \end{equation*}
    4. Deduce that if
      \begin{equation*} |\mathcal{F}|\geq \frac{t^k}{k!}, \end{equation*}
      then
      \begin{equation*} |\partial\mathcal{F}|\geq \frac{t^{k-1}}{(k-1)!}. \end{equation*}
  3. Let \(X\) be a random variable with range \(\mathbb{N}\) such that, for all \(n\geq1\text{,}\)
    \begin{equation*} \mathbb{P}(X=n)=\frac{1}{2^n}\text{.} \end{equation*}
    Determine the entropy of \(X\text{.}\)
  4. Let \(k_1,\dots,k_n\) be integers such that
    \begin{equation*} \sum_{i=1}^n\left(\frac{1}{2}\right)^{k_i} = 1\text{.} \end{equation*}
    For \(1\leq i\leq n\text{,}\) let \(s_i\in \{0,1\}^{k_i}\text{.}\) Suppose that \(X\) is a random variable such that \(\mathbb{P}(X=i) = (1/2)^{k_i}\text{.}\) That is, \(s_i\) is a binary string of length \(k_i\text{.}\) Prove that the entropy of \(X\) is equal to the expected value of the length of \(s_X\text{.}\)
  5. Let \(X\) and \(X'\) be independent and identically distributed discrete random variables. Prove that \(\mathbb{P}(X=X')\geq 2^{-H(X)}\text{.}\)
  6. Let \(X,Y_1,Y_2\) and \(Z\) discrete random variables such that \(Y_1\) and \(Y_2\) are identically distributed. Prove that there exist random variables \(X',Y'\) and \(Z'\) such that all of the following hold simultaneously: (1) \((X',Y')\) has the same distribution as \((X,Y_1)\text{,}\) (2) \((Y',Z')\) has the same distribution as \((Y_2,Z)\) and (3) \(Z'\) is conditionally independentent of \(X'\) given \(Y'\text{.}\)
  7. The binary entropy function \(h:[0,1]\to \mathbb{R}\) is defined by
    \begin{equation*} h(p):=\begin{cases}-p\log_2(p)-(1-p)\log_2(1-p) \amp \text{ if } p\in (0,1),\\ 0\amp \text{ otherwise } . \end{cases} \end{equation*}
    1. Let \(\mathcal{F}\subseteq 2^{[n]}\) be a set system. For each \(i\in [n]\text{,}\) let
      \begin{equation*} p_i=\frac{\left|\{A\in\mathcal{F}: i\in A\}\right|}{|\mathcal{F}|}\text{.} \end{equation*}
      Prove that
      \begin{equation*} |\mathcal{F}|\leq 2^{\sum_{i=1}^nh(p_i)}\text{.} \end{equation*}
    2. Let \(n\) be an integer and \(0\leq p\leq 1/2\text{.}\) Prove that
      \begin{equation*} \sum_{i\leq np}\binom{n}{i}\leq 2^{nh(p)}\text{.} \end{equation*}
    3. The symmetric difference of two sets \(A\) and \(B\) is \(A\triangle B := (A\setminus B)\cup (B\setminus A)\text{.}\) For a set system \(\mathcal{A}\subseteq 2^{[n]}\text{,}\) define
      \begin{equation*} \text{ dist } (\mathcal{A}):=\frac{1}{|\mathcal{A}|^2}\sum_{A\in \mathcal{A}}\sum_{B\in \mathcal{A}}|A\triangle B|\text{.} \end{equation*}
      1. For each \(i\in [n]\text{,}\) let \(p_i:=|\{A\in \mathcal{A}: i\in A\}|/|\mathcal{A}|\text{.}\) Prove that \(\text{ dist } (\mathcal{A}) = \sum_{i\in [n]}2p_i(1-p_i)\text{.}\)
      2. Prove that \(2x(1-x)\geq -x\ln(x)-(1-x)\ln(1-x)+1/2-\ln(2)\) for all \(x\in (0,1)\text{.}\) (Your First Year Calculus should help you here).
      3. Prove that every \(\mathcal{A}\subseteq 2^{[n]}\) satisfies \(\text{ dist } (\mathcal{A})\geq \frac{n}{2}-\ln\left(2^n/|\mathcal{A}|\right)\text{.}\)
  8. Let the edges of a graph \(G\) be coloured red, blue and green. Let \(G_R\text{,}\) \(G_B\) and \(G_G\) be the spanning subgraphs consisting of the red, blue and green edges, respectively. Let \(T\) be the edge-coloured triangle on vertices \(1,2,3\) in which \(12\) is red, \(23\) is blue and \(31\) is green. Prove that
    \begin{equation*} t(T,G)^2 \leq t(K_2,G_R)t(K_2,G_B)t(K_2,G_G). \end{equation*}
    1. Let \((X_1,X_2,X_3)\) be a uniformly random homomorphism from \(T\) to \(G\text{.}\) Use Shearer’s Inequality to prove that
      \begin{equation*} H(X_1,X_2,X_3) \leq \frac{1}{2}\left( H(X_1,X_2)+H(X_2,X_3)+H(X_3,X_1) \right). \end{equation*}
    2. Use the fact that \((X_1,X_2)\) is always a red edge, \((X_2,X_3)\) is always a blue edge, and \((X_3,X_1)\) is always a green edge to prove the desired inequality.
  9. A family \(\mathcal{F}\subseteq 2^{[n]}\) is union-closed if, whenever \(A,B\in\mathcal{F}\text{,}\) we also have \(A\cup B\in\mathcal{F}\text{.}\) Our goal is to use a lemma about entropy (that we will not prove) to show that, for any union-closed family \(\mathcal{F}\neq\{\emptyset\}\text{,}\) there exists \(i\in [n]\) which is contained in a large number of sets of \(\mathcal{F}\text{.}\)
    1. Let \(h(p)\) be the binary entropy function defined as in Exercise 9 in this section. Let \(p\in (0,1)\) and suppose that \(A\) is a random subset of \([n]\) obtained by including each \(i\in [n]\) in \(A\) with probability \(p\) independently of one another. Determine \(H(A)\) in terms of \(h(p)\) and \(n\text{.}\)
    2. Suppose that \(A\) and \(B\) are two sets chosen independently of one another with the distribution described in question 11.a. Determine \(H(A\cap B)\) and \(H(A\cup B)\text{.}\)
    3. Consider the following facts about the binary entropy function: Fact 1: \(h(p)\) is increasing for \(0\leq p\leq 1/2\) and decreasing for \(1/2\leq p\leq 1\text{.}\) Fact 2: \(h(p)=h(q)\) if and only if \(p=q\) or \(p=1-q\text{.}\) Using these two facts and the previous parts of the question, show that, if \(p\in (0,1)\) and \(A\) and \(B\) are two sets chosen independently of one another with the distribution described in question 11.a, then
      \begin{equation*} H(A\cup B)\begin{cases}>H(A) \amp \text{ if } p\lt \frac{3-\sqrt{5}}{2}\\ =H(A) \amp \text{ if } p=\frac{3-\sqrt{5}}{2},\\ \lt H(A) \amp \text{ if } p>\frac{3-\sqrt{5}}{2}. \end{cases} \end{equation*}
    4. Consider the following lemma of [253]: Lemma: If \(p\lt \frac{3-\sqrt{5}}{2}\) and \(A\) and \(B\) are independently chosen according to some distribution on \(2^{[n]}\) such that \(\mathbb{P}(A=\emptyset)\neq 1\) and \(\mathbb{P}(i\in A)\leq p\) for all \(i\in [n]\text{,}\) then
      \begin{equation*} H(A\cup B)>H(A)\text{.} \end{equation*}
      Explain how the previous part of the question shows that this lemma is tight.
    5. Use the lemma in the previous part of the question to prove that every union-closed family \(\mathcal{F}\neq \{\emptyset\}\) there exists \(i\in [n]\) such that \(i\) is contained in at least \(\left(\frac{3-\sqrt{5}}{2}\right)|\mathcal{F}|\) elements of \(\mathcal{F}\text{.}\) Hint: Lemma 7.1.4 is useful.
  10. Our aim in this exercise is to derive Theorem 7.4.5 from Corollary 7.4.4. Let \(G\) be a graph and let \(A\) be its adjacency matrix.
    1. Let \(\mathcal{H}\) be the collection of all subgraphs of \(H\) of \(G\) such that \(V(H)=V(G)\) and \(H\) is a disjoint union of cycles and edges such that every vertex has degree at least one. For each \(H\in\mathcal{H}\text{,}\) let \(s(H)\) be the number of components of \(H\) with more than two vertices. Show that
      \begin{equation*} \per(A) =\sum_{H\in \mathcal{H}}2^{s(H)}\text{.} \end{equation*}
    2. Show that
      \begin{equation*} \permat(G)^2 = \sum_{\substack{H\in\mathcal{H}\\ H\text{ is bipartite } } }2^{s(H)}\text{.} \end{equation*}
  11. A Hamiltonian cycle in a graph \(G\) is a cycle in \(G\) which contains every vertex of \(G\text{.}\) Prove that, if \(G\) is a bipartite graph with bipartition \((A,B)\text{,}\) then the number of Hamiltonian cycles in \(G\) is at most
    \begin{equation*} \prod_{v\in A} (d(v)!)^{2/d(v)}\text{.} \end{equation*}
  12. Prove that the number of cycles in any graph \(G\) is at most
    \begin{equation*} \prod_{v\in V(G)}(d(v)+1)!^{1/(d(v)+1)}\text{.} \end{equation*}
    Hint: Consider the permanent of the matrix \(A+I\) where \(A\) is the adjacency matrix of \(G\) and \(I\) is the identity.
  13. Compute \(t(T,G)\) for any tree \(T\) on \(k\) vertices and any \(d\)-regular graph \(G\) on \(n\) vertices. Rewrite this as \(t(K_2,G)\) raised to some power.
  14. Let \(S_k\) be the \(k\)-vertex “star” graph \(K_{1,k-1}\text{.}\) Our goal is to prove the following theorem of Sidorenko: If \(H\) is a connected \(k\)-vertex graph, then \(\hom(H,G)\leq \hom(S_k,G)\) for every graph \(G\text{.}\)
    1. Show that, if \(H'\) is a subgraph of \(H\text{,}\) then \(\hom(H,G)\leq \hom(H',G)\text{.}\) Conclude that the theorem of Sidorenko is true if and only if it is true in the case that \(H\) is a tree.
    2. Let \(T\) be a tree, let \(f\) be a uniformly random homomorphism from \(T\) to \(G\) and let \(X_v=f(v)\) for all \(v\in V(T)\text{.}\) Let \(v,x\in V(T)\) and suppose that there is a neighbour \(y\) of \(x\) such that the following holds for every leaf \(u\) adjacent to \(v\text{:}\)
      \begin{equation*} H(X_u\mid X_v) \leq H(X_y\mid X_x). \end{equation*}
      Let \(T'\) be the tree obtained by taking all leaves that are adjacent to \(v\) and making them adjacent to \(x\) instead. Show that \(\hom(T,G)\leq \hom(T',G)\text{.}\)
    3. Prove the theorem. Hint: Show that if \(T\) is a tree that is not a star, then there exists a tree \(T'\) with more leaves than \(T\) such that \(\hom(T,G)\leq \hom(T',G)\text{.}\)
  15. Given a graph \(H\text{,}\) the \(2\)-blowup of \(H(2)\) of \(H\) is the graph with vertex set \(V(H)\times \{1,2\}\) where, for \(u,v\in V(H)\) and \(i,j\in \{1,2\}\text{,}\) the vertices \((u,i)\) and \((v,j)\) are adjacent if and only if \(uv\in E(H)\text{.}\) Using a similar argument to that in the proof of Theorem 7.5.1, prove that, if \(T\) is a tree, then
    \begin{equation*} t(T(2), G)\geq t(K_2,G)^{|E(T(2))|} \end{equation*}
    for every graph \(G\text{.}\) Hint: Use Theorems 4.2.7 and Theorem 7.5.1.
  16. Suppose that \(H\) and \(F\) are graphs such that
    \begin{equation} t(H,G)^{|E(F)|} \geq t(F,G)^{|E(H)|}\tag{7.6.1} \end{equation}
    for every graph \(G\text{.}\) Prove that
    \begin{equation*} \frac{|E(H)|}{|V(H)|}\geq \frac{|E(F)|}{|V(F)|}\text{.} \end{equation*}
    Hint: Apply (7.6.1) for an appropriately chosen graph \(G\text{.}\)
  17. Let \(F\) and \(H\) be graphs. Suppose that there exists \(\alpha>0\) such that the following holds for every graph \(G\text{:}\)
    \begin{equation*} t(H,G)\geq \frac{t(F,G)^\alpha}{1867}\text{.} \end{equation*}
    Prove that, in fact, the following stronger inequality must hold for every graph \(G\text{:}\)
    \begin{equation*} t(H,G)\geq t(F,G)^\alpha\text{.} \end{equation*}
    Hint: Suppose there is a graph \(G\) such that \(t(H,G)\lt t(F,G)^\alpha\text{.}\) Use the result of Exercise 13 from Section 4.7.
  18. Our goal is to give a proof of the following theorem of Conlon, Fox and Sudakov [58]: Theorem: If \(H\) is a bipartite graph with bipartition \((A,B)\) and there is a vertex \(x\in A\) such that \(N(x)=B\text{,}\) then, for every graph \(G\text{,}\)
    \begin{equation*} t(H,G)\geq t(K_2,G)^{|E(H)|}\text{.} \end{equation*}
    Let \(f_x:\{x\}\cup B\to V(G)\) be a random function sampled as follows:
    • \(f_x(x)\) is a random vertex of \(G\) chosen with probability proportional to its degree, as in the proof of Proposition 7.5.3.
    • for each \(u\in B\text{,}\) \(f_x(u)\) is a uniformly random neighbour of \(f_x(x)\text{.}\)
    Given \(z\in A\setminus\{x\}\text{,}\) let \(f_z:\{z\}\cup N(z)\to V(G)\) be a random function chosen in the following way. First, sample \(f_z:\{z\}\cup B\to V(G)\) according to the same distribution as \(f_x\text{,}\) but with \(z\) in the place of \(x\text{,}\) independently of \(f_x\text{.}\) While there exist \(y\in N(z)\) such that \(f_z(y)\neq f_x(y)\text{,}\) resample \(f_z\) in the same way. Once \(f_z(y)=f_x(y)\) for all \(y\in N(z)\text{,}\) stop and restrict the domain of the \(f_z\) to \(\{z\}\cup N(z)\text{.}\)
    1. For and \(z\in A\setminus\{x\}\text{,}\) vertex \(v\in V(G)\) and tuple \((u_y: y\in N(v))\in V(G)^{N(v)}\text{,}\) prove that
      \begin{equation*} \mathbb{P}(f_z(z)=v\mid f_z(y)=u_y\text{ for all } y\in N(z))=\mathbb{P}(f_x(x)=v\mid f_x(y)=u_y\text{ for all } y\in N(z))\text{.} \end{equation*}
    2. Let \(H'\) be a graph obtained from \(H\) by adding \(|E(H)|-|V(H)|\) isolated vertices. Find a distribution on the set of homomorphisms from \(H'\) to \(G\) with entropy at least \(|E(H)|\cdot \log(\hom(K_2,G))\text{.}\)
    3. Prove the theorem.
  19. A “generalized theta graph” is obtained by taking two “terminal” vertices \(s\) and \(t\) and adding paths between them. It is said to be “even” if all the paths have an even number of edges. Prove that if \(H\) is an even generalized theta graph, then, for any graph \(G\text{,}\)
    \begin{equation*} t(H,G)\geq t(K_2,G)^{|E(H)|}. \end{equation*}
  20. A digraph is a pair \((V,A)\) where \(V\) is a set of vertices and \(A\) is a set of ordered pairs of vertices called arcs. That is, \(A\subseteq V^2\text{.}\) The way that we depict a digraph is by drawing its vertices as points and drawing an arrow from vertex \(u\) to vertex \(v\) if \((u,v)\in A\text{.}\) A digraphHom from a digraph \(H\) to a digraph \(D\) is a mapping \(f:V(H)\to V(D)\) such that \((f(u),f(v))\in A(D)\) whenever \((u,v)\in A(H)\text{.}\) We define \(\Hom(H,D)\text{,}\) \(\hom(H,D)\) and \(t(H,D)\) analogously to the case of graphs. Let \(Vee\) and \(C_3\) be the digraphs depicted below.
    The goal of this problem is to show that every digraph \(D\) satisfies \(\hom(Vee,D)\geq \hom(C_3,D)\) and that this inequality is tight.
    1. For each \(n\geq1\text{,}\) let \(D_{n}\) be the digraph with vertex set \(V_1\cup V_2\cup V_3\) such that \(|V_i|=n\) for each \(1\leq i\leq 3\) and \((u,v)\in A(D_{n})\) if and only if \((u,v)\in V_1\times V_2\text{,}\) \((u,v)\in V_2\times V_3\) or \((u,v)\in V_3\times V_1\text{.}\) Prove that
      \begin{equation*} \hom(Vee,D_{n}) = \hom(C_3,D_{n}) = 3n^3\text{.} \end{equation*}
    2. Let \(D\) be any digraph such that \(\hom(C_3,D)\geq1\text{.}\) Let \(F\) be a uniformly random element of \(\Hom(C_3,D)\text{.}\) For \(i\in\{1,2,3\}\text{,}\) let \(X_i\) be the random variable \(F(v_i)\text{.}\) Using Lemma 7.1.9 and Lemma 7.1.11, prove that
      \begin{equation*} H(F) = H(X_1,X_2,X_3) \leq H(X_1)+2H(X_2\mid X_1)\text{.} \end{equation*}
    3. Let \(Y_1,Y_2,Y_3\) be random variables defined by setting
      \begin{equation*} \mathbb{P}(Y_1=v)=\mathbb{P}(X_1=v) \end{equation*}
      for each \(v\in V(D)\) and then, for each \(v,w\in V(D)^2\text{,}\) and \(i\in\{2,3\}\text{,}\) setting
      \begin{equation*} \mathbb{P}(Y_i=w\mid Y_1=v)=\mathbb{P}(X_2=w\mid X_1=v)\text{.} \end{equation*}
      Prove that
      \begin{equation*} H(Y_1,Y_2,Y_3)=H(X_1)+2H(X_2\mid X_1)\text{.} \end{equation*}
    4. Using the previous two parts of the question, along with the right properties of entropy, prove that
      \begin{equation*} \hom(Vee,D)\geq \hom(C_3,D) \end{equation*}
      for every digraph \(D\text{.}\) Conclude that \(t(Vee,D)\geq t(C_3,D)\) holds for every digraph as well.
  21. Let \(G\) be an \(n\)-vertex graph whose edges are coloured red and blue. Let \(P^A_3\) be the edge-coloured path \(v_0v_1v_2v_3\) in which \(v_0v_1\) and \(v_2v_3\) are red, while \(v_1v_2\) is blue. The goal of this exercise is to prove that
    \begin{equation*} t(P^A_3,G)\leq \frac{4}{27}. \end{equation*}
    Let \(H\) be the following edge-coloured forest. Start with the path \(v_0v_1v_2v_3\) coloured red-blue-red as above. Add two new red leaves and one new blue leaf adjacent to \(v_1\text{.}\) Add two new red leaves and one new blue leaf adjacent to \(v_2\text{.}\) Finally, add two isolated vertices.
    1. Prove that if \(x,y\geq 0\) and \(x+y\leq n\text{,}\) then
      \begin{equation*} x^2y\leq \frac{4}{27}n^3. \end{equation*}
    2. For a vertex \(u\in V(G)\text{,}\) let \(d_R(u)\) and \(d_B(u)\) be the number of red and blue edges incident to \(u\text{,}\) respectively. Prove that
      \begin{equation*} \hom(H,G) = \sum_{f\in\operatorname{Hom}(P^A_3,G)} n^2d_R(f(v_1))^2d_B(f(v_1))d_R(f(v_2))^2d_B(f(v_2)). \end{equation*}
    3. Use the previous two parts to prove that
      \begin{equation*} t(H,G)\leq \left(\frac{4}{27}\right)^2t(P^A_3,G). \end{equation*}
    4. Let \(f\) be a uniformly random element of \(\operatorname{Hom}(P^A_3,G)\text{,}\) and write \(X_i=f(v_i)\) for \(0\leq i\leq 3\text{.}\) Use entropy and conditional independence to construct a random homomorphism from \(H\) to \(G\) whose entropy is at least
      \begin{equation*} 3H(X_0,X_1,X_2,X_3). \end{equation*}
      Deduce that
      \begin{equation*} t(H,G)\geq t(P^A_3,G)^3. \end{equation*}
      Hint: Map each vertex of \(H\) to the vertex of \(P^A_3\) in the same column: the three vertices in the \(v_0\)-column map to \(v_0\text{,}\) the three vertices in the \(v_1\)-column map to \(v_1\text{,}\) and so on. This map from \(H\) to \(P^A_3\) covers every vertex and every edge of \(P^A_3\) exactly three times. Build the random homomorphism from \(H\) to \(G\) by gluing together conditionally independent copies of the relevant conditional distributions from the random homomorphism \(f\text{.}\)
    5. Combine the previous two parts to prove
      \begin{equation*} t(P^A_3,G)\leq \frac{4}{27}. \end{equation*}