Catalan numbers Wonders of Science CESCI, Madurai, August

Similar documents
Catalan Numbers. Richard P. Stanley. June 9, 2017

From the Temperley Lieb algebra to non-crossing partitions. V.S. Sunder joint work with Vijay Kodiyalam (both of IMSc, Chennai)

Some Catalan Musings p. 1. Some Catalan Musings. Richard P. Stanley

Some Catalan Musings p. 1. Some Catalan Musings. Richard P. Stanley

Notes on the Catalan problem

Ma/CS 6a Class 24: More Generating Functions

2 Generating Functions

Section 3.1 Quadratic Functions

Sequences that satisfy a(n a(n)) = 0

Finite Mathematics : A Business Approach

Section 20: Arrow Diagrams on the Integers

AN INVESTIGATION OF THE CHUNG-FELLER THEOREM AND SIMILAR COMBINATORIAL IDENTITIES

Symmetries and Polynomials

1.1.1 Algebraic Operations

Chapter 3. Introducing Groups

Generating Functions

Generating Functions

The Pigeonhole Principle

Distributive property and its connection to areas

Solutions to November 2006 Problems

INFINITE SEQUENCES AND SERIES

10/22/16. 1 Math HL - Santowski SKILLS REVIEW. Lesson 15 Graphs of Rational Functions. Lesson Objectives. (A) Rational Functions

SAMPLE. 1.2 Prime factor form. 1.3 Finding the Highest Common Factor (HCF)

Spanning Trees in Grid Graphs

Graphs of Polynomial Functions

The Catalan matroid.

Some Review Problems for Exam 2: Solutions

1 Sequences and Summation

Calculus with business applications, Lehigh U, Lecture 03 notes Summer

Discrete Mathematics & Mathematical Reasoning Chapter 6: Counting

College Algebra Through Problem Solving (2018 Edition)

Chapter 2 Formulas and Definitions:

Generating Function Notes , Fall 2005, Prof. Peter Shor

Rational Catalan Combinatorics

2014 Summer Review for Students Entering Algebra 2. TI-84 Plus Graphing Calculator is required for this course.

A Combinatorial Interpretation of the Numbers 6 (2n)! /n! (n + 2)!

A Simple Proof of the Aztec Diamond Theorem

Linear Equations in One Variable *

Animals and 2-Motzkin Paths

Finding parking when not commuting. Jon McCammond U.C. Santa Barbara

Combinatorial Structures

chapter 12 MORE MATRIX ALGEBRA 12.1 Systems of Linear Equations GOALS

CHAPTER 1 NUMBER SYSTEMS. 1.1 Introduction

Finding parking when not commuting. Jon McCammond U.C. Santa Barbara

We are going to discuss what it means for a sequence to converge in three stages: First, we define what it means for a sequence to converge to zero

RCC. Drew Armstrong. FPSAC 2017, Queen Mary, London. University of Miami armstrong

Notes on generating functions in automata theory

A bijective proof of Shapiro s Catalan convolution

PROPERTIES OF THE POSET OF DYCK PATHS ORDERED BY INCLUSION. by: Jennifer Woodcock for: Dr. Mike Zabrocki Math 6002 York University

Enumerating multiplex juggling patterns

NOTES ABOUT SATURATED CHAINS IN THE DYCK PATH POSET. 1. Basic Definitions

1 Basic Combinatorics

MATH 521, WEEK 2: Rational and Real Numbers, Ordered Sets, Countable Sets

Partial Fractions. Combining fractions over a common denominator is a familiar operation from algebra: 2 x 3 + 3

ACCUPLACER MATH 0311 OR MATH 0120

1 What is the area model for multiplication?

Chapter 2 Linear Equations and Inequalities in One Variable

Compositions, Bijections, and Enumerations

ON MULTI-AVOIDANCE OF RIGHT ANGLED NUMBERED POLYOMINO PATTERNS

Worksheet 9. Topics: Taylor series; using Taylor polynomials for approximate computations. Polar coordinates.

Character Polynomials

Complex numbers, the exponential function, and factorization over C

Named numbres. Ngày 25 tháng 11 năm () Named numbres Ngày 25 tháng 11 năm / 7

Partial Fractions. June 27, In this section, we will learn to integrate another class of functions: the rational functions.

_CH04_p pdf Page 52

Chapter 2 Polynomial and Rational Functions

Problems for Putnam Training

A weighted interpretation for the super Catalan numbers

SUMMER MATH PACKET ALGEBRA TWO COURSE 229

Domino tilings with barriers. In memory of Gian-Carlo Rota

NOTES ON OCT 4, 2012

Approaches differ: Catalan numbers

SOLUTIONS FOR PROBLEMS 1-30

WEEK 7 NOTES AND EXERCISES

Combinatorics for algebraic geometers

Chapter 4E - Combinations of Functions

On Arithmetic Properties of Bell Numbers, Delannoy Numbers and Schröder Numbers

Lecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya

Differentiation. f(x + h) f(x) Lh = L.

A combinatorial bijection on k-noncrossing partitions

Enumerative and Algebraic Combinatorics of OEIS A071356

Week 9-10: Recurrence Relations and Generating Functions

Fibonacci numbers. Chapter The Fibonacci sequence. The Fibonacci numbers F n are defined recursively by

Lecture 3: Miscellaneous Techniques

Georgia Department of Education Common Core Georgia Performance Standards Framework CCGPS Advanced Algebra Unit 2

8.6 Partial Fraction Decomposition

An enumeration of equilateral triangle dissections

Generating Functions

Lesson 5b Solving Quadratic Equations

CS100: DISCRETE STRUCTURES. Lecture 3 Matrices Ch 3 Pages:

1 + lim. n n+1. f(x) = x + 1, x 1. and we check that f is increasing, instead. Using the quotient rule, we easily find that. 1 (x + 1) 1 x (x + 1) 2 =

Discrete Math, Second Problem Set (June 24)

Basic counting techniques. Periklis A. Papakonstantinou Rutgers Business School

Section 7.1 Quadratic Equations

Transformations Preserving the Hankel Transform

DIFFERENTIAL POSETS SIMON RUBINSTEIN-SALZEDO

Solving Equations Quick Reference

P1 Chapter 3 :: Equations and Inequalities

QUADRANT MARKED MESH PATTERNS IN 132-AVOIDING PERMUTATIONS III

CHAPTER 1 POLYNOMIALS

Transcription:

Catalan numbers Wonders of Science CESCI, Madurai, August 25 2009 V.S. Sunder Institute of Mathematical Sciences Chennai, India sunder@imsc.res.in August 25, 2009

Enumerative combinatorics Enumerative combinatorics deals with the bag of tricks used by mathematician to count the number of objects in a set - very often by setting up a bijection (or 1-1 correspondence) with some other set one can count. Here are two of my favourite examples:

Enumerative combinatorics Enumerative combinatorics deals with the bag of tricks used by mathematician to count the number of objects in a set - very often by setting up a bijection (or 1-1 correspondence) with some other set one can count. Here are two of my favourite examples: Theorem n k k n k n 1 = + n 1 k 1 k = n n 1 k 1

Enumerative combinatorics Enumerative combinatorics deals with the bag of tricks used by mathematician to count the number of objects in a set - very often by setting up a bijection (or 1-1 correspondence) with some other set one can count. Here are two of my favourite examples: Theorem n k k n k n 1 = + n 1 k 1 k = n n 1 k 1 Proof. (a) Among all possible Indian cricket teams, consider those that include Sehwag and those that do not.

