---
title: Symmetric Dyck Paths in Catalan Combinatorics
url: https://www.emergentmind.com/topics/symmetric-dyck-paths
type: topic
---

# Symmetric Dyck Paths in Catalan Combinatorics

A symmetric Dyck path is a classical Dyck path invariant under reflection about its midpoint—formally, the involution mapping each step at position $i$ to the conjugate step at position $2n - i + 1$, with $U \leftrightarrow D$. These objects form a central subclass of the Catalan family, appearing naturally in numerous enumerative, algebraic, and combinatorial contexts. Their structure leads to deep connections with ballot sequences, q-Narayana polynomials at $q=-1$, bijective coding via Dyck numbers, and the explicit study of intrinsic statistics such as valleys and peaks.

## 1. Formal Definitions and Symmetry Characterizations

Let $n\geq 0$. A Dyck path of semilength $n$ is a lattice path from $(0,0)$ to $(2n,0)$, never dipping below the $x$-axis, and composed of steps $U=(1,1)$ (up) and $D=(1,-1)$ (down). Encoded as Dyck words over $\{U,D\}$ or $\{(,)\}$, such paths correspond bijectively to Catalan objects.

A Dyck path is symmetric if it is invariant under the reflection mapping across the vertical line $x=n$. In step language, this requires
\[
s_i = \overline{s_{2n-i+1}}, \quad 1 \leq i \leq 2n,
\]
where $\overline{U} = D$ and $\overline{D} = U$ [2302.02765]. In terms of the height sequence $(p_0=0, p_1, ..., p_{2n}=0)$, symmetry requires that $p_i = p_{2n - i}$ for $0\le i \le n$ [2601.08366].

When Dyck paths are encoded as binary strings replacing $U$ with $0$ and $D$ with $1$, a Dyck path is symmetric iff the (stripped) binary representation is palindromic under the map $b_i = 1 - b_{k - i + 1}$, where $k$ is the bit-length after leading zeros are removed [2302.02765].

## 2. Enumeration and Generating Functions

The total number $s(n)$ of symmetric Dyck paths of semilength $n$ is
\[
s(n) = \binom{n}{\lfloor n/2 \rfloor}.
\]
This follows from a bijection with ballot paths of length $n$, as established via classical reflection principles and explicitly by Eremin [2302.02765, 2601.08366].

The generating function for $s(n)$ splits into even and odd components:
\[
\sum_{n\geq 0} s(n)x^n
= \frac{1}{\sqrt{1-4x^2}} + \frac{1-\sqrt{1-4x^2}}{2x}.
\]

The $q$-Narayana numbers $N_{n,k}(q)$, which enumerate Dyck paths of semilength $n$ with $k$ valleys, possess the remarkable property that evaluating at $q=-1$ yields the distribution of symmetric Dyck paths by valley number:
\[
u(n,k) = N_{n,k}(-1)
\]
where $u(n,k)$ is the number of symmetric Dyck paths of semilength $n$ with $k$ valleys [2601.08366]. In particular,
\[
\sum_{k=0}^n N_{n,k}(-1) = \binom{n}{\lfloor n/2 \rfloor}.
\]

Closed forms for the valley distribution are given piecewise:
- For $k=2j$: $N_{n,2j}(-1) = {\lfloor n/2\rfloor \choose j} {\lfloor (n+1)/2 \rfloor \choose j}$
- For $k=2j+1$: $N_{n,2j+1}(-1) = {\lfloor n/2\rfloor \choose j} {\lfloor (n+1)/2 \rfloor \choose j+1}$

## 3. Binary Coding, Dyck Numbers, and Symmetric Bijections

Dyck paths can be encoded as positive integers called Dyck numbers (OEIS A036991), by writing the path in binary as described above and removing leading zeros. Symmetric Dyck numbers correspond to those whose binary forms are palindromic-complements.

A bijection $B$ maps any Dyck number $d>0$ to a unique symmetric Dyck number:
\[
B(d) = (\overline{s})\,s,
\]
where $d=1s$, $|s|=n$, and $\overline{s}$ is the bitwise complement of $s$ [2302.02765]. Every asymmetric Dyck number serves as the root of an infinite unary "bijection tree" whose subsequent nodes are symmetric Dyck numbers, forming a forest structure.

Algorithms provided in [2302.02765] test Dyckness, apply $B$, test for symmetry, and generate these bijection forests.

## 4. Fine Statistics: Peaks, Valleys, and Weight Distributions

A rich structure emerges upon refining Dyck path statistics:
- A peak is an occurrence of $UD$, a valley $DU$.
- A peak (resp.\ valley) is symmetric if it lies within a maximal mountain (resp.\ valley) $U^i D^j$ (resp.\ $D^i U^j$) with $i=j$; otherwise it is left- or right-asymmetric.

Enumerating symmetric peaks (and valleys) of weight $k+1$ over all Dyck paths leads to refined generating functions. For symmetric peaks:
\[
S_k(x) = x^{k+1} \left(1 + \frac{x}{\sqrt{1-4x}}\right) C(x),\quad C(x) = \frac{1-\sqrt{1-4x}}{2x}
\]
where $S_{n,k} = [x^n]S_k(x)$ is the total over all $D_{n+1}$ [2112.13584].

For symmetric valleys,
\[
V_k(x) = x^{2k}\frac{C(x)^{2k+1}}{\sqrt{1-4x}},
\]
with the aggregated generating function for symmetric valleys in $D_{n+2}$ given by
\[
\sum_{n\ge 0} sv(n)x^n = \frac{2}{1-3x-4x^2+(1-x)\sqrt{1-4x}}.
\]

Elizalde's trivariate continued-fraction generating function encodes the joint distribution of symmetric and asymmetric peaks.

## 5. Bijective and Combinatorial Structures

Explicit bijections underpin the enumeration and classification of symmetric Dyck paths. The core bijection for symmetric peaks of weight $k+1$ maps marked symmetric peaks to decompositions into free Dyck paths and partial Dyck paths of a given ending height [2112.13584]. Analogous constructions enumerate valleys and asymmetric peaks/valleys, leveraging the inherent symmetry and reflection properties.

Further, in the Dyck number model, the map $B$ and its inverse translate between arbitrary and symmetric Dyck numbers, generating connected components (bijection trees) with distinctive combinatorial interpretations [2302.02765].

## 6. Connections with q-Narayana Theory and Ballot Paths

The relationship between symmetric Dyck paths and $q$-Narayana numbers, specifically at $q=-1$, interlaces algebraic and enumerative combinatorics. The recurrence relations for $N_{n,k}(-1)$ mirror those arising from direct combinatorial decompositions of symmetric Dyck paths by valleys, leading to equidistribution [2601.08366]. The ballot path bijection explains the binomial enumeration, solidifying the bridge between path symmetry and ballot enumeration.

## 7. Extensions, Applications, and Significance

Symmetric Dyck paths and their refined statistics contribute intricate structure to Catalan combinatorics. They provide key cases in the study of rational Dyck paths [2503.20155], with applications in algebraic geometry (e.g., parking functions, rational Cherednik algebras), and representation theory.

Fine enumeration of symmetric peaks, valleys, and their weights refines longstanding Catalan results, inserting Riordan arrays and generating function theory into the framework [2112.13584]. The bijection tree model offers algorithmic and computational handles for further exploration [2302.02765]. Finally, the equality $N_{n,k}(-1) = \#\{\text{symm. Dyck paths of semilength }n\text{ with }k\text{ valleys}\}$ synthesizes algebraic and combinatorial aspects in a unified theory [2601.08366].

Source: https://www.emergentmind.com/topics/symmetric-dyck-paths