Math 372 · Act I
Wednesday, October 7 · recorded

It was all a rank computation

Act I in one table, three ways a matrix counted, and the bridge to power series. Then the final project, in detail.

Today

Four stops

The recordSix results from Chapters 1–5 and 9, two questions about each.
Three mechanismsTrace, rank, determinant: the only three ways a matrix counted.
The bridgeRead the same numbers from a power series. The dictionary gets its first right-hand entry.
The projectWhat it is, what's due when, and what is graded as content.

Two pauses. When the stamp says Pause the video, do: each one takes about five minutes with paper, and the slide after it has the answers.

Logistics. Problem Set 3 is due Friday at 10 p.m. Friday's reading is Flajolet–Sedgewick §I.1, pages 16–24 of the free PDF.

August 31 · the first day

The thesis of the act

Encode a counting question as a linear map. Then compute a rank, a determinant, or a spectrum.

I said that on the first day and have not said it since. Today we check it against the record: six results, and for each one, two questions.

Question 1

What was the linear map?

Question 2

What number did we compute about it?

The record · Stanley, Chapters 1–5 and 9

Six results, one shape

questionlinear mapwhat we computedanswer
closed walks in $G$Chapter 1 $A$, acting on $\mathbb R^V$ the spectrum; $\operatorname{tr}A^\ell$ $\sum_i\lambda_i^\ell$; from one vertex of $K_p$: $\tfrac1p\big((p-1)^\ell+(p-1)(-1)^\ell\big)$
walks on the cube $Q_n$Chapter 2 $A(Q_n)$ on $\mathbb R^{B_n}$, diagonalized by characters the spectrum eigenvalue $n-2i$ with multiplicity $\binom ni$
a random walk returning homeChapter 3 the transition matrix $\tfrac1dA$ its powers, via the spectrum $\tfrac1p\sum_i(\lambda_i/d)^\ell$ for vertex-transitive $G$
largest antichain in $B_n$Chapter 4 $U_i\colon\mathbb R(B_n)_i\to\mathbb R(B_n)_{i+1}$ a rank: $U_i$ is one-to-one for $i<n/2$ $\binom n{\lfloor n/2\rfloor}$; Sperner and rank-unimodal
largest antichain in $B_n/G$Chapter 5 $\widehat U_i$: $U_i$ on $G$-invariant vectors the same rank, inherited the middle level; graphs on $m$ vertices by edge count are unimodal
spanning trees of $G$Chapter 9 $M_0$, and $L_0=M_0M_0^{\mathsf T}$ a determinant: a sum of squared minors $\kappa(G)=\det L_0=\tfrac1p\mu_1\cdots\mu_{p-1}$; $\kappa(K_p)=p^{p-2}$
A second look at rows 4 and 5

A rank, with no eigenvalues in sight

Row 4: shown nonzero, never found

$$D_{i+1}U_i-U_{i-1}D_i=(n-2i)\,I$$

Since $D_i=U_{i-1}^{\mathsf T}$, the operator $U_{i-1}D_i$ is positive semidefinite, so every eigenvalue of $D_{i+1}U_i$ is at least $n-2i>0$. So $D_{i+1}U_i$ is invertible, so $U_i$ is one-to-one.

We proved the eigenvalues were positive. We never learned what they were.

Row 5: nothing computed at all

$$\begin{array}{ccc} \mathbb R(B_n/G)_i & \xrightarrow{\ \ \widehat U_i\ \ } & \mathbb R(B_n/G)_{i+1}\\[2pt] \Big\downarrow{\scriptstyle o\,\mapsto\, v_o} & & \Big\downarrow{\scriptstyle o'\,\mapsto\, v_{o'}}\\[2pt] \mathbb R(B_n)_i & \xrightarrow{\ \ U_i\ \ } & \mathbb R(B_n)_{i+1} \end{array}$$

