Density of Traceable Graphs
We study the minimum number of edges required for an $n$-vertex traceable graph (i.e., containing a Hamiltonian path) under structural restrictions. While an unrestricted $n$-vertex graph requires only $n-1$ edges, imposing structural constraints yields significantly higher edge lower bounds. In particular, we study the following question: \textit{Given a graph class $Π$, what is the minimum number of edges of an $n$-vertex graph $G$, given that $G$ contains a Hamiltonian path and $G\in Π$?} We establish asymptotically lower bounds on the minimum edge density of traceable graphs across several prominent dense graph classes: - quadratic for graphs of bounded neighborhood diversity, bounded maximum induced matching number, or bounded cluster vertex deletion number; - $n\log n$ for cographs, as well as classes with bounded modular-width or bounded distance to cographs; and - slightly superlinear for classes with bounded shrub-depth. In each case, we complement the lower bound with explicit constructions showing that our bounds are asymptotically tight.