Counting Permutations with Even Valleys and Odd Peaks Ira M. Gessel - - PowerPoint PPT Presentation

counting permutations with even valleys and odd peaks
SMART_READER_LITE
LIVE PREVIEW

Counting Permutations with Even Valleys and Odd Peaks Ira M. Gessel - - PowerPoint PPT Presentation

Counting Permutations with Even Valleys and Odd Peaks Ira M. Gessel Department of Mathematics Brandeis University IMA Workshop Geometric and Enumerative Combinatorics University of Minnesota, Twin Cities November 13, 2014 Based on the paper


slide-1
SLIDE 1

Counting Permutations with Even Valleys and Odd Peaks

Ira M. Gessel

Department of Mathematics Brandeis University

IMA Workshop Geometric and Enumerative Combinatorics University of Minnesota, Twin Cities November 13, 2014

slide-2
SLIDE 2

Based on the paper Counting permutations by alternating descents, by Ira M. Gessel and Yan Zhuang, Electronic Journal of Combinatorics 21 (4), 2014, Paper #P4.23

slide-3
SLIDE 3

Introduction

Let π = π1π2 · · · πn be a permutation of [n] = {1, 2, . . . , n}. Then i is a peak if πi−1 < πi > πi+1 j is a valley of π if πj−1 > πj < πj+1.

slide-4
SLIDE 4

Introduction

Let π = π1π2 · · · πn be a permutation of [n] = {1, 2, . . . , n}. Then i is a peak if πi−1 < πi > πi+1 j is a valley of π if πj−1 > πj < πj+1. Example (peaks in blue, valleys in red): 1 1 2 4 3 5 4 2 5 6 6 7 7 3

slide-5
SLIDE 5

On Math Overflow Liviu Nicolaescu, motivated by discrete Morse functions, asked the following question: How many permutations of [n] are there are in which every valley is even and every peak is odd?

slide-6
SLIDE 6

On Math Overflow Liviu Nicolaescu, motivated by discrete Morse functions, asked the following question: How many permutations of [n] are there are in which every valley is even and every peak is odd? Let f(n) be the number of such permutations of [n]. We can compute the first values by brute force:

slide-7
SLIDE 7

On Math Overflow Liviu Nicolaescu, motivated by discrete Morse functions, asked the following question: How many permutations of [n] are there are in which every valley is even and every peak is odd? Let f(n) be the number of such permutations of [n]. We can compute the first values by brute force: n 1 2 3 4 5 6 7 8 9 f(n) 1 1 2 4 13 50 229 1238 7614 52706 For example, with n = 3 the 4 permutations are 123, 213, 312, 321 (all except 132 and 231)

slide-8
SLIDE 8

Sometimes exponential generating functions for certain classes

  • f permutations defined by restrictions on descents have nice
  • reciprocals. So let’s look at the reciprocal of ∞

n=0 f(n)xn/n!.

We find that ∞

  • n=0

f(n)xn/n! −1 = 1 − x + 2x3 3! − 5x4 4! + 61x6 6! − 272x7 7! + 7936x9 9! − · · ·

slide-9
SLIDE 9

Sometimes exponential generating functions for certain classes

  • f permutations defined by restrictions on descents have nice
  • reciprocals. So let’s look at the reciprocal of ∞

n=0 f(n)xn/n!.

We find that ∞

  • n=0

f(n)xn/n! −1 = 1 − x + 2x3 3! − 5x4 4! + 61x6 6! − 272x7 7! + 7936x9 9! − · · · The coefficients are Euler numbers:

  • n=0

En xn n! = sec x + tan x = 1 + x + x2 2! + 2x3 3! + 5x4 4! + 16x5 5! + 61x6 6! + 272x7 7! + 1385x8 8! + · · ·

slide-10
SLIDE 10

So it seems that

  • n=0

f(n)xn n! =

  • 1 − E1x + E3

x3 3! − E4 x4 4! + E6 x6 6! − E7 x7 7! + · · · −1 .

slide-11
SLIDE 11

So it seems that

  • n=0

f(n)xn n! =

  • 1 − E1x + E3

x3 3! − E4 x4 4! + E6 x6 6! − E7 x7 7! + · · · −1 . This is reminiscent of the generating function

  • 1 − x + x3