The vertical maps are one-to-one (orbit sums are independent) and the square commutes, so $\widehat U_i$ is the restriction of a one-to-one map. That is the whole proof, and it is why the theorem stops at quotients of $B_n$.

Stop 2

Three ways a matrix counted

trace · rank · determinant
Every entry in the “what we computed” column is one of these three.
Mechanism 1 · rows 1–3

Trace: the combinatorics is in the entries

The $(v,v)$ entry of $A^\ell$ counts closed walks of length $\ell$ at $v$. That is a fact about matrix multiplication, and it is where all of the combinatorics lives.

The spectral theorem makes the sum of those entries computable: $\operatorname{tr}A^\ell=\sum_i\lambda_i^\ell$.

$K_3$ has eigenvalues $2,-1,-1$, so $\operatorname{tr}A^4=16+1+1=18$, and by symmetry each vertex has $18/3=6$ closed walks of length 4. At right: all six from vertex 1.

123 A = 0 1 11 0 11 1 0 closed walks of length 4 at vertex 1: 12121 12131 13121 13131 12321 13231
Mechanism 2 · rows 4–5

Rank: the combinatorics is in “order-raising”

$U_i$ sends a set to the sum of the sets that cover it. It is order-raising by construction: that is the combinatorics.

Linear algebra supplies exactly one thing: $U_i$ is one-to-one for $i<n/2$.

One-to-one and order-raising give an order-matching (Lemma 4.5). Matchings glue into symmetric chains, and symmetric chains give Sperner and unimodality.

The rank says a matching exists. It never says which one. The blue chains at right were found by hand.

$B_3=\{\varnothing<1<12<123\}\sqcup\{2<23\}\sqcup\{3<13\}$
Mechanism 3 · row 6

Determinant: the combinatorics is in a lemma

$$\det L_0\ \overset{(1)}{=}\ \det(M_0M_0^{\mathsf T})\ \overset{(2)}{=}\sum_{|S|=p-1}\det M_0[S]\,\det M_0^{\mathsf T}[S]\ \overset{(3)}{=}\sum_{|S|=p-1}\big(\det M_0[S]\big)^2\ \overset{(4)}{=}\ \kappa(G)$$

(1) Lemma 9.6   (2) Cauchy–Binet   (3) transpose   (4) Lemma 9.7: each term is $1$ for a spanning tree, $0$ otherwise

$K_3$, oriented $1\to2\to3\to1$, with the row of vertex $3$ deleted:

A determinant is a signed sum over permutations. Cauchy–Binet made it a sum over subsets, the lemma made each term an indicator, and so the determinant counted.

The sentence the act was built for

The hard part was always choosing the map

In every case the matrix was built so that its entries meant something combinatorial. Then a theorem of linear algebra — the spectral theorem, rank–nullity, Cauchy–Binet — did the counting.
Pause the video
Try it · about five minutes

Which mechanism? Which matrix?

aThe number of necklaces with $p$ beads, $k$ of them black, for $p$ prime.
A trap.None of the three: it is orbit counting (Problem Set 3, 1(c)). Linear algebra entered only to prove $B_p/(\mathbb Z/p)$ is Sperner, a different statement.
bThe number of walks of length $\ell$ between antipodal vertices of $Q_n$.
Trace-type.An off-diagonal entry of $A(Q_n)^\ell$, computed from the characters. Same mechanism, different entry.
cThe Petersen graph has $2000$ spanning trees.
Determinant.In its eigenvalue form: Laplacian spectrum $0,2^5,5^4$, so $\kappa=\tfrac1{10}\cdot2^5\cdot5^4$ (Monday).
dThe number of graphs on $m$ vertices with $k$ edges is unimodal in $k$.
Rank.Theorem 5.9, inherited from $U_i$ on $B_{\binom m2}$ by restriction to $S_m$-invariants.
Stop 3 · the bridge to Act II

Read it from the other side

Every counting sequence a matrix produced this act has a rational generating function.
And its poles are numbers you have already met.
Pause the video
Try it · about five minutes

