Solutions to Assignment 2 in Enumerative Combinatorics (MATH 689), Assignments of Mathematics

Solutions to assignment 2 in the enumerative combinatorics course (math 689). It includes proofs for the recurrence relation and equality of eulerian numbers, as well as solutions to various problems related to permutations, their descent sets, and generating functions.

Typology: Assignments

Pre 2010

Uploaded on 02/10/2009

koofers-user-14d
koofers-user-14d 🇺🇸

5

(1)

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
MATH 689. Enumerative Combinatorics
Solution of Assignment 2.
1. Let A(n, k) be the Eularian number, that is, A(n, k) is the number of permutations of length
nwith k1 descents. Prove that A(n, k) satisfies the recurrence
A(n, k) = kA(n1, k )+(nk+ 1)A(n1, k 1),for 2 kn,
with boundary conditions A(n, 0) = 0, A(n, 1) = A(n, n) = 1 and A(n, k) = 0 for k > n.
Solution. For a permutation π=a1a2. . . an Sn, assume n=ai.
Case 1. If i=n, or i6=nand ai1> ai+1, then removing nwill yield a permutation of length n1
with k1 descents. There are A(n1, k ) such permutations in Sn1. Conversely, for each such a
permutation, one can insert nback in any of the descent position, or at the position n. There are
ksuch choices. Therefore, kA(n1, k ) permutations in Snfall into this case.
Case 2. If i6=nbut ai1< ai+1, then removing nwill yield a permutation of length n1 with
k2 descents. Conversely, for each such a permutation, one can insert ninto the first position, or
any of the non-descent positions. There are (n1) (k2) = nk+ 1 choices. Hence there are
(nk+ 1)A(n1, k 1) permutations in Snfall into this case.
2. Again A(n, k) is the Eularian number. Prove that
A(n, k) = A(n, n + 1 k).
Solution. If a1a2· · · anhas k1 descents, then anan1· · · a2a1has n1(k1) = nkdescents.
3. Let S[n1], and let α(S) denote the number of n-permutations whose descent set is
contained in S.
Find the one-element set {i} [n1] for which α({i}) is maximal.
Solution. α({i}) = n
i. Hence the maximal is reached when i=bn/2cand dn/2e.
4. Prove that for any permutation π,i(π) = i(π1), where i(π) is the number of inversions of
π.
Solution. If (π(i), π(j)) is an inversion of πiff i < j and π(i)> π (j). But this is exactly same as
positions π(j)< π(i), and π1(π(j)) > π1(π(i)).
5. A permutation πis called even if i(π) is even. Similarly, πis called odd if i(π) is odd. Let
n2. Prove that the number of even (odd) permutations of length nis n!/2.
Solution. For any π Snwith π=a1a2a3· · · an, let f(π) be the permutation obtained from π
by exchanging the first two entries, i.e., f(π) = a2a1a3· · · an. Then fis an involution of Snwhich
maps even permutations to odd permutations. Hence the number of even permutations is the same
as the number of odd permutations, and is equal to n!/2.
6.Exercises on page 49, Problem 31. For a permutation π, let m(π) denote the number of
left-to-right maxima of πand i(π) the number of inversions of π. Compute the generating function
F(x, q) = X
π∈Sn
xm(π)qi(π).
1
pf2

Partial preview of the text

Download Solutions to Assignment 2 in Enumerative Combinatorics (MATH 689) and more Assignments Mathematics in PDF only on Docsity!

MATH 689. Enumerative Combinatorics

Solution of Assignment 2.

  1. Let A(n, k) be the Eularian number, that is, A(n, k) is the number of permutations of length n with k − 1 descents. Prove that A(n, k) satisfies the recurrence

A(n, k) = kA(n − 1 , k) + (n − k + 1)A(n − 1 , k − 1), for 2 ≤ k ≤ n,