3! − x4 4! + x6 6! − x7 7! + · · · −1 for permutations with no increasing runs of length 3 or more, due to David and Barton (1962).

slide-12
SLIDE 12

So it seems that

  • n=0

f(n)xn n! =

  • 1 − E1x + E3

x3 3! − E4 x4 4! + E6 x6 6! − E7 x7 7! + · · · −1 . This is reminiscent of the generating function

  • 1 − x + x3

3! − x4 4! + x6 6! − x7 7! + · · · −1 for permutations with no increasing runs of length 3 or more, due to David and Barton (1962). Is this just a coincidence?

slide-13
SLIDE 13

Another form of the generating function is

  • 1 − E1x + E3

x3 3! − E4 x4 4! + E6 x6 6! − E7 x7 7! + · · · −1 = 3 sin 1

2x

  • + 3 cosh
  • 1

2

√ 3x

  • 3 cos

1

2x

√ 3 sinh

  • 1

2

√ 3x .

slide-14
SLIDE 14

Descents of permutations

Let π = π1 · · · πn be a permutation of [n]. A descent of π is an i such that πi > πi+1. The descents of a permutation split it into increasing runs, which are maximal consecutive increasing subsequences.

slide-15
SLIDE 15

Descents of permutations

Let π = π1 · · · πn be a permutation of [n]. A descent of π is an i such that πi > πi+1. The descents of a permutation split it into increasing runs, which are maximal consecutive increasing subsequences. For example the permutation 14528736 has descent set {3, 5, 6}: 1 4 5 · 2 8 · 7 · 3 6. The increasing runs have lengths 3, 2, 1, 2.

slide-16
SLIDE 16

Descents of permutations

Let π = π1 · · · πn be a permutation of [n]. A descent of π is an i such that πi > πi+1. The descents of a permutation split it into increasing runs, which are maximal consecutive increasing subsequences. For example the permutation 14528736 has descent set {3, 5, 6}: 1 4 5 · 2 8 · 7 · 3 6. The increasing runs have lengths 3, 2, 1, 2. We call the sequence of increasing run lengths the descent composition of π. (It is a composition of n.) The descent composition has the same information as the descent set.

slide-17
SLIDE 17

Descents of permutations

Let π = π1 · · · πn be a permutation of [n]. A descent of π is an i such that πi > πi+1. The descents of a permutation split it into increasing runs, which are maximal consecutive increasing subsequences. For example the permutation 14528736 has descent set {3, 5, 6}: 1 4 5 · 2 8 · 7 · 3 6. The increasing runs have lengths 3, 2, 1, 2. We call the sequence of increasing run lengths the descent composition of π. (It is a composition of n.) The descent composition has the same information as the descent set. We’ll write D(L) for the descent set corresponding to L.

slide-18
SLIDE 18

Let L = (L1, . . . , Lk) be a composition of n. Then we write n

L

  • for the multinomial coefficient

n! L1! · · · Lk!

  • Lemma. The number of permutations of n with descent set

contained in D(L) is n

L

  • .
slide-19
SLIDE 19

Let L = (L1, . . . , Lk) be a composition of n. Then we write n

L

  • for the multinomial coefficient

n! L1! · · · Lk!

  • Lemma. The number of permutations of n with descent set

contained in D(L) is n

L

  • .

Proof by example. Take L = (3, 1, 2), so n = 6 and D(L) = {3, 4}. We take 1,2,. . . , 6 and put them into 3 boxes with three in the first, one in the second, and two in the third: | 2 4 5 | 1 | 3 6 |

slide-20
SLIDE 20

Let L = (L1, . . . , Lk) be a composition of n. Then we write n

L

  • for the multinomial coefficient

n! L1! · · · Lk!

  • Lemma. The number of permutations of n with descent set

contained in D(L) is n

L

  • .

Proof by example. Take L = (3, 1, 2), so n = 6 and D(L) = {3, 4}. We take 1,2,. . . , 6 and put them into 3 boxes with three in the first, one in the second, and two in the third: | 2 4 5 | 1 | 3 6 | We arrange the numbers in each box in increasing order and then remove the bars to get 2 4 5 1 3 6 which has descent set contained in {3, 4}.

slide-21
SLIDE 21