The walk series of $K_3$

Let $w_n$ be the number of closed walks of length $n$ from a fixed vertex of $K_3$. From Chapter 1,

$$w_n=\tfrac13\big(2^n+2(-1)^n\big):\qquad 1,\ 0,\ 2,\ 2,\ 6,\ 10,\ 22,\ \dots$$
  1. Write $W(z)=\sum_{n\ge0}w_nz^n$ in closed form, as a single fraction.
  2. Where are the poles of $W(z)$?
  3. Where have you seen those numbers before?
The bridge

Poles at the reciprocals of the eigenvalues

$$W(z)=\frac13\Big(\frac1{1-2z}+\frac2{1+z}\Big)=\frac{1-z}{(1-2z)(1+z)}$$

Check: $(1-z)(1+z+3z^2+5z^3+11z^4+\cdots)$

$=1+0z+2z^2+2z^3+6z^4+\cdots$

Poles at $z=\tfrac12$ and $z=-1$: the reciprocals of the eigenvalues $2$ and $-1$ of $A(K_3)$.

The nearer pole belongs to the bigger eigenvalue, and it controls growth: $w_n\sim\tfrac13\,2^n$.

Why it always happens

Matrices make rational functions

$$\sum_{n\ge0}A^nz^n=(I-zA)^{-1}=\frac{\operatorname{adj}(I-zA)}{\det(I-zA)},\qquad \det(I-zA)=\prod_i(1-\lambda_iz).$$

Every entry is a polynomial divided by $\prod_i(1-\lambda_iz)$. So every walk count, every trace, every entry of every power has a rational generating function, with poles only among the points $1/\lambda_i$.

$\dfrac1{1-\lambda z}=\sum_n\lambda^nz^n$ blows up at $z=1/\lambda$. A big eigenvalue is a near pole, and the nearest pole sets the growth rate.

On Friday you will compute one entry of $(I-zA)^{-1}$ for $K_3$ directly and watch $W(z)$ come out.

The dictionary poster

The right column gets its first entry

matrix side
analytic side
eigenvalue $\lambda$
↔
pole at $z=1/\lambda$
growth rate $\lambda^n$
↔
?
Perron–Frobenius eigenvalue
↔
?
Jordan block of size $k$
↔
?
spectral gap
↔
?
— nothing —
↔
?

Act II (from Friday): where generating functions come from. A specification goes in; a generating function comes out.

Act III: what the right column says. You have just seen the second row's answer on the previous slide, and the rest come in November.

The last row's left side is empty on purpose. Matrices only make rational functions, and rational functions only have poles. Some sequences in this course have generating functions that are not rational, and no matrix will ever produce them.

Stop 4

The project

One question. One computation. One term.
The menu has been posted since September 28. Proposals and pitches are due Friday, October 16.
The project · what it is

A thesis in miniature

An 8–12 page paper and a fifteen-minute talk at the symposium in finals week. Individual.

It rehearses the parts of a thesis that are hardest to learn from a problem set:

  • choosing a question small enough to finish;
  • running a computation nobody has told you the answer to;
  • writing up what happened;
  • talking about it to people who did not do it.
The test

A project that cannot be stated as one question with one computation attached is too big.

Eight to twelve pages is a ceiling as much as a floor. A small question answered is worth more than a large one surveyed.

The project · dates

Seven dates

Fri Oct 16Proposal + pitchOne page, and a five-minute pitch in class.
Fri Nov 6BibliographyFive to ten annotated sources, plus a computation prospectus.
Week of Nov 16MeetingFifteen minutes with me. Bring whatever you have.
Wed Dec 2Full draftFor peer review. Not extendable.
Mon Dec 7ReviewsPeer reviews returned.
Fri Dec 11Final paperNot extendable.
Mon Dec 14Symposium9–noon, Eliot 207. Fifteen-minute talks.

The prospectus (Nov 6) describes the computation you will run: what code, what inputs, what you expect to see, and what would surprise you. The bibliography includes the OEIS entries you have found.

