---
title: Triangle Matchings in Graph Theory
url: https://www.emergentmind.com/topics/triangle-matchings
type: topic
---

# Triangle Matchings in Graph Theory

Triangle matchings form a cluster of related notions rather than a single standard definition. In graph theory, the term may denote the graph \(nK_3\) of \(n\) vertex-disjoint triangles, its connected analogue \(c(nK_3)\), or perfect matchings in structures whose basic blocks are triangles, such as Steiner triple systems. In matching theory, it also appears through restrictions such as triangle-free \(2\)-matchings, where a \(2\)-matching may contain paths and cycles but is forbidden to contain a \(3\)-cycle. In computational geometry, triangles may define adjacency through empty equilateral witnesses or act as forbidden subgraphs in unions of non-crossing perfect matchings. The literature therefore treats triangle matchings through Ramsey theory, \(2\)-matching theory, geometric proximity graphs, hypergraph packings, and cell-incidence matchings in triangulations [1509.05530], [1003.2697], [1211.2734], [1611.02246].

## 1. Foundational meanings and formal models

The main uses of the term can be organized by the ambient combinatorial object.

| Context | Formal object | Representative source |
|---|---|---|
| Ramsey theory | \(nK_3\) and \(c(nK_3)\) | [1509.05530] |
| Restricted \(2\)-matching | triangle-free \(2\)-matching, or \(\mathcal T\)-free \(b\)-matching | [1003.2697], [1911.06436] |
| Design theory | perfect matching in a Steiner triple system | [1611.02246] |
| Tripartite triangle systems | Latin squares as triangle decompositions of \(K_{n,n,n}\) | [2109.15201] |
| Computational geometry | matching in \(G_{\bigtriangledown}(P)\), \(\Theta_6\)-graphs, or geometric perfect matchings with triangle-free union | [1211.2734], [1901.01476], [1611.10058] |
| Cell complexes | complete matching of cells in a triangulation | [1808.09206] |

In Ramsey-theoretic usage, \(nK_3\) means a triangle matching: a graph consisting of \(n\) vertex-disjoint triangles. The connected version \(c(nK_3)\) denotes any connected graph containing \(n\) vertex-disjoint triangles; it need not be exactly \(nK_3\) [1509.05530]. In \(2\)-matching theory, a triangle-free \(2\)-matching is an edge set \(M\subseteq E(G)\) with \(d_M(v)\le 2\) for every vertex and with no triangle in its support [1003.2697]. In the weighted \(\mathcal T\)-free formulation, one is given a specified set \(\mathcal T\) of forbidden triangles and requires \(E(T)\not\subseteq M\) for every \(T\in\mathcal T\) [1911.06436].

In design theory, a Steiner triple system is a decomposition of \(K_n\) into triangles, and a perfect matching in that \(3\)-uniform hypergraph is a set of vertex-disjoint triangles covering all vertices [1611.02246]. In Latin-square language, a Latin square is a triangle decomposition of \(K_{n,n,n}\); a partial transversal corresponds to a vertex-disjoint triangle matching, whereas the full Latin square itself is an edge-disjoint triangle decomposition [2109.15201]. In geometric settings, triangles can be either witnesses of adjacency, as in \(G_{\bigtriangledown}(P)\), or forbidden configurations in the union of several non-crossing perfect matchings [1211.2734], [1611.10058].

## 2. Ramsey-theoretic triangle matchings

The classical Ramsey-theoretic triangle matching is \(nK_3\), while the connected analogue \(c(nK_3)\) is defined as any connected graph containing \(n\) vertex-disjoint triangles. The exact two-color Ramsey number of the connected version is
\[
R(c(nK_3),c(nK_3))=7n-2 \qquad (n\ge 2),
\]
whereas the classical Burr–Erdős–Spencer result gives
\[
R(nK_3,nK_3)=5n.
\]
The increase from \(5n\) to \(7n-2\) is caused by connectedness: many disjoint monochromatic triangles do not suffice unless they lie in one connected monochromatic subgraph [1509.05530].