We can find the number of permutations of n with a given descent set by inclusion-exclusion. Let us partial order compositions of n by reverse refinement, corresponding to

  • rdering descent sets by inclusion. So the compositions of 3

are ordered as

(3) (2,1) (1, 2) (1,1,1)

slide-22
SLIDE 22

Let β(L) be the number of permutations of [n] with descent composition L, where L is a composition of n.

slide-23
SLIDE 23

Let β(L) be the number of permutations of [n] with descent composition L, where L is a composition of n. Then n

L

  • =

K≤L β(K), so by inclusion-exclusion

β(L) =

  • K≤L

(−1)l(L)−l(K) n K

  • ,

where l(L) is the number of parts of L.

slide-24
SLIDE 24

Let β(L) be the number of permutations of [n] with descent composition L, where L is a composition of n. Then n

L

  • =

K≤L β(K), so by inclusion-exclusion

β(L) =

  • K≤L

(−1)l(L)−l(K) n K

  • ,

where l(L) is the number of parts of L. We can count all sorts of sets of permutations defined by descent sets by added up β(L) for appropriate L. We get exponential generating functions since n

L

  • is the coefficient of

xn/n! in xL L! := xL1 L1! · · · xLk Lk!.

slide-25
SLIDE 25

Alternating descents

Following Denis Chebikin (2008), we define an alternating descent of a permutation π to be an odd descent or an even

  • ascent. For example the alternating descents of 3 7 4 2 1 5 6 8

are 3 and 6: 3 7 4 · 2 1 5 · 6 8

slide-26
SLIDE 26

Alternating descents

Following Denis Chebikin (2008), we define an alternating descent of a permutation π to be an odd descent or an even

  • ascent. For example the alternating descents of 3 7 4 2 1 5 6 8

are 3 and 6: 3 7 4 · 2 1 5 · 6 8 The alternating descents of a permutation split it up into alternating runs. Each alternating run is either an “up-down" permutation if it starts in an odd position or a “down-up" permutation if it starts in an even position.

slide-27
SLIDE 27

Alternating descents

Following Denis Chebikin (2008), we define an alternating descent of a permutation π to be an odd descent or an even

  • ascent. For example the alternating descents of 3 7 4 2 1 5 6 8

are 3 and 6: 3 7 4 · 2 1 5 · 6 8 The alternating descents of a permutation split it up into alternating runs. Each alternating run is either an “up-down" permutation if it starts in an odd position or a “down-up" permutation if it starts in an even position. Nicolaescu’s question is closely connected to alternating runs

  • f permutations, because a permutation has all valleys even

and all peaks odd if and only if all of its alternating runs have length less than 3.

slide-28
SLIDE 28

This is because an odd valley or an even peak corresponds to an alternating run of length at least 3: 1 1 2 6 3 2 . . . 6 5 7 3 8 4 . . .

slide-29
SLIDE 29

As Chebikin observed, the number of permutations of [n] with alternating descent set contained in D(L) is n L

  • E

:= n! L1! · · · Lk!EL1 · · · ELk We prove this by putting the numbers 1,. . . , n into boxes with Li in the ith box, and then arranging the numbers in each box into either an up-down or down-up permutation, depending on the parity of the starting position.

slide-30
SLIDE 30

Now let ˆ β(L) be the number of permutations of [n] with alternating descent composition L, where L is a composition of

  • n. Then just as before,

n

L

  • E =

K≤L ˆ

β(K), so by inclusion-exclusion ˆ β(L) =

  • K≤L

(−1)l(L)−l(K) n K

  • E

.

slide-31
SLIDE 31

Now let ˆ β(L) be the number of permutations of [n] with alternating descent composition L, where L is a composition of

  • n. Then just as before,

n

L

  • E =

K≤L ˆ

β(K), so by inclusion-exclusion ˆ β(L) =

  • K≤L

(−1)l(L)−l(K) n K

  • E

. Note that n

L

  • E is the coefficient of xn/n! in

EL1 xL1 L1! · · · ELk xLk Lk!.

slide-32
SLIDE 32

Therefore, if we can find an exponential generating function for some class of permutations determined by descent sets,

  • btained by adding up β(L)xL/L! for appropriate L, then by

