A -tree is a graph that can be formed by starting with and iterating the operation of making a new vertex adjacent to all the vertices of a -clique of the existing graph. A structural characterization of 3-trees with diameter at most 2 is proven. This implies a corollary for planar 3-trees which leads to a description of their degree sequences.
In this paper, we seek a structural (constructive) characterization
of 3-trees with diameter at most 2.
Definition 1.1. A -tree is a graph
that can be formed by starting with and iterating the operation of
making a new vertex adjacent to all the vertices of a -clique (the root) of the
existing graph. A deletion sequence of a graph is an ordering of such that each has minimum degree in the induced
subgraph .
A -leaf is a degree
vertex of a -tree.
See [5] for a
survey of results on -trees. There
are many results describing and characterizing the structure of -trees. Graphs with diameter 2 have been
studied in relation to many other graph classes, such as cages and
planar graphs [11].
Definition 1.2. The distance between vertices and , , is the length of a
shortest path. The
diameter of a graph is
the maximum distance between any pair of vertices in .
A -tree has diameter 1 if and
only if it is . For 2-trees,
the following theorem was proved in [6].
Proposition 1.3. [6]The following are equivalent for a
2-tree :
1. is has diameter at most
2.
2. does not contain .
3. is for any tree , or any graph formed by adding any
number of vertices adjacent to pairs of vertices of .
Note that is a
forbidden subgraph characterization, while is a structural
(constructive) characterization. In [4], Proposition 1.3 was
generalized to a structural characterization of maximal 2-degenerate
graphs with diameter 2. In [2], a forbidden subgraph characterization
was found for -trees with diameter
. Thus the next natural
questions are to find a structural characterization of 2-trees with
diameter 3 and 3-trees with diameter 2.
Definitions of terms and notation not defined here appear in [3]. In particular, is the number of vertices
of a graph . The neighborhood of a
vertex is denoted , and the closed
neighborhood is denoted . The square is formed by adding all edges
between pairs of vertices with distance 2 in . The join of graphs and is denoted .
2. Preliminaries
One way for a -tree to have
diameter at most 2 is for there to be a vertex adjacent to all other
vertices.
Definition 2.1. A dominating vertex of a graph is a vertex adjacent to all
other vertices. When constructing a -tree, we duplicate a -leaf by adding another -leaf with the same neighborhood.
The following observations should be immediate.
Lemma 2.2. Let be a -tree with diameter at least 2.
a. Adding a -leaf to cannot reduce the diameter.
b. Duplicating a -leaf
arbitrarily many times will not change the diameter.
Proposition 2.3. A
-tree has diameter at most 2 if
and only if any two -leaves of G
have a common neighbor.
Proof. A -tree has diameter at most 2 if and only if
the distance between any two vertices of is at most 2. By Lemma 2.2, this will be the case if and
only if any two -leaves are at
distance at most 2. This will hold if and only if any two -leaves of have a common neighbor.
Definition 2.4. A -path graph is an alternating sequence of distinct
– and -cliques ,
starting and ending with a -clique
and such that contains
exactly two -cliques and .
For order , -paths are just the -trees with exactly two -leaves [10]. See Figures 1 and 2 for examples of -paths.
Figure 1 The 2-trees of order 5 and 6 are shown above. Those in the rst column are 2-paths. The one
in the second column is outerplanar but not a 2-path. The rest are not outerplanarFigure 2 The 3-trees with order 7. The leftmost two are 3-paths, and the leftmost three are maximal
planar
Lemma 2.5. A graph of order is a -tree if and only if is a ()-tree. Moreover, is a -path if and only if is a ()-path.
Proof. Any -tree has a deletion sequence so that when
is deleted. Joining a vertex to
results in a graph with a deletion sequence so that when is deleted. Thus is a ()-tree.
Let
have the denoted . Then has a deletion sequence so that when is deleted. Thus has a deletion sequence so that when
is deleted, so is a -tree.
The proof for -paths is
essentially the same.
3. 2-trees with diameter 3
In this section, we characterize 2-trees with diameter at most 3.
Definition 3.1. A dominating triple is three vertices that form a
triangle of a 2-tree so that any
2-leaf of is adjacent to at least
one of them. A private neighbor of (in a dominating triple) is adjacent to
, but not or .
A common triple is three vertices that form a
triangle of a 2-tree so that any
2-leaf of is adjacent to at least
two of them.
Theorem 3.2. A 2-tree has diameter at most
3 if and only if has a dominating
triple.
Proof. If has a dominating triple, then there is
a path of length at most 3 between any two vertices of .
Suppose
that has diameter at most 3. The
result is obvious for diameter 1 or 2, so suppose has diameter 3.
We use induction on . Assume
the result holds for 2-trees with order , and let have order , and 2-leaf . Now has diameter at most 3, so it has a
dominating triple . If is
adjacent to any of its vertices,
also has a dominating triple and we are done. Thus we assume that has no dominating triple with a vertex
adjacent to .
Deleting two vertices of (say
and ) will disconnect from the third (). Thus there is a vertex adjacent to and in the same component of as . We may assume that has no private neighbor , since else . But then is also a
dominating triple. Thus by our assumption, is not adjacent to . Say . Then has no private neighbor , since else . But then is a dominating vertex of . Let . Then has a dominating triple .
A fan is ,
where is a path. Call the center of the fan.
Proposition 3.3. A 2-tree has a dominating
triple if
and only if it has a covering by fans centered at the three vertices of
.
Proof. If this holds,
any vertex of is adjacent to a
vertex of .
Let
have a dominating triple . Let be a vertex not in , so is adjacent to a vertex of . If is adjacent to two vertices of , it is contained in a fan centered at
. Else is adjacent to and a vertex not in . Now is adjacent to , and the argument can be repeated,
producing a fan centered at .
4. 3-trees with diameter 2
To characterize 3-trees with diameter 2, we use the strategy of
starting with a 3-tree with a dominating vertex, and then considering
what can be added while maintaining diameter 2.
Definition 4.1. A -fan is . Call the in a 3-fan its base.
Thus a 2-fan is just a fan. Any -fan is a -path, and hence also a -tree. Any 3-fan is maximal planar (see
Figure 2).
We may be able to identify a triangle of a 3-fan with a triangle of a
3-tree (with the base as one of the identified edges) while maintaining
diameter 2. Call this operation fan overlapping. Fan
overlapping produces only 3-trees since identifying -cliques of two -trees produces another -tree.
Theorem 4.2. Let be 3-tree. Then has diameter at most 2 if and only if
it is formed in one of the following ways.
1. , where is a 2-tree.
2. Let have vertices . Then is formed by fan overlapping, where the
base of the fan must be , , or , and adding 3-leaves with root .
3. Let be the in , . Then is formed by fan overlapping, where the
base of the fan must be , , or .
Proof. Clearly each
construction produces a 3-tree. In Case 1, there is a dominating vertex.
In Case 2, every pair of vertices not in has a neighbor in
. In Case 3,
every pair of vertices not in has a neighbor in . Thus each 3-tree
has diameter at most 2.
Assume
the hypotheses. Let have maximum
degree in , , and
. Now is a 2-tree [7], so is a 3-tree. Thus if is a dominating vertex, is a 2-tree by Lemma 2.5. Thus we assume has no dominating vertex, so is nonempty.
Clearly, every vertex in
neighbors a vertex in . Let be all vertices in with neighbors in . Every vertex in is contained in a triangle of , and each pair of these triangles must
have a have a nonempty intersection, since else two vertices of have no common neighbor. Then is a union of triangles, and the graph
induced by has diameter 2. It is
contained in a minimal 2-tree which has diameter 2, so by
Proposition 1.3, has a dominating vertex or a
common triple.
Suppose has a dominating
vertex . Now must have diameter 2, since else some
vertex in would be more than 2
away from a vertex in . If is dominating in ,
is also dominating in . By
assumption, we can exclude this case. Thus has a common triple, so does also.
Next we assume that , whose vertices are , none of which is
dominating in . There is at least
one vertex in whose neighbors are . Then any other vertex in is adjacent to a vertex in and . Then is formed by fan overlapping with bases
, , or , and adding at least one 3-leaf with
root .
Next we assume that , the
vertices of are , neither of which is
dominating in . Then for each
vertex in the , there is at least one
vertex in not adjacent to it
(else we return to the previous case). Then every vertex of not in is adjacent to at
least two vertices in . Thus every
vertex not in is part of a 3-fan
with base , , or , and there is at least one vertex of
adjacent to all vertices of .
Finally, we assume
contains a triangle , any other
vertex of is adjacent to
exactly two of , and each pair (, , and ) has at least one additional neighbor
in . Now each vertex of is adjacent to at least one vertex
in , so . Thus each vertex in is adjacent to at least two vertices in
. Thus each
vertex in is adjacent to at least
two vertices in . But then we can return to the previous case by
giving the
roles of .
This characterization allows us to evaluate or bound parameters of
3-trees with diameter 2. In the following results, we refer to the three
graph classes in the statement of Theorem 4.2 as Cases 1, 2,
and 3.
Corollary 4.3. A 3-tree with diameter 2 and order and maximum degree has .
Proof. In Case 1, a 3-tree with a dominating vertex has
, so .
In Case 2, for each vertex , let
be the set of vertices not adjacent to . To have , each must contain at least vertices. Now vertices in are adjacent to triangle , so they are only in .
The vertices in may be in
or (not both), and similarly for the
vertices in or . However, there must be at least
one vertex only in one of the sets , , or . If there is exactly one vertex
adjacent to (say) , then requires at
least vertices each in and , and none in both. Thus and , so .
Suppose there are two vertices in only one of the sets , , or , say one each in sets and . Any other vertex can be in any two
of the three sets. Then vertices
in yield
,
so . Now ,
so . Then . Thus .
In Case 3, has , with being the . There are at most vertices with exactly two neighbors
in . These
vertices split into three sets based on which of they are not
adjacent to. When is
minimum, one of these sets contains at least vertices. Then , so .
The smallest possible for
a 3-tree with diameter 2 and order is for and for .
5. Planar 3-trees
Next we consider an important special class of -trees.
Definition 5.1. A simple -tree is
defined recursively by starting with and iteratively adding a vertex
adjacent to all vertices of a -clique not previously used as the neighborhood
of a -leaf.
A plane drawing of a graph is a drawing in the plane that
has no crossings. A graph is outerplanar if it has a plane
drawing with all vertices on the boundary of the exterior region. A
graph is a maximal outerplanar graph (MOP) if no edge can be
added so that the resulting graph is still outerplanar.
An Apollonian network is a planar 3-tree.
The MOPs are exactly the simple 2-trees, and the planar 3-trees are
exactly the simple 3-trees [10]. See Figures 1 and 2 for examples of these
graphs.
Corollary 5.2. Let be planar 3-tree. Then
has diameter at most 2 if and
only if it is formed in one of the following ways.
1. , where is a MOP.
2. Let have vertices . Then is formed by fan overlapping with bases
, , , and only triangles of are used for overlapping, each at
most once. A single 3-leaf may be added with root .
3. Let be the in , . Then is formed by fan overlapping with bases
, , or . Only triangles of are used for
overlapping, and each at most once.
Proof. In Case 1, for
to be planar, must be
outerplanar.
In Cases 2 and 3, for to be
planar, it must be a simple 3-tree, so each root is used at most once.
Thus each triangle of or
can be used
at most once for overlapping, and no other triangle can be used for
overlapping. In Case 3, ,
since is not
planar.
Seyffarth [11]
studied maximal planar graphs with diameter 2. Seyffarth showed that
such graphs have and found two
infinite classes of maximal planar graphs that show this bound is sharp.
This is not claimed to be a complete characterization.
Of course, maximal planar graphs with diameter 2 need not be 3-trees.
For example, the double wheel has minimum
degree 4 and diameter 2. Seyffarth’s two classes both contain subgraphs
with minimum degree 4. Thus it appears that the bound on can be improved when we only consider
planar 3-trees.
Corollary 5.3. A planar
3-tree with diameter 2 with order and maximum degree has .
Proof. In Case 1, a 3-tree with a dominating vertex has
, so .
In Case 2, there can only be one vertex not adjacent to , so , and .
In Case 3, has , with being the . There are at most vertices with exactly two neighbors
in . These
vertices split into three sets based on which of they are not
adjacent to. When is
minimum, one of these sets contains at least vertices. Then , so .
Thus no planar 3-tree can be an extremal graph for Seyffarth’s
theorem.
We may be interested to characterize the degree sequences of planar
3-trees with diameter 2. Note that in Case 1, has a dominating vertex if and only if is a MOP. Consequently, we can
determine whether a list of numbers is a degree sequence of a planar
3-tree with a dominating vertex if and only if we can determine whether
a corresponding list is the degree sequence of a MOP. However, no
characterization of degree sequences of MOPs is known. See [1,8,9]
for partial results. Thus we instead consider graphs for Cases 2 and 3
that are not covered by Case 1.
Case 2: To avoid a dominating vertex, we assume there is a
vertex rooted on each triangle of the with vertex set . We designate the
six triangles A-F in order around
(see the graph above). We can break down the cases by how many vertices
are in each of the 6 triangles. Note that if there are no vertices in
, we can move the vertices in
to without changing the degree
sequence.
We organize cases based on how many degree 5 vertices there are
rooted on the . We can reduce
the cases to possibly adding vertices inside ACE, ABD, ABCD, or ABCDEF.
Suppose vertices are added inside
A, and similarly for the other triangles. We require when A and B are both listed in
a case, and similarly for the pairs and , but not otherwise. We obtain the following
possible degree sequences (
indicates vertices of degree
).
Case 3: To avoid a dominating vertex, there must be fans
attached to at least one of each of the three pairs , , and (see the graph
above). Thus the triangles where fans are attached are (up to symmetry)
ABC, ABF, ABCD, ABDF, ABCDE, or ABCDEF. Suppose vertices are added inside A, and
similarly for the other triangles. We obtain the following possible
degree sequences.
Triangles
Degree Sequence
ABC
ABF
ABCD
ABDF
ABCDE
ABCDEF
For example, suppose we have the degree sequence . We see and , so we have the right degree sum
for a 3-tree [5].
The and shows it must fall under Case 3,
subcase ABDF. Then , so
and . Thus is the degree sequence of a 3-tree with
diameter 2.
Acknowledgements
Thanks to Zhongyuan Che for discussing this problem with me, and
particularly for helping to develop Proposition 2.3, Lemma 2.5, and the argument in
the proof of Theorem 4.2.
References:
A. Bar-Noy, T. Böhnlein, D. Peleg, Y. Ran, and D. Rawitz. Approximate realizations for outerplanaric degree sequences.
Journal of Computer and System Sciences, 148:103588, 2025.
https://doi.org/10.1016/j.jcss.2024.103588.
A. Bickle. k-paths of k-trees. In
Springer Proc. Math. Stat., Volume 388, pages 287–291, 2020.
A. Bickle.
Fundamentals of Graph Theory. AMS, 2020.
A. Bickle. Maximal k-degenerate graphs with diameter 2.
International Journal of Mathematical Combinatorics, 2:67–78, 2021.
A. Bickle. A survey of maximal k-degenerate graphs and k-trees.
Theory and Applications of Graphs, 0(1):Article 5, 2024.
10.20429/tag.2024.000105.
D. Y. Li and J. Z. Mao. Degree sequences of maximal outerplanar graphs.
J Central China Normal Univ Natur Sci, 26(3):270–273, 1992.
Z. Li and Y. Zuo. On the degree sequences of maximal outerplanar graphs.
Ars Combinatoria, 140:237–250, 2018.
L. Markenzon, C. M. Justel, and N. Paciornik. Subclasses of k-trees: characterization and recognition.
Discrete Applied Mathematics, 154(5):818–825, 2006.
https://doi.org/10.1016/j.dam.2005.05.021.
K. Seyffárth. Maximal planar graphs of diameter two.
Journal of Graph Theory, 13(5):619–648, 1989.