Docsity

7 Solved Problems on the Adjacency Matrix - Assignment 2 | MATH 778C, Assignments of Mathematics

Toggle sidebar
bg1
Problem Set 2 Solutions
MATH 778C, Spring 2009, Cooper
April 25, 2009
You are awarded up to 20 points for each problem, 5 points for submitting
solutions in L
A
T
E
X, and 5 points per solution that is used for the answer key.
All answers must be fully rigorous – do not assume anything that you are not
sure everyone else in the class knew prior to Day 1 of this class. However, you
may cite without proof any result proven in detail in class.
1. Let S⊂Z×
pbe such that S=−S, where pis prime. Define the “circulant
graph” GSby V(GS) = Zpand {x, y} ∈ E(GS) iff there exists s∈Sso
that x+s=y. Define the kth discrete Fourier coefficient of a function
f:Zp→C, for k∈Zp, by
ˆ
f(k) = 1
√p
p−1
X
j=0
e2πijk/p f(j).
Show that
λ(G) = √p
|S|max
k6=0 |ˆχS(k)|,
where χSis the characteristic function of S. Hint: First prove that
{fk}k∈Zpis an orthonormal basis of CZp, where fk(j) = exp(2πijk/p)/√p.
Solution (Ser-Wei Fu):
Consider the vectors of the form
vk=1
√p
e(2πi)0·k
p
e(2πi)1·k
p
e(2πi)2·k
p
.
.
.
e(2πi)(p−1)·k
p
.
Our claim is that (v0, v1, . . . , vp−1) is an orthonormal basis of the space
CZp. Some quick calculations verify our claim.
hva, vbi=1
pPp−1
j=0 e(2πi)j·a
pe(−2πi)j·b
p
=1
pPp−1
j=0 e(2πi)j·(a−b)
p
= 1 if a=b, 0 otherwise.
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download 7 Solved Problems on the Adjacency Matrix - Assignment 2 | MATH 778C and more Assignments Mathematics in PDF only on Docsity!

Problem Set 2 Solutions

MATH 778C, Spring 2009, Cooper

April 25, 2009

You are awarded up to 20 points for each problem, 5 points for submitting solutions in LATEX, and 5 points per solution that is used for the answer key. All answers must be fully rigorous – do not assume anything that you are not sure everyone else in the class knew prior to Day 1 of this class. However, you may cite without proof any result proven in detail in class.

  1. Let S ⊂ Z× p be such that S = −S, where p is prime. Define the “circulant graph” GS by V (GS ) = Zp and {x, y} ∈ E(GS ) iff there exists s ∈ S so that x + s = y. Define the kth^ discrete Fourier coefficient of a function f : Zp → C, for k ∈ Zp, by

fˆ (k) = (^) √^1 p

p∑− 1

j=

e^2 πijk/pf (j).

Show that λ(G) =

p |S| max k 6 = | χˆS (k)| ,

where χS is the characteristic function of S. Hint: First prove that {fk}k∈Zp is an orthonormal basis of CZp^ , where fk(j) = exp(2πijk/p)/

p. Solution (Ser-Wei Fu): Consider the vectors of the form

vk =

p

e(2πi)^

(^0) p·k

e(2πi)^

(^1) p·k

e(2πi)^

(^2) p·k .. . e(2πi)^

(p−1)·k p

Our claim is that (v 0 , v 1 ,... , vp− 1 ) is an orthonormal basis of the space CZp^. Some quick calculations verify our claim.

〈va, vb〉 = (^1) p

∑p− 1 j=0 e

(2πi) j·pa (^) e(− 2 πi) j·pb

= (^1) p

∑p− 1 j=0 e

(2πi) j·(a p−b) = 1 if a=b, 0 otherwise.

The second conclusion came from the fact that the coefficient of zp−^1 in the polynomial zp^ − 1 = 0 is the sum of the roots of unity, hence the roots of unity sum up to zero. The adjacency matrix of A can be expressed by

A =

[

χS χS+1 · · · χS+p− 1

]

χTS χTS+ .. . χTS+p− 1

where χS+is the vector with ones at the position x if x − ∈ S and zeros elsewhere. Amazingly, we find that all the eigenvalues of A can be found with vk.

Avk =

〈vk, χS 〉 〈vk, χS+1〉 .. . 〈vk, χS+p− 1 〉

Observe by a simple shifting property

〈vk, χS+`〉 = e(2πi)^

`·k p (^) · 〈vk, χS 〉 ,

this gives us the following result,

Avk = 〈

pvk, χS 〉 vk =

p χˆS (k)vk.

Since (v 0 , v 1 ,... , vp− 1 ) is an orthonormal basis and (^) |S^1 | Av 0 = v 0 , we have that the second largest eigenvalue must be one of the eigenvalues corre- sponding to (v 1 ,... , vp− 1 ). Hence 1 |S| Avk =

p |S| χˆS (k)vk

λ(G) =

p |S|

max k 6 =