changing xn/n! to Enxn/n! we should get the corresponding result for alternating descent sets. This will explain the connection between

  • 1 − x + x3

3! − x4 4! + x6 6! − x7 7! + · · · −1 and

  • 1 − E1x + E3

x3 3! − E4 x4 4! + E6 x6 6! − E7 x7 7! + · · · −1 .

slide-33
SLIDE 33

Unfortunately, just changing to xn/n! with Enxn/n! doesn’t really work:

slide-34
SLIDE 34

Unfortunately, just changing to xn/n! with Enxn/n! doesn’t really work: we would like a linear map that takes xL1 L1! · · · xLk Lk!. to EL1 xL1 L1! · · · ELk xLk Lk!. but we can’t do this since these products aren’t linearly independent.

slide-35
SLIDE 35

For example, x2 2! · x3 3! = 10x5 5! , but E2 x2 2! · E3 x3 3! = 10E5 x5 5!

slide-36
SLIDE 36

To make this work, and to compute the generating functions more efficiently, we use noncommutatative symmetric functions, which were studied extensively by Gelfand, Krob, Lascoux, Leclerc, Retakh, and Thibon in 1995 and further studied by Thibon and others since then. But we will need only some very simple properties of the noncommutative symmetric functions most of which were known earlier.

slide-37
SLIDE 37

We work with formal power series in noncommuting variables X1, X2, . . . . We define the complete noncommutative symmetric functions hn =

  • i1≤···≤in

Xi1Xi2 · · · Xin. For any composition L = (L1, . . . , Lk) of n we define hL = hL1 · · · hLk which can be written as hL =

  • L

Xi1Xi2 · · · Xin where the sum is over all (i1, . . . , in) satisfying i1 ≤ · · · ≤ iL1

  • L1

, iL1+1 ≤ · · · ≤ iL1+L2

  • L2

, · · · , iL1+···+Lk−1+1 ≤ · · · ≤ in

  • Lk

.

slide-38
SLIDE 38

We define the ribbon noncommutative symmetric functions rL =

  • L

Xi1Xi2 · · · Xin where the sum is over all (i1, . . . , in) satisfying i1 ≤ · · · ≤ iL1

  • L1

> iL1+1 ≤ · · · ≤ iL1+L2

  • L2

> · · · > iL1+···+Lk−1+1 ≤ · · · ≤ in

  • Lk

. Then hL =

  • K≤L

rK, so by inclusion-exclusion, rL =

  • K≤L

(−1)l(L)−l(K)hK

slide-39
SLIDE 39

The algebra of noncommutative symmetric functions is generated by the hL.

slide-40
SLIDE 40

The algebra of noncommutative symmetric functions is generated by the hL. When we make the Xi commute, we get ordinary symmetric functions: hL becomes the ordinary complete symmetric function hL, and rL becomes the ribbon (skew-hook, zigzag) skew Schur function.

slide-41
SLIDE 41

We can define a homomorphism from noncommutative symmetric functions to exponential generating functions by Φ(hn) = xn n! so Φ(hL) = xL1 L1! · · · xLk Lk! = n L xn n! . Note that for a noncommutative symmetric function f, Φ(f) is the coefficient of x1x2 · · · xn in the result of replacing X1, X2, . . . with commuting variables x1, x2, . . . . Then by inclusion-exclusion, Φ(rL) = β(L)xn n! .

slide-42
SLIDE 42

Similarly, we can define another homomorphism from noncommutative symmetric functions to exponential generating functions by ˆ Φ(hn) = En xn n! so by the inclusion-exclusion formula for ˆ β we have ˆ Φ(rL) = ˆ β(L)xn n! .

slide-43
SLIDE 43

This means that if we can find the noncommutative symmetric function generating function for some class of words determined by their descent sets (i.e., we can express it in terms of the rL), then by applying Φ and ˆ Φ we can get the corresponding exponential generating functions for permutations with the corresponding descent sets or alternating descent sets.

slide-44
SLIDE 44

This means that if we can find the noncommutative symmetric function generating function for some class of words determined by their descent sets (i.e., we can express it in terms of the rL), then by applying Φ and ˆ Φ we can get the corresponding exponential generating functions for permutations with the corresponding descent sets or alternating descent sets. There are many formulas to which we can apply Φ and ˆ Φ , but

  • ne that gives us what we need for Nicolaescu’s problem is the

