1. Introduction
The theory of domination in (finite) graphs can be developed using functions , where is the vertex set of a graph G and A is a set of nonegative numbers. With this approach, the different types of domination are obtained by imposing certain restrictions on f. To begin with, let us consider the two simplest cases: f is said to be a dominating function if for every vertex v such that , there exists a vertex u, adjacent to v, such that ; furthermore, f is said to be a total dominating function (TDF) if for every vertex v, there exists a vertex u, adjacent to v, such that . Analogously, a set is a (total) dominating set if there exists a (total) dominating function f such that if and only if . The (total) domination number of G, denoted by () , is the minimum cardinality among all (total) dominating sets. These two parameters have been extensively studied. While the use of functions is not necessary to reach the concept of (total) domination number, later we will see that this idea helps us to easily introduce other more elaborate concepts.
From now on, we restrict ourselves to the case of functions
, which are related to the following approach to protection of a graph described by Cockayne et al. [
1]. Suppose that one or more entities are stationed at some of the vertices of a simple graph
G and that an entity at a vertex can deal with a problem at any vertex in its closed neighbourhood. In this context, an entity could consist of a robot, an observer, a guard, a legion, and so on. Consider a function
where
denotes the number of entities stationed at
v, and let
for every
. We will identify the function
f with the partition of
induced by
f and write
The weight of
f is defined to be
. Informally, we say that
G is protected under the function
f if there exists at least one entity available to handle a problem at any vertex. We now define some particular subclasses of protected graphs considered in [
1] and introduce a new one. The functions in each subclass protect the graph according to a certain strategy.
A
Roman dominating function (RDF) is a function
such that for every vertex
there exists a vertex
which is adjacent to
v. The
Roman domination number, denoted by
, is the minimum weight among all RDFs on
G. This concept of protection has historical motivation [
2] and was formally proposed by Cockayne et al. in [
3]. A Roman dominating function with minimum weight
on
G is called a
-
function. A similar agreement will be assumed when referring to optimal functions (and sets) associated to other parameters used in the article.
A
total Roman dominating function (TRDF) on a graph
G is a RDF on
G with the additional condition of being a TDF. The
total Roman domination number of
G, denoted by
, was defined by Liu and Chang [
4] as the minimum weight among all TRDFs on
G. For recent results on total Roman domination in graphs we cite [
5].
The remaining domination parameters considered in this paper are directly related to the following idea of protection of a vertex. A vertex is said to be (totally) protected under if there exists a vertex , adjacent to v, such that the function , defined by , and whenever , is a (total) dominating function. In such a case, if it is necessary to emphasize the role of u, then we will say that v is (totally) protected by u under f.
A
weak Roman dominating function (WRDF) is a function
such that every vertex in
is protected under
f. The
weak Roman domination number, denoted by
, is the minimum weight among all WRDFs on
G. This concept of protection was introduced by Henning and Hedetniemi [
6] and studied further in [
7,
8,
9].
A
secure dominating function is a WRDF function
in which
. In this case, it is convenient to define this concept of protection by the properties of
. Obviously
is a secure dominating function if and only if
is a dominating set and for every
there exists
which is adjacent to
v and
is a dominating set as well. In such a case,
is said to be a
secure dominating set. The
secure domination number, denoted by
, is the minimum cardinality among all secure dominating sets. This concept of protection was introduced by Cockayne et al. in [
1], and studied further in [
7,
8,
10,
11,
12,
13].
A set
is said to be a
secure total dominating set of
G if it is a total dominating set and for every vertex
there exists
which is adjacent to
v and
is a total dominating set as well. The
secure total domination number, denoted by
, is the minimum cardinality among all secure total dominating sets. This concept of protection was introduced by Benecke et al. in [
14].
In this article we introduce the study of total weak Roman domination in graphs. We define a total weak Roman dominating function (TWRDF) to be a TDF such that every vertex in is totally protected under f. The total weak Roman domination number, denoted by , is the minimum weight among all TWRDFs on G. In particular, we can define a secure total dominating function (STDF) to be a TWRDF in which . Obviously is a STDF if and only if is a secure total dominating set.
Figure 1 shows a graph
G satisfying
and
.
The remainder of this paper is structured as follows.
Section 2 will briefly cover some notation and terminology which have not been stated yet.
Section 3 introduces basic results which show the close relationship that exists between the total weak Roman domination number and other domination parameters. In
Section 4 we obtain general bounds and discuss the extreme cases, while in
Section 5 we restrict ourselves to the case of rooted product graphs. Finally, we show that the problem of finding the total weak Roman domination number of a graph is NP-hard.
2. Notation
Throughout the paper, we will use the following notation. We consider finite, undirected, and simple graphs G with vertex set and edge set . Given a vertex v of G, will denote the open neighbourhood of v in G, while the closed neighbourhood will be denoted by . We say that a vertex is universal if .
We denote the minimum degree of G by and the maximum degree by . For a set , its open neighbourhood is the set , and its closed neighbourhood is the set .
The graph obtained from G by removing all the vertices in and all the edges incident with a vertex in S will be denoted by . Analogously, the graph obtained from G by removing all the edges in will be denoted by . If H is a graph, then we say that G is H-free if G does not contain a copy of H as an induced subgraph.
Given a set and a vertex , the external private neighbourhood of v with respect to S is defined to be .
The set of leaves, support vertices and strong support vertices of a graph G, will be denoted by , and , respectively.
We will use the notation , , , , , and for empty graphs, complete graphs, star graphs, path graphs, cycle graphs and complete bipartite graphs of order n, respectively. A subdivided star graph, denoted by , is a graph of order n (odd) obtained from a star graph by subdividing every edge exactly once.
Let G and H be two graphs, respectively. The corona product is defined as the graph obtained from G and H by taking one copy of G and copies of H and joining by an edge each vertex from the ith-copy of H with the ith-vertex of G.
From now on, definitions will be introduced whenever a concept is needed.
3. General Results
We begin with two inequality chains relating several domination parameters.
Proposition 1. The following inequalities hold for any graph G with no isolated vertex.
- (i)
.
- (ii)
.
Proof. It was shown in [
5] that
, and in [
6] that
. To conclude the proof of (i), we only need to observe that any TWRDF is a WRDF, which implies that
, and any TRDF is a TWRDF, which implies that
.
Now, to prove (ii), we only need to observe that any TWRDF is a TDF, which implies that , and any STDF is a TWRDF, which implies that . □
From Proposition 1 we immediately derive the following problem.
Problem 1. In each of the following cases, characterize the graphs satisfying the equality.
- (i)
.
- (ii)
.
- (iii)
.
- (iv)
.
The solution of Problem 1 (i) can be found in Theorem 20. While we will give some examples of graphs satisfying the remaining equalities, these problems remain open.
Theorem 1. Let G be a graph. The following statements are equivalent.
- (a)
.
- (b)
There exists a -function such that and is a total dominating set.
- (c)
.
Proof. Suppose that and let be a -function. Notice that f is a -function and is a total dominating set. Now, suppose that there exists . Since every vertex in has at least one neighbour in or at least two neighbours in , we can conclude that the function g, defined by and whenever , is a WRDF of weight , which is a contradiction. Thus, and consequently is a total dominating set.
Now, if there exists a -function such that and is a total dominating set, then , and Proposition 1 (i) leads to .
Finally, if , then for any -set A, there exists a -function such that and , which is a TWRDF. Hence, and Proposition 1 (i) leads to . □
From the theorem above and Proposition 1 we deduce the following result.
Theorem 2. For any graph G with no isolated vertex, The bound above is tight. For instance, if
G is a graph having two universal vertices, then
Another example is shown in
Figure 2.
Theorem 3. The following statements are equivalent.
- (i)
.
- (ii)
.
Proof. First, suppose that (i) holds. Let be a -function. Since is a total dominating set, . Thus, . Suppose that and let . Notice that in this case is a -set. Now, since v does not have external private neighbours with respect to , we have that is a dominating set, which is a contradiction. Hence, and so f is a -function. Therefore, and (ii) follows.
Conversely, if (ii) holds, then by Proposition 1 and Theorem 2 we have that . Therefore, and (i) follows. □
We continue our analysis by showing another family of graphs satisfying that , where is the graph obtained by adding an edge to .
Theorem 4. For any -free graph G with no isolated vertex, Proof. Let be a -function such that is minimum. We suppose that . In such a case, and we fix a vertex . Notice that there exist and . We consider the function defined by , and whenever . We claim that is a TWRDF on G. First, we observe that, by construction, is a TDF on G. Now, let and consider the following two cases.
Case 1.
w is not adjacent to v. Since f is a TWRDF on G, w is totally protected under f and, since , w is also totally protected under .
Case 2.
w is adjacent to v. Notice that . In order to show that w is totally protected under , we define by , and whenever . Clearly, every vertex is adjacent to some vertex in . Now, we fix and let D be the set of vertices formed by v, u and two vertices in . As G is a -free graph, it follows that at least one vertex in is adjacent to the another two vertices in D. Since , we have that and so is a TDF on G, as desired.
Thus is a TWRDF on G with and , which is a contradiction. Consequently, we conclude that . □
We would emphasize that the equality is not restrictive to -free graphs. To see this, we can take (see Figure 4).
As a direct consequence of the result above we have that any graph G obtained as the disjoin union of paths and/or cycles satisfies that .
Corollary 1. For any graph G with no isolated vertex and maximum degree , From Corollary 1 and the values of
and
obtained in [
14], we derive the following result.
Remark 1. For any path and any cycle [14], - (i)
- (ii)
.
Our next result will become a useful tool to study the total weak Roman domination number.
Proposition 2. If H is a spanning subgraph (with no isolated vertex) of a graph G, then Proof. Let be the set of all edges of G not belonging to the edge set of H. Let and, for every , let and . Since any TWRDF on is a TWRDF on , we can conclude that . Hence, . □
From Remark 1 and Proposition 2 we obtain the following result.
Corollary 2. Let G be a graph of order n.
If G is a Hamiltonian graph, then
If G has a Hamiltonian path, then
The bounds above are tight, as they are achieved for and , respectively.
A 2-
packing of a graph
G is a set
such that
for every pair of different vertices
. The 2-
packing number is defined as the maximum cardinality among all 2-packings of
G. It is well known that for any graph
G,
(see for instance [
15]). Furthermore, Meir and Moon [
16] showed in 1975 that
for every tree
T.
Theorem 5. For any graph G with no isolated vertex,Furthermore, for any tree T, Proof. Let
f be a
-function and
S a
-set. Since
for every vertex
, and
for every pair of different vertices
,
Therefore, the result follows. □
To show that the bound above is tight we can consider the case of corona graphs (see Theorem 30).
Theorem 6. For any graph G with no isolated vertex, Proof. Let D be a -set and S a -set. We define the function on G, where and . We claim that f is a TWRDF on G. First, notice that f is a TDF on G. Now, let . If v has a neighbour in , then v is totally protected under f. If v has no neighbour in , then v has a neighbour and a neighbour . Consider the function defined by , , and whenever . Since D is a total dominating set of G, is a TDF on G. Hence, f is a TWRDF on G of weight . Therefore, the result follows. □
Notice that for any graph G of order n, minimum degree and maximum degree , we have that . Therefore, Theorem 6 leads to the following result.
Corollary 3. For any graph G of order n, minimum degree and maximum degree , It is not difficult to check that the bound above is achieved for any graph G constructed by joining with an edge the vertex of a trivial graph and a leaf of a star graph , where .
If a graph G has diameter two, then for any vertex the open neighbourhood is a dominating set and the closed neighbourhood is a total dominating set. Hence, the following result is derived from Theorem 6.
Corollary 4. If G is a graph of diameter two and minimum degree , then The bound above is tight. For instance, it is achieved for any star graph with .
As shown in [
17], if
G is a planar graph of diameter two, then
, and
or
G is the graph shown in
Figure 3. Hence, from these inequalities and Theorem 6 we derive the following tight bound.
Theorem 7. If G is a planar graph of diameter two, then .
We already know that (Proposition 1 (i)). Hence, as a direct consequence of this inequality and Theorems 1 and 6 we deduce the following result.
Theorem 8. Let G be a graph. If , then .
In general,
does not imply that
. For instance, see the graph shown in
Figure 4.
Theorem 9 ([
5])
. If G is a graph with no isolated vertex, then . Furthermore, if , then every -set is a 2-packing of G. The following result is a direct consequence of combining Proposition 1 (i) and Theorems 6 and 9.
Theorem 10. For any graph G with no isolated vertex,Furthermore, if then and every -set is a 2-packing of G. Notice that the inequality can be also deduced from the following result.
Theorem 11. For any graph G with no isolated vertex, Proof. Let be a -function such that is maximum among all -functions and let S be a -set. Now, we consider the function defined as follows.
- (a)
For every , choose a vertex if it exists, and label it as .
- (b)
For every , choose a vertex if it exists, otherwise choose a vertex (if exists) and label it as .
- (c)
For every vertex , .
- (d)
For any other vertex u not previously labelled, .
We claim that is a TWRDF on G. Firstly, observe that is a TDF on G. Let . If there exists a vertex , then v is totally protected under . Now, suppose that and let such that v is protected by u under f. In order to show that v is totally protected under , we consider the function defined by , and whenever . We only need to show that is a TDF on G. By definition of , every vertex in is adjacent to some vertex in . Hence, we differentiate the following cases for any .
Case 1.
. If w has degree one, then and we can construct a -function where the number of vertices with label two is greater than , which is a contradiction. Hence, or . In the first case, we conclude that w is adjacent to some vertex in . If this case does not occur, then by (b) and (c) in the definition of , there exists satisfying that .
Case 2.
. If then it is adjacent to some vertex in . From now on, suppose that . If , then w must be adjacent to , as v is protected by u under f. Now, if and , then w is adjacent to some vertex in . Finally, if and , then by (b) in the definition of we have that , which is a contradiction.
From the two cases above we can conclude that is a TDF on G, as required. Therefore, is a TWRDF and, as a consequence, . □
Corollary 5. For any graph G with no isolated vertex,Furthermore, if , then . In order to derive another consequence of Theorem 11 we need to state the following result.
Theorem 12 ([
12])
. For any connected graph of order n and minimum degree , Since , from Theorems 11 and 12 we immediately have the next theorem.
Theorem 13. For any connected graph G of order n and minimum degree , The bound above is tight. It is achieved for the graph .
Theorem 14. Let G be a graph with no isolated vertex. For any -function , Proof. Let be a -function such that is maximum, and consider the function defined on G as follows.
- (a)
For every , choose a vertex and label it as .
- (b)
For every , choose a vertex if it exists, otherwise choose a vertex (if exists) and label it as .
- (c)
For any other vertex u not previously labelled, .
We claim that is a TWRDF on G. Firstly, observe that is a TDF on G. Let . If there exists a vertex , then v is totally protected under . Now, suppose that and let such that v is protected by u under f. In order to show that v is totally protected under , we consider the function defined by , and if . We only need to show that is a TDF on G.
By definition of , every vertex in is adjacent to some vertex in . Hence, we differentiate the following two cases for any .
Case 1.
. If w has degree one, then we can construct a -function where the number of vertices with label two is greater than , which is a contradiction. Hence, or . In the first case, we conclude that w is adjacent to some vertex in . If this case does not occur, then by definition of there exists satisfying that .
Case 2.
. If then it is adjacent to some vertex in . From now on, we suppose that . If , then w must be adjacent to , as v is protected by u under f. Now, if , then by (b) in the definition of and the fact that v is protected by u under f we have that there exists .
From the two cases above we can conclude that, is a TDF on G. Thus, is a TWRDF and, as a consequence, . Finally, since is maximum among all -functions, the result follows. □
We now proceed to construct a family of graphs with and , where are integers. The graph is constructed from the complete bipartite graph and the empty graph by adding p new edges which form a matching between the vertices of and the vertices of degree q in . Notice that there exists a -function with . Therefore, .
Figure 5 shows the graph
and a
-function
, obtained by using the construction of the proof of Theorem 14. One can check that
,
and
, concluding that
.
If , then there exists a -function such that . Therefore, the following result is a direct consequence of Theorem 14.
Corollary 6. Let G be a graph with no isolated vertex. If , then We continue with a result that provides a new relationship between the total weak Roman domination number and the Roman domination number. To this end, we need to state the following known result.
Theorem 15 ([
5])
. If G is a graph of order n with no isolated vertex, then . Furthermore, if and only if . Theorem 16. For any graph G of order n with no isolated vertex,Furthermore, if and only if and . Proof. By Proposition 1 (i) and Theorem 15, the inequality holds. Furthermore, if then, again by Proposition 1 and Theorem 15, and this implies that . Thus, , and so . Conversely, if and , then and . □
4. General Bounds
Our next two results provide bounds in terms of the order, the minimum degree and the maximum degree of G.
Theorem 17. For any graph G of order n with , Proof. Let
be a
-function and let
and
. Since every vertex in
can have at most
neighbours in
, we obtain that
. Furthermore, since every vertex in
has at least two neighbours in
and every vertex in
has at most
neighbours in
, we deduce that
. Hence,
Therefore,
.
The upper bound follows for , so we assume that . Let be a vertex of degree and . It is readily seen that the function g, defined by for every and otherwise, is a TWRDF on G. Therefore, . □
The bounds above are tight. For instance, they are achieved for any complete nontrivial graph and for the cycles with . Furthermore, the wheel graph achieves the upper bound and any corona graph achieves the lower bound, where . Notice that . The limit cases and will be discussed in Theorem 20.
Theorem 18 ([
14])
. Let G be a graph of order n. Then if and only if is an independent set. Theorem 19 ([
13])
. If G is a connected graph, then the following statements are equivalent. We now proceed to characterize all graphs achieving the limit cases of the trivial bounds
Theorem 20. Given a connected graph G of order n, the following statements hold.
- (i)
The following statements are equivalent.
- (a)
.
- (b)
.
- (c)
.
- (d)
G has two universal vertices.
- (ii)
if and only if G is or for some connected graph H.
Proof. We first proceed to prove (i). Notice that (a) directly implies (b), as . Now, suppose that (b) holds and let be a -function. Since f is a TDF, , so and, as a consequence, f is a STDF of weight . Hence, (c) holds. On the other hand, by Theorem 19, (c) implies (d). Finally, it is straightforward that (d) implies (a).
We now proceed to prove (ii). If G is or for some connected graph H, then is straightforward that . From now on we assume that G is a connected graph such that . Since , we have that and so, by Theorem 18, , where I is an independent set. Moreover, notice that if then , and if then . So, we assume that and .
Suppose that and let and be two leaves adjacent to v. We consider the function g defined by , and if . Hence, g is a TWRDF on G and , which is a contradiction. Thus . We now differentiate two cases.
Case 1.
. In this case, and, since G is connected, the subgraph H induced by is connected. Furthermore, since , we have that .
Case 2.
. Suppose that is not an independent set. Notice that there exist two adjacent support vertices and a third vertex . Let and consider the function g defined by , and if . Notice that g is a TWRDF on G and , which is a contradiction, so is an independent set. Now, suppose that and let be two vertices at the shortest possible distance. Since and I are independent sets, and are at distance two. Let , let and let be a function defined by , , and if . Observe that is a TWRDF on G and , which is a contradiction. Thus, . Therefore, since , is an independent set and , we conclude that G is the subdivided star and this completes the proof. □
To conclude this section, we proceed to characterize all graphs with .
Theorem 21. Let G be a graph and let be the family of graphs H of order such that the subgraph induced by three vertices of H contains a path and the remaining vertices have degree two and they form an independent set. Then if and only if there exists which is a spanning subgraph of G and G has at most one universal vertex.
Proof. We first suppose that . Let be a -function. By Theorem 20 (i), G has at most one universal vertex. If , then . In such a case, let and . Notice that u and v are adjacent vertices. Since f is a TWRDF on G, any vertex must be adjacent to u, concluding that is a spanning subgraph of G. Now, if , then . With this assumption, let and notice that the subgraph of G induced by contains a path , as is a total dominating set of G. We may suppose that v is adjacent to u and w. Since f is a TWRDF on G, we observe that for every . Hence, in this case, G contains a spanning subgraph belonging to .
Conversely, since G has at most one universal vertex, by Theorem 20 (i) we have that . Moreover, it is readily seen that and for any . Hence, if is a spanning subgraph of G, by Proposition 2 it follows that . Therefore, . □
5. Rooted Product Graphs and Computational Complexity
Let G and H be two graphs and let . The rooted product graph is defined to be the graph obtained from G and H by taking one copy of G and copies of H and identifying the ith-vertex of G with vertex v in the ith-copy of H for every .
For every
,
will denote the copy of
H in
containing
x. The restriction of any
-function
f to
will be denoted by
, and the restriction to
will be denoted by
. Notice that
and so
Lemma 1. Let be a -function. For any , . Furthermore, if , then and .
Proof. Let . Notice that every vertex in is totally protected under . Now, suppose that and let . Observe that the function g, defined by and whenever , is a TWRDF on of weight , which is a contradiction as . Hence, .
Now, suppose that . If then given a vertex , the function h, defined by and whenever , is a TWRDF on of weight , which is a contradiction. Hence, . Now, if there exists a vertex , then from we may define a TWRDF on with the only difference that , having weight at most , which is a contradiction again. Therefore, . □
Lemma 2. Let H be a graph with no isolated vertex. For any ,Furthermore, if then the following statements hold. - (i)
for every -function f.
- (ii)
There exists a -function such that .
- (iii)
There exists a -function such that .
Proof. Let f be a -function and suppose that . Let . Observe that the function g, defined by , and whenever , is a TWRDF on H of weight , which is a contradiction. Hence, .
Now, assume that . If there exists a vertex such that , then the function , defined by , and whenever , is a TWRDF on H of weight at most , which is a contradiction again. Therefore, .
Furthermore, for any , the function , defined by , and whenever , is a -function. Analogously, the function , defined by , and whenever , is a -function as well. Therefore, the result follows. □
Corollary 7. Let H be a graph with no isolated vertex and . Then the following statements hold.
If for every -function g, then .
If for every -function h, then .
From Lemma 1 we deduce that any
-function
f induces a partition
of
as follows.
Proposition 3. Let f be a -function. If , then
Proof. By Lemma 1, if , then and for every , which implies that is a TWRDF on of weight Hence, , and by Lemma 2 we conclude the proof. □
We will show through Theorem 23 that if , then the converse of Proposition 3 holds. An example of graphs where it does not hold is the case of and , where v is a leaf adjacent to a support vertex of degree two.
By Lemma 1 and Proposition 3 we deduce the following result.
Theorem 22. Let G and H be two graphs with isolated vertex and let . If , then .
The inequality above is achieved, for instance, for any graph G with no isolated vertex and .
It is readily seen that from any -function and any -function we can construct a TWRDF on of weight . Therefore, we can state the following useful result.
Proposition 4. Let G and H be two graphs with no isolated vertex. If G has order n and , then Theorem 23. Let G and H be two graphs with no isolated vertex and let . If , then the following statements are equivalent.
- (a)
for any -function f.
- (b)
.
Proof. Let f be a -function such that . By Proposition 3, .
Conversely, assume that and suppose that for some -function . By Lemma 1 and Proposition 4 we deduce that , which is a contradiction whenever . Therefore, the result follows. □
The following result states the intervals in which the total weak Roman domination number of a rooted product graph can be found.
Theorem 24. Let G and H be two graphs with no isolated vertex. If G has order n and , then one of the following statements holds.
- (i)
.
- (ii)
.
- (iii)
.
- (iv)
.
Proof. Let be a -function and consider the partition of defined above. We differentiate the following four cases.
Case 1.
. In this case, for any we have that and, as a consequence, . On the other hand, we can extend any -function to a TWRDF on of weight . Therefore, (i) follows.
Case 2.
and . In this case, for any we have that and, as a result, .
We now proceed to show that . From f, some vertex and any -function h, we define a function g on as follows. For every , the restriction of g to is induced by and we set . It is readily seen that g is a TWRDF on of weight at most , concluding that .
Case 3.
and . From Lemma 1 we deduce that is a dominating set of G. Therefore, .
On the other hand, by Proposition 3, , and by Proposition 4 we conclude that .
Case 4.
. By Propositions 3 and 4 we conclude that .
In order to conclude the proof of (iv), let us define a function
g on
G as follows. If
then we set
and choose one vertex
and label it as
. For the another vertices not previously labelled, if
then we set
, and if
then we set
. We will prove that
g is a TDF on
G. Notice that by construction of
g, if
then
x is dominated by some vertex
such that
. Now, by Lemma 1, if
then
x is totally protected under
f by a vertex
. Furthermore, since
, we have that
, as required. If
, then it must be adjacent to some vertex
such that
, otherwise
is a TWRDF on
and
, which is a contradiction. Hence,
, as required. Therefore,
g is a TDF on
G and, as a consequence,
Therefore, (iv) follows. □
We now consider some particular cases in which we impose some additional restrictions on G and H. To begin with, we consider the case in which v is a support vertex of H.
Theorem 25. Let G and H be two graphs with no isolated vertex. If G has order n and , thenFurthermore, if , then Proof. Let f be a -function and . Since , we have that , so that Lemma 1 leads to , and, again by Lemma 1, . Hence,
If , then by Case 1 of the proof of Theorem 24, . Now, suppose that . From f, we define a function h on as follows. For every , the restriction of h to is induced from . It is readily seen that h is a TWRDF on of weight , which implies that
From now on, suppose that and let for some . To conclude the proof we only need to show that . We can assume that is a -function satisfying that is maximum. As x and u are adjacent, and hey are support vertices, , so that is a TWRDF on and, as a consequence, . Therefore, , as required. □
We now proceed to discuss some cases in which v is not a support vertex of H.
Theorem 26. If and , then Proof. By Theorem 24, we have that . Now, if , then Theorem 20 leads to , and so .
On the other hand, if , then from Proposition 4 we conclude that . □
Notice that in Theorem 26 we have the hypothesis and the conclusion On the other hand, we would emphasize that in all the examples in which we have observed that the left hand side inequalities of Theorem 24 (iii) or (iv) are achieved, we have that or , respectively. Hence, in these cases, After numerous attempts, we have not been able to prove the following conjecture.
Conjecture. Let G and H be two graphs with no isolated vertex. For any ,where n is the order of G. Furthermore, if and only if . In order to study the computational complexity of the problem of computing the total weak Roman domination number of a graph, we need to state the following result.
Theorem 27. Let G and H be two graphs with no isolated vertex. Let n be the order of G and such that and . If , thenotherwise Proof. If , then Theorem 25 leads to Hence, from now on we assume that . Let . Since u is a leaf in and y its support vertex, for any -function g we have that . Hence, if , then from any -function we can construct a TWRDF on H of weight at most by assigning weight 1 to v, which is a contradiction. Hence, .
Let be a -function and consider the partition of defined previously. Notice that, for any there exist and . With these tools in mind, we now proceed to study the structure of and . Since is a leaf of and its support vertex, we have that , and since , Lemma 1 leads to . We now differentiate two cases.
Case 1.
. Suppose that there exists with . Since is a support vertex, either or and no vertex in is totally protected by under f. In any case, we can conclude that is a TWRDF on of weight , which is a contradiction. Hence, .
Now, since
, if there exists
such that
, then
must be a TWRDF on
, which is a contradiction, as
. Thus,
is a dominating set and so,
On the other hand, since
v is adjacent to a support vertex, from any
-function and any
-function we can construct a TWRDF on
of weight
. Therefore,
.
Case 2.
. If there exists with , then is a TWRDF on of weight , which is a contradiction. Now, if and , then is a TWRDF on of weight , which is a contradiction again. Hence, , and so Therefore, by Theorem 24 we conclude that □
Recent works have shown that graph operations are useful tools to study problems of computational complexity.
For instance, the authors of [
18,
19] have shown that results on the (local) metric dimension of corona product graphs enables us to deduce NP-hardness results for the (local) adjacency dimension; while the authors of [
20] have shown that the study of lexicographic product graphs is useful to infer an NP-hardness result for the super domination number, based on a well-known result for the independence number. Our next result shows that we can use rooted product graphs to study the problem of finding the total weak Roman domination number of a graph. In this case, the key result is Theorem 27 which involves the domination number. It is well known that the dominating set problem is an NP-complete decision problem [
21], i.e., given a positive integer
k and a graph
G, the problem of deciding if
G has a dominating set
D of cardinality
is NP-complete. Hence, the optimization problem of computing the domination number of a graph is NP-hard.
Corollary 8. The problem of computing the total weak Roman domination number of a graph is NP-hard.
Proof. Let G be a graph with no isolated vertex and construct the graph , where v is a leaf of . By Theorem 27, it follows that . Therefore, the problem of computing the total weak Roman domination has the same computational complexity as the domination number problem. □
Theorem 28. Let G and H be two graphs with no isolated vertex and . Then the following statements hold for every such that .
- (i)
If for every -function g, then .
- (ii)
If for every -function g, then .
Proof. Let be a -function and consider the partition of previously defined.
With the assumptions of (i) or (ii), Lemma 2 and Proposition 3 lead to . Moreover, if , then by analogy to Case 1 in the proof of Theorem 24 we deduce that . From now on suppose that . If , then is a TWRDF on , so that . From the hypothesis of (i) and (ii) and Lemma 2 we deduce that . Thus, if , then .
We now assume the hypothesis of (i) and take a vertex . If , then is a TWRDF on of weight , which is a contradiction. Hence, and we can define a function g as and for every . Notice that g is a TWRDF on of weight , so g is a -function and satisfies that , which is a contradiction. Hence, and we are done.
We now assume the hypothesis of (ii). By analogy to Case 2 in the proof of Theorem 24 we deduce that . Now, we proceed to show that . From f, we define a function h on as follows. For every , the restriction of h to is induced from . It is readily seen that h is a TWRDF on of weight , which completes the proof. □
As a particular case of Theorem 28 (i) we have the following result.
Corollary 9. Let G and H be two graphs with no isolated vertex. Let n be the order of G, and . If and , then .
Theorem 29. If G is a graph of order n with , then for every graph H having a universal vertex , Proof. The upper bound is straightforward, as the function f, defined by for every vertex and for every , is a TWRDF on .
On the other hand, let f be a -function and suppose that there exists such that . In such a case, for every , which is a contradiction. Therefore . □
Since any corona graph is a rooted product graph where and v is the vertex of , the result above is equivalent to the following theorem.
Theorem 30. If G is a graph of order n with no isolated vertex, then for every graph , To conclude the analysis, we consider the extreme case in which .
Theorem 31. If G is a graph of order n and H is a graph with , then for any , Proof. By Theorem 24, Now, if , then for any -function f, there exists such that . Hence, for every , which is a contradiction. □