| χˆS (k)|.

  1. Let A and B be symmetric stochastic matrices. Prove that λ(A + B) ≤ λ(A) + λ(B). Solution (Andrew Vincent): The result follows directly from the triangle inequality.

λ(A + B) = max ~v∈ 1 ⊥ ||~v|| 2 =

||(A + B)~v|| 2

= max ~v∈ 1 ⊥ ||~v|| 2 =

||A~v + B~v|| 2

establish the claim, we must show that there are 801 ρ^2 ρ′^ · 2 d|S| edges leav- ing S.

Define Si to be the set of vertices of S belonging to cluster i. We partition the indices 1,... , n of the clusters into two sets I′^ and I′′^ as follows: If |Si| ≤ (1 − 14 ρ)D, put i in I′. Otherwise, put i in I′′. Finally, define S′^ =

i∈I′^ Si^ and^ S

i∈I′′^ Si. Observe that^ S′^ ∪^ S′′^ =^ S.

Case |S′| ≥ 101 ρ|S| Since G′^ is a (D, d, ρ′)-edge expander, there are at least 14 ρρ′d|Si| edges leaving Si within each cluster. Taken over all clusters, we see there are 1 4 ρρ

′d|S′| edges leaving S′ (^) ⊂ S. Since |S′| ≥ 1 10 ρ|S|, we conclude that there are at least 801 ρ^2 ρ′^ · 2 d|X| edges leaving S in H.

Case |S′| ≤ 101 ρ|S| We see immediately that |S′′| > (1− 101 ρ)|S|. For i ∈ I′′, |Si| ≥ (1− 14 ρ)D, and so |S

′′| D ≤ |I

′′| ≤ |S′′|

(1− 14 ρ)D.^ Furthermore, since^ |S

2 nD, we see that |I′′| ≤ 23 n. Since G is an (n, D, ρ)-edge expander, we can find a set of edges M with |M | ≥ 12 ρD|I′′| between the vertices of I′^ and I′′^ (that is, the sets Xi with i belonging to I′^ and I′′, respectively). Now, there are d|M | ≥ (^1) ρ dD|I′′| edges in H connecting vertices in the cycles whose index belongs to I′^ with vertices in the clusters whose index belongs to I′′. For i ∈ I′′, |Si| ≥ (1 − 14 ρ)D. Hence, at most 14 ρdD|I′′| of the d|M | edges connect a vertex not in Si with a vertex in one of the clusters whose index belongs to I′. So, for i ∈ I′′, at least 14 ρdD|I′′| edges connect vertices of the Si with vertices of the aforementioned clusters. The number of edges connecting the remaining clusters (having i ∈ I′′) with S′^ is at most d|S′|. Since |S′| ≤ 101 ρ|S| ≤ 16 ρD|I′′|, there are at most 16 ρdD|I′′| corresponding edges. Hence, at least 121 ρdD|I′′| edges connect vertices of the Si (i ∈ I′′) with the complement of Sj (j ∈ I′) inside the cycles with index j. Since |I′′| ≥ |S

′′| D and^ |S

2 |S|, we conclude that there at least^

1 48 ρ^ ·^2 d|S| edges leaving S, proving the claim.

  1. A (countably) infinite locally finite graph G is said to be an f -expander, for f : N → R+, if

min S:n≤|S|<∞

|E(S, S)| = Θ(f (n))

Give an example of a 1-expander, an n^2 /^3 -expander and an n-expander. (Of course, you need to provide proofs that they work.) Solution (Aaron Dutle): Claim: The 2-way infinite path is a 1-expander.

Proof. Note that any choice of a set of vertices makes an edge cut of at least 2. Also, we can choose a set achieving exactly 2 by choosing S to be n vertices in a row. The only edges from S to its complement are then the edges leaving the endpoints. Thus for any n,

min S:∞>|S|≥n

|E(S, S)| = 2 = Θ(1)

Claim: The graph G whose vertex set is the points of the three dimensional integer lattice, and whose edges are given by (a, b, c) ∼ (x, y, z) when exactly one coordinate differs by 1, is an n^2 /^3 expander.

Proof. Let n be fixed, and find the natural number m so that m^3 < n ≤ (m + 1)^3. Choose S to be a cube in G with side length (m + 1). Notice that on each face of this cube, there is an edge leaving the set for every point on the face. Since there are 6 faces, and each has (m + 1)^2 points on it, |E(S, S)| = 6(m + 1)^2. Using that m < n^1 /^3 ≤ (m + 1), we have that for this choice of S,

6 n^2 /^3 ≤ |E(S, S)| = 6(m + 1)^2 < 6(n^1 /^3 + 1)^2 ≤ 6(2n^1 /^3 )^2 = 24n^2 /^3

Thus for this set, |E(S, S)| = Θ(n^2 /^3 ).

Now if we can show that the minimum cut set for any set of points of size at least n is never less than this, we’ll be done.

To do so we’ll use a shifting argument. But first we need a lemma, that is a two dimensional analog to this problem.

