Method stop · When and why do we use it?

Cauchy in Combinatorial Estimates

In the Chinese book: 柯西不等式与组合计数估计

Count in two ways to bound Σdᵢ², then let Cauchy turn it into a bound on Σdᵢ.

📖 §4.4 of 《平均值不等式与柯西不等式》M16 Counting in Two Ways lineM20 Graph-Theoretic Methods line

Before this stop, visit:Cauchy and Fractional Inequalities (Skill)

One idea, one pictureThere is a rectangle right now (its corners are marked ✗). Fix it, then fill in as many cells as you can without ever creating a rectangle with all four corners filled. How many cells can you reach?

Loading figure…

In one sentence

Counting problems often produce an expression like this: the number of “pairs” formed from some quantities is under control, that is, . But what we want to estimate is the total . The missing step in between is exactly the Cauchy inequality:

So , and solving this quadratic inequality in gives an upper bound. Counting in two ways bounds the sum of squares; Cauchy turns that into a bound on the total. Equality needs all the to be equal, which also tells you what the best construction looks like.

How many cells of a 7 × 7 board can be filled without a rectangle?

Step 1 / 5
Loading figure…
  1. A rectangle = two rows sharing two columns

    A rectangle with all four corners filled means that two rows both have cells in the same two columns. So “no rectangle” is the same as: every pair of columns is used by at most one row.

Predict first

On a board with no rectangle, how many cells can be filled at most? (First work out the bound with the method above, then go back to the top of the page and build it.)

cells
Choose an answer first; then you can see the result.

Stop 1 · Graph theory: graphs with no 4-cycle

A simple graph on vertices contains no cycle of length . At most how many edges can it have?

Replace “rows of the board” by “vertices”. Vertex has degree ; pairing up its neighbors gives “paths with middle vertex ”. Having no 4-cycle is the same as any two vertices have at most one common neighbor, so

Cauchy: , so , which solves to

For the right side is about , so ; two triangles sharing one vertex (a “bow tie”) have exactly edges and no 4-cycle.

Stop 2 · Families of sets: any two share at most one element

people form several -person committees, and any two committees have at most one member in common. At most how many committees can there be?

This time let the people be the “rows”: person sits on committees. Pairing up the committees that person is on gives pairs of committees, and no pair of committees appears twice (otherwise those two committees would share two members), so

Cauchy: . Substituting gives , i.e. , so . A construction: , , .

All three have exactly the same skeleton: bound the number of pairs (counting in two ways) → Cauchy turns the sum of squares into the total → solve a quadratic inequality → check with a construction.

Practice

Exercise 1Basic

Fill some cells of a board so that no rectangle has all four corners filled. At most how many cells can you fill?

Exercise 2Basic

people form several -person groups, and any two groups have at most one member in common. At most how many groups can there be?

Exercise 3Advanced

A simple graph on vertices has no cycle of length . At most how many edges can it have?

Exercise 4Challenge

On a board, no rectangle may have all four corners filled. At most how many cells can be filled?

Mistake Museum · Exhibits from this stop

Before you leave, look at the traps other people fell into here.See every exhibit in the museum →

Exhibit

Treating “the average row” as “every row”

The wrong step: A board without rectangles has filled cells. On average a row has cells and uses column pairs, so ; and from this we conclude that every row has exactly cells.
What went wrong? Think first, then open

Diagnosis Different rows can have different numbers of cells. What lets you replace by “the case of the average” is the Cauchy inequality , and that only gives an inequality; it does not say the rows really are equal.

The right step: Write it out: (Cauchy), so . Equal rows are only the equality condition of Cauchy.

“When Cauchy replaces “every row” by “the average”, that is an inequality, not an assumption”