Abstract
A cactus graph is a connected graph where each edge belongs to at most one cycle. This paper generalizes this concept to $k$-cactus graphs, where an edge can belong to up to $k$ cycles. We characterize the structure of these graphs for $k=2, 3, 4$ and provide tight upper bounds on their edge counts. For 2-connected $k$-cactus graphs, we prove a universal bound of $n+k-1$ edges, solving the problem for all positive integers $k$ in the 2-connected case.
Introduction
Cactus graphs are a well-studied class in graph theory, sitting in a complexity "sweet spot" between trees and general graphs. A standard cactus graph with $n$ vertices is known to have at most $\lfloor \frac{3}{2}(n-1) \rfloor$ edges. This research explores the extremal properties of $k$-cactus graphs, seeking the maximum number of edges possible when the cycle constraint is relaxed to $k$. The challenge lies in identifying the specific configurations that maximize edge density without violating the $k$-cycle limit.
Methodology: Block and Ear Decompositions
To analyze the maximum size of a $k$-cactus, the authors decompose the graph into its "blocks" (maximal subgraphs without cut-vertices). The total edge count of the graph is simply the sum of the edges in its constituent blocks. For 2-connected blocks, the authors utilize ear decomposition, a method that views a graph as a base cycle with a sequence of "ears" (paths) added between existing vertices.
By examining how new ears create additional cycles (as illustrated in the figure above), the authors established a fundamental "ear limit": a 2-connected $k$-cactus can have at most $k-1$ ears added to its base cycle. This provides a hard ceiling on the density of any single block.
Key Insights: Theta Graphs as Extremal Blocks
The density of a $k$-cactus is driven by the structure of its blocks. For small $k$, the densest blocks are often theta graphs—two vertices connected by multiple internally disjoint paths. For $k=2$ and $k=3$, the extremal graphs are largely built by "gluing" together specific theta graphs like $\theta(1, 2, 2)$.
However, the authors discovered that the pattern for $k=2$ and $k=3$ does not perfectly scale to $k=4$. The $k=4$ case requires a more diverse set of block structures, including the $\tilde{\theta}_1$ and $\tilde{\theta}_2$ configurations shown above. These architectures allow for higher edge counts while ensuring no single edge participates in more than four cycles.
Key Results
The study establishes the following tight upper bounds for the number of edges $|E(G)|$ in a $k$-cactus with $n$ vertices:
- 2-connected $k$-cactus: $|E(G)| \le n + k - 1$ (Tight for $n \ge k+2$).
- General 2-cactus: $|E(G)| \le \lfloor \frac{5}{3}(n-1) \rfloor$.
- General 3-cactus: $|E(G)| \le \lfloor \frac{7}{4}(n-1) \rfloor$.
- General 4-cactus:
- $|E(G)| \le 2n - 2$ if $n \equiv 1 \pmod 3$.
- $|E(G)| \le 2n - 3$ otherwise.
Limitations and Future Work
While the problem is solved for $k \le 4$, the case for $k \ge 5$ remains open. As $k$ increases, the number of ways to add ears while staying within the cycle limit grows exponentially, making the case-by-case block characterization used here increasingly difficult. Additionally, determining the best bounds when the number of vertices $n$ is small relative to $k$ (specifically $n < k+1$) remains a mystery.
Summary updated