Monday, April 21, 2008

Homework 5 graded

Homework 5 is graded and will be handed back tomorrow. The average was 79%.

A few comments:

1. Most people got this right (one way or another).

2. For part b), the two equally simplest counterexamples are {x1, x1, 1}, or {x1, x1, x1}. Aaron, Kanat, and Mike all gave the same, far-from-simplest counterexample. What a coincidence...

3. Many people failed to prove a characterization (if and only if statement) in c), and just gave an implication. Many people also had complicated solutions for the support-3 problem. Ali and Amitabh gave roughly the same solution, which is probably the slickest. Suppose f = a χS + bχT + cχU, where the coefficients a,b,c are nonzero and S, T, U are distinct. By Parseval,

a2+b2+c2=1 (*).

Substituting in (1,...,1), we get a+b+c-1,1. Squaring this and subtracting (*) yields

ab+bc+ac=0 (**).

Since S, T, U are distinct, there must be an index i which is in exactly 1 or 2 of them. Substituting in the string which is 1 everywhere except that it's -1 on the ith coordinate, we conclude σ1a+σ2b+σ3c-1,1, where exactly 1 or 2 of the signs σi are -1. Squaring this and subtracting (*) yields

τ1ab+τ2bc+τ3ac=0 (***),

where exactly two of the signs τi are -1. Now add (**) and (***) and conclude that one of ab, bc, or ac must equal 0, a contradiction.

4. Most people got (a) and (b). For (c), several people estimated the degree-1 Fourier coefficients of Majority and concluded that it's, say, (1/n,1/2)-quasirandom. Only Eric truly ventured to high degree, pointing out that Infi(Maj) can be seen to be Θ(1/n), and therefore by 5a, Maj is (Θ(1/n),0)-quasirandom. In fact, one can show that the largest Fourier coefficients for Maj are the ones at level 1, and hence Maj is (1/n,0)-quasirandom.

5. Most people more or less got this.

6. Most people mostly got this; the key in b) is picking the right diameter.

7. Most people got this too, although many failed to do both parts of f).

No comments: