A subset of vertices of a graph is a dominating set if every vertex in
has at least one neighbor in . A domatic partition is a partition of the vertices of a graph into disjoint dominating sets. The domatic number is the maximum size of a domatic partition. Suppose that is the number of distinct domatic partition of with cardinality .
In this paper, we consider the generating function of , i.e., which we call it the domatic partition polynomial. We explore the domatic polynomial for trees, providing a quadratic time algorithm for its computation based on weak 2-coloring numbers. Our results include specific findings for paths and certain graph products, demonstrating practical applications of our theoretical framework.
1Department of Mathematical Sciences, Yazd University, 89195-741, Yazd, Iran
2Department of Computer Science, University of Bojnord, Bojnord, Iran
Let be
a simple graph of order . The open neighborhood (closed neighborhood) of a vertex
is the set = , (the set
= ). The number of vertices in
is the degree of , denoted by . A set is a dominating set of a graph , if every vertex in
has at least one neighbor in , in other words . The cardinality of a minimum dominating set in is called the domination number of and is denoted by .
The various different domination concepts are
well-studied now, however new concepts are introduced frequently and the interest is growing
rapidly. We recommend two fundamental books [5, 6] and some surveys [4, 7] about
domination in general.
A domatic partition is a partition
of the vertex set into dominating sets, in other words, a partition = of
such that every set is a dominating set in .
Cockayne and Hedetniemi [2] introduced the domatic number of a graph as the maximum order of a vertex partition. For more details on the domatic number refer to e.g., [8, 9, 10].
Motivated by enumerating of the number of dominating sets of a graph and domination polynomial (see e.g. [1]), the enumeration of the domatic partition for certain
graphs is a natural subject. In other words, we explore domatic partition from
the point of view of the counting polynomial defined in the following standard
way.
Definition 1.1
Let be the family of
domatic partition of a graph with cardinality , and let
. The domatic polynomial of is defined as
where is the domatic number of .
In Section 2, we explore various properties of the domatic polynomial. Moving on to Section 3, we delve into the investigation of the domatic polynomial for trees. Following that, in Section 4, we introduce a quadratic time algorithm designed to compute the domatic polynomial of trees, accompanied by an analysis of its time complexity. Lastly, we wrap up our paper with a conclusion in the final section.
2 Introduction to domatic polynomial
In this section, we obtain some properties of domatic polynomial of a graph.
We need the following result:
Theorem 2.1
[2]
For any graph , , where is the minimum degree of .
Also, we need the following easy lemma. It is well known that if there is no isolated vertex in the graph, i.e. , then the domatic number is at least 2. For convenience, we present a proof.
Lemma 2.2
If is a connected graph, then .
Proof.Β
Suppose that is a graph of order , and is a dominating set of that with minimum size. Since is connected, so by Oreβs Theorem . Let be a dominating set of with minimum size. By the definition of dominating sets, then is a dominating set of too. So
is a domatic partition of , and therefore we have the result.
As an immediate result of definition of domatic number, for . So the following definition is equivalent to the definition of domatic polynomial of a graph by using Theorem 2.1:
Definition 2.3
Let be the family of
domatic partition of a graph with cardinality , and let
. The domatic polynomial of is defined as
where is the minimum degree of .
As an immediate result of Definition 2.3, we have the following result.
Proposition 2.4
If has isolate vertices, then
In [3], it was shown that finding domatic number of a graph is NP-complete. Consequently, we have the following result.
Theorem 2.5
Computation of the domatic polynomial of a graph is NP-complete.
A weak -coloring of a graph assigns a color to each vertex , such that each non-isolated vertex is adjacent to at least one vertex with different color. So a weak -coloring of a graph is equivalent to finding a domatic partition of a graph of size . In the following, let be the family of
weak -coloring of a graph , and let
. So .
We conclude this section, with the following results which are immediately obtained by the Definition 1.1.
Proposition 2.6
Let be a graph, and . The following holds:
(i)
(ii)
is the number of weak 2-coloring of .
(iii)
is the number of all domatic partition of .
(iv)
(v)
for .
(vi)
Zero is a root of , with multiplicity one.
3 Domatic Polynomial of Trees
In this section, we aim to compute the domatic polynomial for a given tree. By TheoremΒ 2.1 and Lemma 2.2, if is a tree, then . So we have the following result:
Proposition 3.1
Let be a tree. Then , and
.
Let be a tree and be a support vertex. Let be the collection of vertices that have a degree of 1 and share an edge with . Let and be two trees obtained from by removing the vertices and , respectively.
In a tree, we call a vertex as a quasi-star vertex of tree if it satisfies the following conditions:
β’
is adjacent to exactly one non-leaf vertex (an internal vertex).
β’
is adjacent to at least one leaf (vertex with degree 1).
We call a tree containing a quasi-star vertex by star-neighbor tree.
Now, we prove the following result.
Theorem 3.2
For any star-neighbor tree of order , if is its quasi-star vertex, then
where , for any .
Proof.Β
It is clear that for any , . Suppose that is a weak 2-coloring for tree . We will show that with this coloring, if we cannot construct a weak 2-coloring for tree , we can certainly construct a weak 2-coloring for tree using it. Also, suppose that the non-leaf vertex adjacent to vertex is vertex . It is easy to see that if the colors of vertices and are different, then coloring is indeed a coloring for tree . Now, assume that in coloring , the colors of the two vertices and are the same. Therefore, it is clear that since vertex is a leaf in tree , coloring is not a coloring for , but since vertex must, by the definition of weak 2-coloring, be adjacent to a vertex with a different color, one of the vertices adjacent to must have a different color from . Therefore, we conclude that coloring is a coloring for tree .
Based on the above discussion, we can derive the relationship
.
Now, since any coloring for tree or can easily be transformed into a coloring for tree , the above relationship is an exact equality. Therefore, the theorem is proved.
Now, consider a path . It is clear that is a star-neighbor tree. Let . It is clear that or are and , respectively. Now, using Theorem 3.2, we have the following result.
Proof.Β
Since follows the Fibonacci sequence, we have the result.
Let be some vertices of a graph . Let be the bouquet of graph with respect to the vertices and obtained by identifying the vertex of the graph with vertex .
Consider a tree denoted by , and select a support vertex within , labeled . Let . The tree obtained by bouqueting the vertices is denoted as (see FigureΒ 1).
Now, we prove the following result.
Theorem 3.5
For any tree of order , if is one of its support vertices, then
Proof.Β
Suppose that is a weak 2-coloring for tree . We will show that with this coloring, if we cannot construct a weak 2-coloring for tree , we can certainly construct a weak 2-coloring for tree using it. Also, let . It is easy to see that if the colors of vertices and one of the vertices are different, then coloring is indeed a coloring for tree . Now, assume that in coloring , the colors of the vertices and all vertices are the same. Now, by bouqueting the vertices into a vertex , we obtain the tree . We color the vertex by the color assigned to the vertices . Since have the same color with , coloring is not a coloring for , but since the vertex in must, by the definition of weak 2-coloring, be adjacent to a vertex with a different color, one of the vertices adjacent to must have a different color from . Therefore, we conclude that coloring is a coloring for tree .
Based on the above discussion, we can derive the relationship
.
Now, since any coloring for tree or can easily be transformed into a coloring for tree , the above relationship is an exact equality. Therefore, the theorem is proved.
As an another conclusion of Theorem 3.5, we have the following result.
Proposition 3.6
If is a path of order , then
Proof.Β
It is not hard to see that by Theorem 3.5, . Since , we easily conclude that . Hence,
Finally, we extend the previous result as follows.
Theorem 3.7
Let be a graph of order , and let be an integer. Then
Proof.Β
Assume we have two colors and for coloring of . As we know, each vertex of the graph is adjacent to at least vertices of degree one. Therefore, for a weak 2-coloring of , any color assigned to vertex must be different from the colors assigned to all its adjacent vertices of degree one. Hence, the method of coloring is completely determined. Now, since each vertex in has two coloring options, the total number of ways to color (weak 2-coloring) the graph is . However, by swapping color with color , we obtain another coloring, but in terms of domatic partitioning, it is no different from the coloring before the swap. Therefore, the total number of distinct weak 2-colorings of the graph is . Hence, that completes the proof.
4 Algorithm and analysis
Based on Theorem 3.5, we provide the following algorithm that computes the for a tree .
Now, we analyze the time complexity of the algorithm.
To analyze the time complexity of the algorithm for computing for a tree of order , we consider the following steps:
β’
Step 1: Identifying a support vertex :
β
Traversing the tree and checking the degrees of vertices takes time.
β’
Step 2: Computing :
β
Identifying the vertices of degree 1 adjacent to can be done in time, where is the degree of .
β
Since can be at most , this step is bounded by .
β’
Step 3: Computing :
β
Removing the vertices in involves visiting each of these vertices and removing them, which can be done in time.
β
This step is bounded by since .
β’
Step 4: Computing :
β
Contracting vertices into a single vertex involves merging these vertices and updating the edges.
β
This can be done in time.
β’
Step 5: Computing :
β
Removing vertex from can be done in time.
β’
Step 6: Recursive computation of :
β
The function is computed recursively on and .
β
Let and be the sizes of the smaller subtrees formed after removing vertices from . The combined size is .
The recurrence relation for the time complexity is:
Using the Master Theorem for divide-and-conquer recurrences, we analyze this recurrence:
β’
Case 1: Balanced subproblems
According to the Master Theorem, this recurrence has a solution of .
β’
Case 2: Highly unbalanced subproblems
This recurrence results in a time complexity of .
Now, we finalize this section.
Theorem 4.1
The worst-case time complexity of the algorithm for computing for a tree of order is .
5 Conclusion
In this paper, we have introduced and analyzed the domatic partition polynomial of a graph, , which enumerates the domatic partitions of by their cardinality. We have established several properties of this polynomial, including its relationship with the minimum degree of the graph and its computational complexity. Specifically, we demonstrated that computing the domatic polynomial is NP-complete.
We also focused on trees and provided a detailed examination of their domatic polynomials. We derived a quadratic time algorithm for computing the domatic polynomial of a tree by leveraging the weak 2-coloring number, . This algorithm capitalizes on the hierarchical structure of trees, recursively breaking down the problem into smaller subtrees.
Furthermore, we provided specific results for paths and certain graph products, showcasing the practical applications of our theoretical findings. For paths , we determined that . Additionally, we extended our results to graphs of the form , demonstrating that for a graph of order .
Overall, our work provides a comprehensive framework for understanding and computing the domatic partition polynomial, opening new avenues for future research in graph theory and combinatorial optimization.
References
[1] S. Akbari, S. Alikhani, Y.H. Peng, Characterization of graphs using domination polynomials,
Eur. J. Combin. 31 (2010) 1714-1724.
[2] E.J. Cockayne, S.T. Hedetniemi, Towards a theory of domination in graphs, Networks, 7 (1977) 247-261.
[3] M.R. Garey, D.S. Johnson, Computers and Intractability: A Guide to the Theory of NP- completeness, Freeman, San Francisco, CA, 197).
[4] W. Goddard, M.A. Henning, Independent domination in graphs: A survey and recent
results, Discrete Math., 313 (7) (2013) 839-854.
[5] T.W. Haynes, S.T. Hedetniemi, P.J. Slater, Fundamentals of domination in graphs, Marcel Dekker, NewYork (1998).
[6] M.A. Henning, A. Yeo, Total domination in graphs. Springer Monographs in Mathematics, (2013).
[7] M.A. Henning, A survey of selected recent results on total domination in graphs.
Discrete Math., 309 (1) (2009), 32-63.
[8] B. Zelinka, Domination in the generalized Petersen graphs, Czechoslov. Math. J., 52 (127) (2002), 11β16.
[9] B. Zelinka, Domatic number and degrees of vertices of a graph,
Math. Slovaca 33 (1983): 145β147.
[10] B. Zelinka, On domatic numbers of graphs, Math. Slovaca 31
(1981), 91β95.