with boundary conditions A(n, 0) = 0, A(n, 1) = A(n, n) = 1 and A(n, k) = 0 for k > n. Solution. For a permutation π = a 1 a 2... an ∈ Sn, assume n = ai. Case 1. If i = n, or i 6 = n and ai− 1 > ai+1, then removing n will yield a permutation of length n − 1 with k − 1 descents. There are A(n − 1 , k) such permutations in Sn− 1. Conversely, for each such a permutation, one can insert n back in any of the descent position, or at the position n. There are k such choices. Therefore, kA(n − 1 , k) permutations in Sn fall into this case. Case 2. If i 6 = n but ai− 1 < ai+1, then removing n will yield a permutation of length n − 1 with k − 2 descents. Conversely, for each such a permutation, one can insert n into the first position, or any of the non-descent positions. There are (n − 1) − (k − 2) = n − k + 1 choices. Hence there are (n − k + 1)A(n − 1 , k − 1) permutations in Sn fall into this case.

  1. Again A(n, k) is the Eularian number. Prove that

A(n, k) = A(n, n + 1 − k).

Solution. If a 1 a 2 · · · an has k −1 descents, then anan− 1 · · · a 2 a 1 has n− 1 −(k −1) = n−k descents.

  1. Let S ⊆ [n − 1], and let α(S) denote the number of n-permutations whose descent set is contained in S. Find the one-element set {i} ⊆ [n − 1] for which α({i}) is maximal. Solution. α({i}) =

(n i

. Hence the maximal is reached when i = bn/ 2 c and dn/ 2 e.

  1. Prove that for any permutation π, i(π) = i(π−^1 ), where i(π) is the number of inversions of π. Solution. If (π(i), π(j)) is an inversion of π iff i < j and π(i) > π(j). But this is exactly same as positions π(j) < π(i), and π−^1 (π(j)) > π−^1 (π(i)).
  2. A permutation π is called even if i(π) is even. Similarly, π is called odd if i(π) is odd. Let n ≥ 2. Prove that the number of even (odd) permutations of length n is n!/2. Solution. For any π ∈ Sn with π = a 1 a 2 a 3 · · · an, let f (π) be the permutation obtained from π by exchanging the first two entries, i.e., f (π) = a 2 a 1 a 3 · · · an. Then f is an involution of Sn which maps even permutations to odd permutations. Hence the number of even permutations is the same as the number of odd permutations, and is equal to n!/2.

6.Exercises on page 49, Problem 31. For a permutation π, let m(π) denote the number of left-to-right maxima of π and i(π) the number of inversions of π. Compute the generating function

F (x, q) =

π∈Sn

xm(π)qi(π).

Please state your reason. Solution. Consider the inversion table (b 1 , b 2 ,... , bn) for π. A number i is a left-to-right maximal iff bi = 0. Hence F (x, q) =

(b 1 ,b 2 ,...,bn)

x

P i χ(bi=0)q

P i bi^ ,

where 0 ≤ bi ≤ n − i, and χ(bi = 0) is the indicator of bi = 0, which is 1 if bi = 0, and is 0 otherwise. Separating variables, we get

F (x, q) =

n∑− 1

b 1 =

xχ(b^1 =0)qb^1

n∑− 2

b 2 =

xχ(b^2 =0)qb^2

n∑−n

bn=

xχ(bn=0)qbn

∏^ n

i=

(x + q + q^2 + · · · + qi−^1 )

  1. The order of a permutation π is the smallest positive integer k for which πk^ = id. Assume that pi is of cycle type (c 1 , c 2 ,... , cn). What is the order of π? Solution. For a cycle C of length k, Ct^ = id iff t is a multiple of k. Hence the order of π with cycle type (c 1 , c 2 ,... , cn) is the least common multiple of all k where ck 6 = 0.
  2. How many permutations has length 6 whose fourth power is the identity permutation? Solution. For a permutation π to satisfy π^4 = id, the length of each cycle in π has to be a divisor of 4, that is, 4 or 2 or 1.
  3. Cycles of π have length 4 and 2: There are 6!/(4 · 2) = 90 permutations of this type.
  4. Cycles of π have length 4, 1 , 1: There are 6!/(4 · 1 · 1 · 2!) = 90 permutations of this type.
  5. Cycles of π have length 2, 2 , 2: There are 6!/(2^3 3!) = 15 permutations of this type.
  6. Cycles of π have length 2, 2 , 1 , 1: There are 6!/(2^2 2!2!) = 45 permutations of this type.
  7. Cycles of π have length 2, 1 , 1 , 1 , 1. There are 6!/(2 · 4!) = 15 permutations of this type.
  8. Cycles of π have length 1, 1 , 1 , 1 , 1 , 1. There is only one permutation of this type.

The total number is 256.