Lemma: In the two dimensional version of this graph, the minimal edge cut for a fixed number of vertices n is given by the closest approximation to a square possible. (That is, make the largest square of size less than n, and then begin filling out along the top and then the right side until running out of points.)

Proof. Fix a set S of n points. We can assume they are connected, since if they were not, connecting any two components reduces the number of edges leaving the set. Consider the smallest rectangle enclosing them. It’s clear that the rectangle has at least one one point of S on every side.

Choose one of the sides of the rectangle, and any point this side. Traveling perpendicular to this side toward S, there is some first point of S encoun- tered. (Since the set is connected, and touches the two sides perpendicular to our chosen one.) This point then contributes an edge to the cut set E(S, S).

Thus the size of the cut set is at least the sum of the lengths of the four sides of the rectangle enclosing it. Thus to minimize the cut set, we must minimize the rectangle enclosing the set, which makes it clear that the closest approximation to the square possible gives the minimum cut.

Claim: The infinite binary tree (without a degree two root) is an n- expander. For this claim, we first prove the following lemma. Lemma: For any choice of a k-vertex connected component C of the infinite binary tree, |E(C, C)| = k + 2.

Proof. By induction. Note that any single vertex has exactly 3 edges leaving it, so the base case holds. For the inductive step, suppose we have a k + 1 vertex connected compo- nent. Since it’s a tree, it has some leaf. Removing the leaf leaves a tree on k vertices. By induction, this tree has k + 2 edges leaving it. One of these edges is the leaf edge we removed, so adding the leaf leaves k + 1 edges leaving our original set, which in addition to the two edges leaving the leaf makes k + 3 edges leaving our k + 1 vertex component.

Noting that the number of edges leaving any choice of n vertices is the sum of the edges leaving the connected components, the lemma tells us that the minimum number of edges leaving a set of n vertices is achieved by choosing one connected component, giving n + 2 edges leaving it. Thus for any n,

min S:∞>|S|≥n

|E(S, S)| = n + 2 = Θ(n)

  1. A function f : { 0 , 1 }n^ × { 0 , 1 }n^ → { 0 , 1 } is called a 2-source (k, )-extractor if, for all independent (n, k)-sources X and Y ,

∆(f (X, Y ), U 1 ) < .

Show that there exists a 2-source (log n + 1, 12 )-extractor. Solution (Aaron Dutle): Consider any function f : { 0 , 1 }n^ × { 0 , 1 }n^ → { 0 , 1 } as a bipartite graph Gf defined as follows. The partitions A, B each have |A| = |B| = 2n, and each partitions vertices are labeled by the elements of { 0 , 1 }n. Place an edge between a and b if and only if f (a, b) = 1. Next consider ∆(f (X, Y ), U 1 ) for any two (n, log n + 1) sources. Notice that ∆(f (X, Y ), U 1 ) = (^12)

|p 0 − 12 | + |p 1 − 12 |

where pi is the probability that f produces output i. Then it’s clear that this quantity is less than 1/2 except in the case that pi = 1 for some i. Thus a possible 2-source (k, 1 /2) extractor fails only when all the mass of the distribution can be forced onto one output. Since we’re dealing with (n, log n + 1) sources, the highest probability for any one possible image string in { 0 , 1 }n^ is 2−(log^ n+1)^ = (^21) n. Thus the

mass of the distribution X must be spread out over at least 2n elements of { 0 , 1 }n. The same clearly holds for Y.

Since failure occurs only when for i = 0, 1, all pairs of elements (a, b) with both a and b having positive probability have f (a, b) = i, we see that (using the graph we developed) this can happen only when Gf has some bipartite induced subgraph G′^ ⊂ G where A′^ ⊂ A, B′^ ⊂ B, with |A′| = |B′| = 2n and G′^ is either complete bipartite (all mass on 1) or empty (all mass on 0). Thus to show that a 2-source (log n + 1, 1 /2) extractor exists, it suffices to show that there exists some Gf without any such a subgraph G′.

To do so, choose such a graph by including each possible edge uniformly at random with probability 1/2. For each choice of A′^ and B′, let FA′,B′ be the event that the induced subgraph on the two sets is complete bipartite or is empty. Since the two possibilities are mutually exclusive, and each occurs with probability 2−^4 n

2 , we see that Pr[FA′,B′ ] = 2^1 −^4 n

2

. If we let XA′,B′ be the indicator variable for FA′,B′ , then we see that E[XA′,B′ ] =

21 −^4 n

2

. Then the number of the subgraphs G′^ is just

X =

all possible pairs (A′,B′)

XA′,B′.

By linearity of expectation,

E[X] = E

all possible pairs (A′,B′)

XA′,B′

all possible pairs (A′,B′)

E [XA′,B′ ]

2 n 2 n

21 −^4 n

2

(2n)^2 n 2 n!

21 −^4 n

2

24 n 2

(2n!)^2

21 −^4 n

2

Since the expectation is less than 1/2, there must be some graph Gf achieving X ≤ 1 / 2. Since X is integer valued this graph has X = 0, which says it has no subgraph of type G′, completing the proof.