Trees maximizing the number of almost-perfect matchings
Stijn Cambie, Bradley McCoy, Gunjan Sharma, Stephan Wagner, Corrine Yap
TL;DR
This work investigates extremal counts of almost-perfect matchings and strong almost-perfect matchings in trees, deriving sharp bounds that depend on the parity of the order $n$ and completely characterizing extremal structures (odd $n$: at most $\frac{n+1}{2}$ APMs achieved by a $1$-subdivision of a tree of order $\frac{n+1}{2}$; even $n$: at most $\binom{\frac{n}{2}+1}{2}$ APMs, with $P_n$ extremal for $n>4$, and related small-n exceptions). It uses subdivision arguments, degree-sequence majorization, and inductive schemes to prove tight maxima and minima for APMs, SAPMs, and maximal matchings, and it connects these results to the weighted Hosoya index with degree-based weights $Z_\phi(T)$. The authors show that stars minimize many weighted indices while various spider- and broom-like trees maximize them depending on the weight function, highlighting how local degree patterns influence global matching counts. These results advance the combinatorial understanding of near-perfect matchings in trees and provide a framework for exploring weighted enumeration in graph invariants with practical implications in chemistry and network design.
Abstract
We characterize the extremal trees that maximize the number of almost-perfect matchings, which are matchings covering all but one or two vertices, and those that maximize the number of strong almost-perfect matchings, which are matchings missing only one or two leaves. We also determine the trees that minimize the number of maximal matchings. We apply these results to extremal problems on the weighted Hosoya index for several choices of vertex-degree-based weight function.