A central auxiliary statement in that theory is
\[
R(c(nK_3),mK_2)=3n+m-1 \qquad (1\le m\le n).
\]
This mixed Ramsey number drives the proof of the exact theorem by converting the absence of a connected triangle matching in one color into the presence of a sizable ordinary matching in the other color, which can then be extended to triangles using vertices in other components [1509.05530]. The same paper develops perturbed versions with a third color encoding missing edges and applies them to almost-squares of cycles, proving that for every fixed \(\eta>0\) there exists \(c=c(\eta)\) such that
\[
R(C_n^{2,c},C_n^{2,c})\le (1+\eta)\frac{7n}{3}.
\]
This places connected triangle matchings in the regularity-and-blow-up pipeline as reduced-graph skeletons for embedding cycle-square-like structures [1509.05530].

Ordered Ramsey theory produces a different triangle-versus-matching problem. For an ordered matching \(M^<\), the off-diagonal number \(r_<(M^<,K_3^<)\) asks how large a complete ordered graph must be before every red-blue coloring contains either a red ordered copy of \(M^<\) or a blue ordered triangle. For almost all \(n\)-vertex ordered matchings with interval chromatic number \(2\),
\[
r_<(M^<,K_3^<)\in \Omega((n/\log n)^{5/4})
\quad\text{and}\quad
r_<(M^<,K_3^<)\in O(n^{7/4}),
\]
while for every \(k\ge 3\) there exist \(n\)-vertex ordered matchings with \(\chi_<(M^<)=k\) satisfying
\[
r_<(M^<,K_3^<)\in \Omega((n/\log n)^{4/3}).
\]
These results show that in the ordered setting, sparse matchings can still display substantial Ramsey complexity against triangles [2305.17933].

## 3. Triangle-free \(2\)-matchings and excluded-triangle constraints

A \(2\)-matching allows degree at most \(2\) at each vertex, so its components are paths, cycles, and isolated vertices. Triangle-free \(2\)-matching asks for such a subgraph with no \(3\)-cycle. This restriction is subtle enough that the classical Cornuéjols–Pulleyblank approach was long central, but the Edmonds–Gallai viewpoint yields a simpler exact framework. In particular, the maximum size \(\nu_2^3(G)\) of a triangle-free \(2\)-matching satisfies the min-max theorem
\[
\nu_2^3(G)=\min_{U\subseteq V}\Bigl(|V|+|U|-\cluster(G-U)\Bigr),
\]
where \(\cluster(H)\) is the number of connected components of \(H\) that are triangle clusters. The same paper gives an \(O(m\sqrt n)\)-time algorithm for a maximum triangle-free \(2\)-matching and proves that every \(d\)-regular graph with \(d\ge 3\) contains a perfect triangle-free \(2\)-matching; the specialized algorithms are \(O(n)\) for \(d=3\), \(O(m+n^{3/2})\) for \(d=2k\), and \(O(n^2)\) for \(d=2k+1\) [1003.2697].

A recent simplification of the local-search structure is a decomposition theorem for triangle-free \(2\)-matchings. If \(A_1\) and \(A_2\) are triangle-free \(2\)-matchings in a simple graph, then \(A_1\triangle A_2\) admits a partition into alternating trails \(P\) such that \(A_i\triangle P\) is again a triangle-free \(2\)-matching for \(i=1,2\). This directly yields a simpler validity proof of the PTAS based on local search: if \(APX\) is locally optimal with respect to trails of length at most \(2/\varepsilon\), then \(|APX|\ge (1-\varepsilon)|OPT|\) [2410.17508].

The excluded-\(t\)-factor framework gives a unifying formulation. In a bipartite graph, a \(\mathcal U\)-feasible \(t\)-matching is a \(t\)-matching satisfying
\[
|F[U]|\le \left\lfloor \frac{t|U|-1}{2}\right\rfloor \qquad (U\in\mathcal U),
\]
so each \(U\in\mathcal U\) forbids a local \(t\)-factor. Triangle-free \(2\)-matching appears after reduction to a bipartite \(1\)-matching problem in which each forbidden triangle becomes a forbidden \(1\)-factor on a 6-vertex set, and the paper develops a common shrinking-and-expansion theory that simultaneously generalizes blossom shrinking, triangle shrinking, square shrinking, and directed-cycle shrinking [1708.00582].

