Mean Subtree Order in Graphs
- Mean subtree order is defined as the average number of vertices in a connected subgraph, computed via generating functions in trees and extended to general graphs.
- The invariant underpins several extremal results, with the path uniquely minimizing it and caterpillar structures conjectured to maximize it.
- Local measures such as mean order and density, along with analysis in k-trees, reveal how edge operations and localized configurations impact global graph structure.
Mean subtree order is the average number of vertices in a subtree, and it sits at the intersection of enumerative graph theory, extremal graph theory, and generating-function methods. In the classical tree setting, a subtree is a connected induced subgraph, so the invariant measures the first moment of the subtree-size distribution. Two later extensions coexist in the literature. One extends the induced-subgraph viewpoint from trees to all connected graphs by averaging over connected induced vertex sets; the other, used for general graphs, counts all tree subgraphs, not necessarily induced. This terminological bifurcation is central: many structural theorems are parallel across the two settings, but edge-addition and extremal phenomena can differ substantially (Vince, 2021, Cambie et al., 2020, Cambie et al., 28 Aug 2025).
1. Definitions and competing conventions
For a tree , the standard definition counts induced connected subgraphs. If denotes the number of subtrees of order , then the mean subtree order is
The associated generating polynomial is written as , giving
This convention underlies the classical work of Jamison and most of the extremal theory for trees (Cambie et al., 2020).
For connected graphs, one important extension replaces subtrees by connected induced subgraphs. If is the number of connected induced subgraphs of order , then
Writing , one has 0. In this setting the quantity is also called the mean connected induced subgraph order or mean CIS order (Vince, 2021, Balodis et al., 2018).
A different general-graph convention counts all tree subgraphs. If 1 is the number of 2-vertex subtrees of a connected graph 3, then
4
where 5. Distinct edge sets on the same vertex set are counted separately, and subtrees are not required to be induced (Cambie et al., 28 Aug 2025, Cambie et al., 2023, Cameron et al., 2019).
| Setting | Objects counted | Mean formula |
|---|---|---|
| Tree 6 | induced connected subgraphs of 7 | 8 |
| Connected graph 9, CIS convention | connected induced subgraphs | 0 |
| Connected graph 1, subtree-subgraph convention | connected acyclic subgraphs | 2 |
Local variants are equally important. For trees, 3 denotes the average order of all subtrees containing a fixed vertex 4, and more generally 5 denotes the average order of all subtrees containing a fixed subtree 6. Normalized versions are called densities: 7 for the global tree density, 8 for connected induced subgraphs of a graph, and 9 for local density at a subtree 0 (Cambie et al., 2020, Vince, 2021, Wang, 2023).
2. Classical tree theory and the path minimum
The foundational extremal theorem is due to Jamison: among all trees of order 1, the path 2 uniquely minimizes the mean subtree order. Explicitly,
3
with equality if and only if 4. Since subtrees of 5 are exactly contiguous vertex intervals and there are 6 of order 7, one obtains
8
This is the baseline lower bound for the subject (Vince, 2021, Balodis et al., 2018).
A later contraction theorem gives a second route to the same bound. If 9 is any edge of a tree 0, then contracting 1 produces a tree 2 satisfying
3
with equality if and only if 4 is a path. The inequality is strict whenever 5 does not lie on a pendant path. Repeated contraction to a single vertex immediately yields
6
again with equality only for 7 (Wang, 2023).
The same minimization result admits a structural proof via local transformations. The Gluing Lemma shows that when a rooted tree is attached to a path, the mean subtree order is maximized when the attachment point is central; the Strong Gluing Lemma strengthens this to strict monotonicity as the gluing point moves inward. These tools yield a conceptually simple proof that every non-path tree has a standard 8-associate with strictly smaller mean subtree order, and iteration leads to the path (Mol et al., 2017).
The path theorem is sometimes treated as merely a tree result. That is misleading. It is the prototype for several later generalizations, and the sharp constant 9 persists in broader settings (Vince, 2021, Cambie et al., 28 Aug 2025).
3. Maximal mean subtree order in trees
The opposite extremal direction is structurally subtler. Jamison conjectured that among all trees on 0 vertices, a caterpillar attains the maximum mean subtree order. This Caterpillar Conjecture remains open, but the asymptotic order of magnitude is known: 1 More precisely, if 2 on 3, extended 4-periodically, then
5
and
6
Thus the global maximum is pinned down to within 7 (Cambie et al., 2020).
The local extremum is sharper. If 8 is maximal over all trees 9 of order 0 and vertices 1, then 2 must be a broom and 3 is the end of the handle opposite the leaves. Consequently,
4
This local result explains why broom-like and double-broom-like structures recur in extremal constructions (Cambie et al., 2020).
Optimal or near-optimal trees are highly elongated. There exists a constant 5 such that if a tree 6 of order 7 has diameter 8, then
9
As a corollary, if 0 is optimal, then 1 is 2 for every 3. The same paper shows that an optimal tree has 4 subtrees, and its central part 5 induces a connected subtree with at least 6 vertices and at most 7 leaves (Cambie et al., 2020).
Several structural refinements are known. If 8 is optimal in 9 or in the caterpillar family 0 and 1, then every leaf is adjacent to a vertex of degree at least 2; equivalently, every limb has order 3. In 4, the number of leaves in an optimal caterpillar is 5, while in 6 the best general bound is 7 (Mol et al., 2017).
Degree constraints force a different asymptotic regime. For trees whose internal vertices all have degree at least 8, the density satisfies
9
and both bounds are tight. For series-reduced trees, a sequence has density tending to 0 if and only if the proportion of leaves tends to 1, and tends to 2 if and only if the leaf proportion tends to 3 while the twig proportion tends to 4 (Haslegrave, 2013, Vince, 2021).
4. Local mean, local density, and anchored subtree structure
Local mean order often reveals more structure than the global average. Jamison’s local monotonicity states that for vertex sets 5,
6
with equality if and only if the smallest subtree containing 7 equals that containing 8. In particular,
9
for every vertex 00, with strict inequality when 01. A further lower bound states that for any subtree 02,
03
These inequalities make local means a natural vehicle for proving global bounds (Cambie et al., 2020, Wang, 2023).
A central technical tool is the index. For a rooted tree 04,
05
and more generally 06 measures the effect of adding or deleting a leaf relative to a fixed subtree 07. The Index Lemma gives exact increment formulas: 08 for a neighbor 09 of 10, and
11
for a leaf 12 of 13. The bound 14 is especially significant; equality 15 occurs exactly when the corresponding component is a leaf or a path, and this characterizes limb vertices (Wang, 2023).
These local tools yield precise extremal descriptions of 16-maximal subtrees, meaning subtrees of order 17 with largest local mean. Such a subtree has at most one leaf whose degree in 18 exceeds 19, and at least one leaf whose degree is at most 20. If a 21-maximal subtree has a leaf of degree greater than 22, then all its other leaves must be leaves of 23. Degree-24 leaves of a 25-maximal subtree must lie either all in core-paths or all in limbs (Wang, 2023).
Local density normalizes local mean across different anchor sizes: 26 It is invariant under contraction of a subtree 27. The fundamental density theorem is
28
with equality if and only if 29 contains the core 30; equivalently, every component of 31 is a path. At the other extreme, local density can be arbitrarily close to 32. Thus 33 and 34 play the role of universal lower and asymptotic upper local-density thresholds (Wang, 2023).
5. Extensions from trees to connected graphs
The induced-subgraph extension begins with block graphs. For a connected block graph 35 of order 36, the mean connected induced subgraph order satisfies
37
with equality if and only if 38. The proof develops a local-global mean inequality at every vertex and block, together with vertex-gluing, edge-gluing, and stretching lemmas that monotonically reduce the mean until only a path remains (Balodis et al., 2018).
This block-graph theorem was later extended to all connected graphs. If 39 is connected of order 40, then
41
with equality if and only if 42. In particular,
43
for every connected graph. The proof proceeds by induction on 44 and combines several ingredients: the conditioned lower bound
45
for a connected subset 46 of size 47; the inequality
48
upper bounds 49 in 50-connected regions; a cut-vertex inequality controlling the product 51; and the identity
52
Together these show that the path is the unique minimizer not only among trees or block graphs, but among all connected graphs under the connected-induced-set convention (Vince, 2021).
Canonical examples illustrate the scale of the invariant. Under the connected-induced-set convention, 53; for the cycle,
54
for the star 55,
56
and for the complete graph,
57
High connectivity and large blocks therefore push the average well above the path bound (Vince, 2021).
Under the non-induced subtree-subgraph convention, the same path minimum has now also been confirmed for connected graphs: 58 with equality only for 59. In this convention the complete graph is conjectured to maximize the mean. Cayley’s formula yields
60
hence
61
A uniformly random subtree of 62 therefore has size 63, with expected deficit tending to 64 (Cambie et al., 28 Aug 2025).
Several graph classes admit stronger lower bounds than the universal 65. For connected cographs of order 66,
67
with equality on the right only for 68. This suggests that forbidding long induced paths or forcing dense module structure raises the mean substantially above the path threshold (Vince, 2021).
6. Local mean order beyond trees: 69-trees and related structures
The theory extends naturally to 70-trees. A sub-71-tree of a 72-tree 73 is a subgraph that is itself a 74-tree, and the global mean order is
75
For a fixed 76-clique 77, the local mean 78 averages over all sub-79-trees containing 80. The shifted local mean 81 is often used because the clique 82 is mandatory in every counted object (Cambie et al., 2023).
The principal local extremal theorem is that for 83, if a 84-clique 85 maximizes 86 in a 87-tree 88 of order 89, then 90 has degree 91. A related formulation states that the maximum local mean order occurs at a 92-clique that is not a major 93-clique, so a maximizer must have degree 94 or 95. The proof passes through the characteristic 96-tree 97, for which
98
and then uses tree-level Kelmans and partial Kelmans operations to move away from major 99-cliques while increasing local mean (Cambie et al., 2023, Li et al., 2023).
A second global-local comparison generalizes Jamison’s tree inequality. For any 00-tree 01 and any 02-clique 03,
04
This bound is sharp, with 05-brooms providing asymptotically extremal examples. In the same framework, if 06 has no 07-clique of degree 08, then
09
and for sufficiently large 10 the 11-star is the unique minimizer of 12 in this class (Cambie et al., 2023).
These 13-tree results are not merely analogical. They show that the mean subtree order belongs to a broader family of clique-anchored mean-order invariants controlled by recursive decompositions, characteristic trees, and local-global inequalities. A plausible implication is that many structural phenomena first observed for trees are manifestations of a more general elimination-order geometry, although a full transfer to arbitrary chordal graphs is not stated in the cited work.
7. Edge operations, nonmonotonicity, and open problems
A persistent misconception is that adding edges should always increase mean subtree order. Under the non-induced subtree-subgraph convention this is false. There are connected graphs 14 on the same vertex set with 15, and the decrease from adding a single edge can be as large as
16
asymptotically. The construction uses a long path with large leaf-stars at its ends; adding one closing edge creates a family in which almost all subtrees contain the new edge and have mean order asymptotic to 17, whereas the original tree has mean close to 18 (Cameron et al., 2019).
The nonmonotonicity is robust. For every positive integer 19, there exist infinitely many pairs of connected graphs 20 with 21 such that 22. The same work confirms a conjectural comparison 23 for fixed 24 and sufficiently large 25, again illustrating that adding edges can lower the mean rather than raise it (Cambie et al., 2023).
Even the weaker statement that some edge addition must help is delicate. It is proved for trees: every tree 26 of order at least 27 has nonadjacent vertices 28 such that
29
But universal edge-addition monotonicity fails, and edge deletion can also move the mean in either direction in general graph families (Cameron et al., 2019, Cambie et al., 28 Aug 2025).
Several open problems remain central. Under the non-induced subtree-subgraph convention, the complete graph 30 is conjectured to maximize 31 among connected graphs of order 32. A reduction shows that it would suffice to prove
33
which would imply both 34 and an upper bound on the probability that a random subtree is spanning (Cambie et al., 28 Aug 2025). Under the connected-induced-set convention, two problems highlighted after the path-minimum theorem ask whether minimum degree at least 35 forces 36, and whether there is an absolute upper bound less than 37 on 38 for graphs with minimum degree at least 39 (Vince, 2021).
Taken together, these results position mean subtree order as a sharply structured, but convention-sensitive, graph invariant. In trees it is controlled by path-minimization, broom-like local maximizers, and near-caterpillar global maximizers. In connected graphs it admits both induced and non-induced extensions, each with a unique path minimizer but with different monotonicity behavior under edge operations. The invariant therefore serves simultaneously as a measure of combinatorial cohesion and as a test case for how local substructure counts propagate through global graph architecture.