Why two dates don't move. A late draft spends your reviewer's time rather than yours, and the final paper has to exist before the symposium.

The project · the first deadline

The proposal and the pitch

The proposal: one page, four parts, due Friday, October 16.

  1. The question.
  2. The computation attached to it.
  3. What you will read first.
  4. What “done” looks like.

The pitch: five minutes, to the class, in class. All five on Friday the 16th.

It is the first time you will hear yourself say the question out loud. Then it incubates over fall break.

Before the 16th

Come talk to me. The scoping conversation is the most useful twenty minutes of the project. Use office hours or the booking link on the course page.

The project · the paper

What the paper must contain

  • A statement of the question.
  • The mathematics you learned in order to ask it precisely, written for another student in this course.
  • The computation, and what it showed.

Plus two components that are graded as content, not as compliance:

A section on an approach that failed, and why: a method that did not work, a conjecture the data killed, a proof that broke at a step you can name.

A computation log, as an appendix outside the page count: the real record of what you ran, dead ends included.

A finished paper is always a tidied-up story about the work that produced it. These two are where the actual work is allowed to show — and they are the two things nobody can produce for you, since there are no false starts if nothing was tried.

The project · two more rules

One alternative, two exclusions

An alternative deliverable

An interactive artifact — a web page that lets someone explore the object of your project — with a four-to-six page note containing the mathematics. Both stay on the course page.

The course page's poset maps are examples of the genre; yours should let a reader see something a static picture cannot.

It is not the lighter option. It still needs a question, a computation, a failed approach, and a log, and it needs to work.

The project must be new to you

  1. Not the topic of your senior thesis.
  2. Not a topic you are learning, or have learned, in another course. For anyone in this term's polytopes course, that means no Ehrhart theory.

The point is to find out what you can do with a question nobody has prepared you for. If you're not sure whether something is too close, ask: the usual answer is a sideways move, not a no.

You may also propose a question that is not on the menu, if it passes the same test.

The project · choosing

Reading the menu

Live

items 1–6

A careful student with a computer has a real chance of seeing something new. High ceiling; an honest negative result is a fine outcome.

  1. Transfer systems on a product of two chains
  2. Is the poset of unlabeled simplicial complexes Sperner?
  3. Cyclic sieving
  4. Meanders and noncrossing pairings
  5. Homotopy types of finite topological spaces
  6. Guess-and-prove

Well-documented

items 7–15

A literature to lean on and a definite thing to learn and compute. Nothing lesser about them.

  1. Cayley's formula five ways
  2. Spanning trees of the cube and its relatives
  3. Electrical networks and random walks
  4. Möbius inversion and incidence algebras
  5. RSK and the hook length formula
  6. Chip-firing and the sandpile group
  7. The probabilistic method
  8. Necklaces, bracelets, and Pólya's theorem
  9. A chapter we skipped, as a starting point

Experimental

items 16–18

Computations first, theory second.

  1. The width of the graph poset
  2. Random walks on quotients
  3. Arrow statistics on Catalan objects

Alternative

item 19

The interactive deliverable.

  1. An explorer
Read the whole menu once.→ Pick two or three you'd think about on a walk.→ Check what each needs: some use Acts II–III, fine if you read ahead.→ Talk to me before the 16th.
Before Friday

Act I is done. Act II starts Friday.

  • Problem Set 3 is due Friday at 10 p.m.
  • Friday: combinatorial classes and ordinary generating functions. Read Flajolet–Sedgewick §I.1, pages 16–24, and know what a combinatorial class is and what $[z^n]$ means.
  • The OEIS rotation continues Friday.
  • Monday, October 12: two board presentations, then §I.2 (pages 24–39).

For the project, this week:

  1. Read the whole menu.
  2. Pick two or three.
  3. Book a time to talk.
  4. Start your computation log.
← → navigate · L laser · F fullscreen