The weighted problem is harder. For an arbitrary set \(\mathcal T\) of forbidden triangles, the weighted \(\mathcal T\)-free \(2\)-matching problem remains open in full generality when \(\mathcal T\) is the set of all triangles, but if \(\mathcal T\) is edge-disjoint then there is a polynomial-time algorithm via an extended formulation with local variables \(y(T,J)\), strengthened odd-cut inequalities, and a polynomial-time separation oracle [1911.06436]. In subcubic graphs, there is a different weighted approach based on half-edges: problematic triangles are replaced by gadgets, the problem is reduced to one maximum-weight \((l,u)\)-matching computation, and the running time is \(O(n^2\log n)\), with \(O(n^{3/2})\) in the unweighted case [2012.15775].

## 4. Geometric formulations and triangle-defined adjacency

In fixed-orientation equilateral-triangle graphs, triangles define adjacency rather than obstruction. For a point set \(P\) in general position, \(G_{\bigtriangledown}(P)\) joins two points if the smallest downward equilateral triangle containing them is empty. This graph is equivalent to a half-\(\Theta_6\) graph and to a TD-Delaunay graph. Its main matching bound is
\[
G_{\bigtriangledown}(P)\text{ contains a matching of size at least }\left\lceil\frac{n-2}{3}\right\rceil,
\]
and the construction in the paper shows that no universal lower bound can exceed \(\left\lceil\frac{n-1}{3}\right\rceil\). For the two-orientation graph \(G_{\davidsstar}(P)\), the block cut point graph is a path, and consequently any \(\Theta_6\) graph on \(n\) vertices has at most \(5n-11\) edges [1211.2734].

The full \(\Theta_6\)-graph can also be studied through empty equilateral triangles as witnesses of edges. If \(\mu(n)\) is the minimum, over all \(n\)-point sets \(P\), of the maximum matching size in the corresponding \(\Theta_6\)-graph \(G^\star(P)\), then
\[
\mu(n)\ge \frac{3n-8}{7}.
\]
The same work introduces the blocking number \(\beta(n)\) and proves
\[
\mu(n)\ge \frac{\beta(n)}{2},
\qquad
\beta(n)\ge \frac{3n}{4}-2.
\]
The conjectural endpoint is a (near-)perfect matching in every \(\Theta_6\)-graph, equivalently \(\beta(n)\ge n-1\) [1901.01476].

A different geometric regime concerns unions of non-crossing perfect matchings. For \(2n\) points in convex position, there exist \(n\) edge-disjoint non-crossing perfect matchings whose union is the maximal triangle-free convex geometric graph \(C_{2n,n}\), and any family of \(n\) such matchings has that union. In \(R\)-position, the paper gives a sufficient condition for the existence of \(n\) edge-disjoint non-crossing perfect matchings whose union is maximal triangle-free, while for arbitrary point sets in general position it proves the universal lower bound
\[
\lfloor \log_2 n \rfloor
\]
on the number of edge-disjoint non-crossing perfect matchings whose union is triangle-free [1611.10058].

Triangle meshes give an applied dual-graph interpretation. If adjacent triangles of a triangulation are merged into quadrilaterals, the dual graph is modeled as a bridgeless cubic graph and a set of pairwise disjoint triangle-pairs is a matching in that dual. The paper studies the ratio
\[
\eta(G)=\min_{w:E\to\mathbb R^+}\frac{w(P^*(G))}{w(M^*(G))}
\]
between the maximum-weight perfect matching and the maximum-weight unrestricted matching. For bridgeless cubic graphs,
\[
\eta(G)\ge \frac13,
\]
and this bound is tight for broad classes including planar bridgeless cubic graphs, hamiltonian cubic graphs, generalized Petersen graphs, and nonhamiltonian bipartite cubic graphs [1204.2727].

## 5. Hypergraphs, designs, and higher-dimensional analogues

A Steiner triple system of order \(n\) is exactly a partition of the edges of \(K_n\) into triangles. A perfect matching in that \(3\)-uniform hypergraph is therefore a set of vertex-disjoint triangles covering all vertices. For \(n\equiv 3\pmod 6\), almost all order-\(n\) Steiner triple systems have not merely one such triangle matching but
\[
\left((1-o(1))\frac{n}{2e^2}\right)^{n/3}
\]
perfect matchings, while every Steiner triple system has at most
\[
\left((1+o(1))\frac{n}{2e^2}\right)^{n/3}
\]
perfect matchings. Thus almost all Steiner triple systems asymptotically attain the extremal scale for the number of spanning triangle matchings [1611.02246].

Latin squares give the tripartite analogue. A Latin square is a triangle decomposition of \(K_{n,n,n}\), and a partial Latin square is an edge-disjoint triangle packing in that complete tripartite graph. The paper relates uniformly random Latin squares to the triangle removal process on \(K_{n,n,n}\), proves quasirandom triangle-count estimates of the form
\[
(1\pm O(\varepsilon))n^3 d(G)^3,
\]
and uses this to compare random Latin-square initial segments with random greedy triangle packings. A transversal is the corresponding vertex-disjoint triangle matching, although the paper’s direct emphasis is edge-disjoint triangle decomposition rather than transversals [2109.15201].

In regular hypergraphs, triangle-and-edge partitions arise as a hypergraph analogue of perfect matching theory. If \(H\) is \(3\)-uniform and \(3\)-regular, then either \(H_2\) has a perfect matching when \(|V|\) is even, or \(H_2\) is factor-critical when \(|V|\) is odd; in the latter case the vertex set can be partitioned into one triangle \(\{a,b,c\}\in E\) and a perfect matching of \(H_2-\{a,b,c\}\). The paper extends this to \(k\)-uniform, \(k\)-regular hypergraphs: \(V\) can always be partitioned into hyperedges of the hereditary closure of size \(2\) and at most one hyperedge of size \(3\) [1912.05486].

A higher-dimensional analogue appears in cell complexes. In a triangulated surface, a triangle is matched not to another triangle but to an incident edge in the Hasse-diagram sense. A matching on a pair \((X,Y)\) is a partition of the cells of \(X\setminus Y\) into incident codimension-1 pairs. The relative Euler characteristic condition \(\chi(X,Y)=0\) is necessary, and for compact connected \(2\)-manifolds with \(\chi(M)=0\), every polyhedral cellulation is matchable absolutely and relatively to \(\partial M\) [1808.09206].

## 6. Triangle-restricted matching regimes and recurring structural themes

Several adjacent theories study ordinary matchings under triangle restrictions rather than triangle packings themselves. In triangle-free graphs, the number of maximal induced matchings is at most
\[
3^{n/3}\approx 1.4423^n,
\]
and this bound is tight for disjoint unions of \(K_{3,3}\). As an algorithmic consequence, all maximal induced matchings can be listed in
\[
O^*(3^{n/3})=O(1.4423^n),
\]
yielding the same running time for maximum induced matching in triangle-free graphs [1312.5180]. This is an induced analogue of the broader phenomenon that forbidding triangles can substantially improve matching structure and enumeration bounds.

Equimatchability imposes a different global restriction. A graph is equimatchable if all maximal matchings have the same size. For connected triangle-free equimatchable graphs, the complete structural classification is: either the graph is bipartite equimatchable, or it is \(C_5\), or \(C_7\), or it belongs to one of the explicit non-bipartite families \(\mathcal F\) and \(\mathcal G\) built from complete bipartite pieces attached to an induced odd cycle. For non-bipartite inputs, this yields a linear-time recognition algorithm via modular decomposition and a fixed twin-free template \(G^*\) [1807.09520].

Another line of work studies mixed triangle-and-matching constraints in edge-colored complete graphs. For a family \(\mathcal F=(F_1,\dots,F_n)\) of color classes in which each \(F_i\) is either a 2-edge matching or a triangle, the rainbow girth satisfies
\[
\operatorname{rgirth}(\mathcal F)\le C\log n
\]
for some constant \(C\). In the two auxiliary regimes with singleton edges, the paper identifies exact threshold phenomena: when color classes are 2-edge matchings or single edges, logarithmic rainbow girth begins precisely above matching proportion \(1/2\); when they are triangles or single edges, logarithmic rainbow girth holds for every positive linear proportion of triangles, and the threshold is \(1\) [2210.12243]. This suggests that structurally constrained triangle classes behave very differently from arbitrary edge sets, often replacing linear extremal scales by logarithmic ones.

Across these strands, a common pattern recurs. Triangle matchings are tractable when triangles supply controlled local structure—connected blocks in Ramsey theory, excluded local cycles in \(2\)-matchings, empty geometric witnesses, or rigid \(3\)-uniform hyperedges—but become much harder when those local triangle configurations overlap freely. A plausible implication is that the decisive distinction is often not between “triangles present” and “triangles absent,” but between triangle systems that admit local decomposition, shrinking, or parity control and those that do not.

Source: https://www.emergentmind.com/topics/triangle-matchings