following:

slide-45
SLIDE 45

Theorem 1. (G, Jackson and Aleliunas; 1977) Let w1, w2, . . . be arbitrary commuting weights. Then

  • L

wLrL = ∞

  • n=0

anhn −1 where the sum on the left is over all compositions L = (L1, . . . , Lk), and wL = wL1 · · · wLk. Here a0, a1, . . . are defined by

  • n=0

anzn = ∞

  • n=0

wnzn −1 , where w0 = 1.

slide-46
SLIDE 46

If we take wi = 1 for i < m and wi = 0 for i ≥ m in Theorem 1 then we get

  • L

rL = ∞

  • n=0

(hmn − hmn+1) −1 , where the sum on the left is over compositions L with all parts less than m.

slide-47
SLIDE 47

If we take wi = 1 for i < m and wi = 0 for i ≥ m in Theorem 1 then we get

  • L

rL = ∞

  • n=0

(hmn − hmn+1) −1 , where the sum on the left is over compositions L with all parts less than m. Applying Φ gives David and Barton’s result that the exponential generating function for permutations in which every increasing run has length less than m is

  • 1 − x + xm

m! − xm+1 (m + 1)! + x2m (2m)! − x2m+1 (2m + 1)! + · · · −1 ,

slide-48
SLIDE 48

Applying ˆ Φ gives ∞

  • n=0
  • Emn

xmn (mn)! − Emn+1 xmn+1 (mn + 1)! −1 as the exponential generating function for permutations in which every alternating run has length less than m; the case m = 3 is the solution to Nicolaescu’s problem.

slide-49
SLIDE 49

Two more special cases of Theorem 1

If we set wm = 1 and wn = 0 for n = m then we find that

  • n=0

r(mn) = ∞

  • n=0

(−1)n hmn −1 , Applying Φ gives Carlitz’s 1973 result that ∞

  • n=0

(−1)n xmn (mn)! −1 is the exponential generating function for permutations in which every increasing run has length m.

slide-50
SLIDE 50

Applying ˆ Φ shows that ∞

  • n=0

(−1)nEmn xmn (mn)! −1 counts permutations in which every alternating run has length m.

slide-51
SLIDE 51

Applying ˆ Φ shows that ∞

  • n=0

(−1)nEmn xmn (mn)! −1 counts permutations in which every alternating run has length m. For m = 4, these are permutations of [4n] with descent set {2, 6, 10, . . . , 4n − 2}.

slide-52
SLIDE 52

If we set wn = t for all n ≥ 1 in Theorem 1, then we are counting words by the number of increasing runs (which is one more than the number of descents), and we get

  • L

tl(L)rL = (1 − t)

  • 1 − t

  • n=0

(1 − t)n hn −1 , where the first sum is over all compositions L.

slide-53
SLIDE 53

If we set wn = t for all n ≥ 1 in Theorem 1, then we are counting words by the number of increasing runs (which is one more than the number of descents), and we get

  • L

tl(L)rL = (1 − t)

  • 1 − t

  • n=0

(1 − t)n hn −1 , where the first sum is over all compositions L. Applying Φ gives the well-known generating function for the Eulerian polynomials, 1 +

  • n=1

An(t)xn n! = 1 − t 1 − te(1−t)x , where An(t) =

  • π∈Sn

tdes(π)+1, and des(π) is the number of descents of π.

slide-54
SLIDE 54

Applying ˆ Φ gives 1 +

  • n=1

ˆ An(t)xn n! = 1 − t 1 − t

  • sec(1 − t)x + tan(1 − t)x

, where ˆ An(t) =

  • π∈Sn

taltdes(π)+1 and altdes(π) is the number of alternating descents of π, a result due to Chebikin.

slide-55
SLIDE 55

The major index and alternating major index

We define the major index maj(π) of a permutation π to be the sum of the descents of π, and we define the alternating major index altmaj(π) to be the sum of the alternating descents of π. Then there is an analogue of Theorem 1 that allows us to count permutations by major index and alternating major index. I’ll just state the results:

slide-56
SLIDE 56

  • n=0

xn n!

  • π∈Sn tdes(π)qmaj(π)