Enumerative combinatorics Enumerative combinatorics deals with the bag of tricks used by mathematician to count the number of objects in a set - very often by setting up a bijection (or 1-1 correspondence) with some other set one can count. Here are two of my favourite examples: Theorem n k k n k n 1 = + n 1 k 1 k = n n 1 k 1 Proof. (a) Among all possible Indian cricket teams, consider those that include Sehwag and those that do not. (b) To pick a cricket team and a captain, you can either first pick the team and then the captain (like the Aussies) or first pick the captain and then the rest of the team (like the English).

Catalan Numbers This talk is about the quite amazing sequence of Catalan numbers 1, 1, 2, 5, 14, 42, 132, 429, 1430, 4862, 16796, 58786, 208012,... named after the Belgian mathematician Eugène Charles Catalan (1814-894) - which arises in numerous contexts.

Catalan Numbers This talk is about the quite amazing sequence of Catalan numbers 1, 1, 2, 5, 14, 42, 132, 429, 1430, 4862, 16796, 58786, 208012,... named after the Belgian mathematician Eugène Charles Catalan (1814-894) - which arises in numerous contexts. The book Enumerative Combinatorics: Volume 2 by combinatorial mathematician Richard P. Stanley contains a set of exercises which describe 66 different sequences of sets with the property that the n-th set of each collection has the same number C n of objects. (See http://www-math.mit.edu/ rstan/ec/catalan.pdf)

Catalan Numbers This talk is about the quite amazing sequence of Catalan numbers 1, 1, 2, 5, 14, 42, 132, 429, 1430, 4862, 16796, 58786, 208012,... named after the Belgian mathematician Eugène Charles Catalan (1814-894) - which arises in numerous contexts. The book Enumerative Combinatorics: Volume 2 by combinatorial mathematician Richard P. Stanley contains a set of exercises which describe 66 different sequences of sets with the property that the n-th set of each collection has the same number C n of objects. (See http://www-math.mit.edu/ rstan/ec/catalan.pdf) Here are some examples, illustrated for n = 3: (i) C n is the number of acceptable arrangements of n pairs of parentheses (so that every ( precedes its matching ) : ((())) ()(()) ()()() (())() (()())

Catalan Numbers RRRUUU RURRUU RURURU RRUURU RRURUU This talk is about the quite amazing sequence of Catalan numbers 1, 1, 2, 5, 14, 42, 132, 429, 1430, 4862, 16796, 58786, 208012,... named after the Belgian mathematician Eugène Charles Catalan (1814-894) - which arises in numerous contexts. The book Enumerative Combinatorics: Volume 2 by combinatorial mathematician Richard P. Stanley contains a set of exercises which describe 66 different sequences of sets with the property that the n-th set of each collection has the same number C n of objects. (See http://www-math.mit.edu/ rstan/ec/catalan.pdf) Here are some examples, illustrated for n = 3: (i) C n is the number of acceptable arrangements of n pairs of parentheses (so that every ( precedes its matching ) : ((())) ()(()) ()()() (())() (()()) (ii) C n is the number of strings of n R s and n U s so that each initial substring has at least as many R s as U s.

Monotonic paths and non-crossing partitions (iii) C n is the number of monotonic paths from (0, 0) to (n, n) consisting of 2n steps which go to the right or go up by one unit, and which (are good in that they) never cross (but may touch) the diagonal y = x.

Monotonic paths and non-crossing partitions (iii) C n is the number of monotonic paths from (0, 0) to (n, n) consisting of 2n steps which go to the right or go up by one unit, and which (are good in that they) never cross (but may touch) the diagonal y = x. (iv) C n is the number of non-crossing pair partitions of {1, 2,, 2n} 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 6 5 4 6 5 4 6 5 4 6 5 4 6 5 4

Monotonic paths and non-crossing partitions (iii) C n is the number of monotonic paths from (0, 0) to (n, n) consisting of 2n steps which go to the right or go up by one unit, and which (are good in that they) never cross (but may touch) the diagonal y = x. (iv) C n is the number of non-crossing pair partitions of {1, 2,, 2n} 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 6 5 4 6 5 4 6 5 4 6 5 4 6 5 4 (v) C n is the number of non-crossing partitions of {1, 2,, n} 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3

The formula Theorem C n = 2n n 2n = 1 n + 1 n + 1 2n n for n 0. (1)

The formula Theorem C n = 2n n 2n = 1 n + 1 n + 1 2n n for n 0. (1) For our proof, We shall use the formulation (iii) in terms of monotonic paths. For points m = (m 1, m 2) and n = (n 1, n 2) with integer coordinates (in the plane), let us write P(m,n) for the set of monotonic paths from m to n. This set is clearly empty precisely when n i m i for both i; and if this set is non-empty, any path in it must consist of n 1 m 1 R s and n 2 m 2 U s, so P(m,n) = (n1 m1 + n2 m2) n i m i (Reason: Of a total of (n 1 m 1 + n 2 m 2) steps, you must choose (n 1 m 1) steps to be R s, or equivalently (n 2 m 2) steps to be U s.) (2)

The formula Theorem C n = 2n n 2n = 1 n + 1 n + 1 2n n for n 0. (1) For our proof, We shall use the formulation (iii) in terms of monotonic paths. For points m = (m 1, m 2) and n = (n 1, n 2) with integer coordinates (in the plane), let us write P(m,n) for the set of monotonic paths from m to n. This set is clearly empty precisely when n i m i for both i; and if this set is non-empty, any path in it must consist of n 1 m 1 R s and n 2 m 2 U s, so P(m,n) = (n1 m1 + n2 m2) n i m i (Reason: Of a total of (n 1 m 1 + n 2 m 2) steps, you must choose (n 1 m 1) steps to be R s, or equivalently (n 2 m 2) steps to be U s.) Call an element of P((0, 0), (n, n)) good if it does not cross the diagonal y = x, and write P g((0, 0), (n, n)) for the set of such paths. In view of (2), we need only to identify the number P b ((0, 0), (n, n)) of bad paths, since C n = P g = P P b. (2)

Reflection trick Note, by a shift, that we may identify P g((0, 0), (n, n)) with the set P g((1, 0), (n + 1, n)) of monotonic paths which do not touch the diagonal y = x. Consider the set P b ((1, 0), (n + 1, n)) of monotonic paths which do touch the diagonal y = x.

Reflection trick Note, by a shift, that we may identify P g((0, 0), (n, n)) with the set P g((1, 0), (n + 1, n)) of monotonic paths which do not touch the diagonal y = x. Consider the set P b ((1, 0), (n + 1, n)) of monotonic paths which do touch the diagonal y = x. The point is this: 1 any path γ P b ((1, 0), (n + 1, n)) can be uniquely written as a concatenation γ = γ 1 γ 2, with γ 1 P((1, 0), (j, j)) and γ 2 P((j, j), (n + 1, n)), where (j, j) is the first point where γ meets the diagonal; and

Reflection trick Note, by a shift, that we may identify P g((0, 0), (n, n)) with the set P g((1, 0), (n + 1, n)) of monotonic paths which do not touch the diagonal y = x. Consider the set P b ((1, 0), (n + 1, n)) of monotonic paths which do touch the diagonal y = x. The point is this: 1 any path γ P b ((1, 0), (n + 1, n)) can be uniquely written as a concatenation γ = γ 1 γ 2, with γ 1 P((1, 0), (j, j)) and γ 2 P((j, j), (n + 1, n)), where (j, j) is the first point where γ meets the diagonal; and 2 if we write eσ for the path obtained by reflecting the path σ in the diagonal y = x, then the association γ γ 1 eγ 2 sets up a bijection P b ((1, 0), (n + 1, n)) P((1, 0), (n, n + 1)). (Reason: any monotonic path from (1, 0) to (n, n + 1) starts below the diagonal and finishes above the diagonal, and hence must be of the form γ 1 eγ 2 for a path γ which must necessarily be in P b ((1, 0), (n + 1, n))).

So, another appeal to (2) shows that P b ((0, 0), (n, n)) = P b ((1, 0), (n + 1, n)) = P((1, 0), (n, n + 1)) 2n = n 1

So, another appeal to (2) shows that and hence P b ((0, 0), (n, n)) = P b ((1, 0), (n + 1, n)) = P((1, 0), (n, n + 1)) 2n = n 1 C n = 2n n 2n n 1 = (2n) n n (2n) (n + 1) (n 1) = (2n) n n (1 n n + 1 ) = 1 n + 1 2n n

Dyck paths In the literature, you will find references to Dyck paths which are really nothing but a (rotated, then reflected) version of what we have called good monotonic paths. By definition, the permissible steps in a Dyck path move either south-east or north-east from (m 1, m 2) to (m 1, m 2 ± 1), the path starts and ends on the x-axis, and the required goodness from it is that it should never stray below the x-axis, although it may touch it. (The reason for my departure from convention is that it is easier, with my limited computer skills, to draw pictures with horizontal and vertical lines)

Dyck paths In the literature, you will find references to Dyck paths which are really nothing but a (rotated, then reflected) version of what we have called good monotonic paths. By definition, the permissible steps in a Dyck path move either south-east or north-east from (m 1, m 2) to (m 1, m 2 ± 1), the path starts and ends on the x-axis, and the required goodness from it is that it should never stray below the x-axis, although it may touch it. (The reason for my departure from convention is that it is easier, with my limited computer skills, to draw pictures with horizontal and vertical lines) Thus C n is the number of Dyck paths of length 2n (from (0, 0) to (2n, 0)).

Dyck paths In the literature, you will find references to Dyck paths which are really nothing but a (rotated, then reflected) version of what we have called good monotonic paths. By definition, the permissible steps in a Dyck path move either south-east or north-east from (m 1, m 2) to (m 1, m 2 ± 1), the path starts and ends on the x-axis, and the required goodness from it is that it should never stray below the x-axis, although it may touch it. (The reason for my departure from convention is that it is easier, with my limited computer skills, to draw pictures with horizontal and vertical lines) Thus C n is the number of Dyck paths of length 2n (from (0, 0) to (2n, 0)). A Dyck path is said to be irreducible if it touches the x-axis only at (0, 0) and (2n, 0). By ignoring the first and last steps of the path (and shifting down by one unit), it is not hard to see that the number of irreducible Dyck paths of length 2n is C n 1.

Recurrence relation Another proof of the formula given in Theorem 2 appeals to the following recurrence relation the Catalan numbers satisfy:

Recurrence relation Another proof of the formula given in Theorem 2 appeals to the following recurrence relation the Catalan numbers satisfy: C 0 = 1 and C n+1 = nx C i C n i n 0. (3) i=0

Recurrence relation Another proof of the formula given in Theorem 2 appeals to the following recurrence relation the Catalan numbers satisfy: C 0 = 1 and C n+1 = nx C i C n i n 0. (3) i=0 A proof of this recurrence relation appeals to the Dyck path definition, and goes by induction, considering the smallest i such that a given Dyck path passes through (2(i + 1), 0), and the fact that the number of such irreducible Dyck paths is C i C n i. Here is a Dyck path which is a concatenation of two irreducible ones:

Sketch of second proof - via generating functions Another way to keep track of a sequence {a n : n = 0, 1, 2,...} of numbers is via their generating function X A(x) = a nx n This is a purely formal power series, but even without worrying about whether such series converge, we can add and multiply them just like polynomials. n=0

Sketch of second proof - via generating functions Another way to keep track of a sequence {a n : n = 0, 1, 2,...} of numbers is via their generating function X A(x) = a nx n This is a purely formal power series, but even without worrying about whether such series converge, we can add and multiply them just like polynomials. For example, for the generating function C(x) = P C nx n, we see that n=0 C(x) 2 = ( X C mx m )( X C nx n ) from which we see that = = X kx ( C mc k m )x k k=0 m=0 X C k+1 x k k=0 C(x) = 1 + xc(x) 2

Sketch of second proof - via generating functions Another way to keep track of a sequence {a n : n = 0, 1, 2,...} of numbers is via their generating function X A(x) = a nx n This is a purely formal power series, but even without worrying about whether such series converge, we can add and multiply them just like polynomials. For example, for the generating function C(x) = P C nx n, we see that n=0 C(x) 2 = ( X C mx m )( X C nx n ) from which we see that = = X kx ( C mc k m )x k k=0 m=0 X C k+1 x k k=0 C(x) = 1 + xc(x) 2 Solving this quadratic equation, we see that we must have C(x) = (1 ± 1 4x)/2x (4)

The + sign in equation (4) yields a function which blows up at 0. On the other hand, the function c(x) = (1 1 4x)/2x is smooth at 0 and is seen to have a Taylor series expansion. Since the Catalan numbers are determined by the recurrence relations (3) it follows that C k should be the coefficient of x k in this power series. Recalling what one had learnt about the binomial theorem for general exponents, we recover the formula of Theorem 2.

Other manifestations Also, C n has the following interpretations:

Other manifestations Also, C n has the following interpretations: C n is the number of ways that the vertices of a convex 2n-gon can be paired so that the line segments joining paired vertices do not intersect.

Other manifestations Also, C n has the following interpretations: C n is the number of ways that the vertices of a convex 2n-gon can be paired so that the line segments joining paired vertices do not intersect. C n is the number of ways of triangulating a labelled polygon with n + 2 vertices.

Other manifestations Also, C n has the following interpretations: C n is the number of ways that the vertices of a convex 2n-gon can be paired so that the line segments joining paired vertices do not intersect. C n is the number of ways of triangulating a labelled polygon with n + 2 vertices. C n is the number of ways of tiling a stairstep shape of height n with n rectangles.

Hankel matrix The n n Hankel matrix whose (i, j) entry is the Catalan number C i+j 2 has determinant 1, regardless of the value of n. For example, for n = 4, we have 1 1 2 5 1 2 5 14 2 5 14 42 = 1 5 14 42 132

Hankel matrix The n n Hankel matrix whose (i, j) entry is the Catalan number C i+j 2 has determinant 1, regardless of the value of n. For example, for n = 4, we have 1 1 2 5 1 2 5 14 2 5 14 42 = 1 5 14 42 132 Note that if the entries are shifted, namely the Catalan numbers Ci+j-1, the determinant is still 1, regardless of the size of n. For example, for n = 4 we have 1 2 5 14 2 5 14 42 5 14 42 132 14 42 132 429 = 1

Hankel matrix The n n Hankel matrix whose (i, j) entry is the Catalan number C i+j 2 has determinant 1, regardless of the value of n. For example, for n = 4, we have 1 1 2 5 1 2 5 14 2 5 14 42 = 1 5 14 42 132 Note that if the entries are shifted, namely the Catalan numbers Ci+j-1, the determinant is still 1, regardless of the size of n. For example, for n = 4 we have 1 2 5 14 2 5 14 42 5 14 42 132 14 42 132 429 = 1 The Catalan numbers form the unique sequence with this property.

Home-work 1. Verify that all the collections asserted to have C n elements do indeed have that many elements.

Home-work 1. Verify that all the collections asserted to have C n elements do indeed have that many elements. 2. Check the details of the proof of the recurrence relation which was outlined here.

Home-work 1. Verify that all the collections asserted to have C n elements do indeed have that many elements. 2. Check the details of the proof of the recurrence relation which was outlined here. 3. Try to verify the assertions about Hankel matrices of Catalan numbeers.