A matchstick graph is a simple graph with a unit-distance embedding that is also a planar graph embedding and is nondegenerate, so vertices are distinct, edges do not cross or overlap, and no graph vertex lies on a graph edge to which it is not incident.
Winkler's Matchstick Graphs Calculator Studio lets readers build and rearrange matchstick graphs in a browser using unit-length edges and rigid subgraphs.
Counting connected arrangements of unit segments up to graph
homeomorphism is the match problem (Gardner
1991, pp. 79-81).
Harborth (1981, 1994) conjectured that the maximum number of edges in a matchstick graph on vertices is
This conjecture was proved by Lavollée and Swanepoel (2024).
The numbers of connected matchstick graphs on , 2, ... nodes are
1, 1, 2, 5, 13, 50, ... (OEIS A303792; E. Weisstein,
Apr. 30, 2018), the first few of which are illustrated above. There is one fewer
connected 6-matchstick graph than connected unit-distance graphs on
vertices, namely
which, as discussed further below, has both a planar
graph embedding and a unit-distance embedding,
but not a single embedding that is both.
The numbers of connected matchstick graphs on , 2, ... edges
are 1, 1, 3, 5, 12, 28, 74, 207, 633, 2008, ... (OEIS A066951;
Salvia 2015, Vaisse), the first few of which are illustrated above.
Testing whether a graph is matchstick is an NP-hard problem (Eades and Wormald 1990, Cabello et al. 2007, Salvia 2015).
Classes of graphs that are matchstick graphs include the following:
1. bishop, black bishop,
and white bishop graphs,
2. non-overlapping braced polygons,
3. cycle graphs ,
4. empty graphs (trivially),
5. gear graphs,
6. Jahangir graphs with
,
7. ladder graphs ,
8. ladder rung graphs ,
9. pan graphs,
10. path graphs ,
11. polyhexes,
12. polyiamonds,
13. polyominoes,
16. star graphs ,
17. sunlet graphs ,
18. trees, and
19. triangular honeycomb acute knight graphs.
A matchstick graph is both planar and unit-distance, but a planar unit-distance
graph may fail to be a matchstick graph if a single graph
embedding cannot be constructed having both properties. Examples include the
prism graphs and Moser spindle. The
sole 6-vertex connected planar unit-distance graph that is not matchstick is
the 3-prism graph
. The numbers of connected
graphs on
, 2, ... vertices
that are planar and unit-distance
but not matchstick are 0, 0, 0, 0, 0, 1, 11, ... (E. Weisstein, Jan. 2,
2022), where the 7-vertex examples are illustrated above.
Consider minimal -regular
matchstick graphs, which are the smallest possible regular
matchstick graphs of vertex degree
. The minimal 1-regular matchstick graph is therefore
the path graph
, the minimal 2-regular matchstick
graph is the triangle graph
, and the minimal 3-regular matchstick graph is the
8-vertex graph illustrated above corresponding to the 2-necklace
graph. The smallest known 4-regular matchstick graph is the Harborth
graph on 104 edges and 52 vertices
(Hartsfield and Ringel 1994, Timm). While the Harborth
graph has not been proven optimal, Kurz and Pinchasi (2011) showed that every
4-regular matchstick graph in the plane contains at least 20 vertices.
The smallest known
-regular
matchstick graphs are illustrated above and summarized in the table below.
| 1 | 1 | 2 |
| 2 | 3 | 3 |
| 3 | 12 | 8 |
| 4 | 104 | 52 |
Over the years, several unpublished proofs for the nonexistence of a quintic matchstick graph have appeared (cf. Friedman 2005). Kurz and Pinchasi (2011) settled
the question by proving that no quintic matchstick
graph exists. Since Euler polyhedral formula
means no -regular
matchstick graphs can exist for
(Kurz 2014), this establishes the non-existence of such
graphs for
.
The minimal (or, in the case of the Harborth graph, conjectured minimal) regular matchstick graphs are implemented in the Wolfram Language as GraphData[{"MinimalRegularMatchstick", n}].
For the related problem of small regular matchstick graphs with specified girth, Winkler et al. (2020) constructed a 54-vertex 3-regular matchstick graph of girth 5, improving on the previous smallest known example on 180 vertices. At least 30 vertices are necessary for any such graph.
Winkler et al. (2017) consider small matchstick graphs for which every graph vertex has vertex
degree
or
, as well as additional quartic
matchstick graphs that are slightly larger than the Harborth
graph, illustrated above.
The bipartite double graph of the minimal 3-regular matchstick graph is the 8-crossed prism graph.