# F-polynomial Formula from Continued Fractions

###### Abstract.

For cluster algebras from surfaces, there is a known formula for cluster variables and -polynomials in terms of the perfect matchings of snake graphs. If the cluster algebra has trivial coefficients, there is also a known formula for cluster variables in terms of continued fractions. In this paper, we extend this result to cluster algebras with principal coefficients by producing a formula for the -polynomials in terms of continued fractions.

###### Key words and phrases:

Cluster algebras, continued fractions, snake graphs, F-polynomial###### 2000 Mathematics Subject Classification:

Primary: 13F60, Secondary: 11A55 and 30B70## 1. Introduction

Cluster algebras were introduced in 2002 by Fomin and Zelevinsky [FZ1]. These cluster algebras are commutative rings that depend on the initial cluster variables , cluster coefficients and a quiver . The combinatorial structure of these rings is based on a recursive operation called mutation. In this paper, we focus on cluster algebras with principal coefficients because a cluster variable in an arbitrary cluster algebra can be computed from a cluster variable in a corresponding cluster algebra with principal coefficients [FZ4].

Each iteration of a mutation yields a cluster variable in the form of a Laurent polynomial in terms of the initial cluster variables . The coefficients of the terms in this Laurent polynomial are monomials in the cluster coefficients. For each cluster variable there exists an -polynomial obtained from the cluster variable by setting each initial cluster variable, , equal to one. It was proved in [FZ4] that -polynomials are polynomials in the cluster coefficients.

For cluster algebras of surface type, there is a bijection between the arcs on the surface and the cluster variables of the cluster algebra [FST]. From an arc in a triangulated surface, one can construct a labeled snake graph [MSW]. For our purposes, the labeling of the snake graph is unimportant, however each numbered tile corresponds to the principal coefficient with that subscript, . This snake graph is useful because there is an expansion formula that gives the cluster variable as a sum over the perfect matchings of the snake graph [MSW]. Since the cluster variable can be obtained from the perfect matchings, so can the -polynomial of .

Theorem 4.1 in [CS4] tells us there is a bijection between positive continued fractions and snake graphs. In the same paper the authors give a formula for the cluster variable of a labeled snake graph in terms of a continued fraction of Laurent polynomials in . However, this formula only works for cluster algebras with trivial coefficients. In this paper, we extend this result to cluster algebras with principal coefficients by giving an explicit formula for the -polynomial as a continued fraction of Laurent polynomials in .

## 2. Preliminaries

A finite continued fraction

is said to be positive if each is a positive integer. We define by the recursion where . It will become useful for us to have the following definition. For a finite, positive continued fraction , define

for and .

We begin by recalling the definition of snake graphs and some of their properties. First, a tile is a fixed length square in the plane. The sides of a tile are orthogonal or parallel to a fixed basis, so it is natural for one to call the lower edge the south edge, etc. Each tile can either be placed to the right or above the previous tile. A snake graph is a connected planar graph given by a sequence of tiles , where and share exactly one edge, . The edges that are contained in two tiles are called interior edges. For a snake graph made up of tiles , the interior edges are . All of the other edges are called boundary edges. A subset of edges of where each vertex in is incident to exactly one edge in is called a perfect matching. See figure 3 for an example of a perfect matching on a snake graph with 8 tiles, where each tile is labeled by . See [CS3] for a more detailed account regarding snake graphs.

In [CS4] the authors establish a bijection between snake graphs and positive continued fractions. The snake graph obtained from the continued fraction is denoted by and consists of tiles where . The snake graph has many perfect matchings [CS4]. For example the snake graph , has perfect matchings as seen in figure 1. These perfect matchings form a poset [MSW2, Section 5] with a unique minimal and maximal element. These minimal and maximal perfect matchings, and respectively, are the only perfect matchings consisting entirely of boundary edges. For consistency, we adopt the convention that the minimal perfect matching of is the perfect matching consisting of only boundary edges that also contains the south edge of the first tile.

For two examples of posets of perfect matchings see figures 1 and 2 in example 2.1. We can climb the poset of perfect matchings from to by turning a tile. A tile can be turned if two of its edges are in the perfect matching . By turning the tile, you replace the two edges of in with the other two edges of and in doing so obtain the perfect matching . The height of is defined recursively by and if is above and obtained by turning the tile then . The -polynomial of is defined as , where the sum is over all perfect matchings of . It was shown in [MSW] that if is the snake graph of a cluster variable in a cluster algebra from a surface then the -polynomial of that cluster variable is (or a specialization of if the corresponding arc crosses a self-folded triangle).

###### Example 2.1.

In figures 1 and 2 below, we give the poset of perfect matchings on the snake graphs and respectively, where is at the bottom of the poset and is at the top. We can use these posets to compute the polynomials, and . The snake graph in figure 3 has perfect matchings an the -polynomial is given in example 3.6 using the main result of this paper.

Notice that the poset for is linear, but the poset for is not. The snake graph, is a zigzag snake graph, meaning that the placement of tiles alternates between above and to the right of the previous tile. In general, a continued fraction with a single entry yields a zigzag snake graph, , which always has a linear poset of perfect matchings.

Under the correspondence between continued fractions and snake graphs each in the continued fraction corresponds to a zigzag subgraph of . The subgraph is isomorphic to , but inherits its tile labels from , thus consisting of tiles . In figure 4 we show the subgraphs of the snake graph . Notice that is isomorphic to , shown in figure 2.

