ENUMERATING TRIANGULATIONS BY PARALLEL DIAGONALS Alon Regev Department of Mathematical Sciences, Northern Illinois University, DeKalb, Illinois regev@math.niu.edu arxiv:108.91v1 [math.co] 0 Aug 01 1 Introduction The purpose of this note is to enumerate triangulations of a regular convex polygon according to the number of diagonals parallel to a fixed edge. This enumeration is of interest because it provides insight into the shape of a typical triangulation and because of its connection to the Shapiro convolution. Weconsideratriangulationofann-gonasalabeledgraphwithvertices0,1,...,n 1 1 and edges denoted xy for distinct vertices x and y. The edges include n sides 01,1,...,(n 1)0 and n diagonals. Definition 1. Let f xy (n,k) be the number of triangulations of a regular n-gonwhich include exactly k diagonals parallel to the edge xy. Also denote f xy (n,0) by f xy (n). For example, there are 1 triangulations of a hexagon, of which include a diagonal parallel to 01 (see Figure 1). The remaining 10 triangulations all have zero diagonals parallel to 01. Therefore f 01 (6,1) = and f 01 (6) = 10. Figure 1: The triangulations of a hexagon that include one diagonal parallel to 01. Given n and k, by symmetry f xy (n,k) depends only on the value of y x modulo n and not on the specific choice of x and y. Furthermore, two edges ab and cd in a triangulation of an n-gon are parallel if and only if a+b and c+d are congruent modulo n. It follows that for all n, x and y, { f 01 (n,k), if x+y is odd, f xy (n,k) = f 0 (n,k), if x+y is even, and f xy (n+1,k) = f 01 (n+1,k). 1 For convenience, the vertex 0 of an n-gon is sometimes also labeled n.
The question at hand is thus reduced to finding f 01 (n,k), f 0 (n,k) and f 01 (n+1,k). Theorems and below provide explicit formulas for these functions when k = 0 and when k > 0, respectively. These formulas are given in terms of the Catalan numbers C n = 1 n+1 Recall that there are C n triangulations of an n-gon. Therefore for all n, x and y, f xy (n,k) = C n. (1) k 0 ( n n ). The recursion relation n C i C n i = C n+1 () i=0 implies the identity n C i C n+1 i = 1 C n+, () i=0 which is used below. We also make use of the Shapiro convolution identity: n C j C n j = n C n. () Andrews [1] recently gave several proofs of () and its q-analogs, with one of these proofs being purely combinatorial (however, finding a simple bijective proof of () is still an open problem). Avoiding diagonals of a fixed direction We begin by enumerating the triangulations that avoid all diagonals parallel to a fixed edge. Theorem. For any n, and For any n 1, f 01 (n) = C n () f 0 (n) = C n 1 +C n n 1 C n 1. (6) f 01 (n+1) = n 1 C n 1 C n 1. (7) Equations (), (6) and (7) can be proved by induction on n; the base cases are easily verified.
n+1 n n+1-i i n-1 Figure : Illustration of the proof of (). The dotted lines represent the avoided diagonals. Proof of (): Enumerate the triangulations of a n-gon that include at least one diagonal parallel to 01 according to the minimal number i, with i n 1, such that i(n+1 i) is an edge of the triangulation (see Figure ). The (n i+)-gon with vertices i,i+1,...,n+1 i can be triangulated in C n i ways. By induction the i-gon with vertices 0,1,...,i,n+ 1 i,n+ i,...,n 1 can be triangulated in C i ways. Subtracting these from the total number triangulations of a n-gon gives n 1 f 01 (n) = C n C n i C i = C n = C n, i= n C n i C i +C 0 C n i= where in the last equality we have used (). Another proof of (), using a result of David Callan on Dyck paths, is outlined in Section. Proof of (7): Enumerate the triangulations of a (n + 1)-gon that include at least one diagonal parallel to 01 according to their diagonal i(n+ i) with minimal i (see Figure ). The (n i+)- gon with vertices i,i+1,...,n+ i can be triangulated in C n i+1 ways. By (), the i-gon with vertices 0,1,...,i,n+ i,n + i,...,n can be triangulated in C i
n+1 n n+-i i n Figure : Illustration of the proof of (7). ways. Therefore f 01 (n+1) = C n 1 = n n C n i+1 C i i= C j C n j n C n i+1 C i i= n = ( 1) j C j C n j. Thus by () and (), n 1 f 01 (n+1) = C j C n j n C j C n j = n 1 C n 1 C n 1. The following lemma will be used in the proof of (6). Lemma. For any n, n 1 i 1 C i 1 C n 1 i = n 1 C n 1 C n (8) Proof. Let h(n) be the number of triangulations of a n-gon together with a marking either on one of the sides 01, n(n+1) or on one of the diagonals k(n+1 k), with k n 1, if any such diagonals are present. For example, Figure shows a triangulation of a 16-gon with the diagonal (1) marked. Consider the following two ways to enumerate these marked triangulations.
10 9 8 7 11 6 1 1 1 1 Figure : Example illustrating the proof of Lemma. 1. First mark the edge (j + 1)(n j), with 0 j n 1. For example, the marked triangulation in Figure corresponds to n = 8 and j =. Then choose one of the C j triangulations of the (j + )-gon with vertices 0,1,...,j + 1,n j,n j + 1,...,n 1 and one of the C n j triangulations of the (n j)-gon with vertices j+1,j+,...,n j. Thus there are C j C (n 1) j such marked triangulations for each j. By (), n 1 h(n) = C j C (n 1) j = n 1 C n 1. (9). There are C n marked triangulations whose edge n(n +1) is the one marked. The remaining marked triangulations can be enumerated according to the maximal i, with 1 i n 1, such that i(n + 1 i) is one of the diagonals in the triangulation (where the case i = 1 corresponds to triangulations avoiding all diagonals parallel to 01.) For example, in Figure we have n = 8 and i = 6. For each such i, there are h(i) marked triangulations of the i-gon with vertices 0,1,...,i,n i+1,...,n 1, and there are f 01 (n i+) triangulations of the (n i + )-gon with vertices i,i+1,...,n+1 i which avoid the diagonals (i+1)(n i),...,n(n+1). Thus by () and (9), Comparing this with (9) completes the proof. n 1 h(n) = C n + h(i)f 01 (n i+) n 1 = C n + i 1 C i 1 C n i 1.
n+1 n n-1 n-i i n-1 0 1 Proof of (6): Figure : Illustration of the proof of (6). For convenience we calculate f 1(n 1) (n) = f 0 (n). Enumerate the triangulations of a n-gon that include at least one diagonal parallel to 1(n 1) according to their diagonal i(n i) with minimal i, where 1 i n 1 (see Figure ). By (7), the (i+1)-gon with with vertices 0,1,...,i,n i,n+1 i,...,n 1 can be triangulated in i 1 C i 1 C i 1 ways. The (n i + 1)-gon with vertices i,i + 1,...,n + i can be triangulated in C n i 1 ways. Therefore n 1 f 0 (n) = C n ( i 1 C i 1 C i 1 )C n i 1 n 1 n 1 = C n i 1 C i 1 C n 1 i + C i 1 C n i 1 = C n ( n 1 C n 1 C n )+(C n 1 n 1 C n 1 ) = C n +C n 1 n 1 C n 1, where in the penultimate equality we have used () and (8). Including a number of diagonals of a fixed direction The next theorem enumerates the triangulations with a fixed positive number of diagonals parallel to a fixed edge. Theorem. Let n and k 1. Then f 01 (n,k) = k+1 C i1 1C i 1 C ik+1 1, (10) 6
and f 0 (n,k) = k 1 ( i1 1 C i1 1 C i1 1)( i 1 C i 1 C i 1)C i 1C i 1 C ik+1 1. (11) If n,k 1 then f 01 (n+1,k) = i 1 +...+i k+1 =n ( i 1 1 C i1 1 C i1 1)C i 1C i 1 C ik+1 1. (1) Proof. Consider a triangulation of an n-gon which includes exactly k diagonals parallel to 01. These k diagonals partition the n-gon into k + 1 triangulated polygons, and partition then 1 edges 1,,...,(n 1)n into k+1corresponding partsconsisting ofi 1,...,i k+1 1 edges. The number of vertices in each resulting polygon is i j + for all j, and each such polygon is triangulated with diagonals which are not parallel to one of its sides. Thus f 01 (n,k) = f 01 (i 1 +)f 01 (i +) f 01 (i k+1 +), (1) i j 1 which together with () proves equation (10). By similar considerations, f 0 (n,k) = f 01 (i 1 +1)f 01 (i +1)f 01 (i +)f 01 (i +) f 01 (i k+1 +), i j 1 and f 01 (n+1,k) = i 1 +...+i k+1 =n i j 1 f 01 (i 1 +1)f 01 (i +)f 01 (i +) f 01 (i k+1 +). The differences between these equations and (1) result from considering the regions of the polygon which contain the vertices 0 and n. The proofs of (11) and (1) now follow from (6) and (7), respectively. Note that a consequence of (1), () and (10) is the Catalan identity k+1 C i1 1C i 1 C ik+1 1 = C n. (1) k 0 i 1 +...+i k+1 =n Another Catalan identity can be obtained by considering the set of marked triangulations of a n-gon described in the proof of Lemma. If k is the number of diagonals parallel to 01 in a triangulation of a n-gon, this triangulation corresponds to k + such marked triangulations. Thus by (10), 0 k n (k +) k+1 C i1 1C i 1 C ik+1 1 = n 1 C n 1. (1) 7
Combining (1) and (1) results in the identity Remarks 1 k n 1 i 1 +...+i k+1 =n k k C i1 1C i 1 C ik+1 1 = n 1 C n C n. The next theorem was proposed as a problem to the American Mathematical Monthly by David Callan in 00, and a solution appeared in 00. Theorem. [] The number of Dyck n-pathsthat avoid the points (k,0), k = 1,,...,n 1 is twice the number of Dyck (n 1)-paths. Callan proved Theorem using a bijection on Dyck paths. The result is equivalent to (), since the Dyck paths in question are equinumerous with the triangulations of a (n )- gon which avoid all diagonals parallel to 01. To see this, compare the initial conditions for both sequences, and observe that the Dyck paths in question satisfy an analogous recursive relations to the ones given by equations (1) and (10). Similarly, it can be shown that f 0 (n) is equal to the number of Dyck n-paths avoiding all points (k+,0) with k = 0,1,...,n 1, and that f 01 (n+1) is equal to the number of Dyck (n+1)-paths avoiding all points (k,0) with k = 1,,...,n 1. The relation with Dyck paths also gives another interpretation of these results in terms of triangulations. Using standard bijections between triangulations and Dyck paths, the points (k,0) and (k+,0) of a Dyck path correspond to the diagonals of the form 0(k+1) and 0(k), respectively, of a triangulation. This gives analogous results to those of the present note, concerning the number of diagonals of this form instead of the number of diagonals parallel to a fixed edge. The sequences f 0 (n) and f 01 (n+1) appear in [, A0667] and [, A07989], respectively. The interpretation in terms Dyck paths is given there, along with other interpretations and several interesting properties. Callan ([] and [, A0667]) proved the analog of (6) using generating functions. Barry [, A0667] gave an alternative formula for this sequence: f 0 (n+) = 1 n Callan used Dyck paths to prove that n k=0 ( n k )( n k n k 1 ). (16) f 0 (n+) = n f 01 (k +1)f 01 ((n k)+1). k=1 Another relation between these sequences is evident from (6) and (7): A direct proof of (17) may also be of interest. f 01 (n+1)+f 0 (n) = C n. (17) 8
References [1] G. E. Andrews, On Shapiro s Catalan convolution, Adv. in Appl. Math, 6(011) 1. [] D. Callan, Dyck paths avoiding the points (k, 0), #1101, AMM 109 (00), 8, solution 11 (00), 18. [] D. Callan, private communication, 01. [] N. J. A. Sloane, The On-Line Encyclopedia of Integer Sequences, http://oeis.org. 9