# Associahedron

In mathematics, an associahedron K$_n$ is an (n – 2)-dimensional convex polytope in which each vertex corresponds to a way of correctly inserting opening and closing parentheses in a string of n letters, and the edges correspond to single application of the associativity rule. Equivalently, the vertices of an associahedron correspond to the triangulations of a regular polygon with n + 1 sides and the edges correspond to edge flips in which a single diagonal is removed from a triangulation and replaced by a different diagonal. Associahedra are also called Stasheff polytopes after the work of Jim Stasheff, who rediscovered them in the early 1960s after earlier work on them by Dov Tamari.

## Examples

The one-dimensional associahedron K$_3$ represents the two parenthesizations ((xy)z) and (x(yz)) of three symbols, or the two triangulations of a square. It is itself a line segment.
The two-dimensional associahedron K$_4$ represents the five parenthesizations of four symbols, or the five triangulations of a regular pentagon. It is itself a pentagon and is related to the pentagon diagram of a monoidal category.
The three-dimensional associahedron K$_5$ is an enneahedron with nine faces (three disjoint quadrilaterals and six pentagons) and fourteen vertices, and its dual is the triaugmented triangular prism.

## Realization

Initially Jim Stasheff considered these objects as curvilinear polytopes. Subsequently, they were given coordinates as convex polytopes in several different ways; see the introduction of Ceballos, Santos & Ziegler (2015) for a survey.
One method of realizing the associahedron is as the secondary polytope of a regular polygon. In this construction, each triangulation of a regular polygon with n + 1 sides corresponds to a point in (n + 1)-dimensional Euclidean space, whose ith coordinate is the total area of the triangles incident to the ith vertex of the polygon. For instance, the two triangulations of the unit square give rise in this way to two four-dimensional points with coordinates (1, 1/2, 1, 1/2) and (1/2, 1, 1/2, 1). The convex hull of these two points is the realization of the associahedron K$_3$. Although it lives in a 4-dimensional space, it forms a line segment (a 1-dimensional polytope) within that space. Similarly, the associahedron K$_4$ can be realized in this way as a regular pentagon in five-dimensional Euclidean space, whose vertex coordinates are the cyclic permutations of the vector (1, 2 + φ, 1, 1 + φ, 1 + φ) where φ denotes the golden ratio. Because the possible triangles within a regular hexagon have areas that are integer multiples of each other, this construction can be used to give integer coordinates (in six dimensions) to the three-dimensional associahedron K$_5$; however (as the example of K$_4$ already shows) this construction in general leads to irrational numbers as coordinates.
Another realization, due to Jean-Louis Loday, is based on the correspondence of the vertices of the associahedron with n-leaf rooted binary trees, and directly produces integer coordinates in (n − 2)-dimensional space. The ith coordinate of Loday's realization is a$_i$b$_i$, where a$_i$ is the number of leaf descendants of the left child of the ith internal node of the tree (in left-to-right order) and b$_i$ is the number of leaf descendants of the right child.
It is possible to realize the associahedron directly in (n − 2)-dimensional space as a polytope for which all of the face normal vectors have coordinates that are 0, +1, or −1. There are exponentially many combinatorially distinct ways of doing this.
Because K$_5$ is a polyhedron only with vertices in which 3 edges come together it is possible for a hydrocarbon to exist (similar to the Platonic hydrocarbons) whose chemical structure is represented by the skeleton of K$_5$. This "associahedrane" C$_{14}$H$_{14}$ would have the SMILES notation: C12-C3-C4-C1-C5-C6-C2-C7-C3-C8-C4-C5-C6-C78. Its edges would be of approximately equal length, but the vertices of each face would not necessarily be coplanar.
Indeed, K$_5$ is a near-miss Johnson solid: it looks like it might be possible to make from squares and regular pentagons, but it is not. Either the vertices will not quite be coplanar, or the faces will have to be distorted slightly away from regularity.

## Number of k-faces

| kn | 1 | 2 | 3 | 4 | 5 | Σ |
| 1 | 1 | | | | | 1 |
| 2 | 1 | 2 | | | | 3 |
| 3 | 1 | 5 | 5 | | | 11 |
| 4 | 1 | 9 | 21 | 14 | | 45 |
| 5 | 1 | 14 | 56 | 84 | 42 | 197 |
The number of (n − k)-dimensional faces of the associahedron of order n (K$_{n+1}$) is given by the number triangle (n,k), shown on the right.
The number of vertices in K$_{n+1}$ is the n-th Catalan number (right diagonal in the triangle).
The number of facets in K$_{n+1}$ (for n≥2) is the n-th triangular number minus one (second column in the triangle), because each facet corresponds to a 2-subset of the n objects whose groupings form the Tamari lattice T$_n$, except the 2-subset that contains the first and the last element.
The number of faces of all dimensions (including the associahedron itself as a face, but not including the empty set) is a Schröder–Hipparchus number (row sums of the triangle).

## Diameter

In the late 1980s, in connection with the problem of rotation distance, Daniel Sleator, Robert Tarjan, and William Thurston provided a proof that the diameter of the n-dimensional associahedron K$_{n+2}$ is at most 2n − 4 for infinitely many n and for all "large enough" values of n. They also proved that this upper bound is tight when n is large enough, and conjectured that "large enough" means "strictly greater than 9". This conjecture was proved in 2012 by Lionel Pournin.

## Scattering amplitudes

In 2017, Mizera and Arkani-Hamed et al. showed that the associahedron plays a central role in the theory of scattering amplitudes for the bi-adjoint cubic scalar theory. In particular, there exists an associahedron in the space of scattering kinematics, and the tree level scattering amplitude is the volume of the dual associahedron. The associahedron also helps explaining the relations between scattering amplitudes of open and closed strings in string theory.