The minimal matching, , of is the completion of the matching it inherits from the minimal matching of . Technically speaking, if is the minimal perfect matching of then is given by first collecting all edges in that are also in , denoted by . Then, if this is not already a perfect matching, we must include exactly one other edge as follows.

###### Example 2.2.

In [CS, CS2, CS3] identities in the cluster algebra have been expressed in terms of snake graphs. Equation (2.1) below follows from the grafting with a single edge formula from Theorem 7.3 of [CS2], where and the grafting takes place at tile .

(2.1) |

We define the variables and as follows, where .

(2.2) |

For the case when , we define the snake graph of an empty continued fraction to be a single edge. There is only one perfect matching of a single edge, which corresponds to the -polynomial 1. Therefore equation (2.1) for the case when is as follows.

(2.3) |

## 3. Main Result

###### Definition 3.1.

For any continued fraction with , we define an associated continued fraction of Laurent polynomials , where each and

Next we will prove a lemma that is crucial in the proof of our main theorem. However, to highlight the concept of Lemma 3.3, we will first give an example.

###### Example 3.2.

Again consider the continued fraction from the previous example 2.2. Here we consider the zigzag snake graphs that are subgraphs of . For , the minimal matching shown in figure 4 corresponds to the constant term of the -polynomial, 1, and the maximal matching we obtain by turning tile 1 corresponds to the term in the -polynomial. For , we have the minimal matching associated to 1, the matching obtained from turning tile 4 associated to and the maximal matching obtained from turning tile 4 and then tile 3 associated to . Together these form the -polynomial . The -polynomial of each subgraph and is given below.

###### Lemma 3.3.

, for all .

###### Proof.

Let be odd. The tiles make up . The subgraph is the zigzag snake graph with the inherited labeling and completed minimal perfect matching discussed previously. In this completion, the first tile of the subgraph can be turned immediately and is the only such tile. If we turn tile , we can then turn the next tile and so on. Therefore

Let be even. In this case, the very last tile of , has two edges in the minimal matching of the completion, , and can be turned. Therefore in order to determine the -polynomial of , we must first turn the last tile and work our way down the snake graph.

We are now ready to prove the main result.

###### Theorem 3.4.

The F-polynomial associated to the snake graph of the continued fraction denoted by is given by the equation:

where is defined by the recursion and .

###### Proof.

Proof by induction. Let . In the case where is odd, by equation (2.2), we have and . It is clear that simply because and are the same snake graph. Then, by Lemma 3.3 we have . Note that because it is an empty product. Therefore . Thus we have shown that .

Let . In this case we use equation (2.3) and note that .

Using Lemma 3.3 and the case , we see that the right hand side is equal to and this is equal to the following, where the second equation holds by definition 3.1 and the last equation holds by the definition of .

Now let be odd. Assume that for all our statement holds. In this situation by equation (2.2), and . Additionally, we know from equation (2.1) that the F-polynomial of is given by the following.

Applying our inductive step we obtain:

.

From here we can apply Lemma 3.3.

Using the fact that and we obtain our desired result as follows.

In the case where is even, our argument is very similar. Assume that for all our statement holds. In this case, and . Again, we make the corresponding replacements based on our induction hypothesis.

###### Example 3.5.

Consider the continued fraction , then the -polynomial has 67 terms. According to Theorem 3.4, since the continued fraction has an even number of entries, the F-polynomial of the snake graph is given by .

###### Example 3.6.

Consider the continued fraction . Since , the -polynomial has 30 terms. According to Theorem 3.4, the F-polynomial of the snake graph is given by .

## References

- [CS] I. Canakci and R. Schiffler, Snake graph calculus and cluster algebras from surfaces, J. Algebra, 382 (2013) 240–281.
- [CS2] I. Canakci and R. Schiffler, Snake graph calculus and cluster algebras from surfaces II: Self-crossing snake graphs, Math. Z. 281 (1), (2015), 55–102.
- [CS3] I. Canakci and R. Schiffler, Snake graph calculus and cluster algebras from surfaces III: Band graphs and snake rings. arXiv:1506.01742.
- [CS4] I. Canakci and R. Schiffler, Cluster algebras and continued fractions. arXiv:1608.06568.
- [FST] S. Fomin, M. Shapiro, and D. Thurston, Cluster algebras and triangulated surfaces. Part I: Cluster complexes, Acta Math. 201 (2008), 83–146.
- [FZ1] S. Fomin and A. Zelevinsky, Cluster algebras I: Foundations, J. Amer. Math. Soc. 15 (2002), 497–529.
- [FZ4] S. Fomin and A. Zelevinsky, Cluster algebras IV: Coefficients, Compos. Math. 143 (2007), 112–164.
- [MSW] G. Musiker, R. Schiffler and L. Williams, Positivity for cluster algebras from surfaces, Adv. Math. 227, (2011), 2241–2308.
- [MSW2] G. Musiker, R. Schiffler and L. Williams, Bases for cluster algebras from surfaces, Compos. Math. 149, 2, (2013), 217–263.
- [S] R. Schiffler, Lecture notes on cluster algebras from surfaces, CIMPA School, Mar del Plata, 2016, to appear in Proceedings of the conference. http://www.math.uconn.edu/~schiffler/LNCIMPA.pdf