(1 − t)(1 − tq) · · · (1 − tqn) =

  • k=0

tk

k

  • j=0

exqj (MacMahon/Riordan 1954/Carlitz 1975)

  • n=0

xn n!

  • π∈Sn taltdes(π)qaltmaj(π)

(1 − t)(1 − tq) · · · (1 − tqn) =

  • k=0

tk

k

  • j=0
  • sec(xqj) + tan(xqj)
  • (Remmel)
slide-57
SLIDE 57

The remaining material was not presented during my talk.

slide-58
SLIDE 58

More homomorphisms

There are other homomorphisms from the ring of noncommutative symmetric functions that enable us to count permutations by other parameters.

slide-59
SLIDE 59

More homomorphisms

There are other homomorphisms from the ring of noncommutative symmetric functions that enable us to count permutations by other parameters. The simplest one allows us to count permutations by

  • inversions. An inversion of a permutation π is a pair (i, j) with

i < j such that πi > πj. We define a homomorphism Φ1 on noncommutative symmetric function by Φ1(hn) = xn (q)n , where (q)n = (1 − q)(1 − q2) · · · (1 − qn). Then if L is a composition of n, we have Φ1(rL) =

  • C(π)=L

qinv(π) xn (q)n .

slide-60
SLIDE 60

We define the inverse major index imaj(π) to be maj(π−1). Then it’s also true that Φ1(rL) =

  • C(π)=L

qimaj(π) xn (q)n .

slide-61
SLIDE 61

We define the inverse major index imaj(π) to be maj(π−1). Then it’s also true that Φ1(rL) =

  • C(π)=L

qimaj(π) xn (q)n . Thus, for example,

  • 1 − x + x3

(q)3 − x4 (q)4 + x6 (q)6 − x7 (q)7 + · · · −1 is the Eulerian generating function for permutations with no increasing runs of length 3 by inversions or by inverse major index.

slide-62
SLIDE 62

More generally, if we make the variables Xi commute, we get the quasi-symmetric generating function for counting permutations by their inverse descent set, from which we can count by the number of inverse descents, or the number of inverse peaks, etc.

slide-63
SLIDE 63

These homomorphisms may be defined more naturally on a larger algebra than the noncommutative symmetric functions, the Malvenuto-Reutenauer algebra (also called the algebra of free quasi-symmetric functions).

slide-64
SLIDE 64

These homomorphisms may be defined more naturally on a larger algebra than the noncommutative symmetric functions, the Malvenuto-Reutenauer algebra (also called the algebra of free quasi-symmetric functions). To define it, we first define the standardization st(w) of the word w to be the permutation obtained by replacing the smallest entry by 1, the next smallest by 2, and so on, where repeated letters are ordered from left to right, so for example st(1 1 5 2 1 2) = 1 2 6 4 3 5.

slide-65
SLIDE 65

Then for each π ∈ Sn we define a series [π] in the noncommuting variables X1, X2, . . . by [π] =

  • st(i1···in)=π

Xi1 · · · Xin For example, [132] =

  • a≤b<c

XaXcXb and [12 · · · n] = hn.

slide-66
SLIDE 66

The Malvenuto-Reutenauer algebra is spanned by the [π] with π ∈ Sn for some n.

slide-67
SLIDE 67

The Malvenuto-Reutenauer algebra is spanned by the [π] with π ∈ Sn for some n. It’s easy to describe how these basis elements multiply: if π ∈ Sm and σ ∈ Sn then [π][σ] =

  • [τ]

where the sum is over all τ = τ1 · · · τm+n ∈ Sm+n for which st(τ1 · · · τm) = π and st(τm+1 · · · τm+n) = σ.

slide-68
SLIDE 68

Then the algebra of noncommutative symmetric functions is the subalgebra of the Malvenuto-Reutenauer algebra generating by the hn = [1 · · · n]. Then the homomorphism Φ1 extends in two different ways to MR, we can define either Φ1a([π]) = qinv(π) xn (q)n

  • r

Φ1b([π]) = qimaj(π) xn (q)n , where π ∈ Sn.

slide-69
SLIDE 69

We have the following relations between the algebras that we’ve discussed: NCSF − − − − → MR  

  • SF

− − − − → QSF