alphaFeedback

WorksMathematics

Total {k}\{k\}-domination in caterpillars: Structural properties and exact results

AI contributions
Not recorded for this paper
View details

Abstract

The total {k}\{k\}-domination problem (T{k}DPT\{k\}DP) seeks a minimum-weight function such that the sum of weights in every open neighborhood is at least kk. While this problem is known to be NP-hard for general graphs, we demonstrate that for the family of caterpillars, it simplifies to the classical total domination number (k=1k=1) via the identity γt{k}(G)=kγt(G)γ^{\{k\}}_t(G) = kγ_t(G). This reduction is supported by a general upper bound established for all graphs, which we prove to be tight specifically for caterpillars. The central tool for our analysis is the introduction of a (T,R)(T,R)-representation, a one-to-one mapping that abstracts caterpillar structure into discrete vectors based on support vertex distribution and central path segment lengths. By characterizing these segments through congruence modulo 4, we derive an exact closed-form expression for the total {k}\{k\}-domination number of any caterpillar graph.

Introduction

Throughout this paper, we consider a (simple) graph GG, with vertex set VV and edge set EE. When we need to emphasize their relationship with the graph, we write V(G)V(G) and E(G)E(G). For each v∈Vv \in V, NG(v)={u∈V:uv∈E}N_G(v) = \{u \in V : uv \in E\} denotes the (open) neighborhood of vv in the graph GG, or simply N(v)N(v) when the graph is clear from the context. Two vertices of GG are adjacent if there is an edge in EE having them as endpoints. The degree of a vertex vv is d(v)=∣N(v)∣d(v) = |N(v)|. A vertex vv is isolated if d(v)=0d(v) = 0 and it is a leaf if d(v)=1d(v) = 1.

A (simple) path is a graph defined by a sequence of (distinct) adjacent vertices. Every vertex in a path has degree 2 except for the two terminal ones, which have degree 1.

For any S⊆VS \subseteq V, the subgraph of GG induced by SS is the graph with vertex set SS such that two vertices of SS are adjacent if and only if they are adjacent in GG.

A caterpillar is a connected graph with the property that after deleting the leaves, it results in a path, called the spine or central path of the caterpillar. In a caterpillar GG, every vertex in the central path adjacent to a leaf is a support vertex.

Graph domination is a fundamental concept widely used to model a variety of problems in Combinatorial Optimization. Total domination in graphs was introduced by Cockayne et al. in [2] and is now well studied in graph theory. A survey on this topic can be found in the so-called domination books by Haynes et al. [5, 6].

The study of domination and its variants is motivated by a wide range of applications in real-world network problems, including facility location, social network analysis, and resource allocation. In these contexts, a dominating set represents a collection of nodes that can monitor, serve, or influence the entire network. Total domination, in particular, is crucial for systems requiring redundancy or continuous connectivity, as it ensures that every node—including those in the dominating set—is adjacent to at least one ”active” or ”service” node.

While finding the minimum total dominating set is NP-hard for general graphs, the structural simplicity of caterpillar graphs enables efficient algorithmic solutions and precise combinatorial bounds. Caterpillars often serve as underlying models for linear communication backbones with peripheral nodes, such as a bus topology in local area networks or certain molecular structures in chemistry. Consequently, providing closed-form results or specialized algorithms for total domination in caterpillars not only advances theoretical graph theory but also provides tools for optimizing tree-like hierarchical architectures.

A total dominating set of a graph GG (with no isolated vertices) is a set DD of vertices of GG such that every vertex is adjacent to a vertex in DD. The total domination problem consists of determining the minimum cardinality of a total dominating set of GG, denoted by γt(G)\gamma_t(G).

Given a positive integer number kk, a natural variation of this concept is the total {k}\{k\}-dominating function, generalizing the total dominating set when k=1k=1. More precisely, given GG and kk, a function f:V⟶{0,1,…,k}f: V \longrightarrow\{0,1,\ldots,k\} is called total {k}\{k\}-dominating function of GG if for each v∈Vv \in V, f(N(v))=∑u∈N(v)f(u)≥kf(N(v)) = \sum_{u \in N(v)} f(u) \ge k. The value f(u)f(u) is the weight of ff on uu and for S⊆VS \subseteq V, f(S)=∑v∈Sf(v)f(S) = \sum_{v \in S} f(v). The weight of a total {k}\{k\}-dominating function ff is f(V)f(V). The total {k}\{k\}-domination number of GG, γt{k}(G)\gamma_t^{\{k\}}(G), is the minimum weight of any total {k}\{k\}-dominating function of GG, see [8]. Observe that there is a one-to-one correspondence between the vertices of GG at value one in a total {1}\{1\}-dominating function and the vertices in a total dominating set. Then, γt{1}(G)=γt(G)\gamma_t^{\{1\}}(G) = \gamma_t(G).

Given GG and a positive integer number kk, the total {k}\{k\}-domination problem (T{k}\{k\}DP) consists on finding γt{k}(G)\gamma_t^{\{k\}}(G). This parameter has been studied by Aram and Sheikholeslam [1], where they provide some tight bounds for this number and determine it exactly for complete multipartite graphs. Also, Haisheng et al. in [4] study the total {k}\{k\}-domination number for other basic graph families such as cycles, paths, wheels, and pans. He and Liang in [7] investigate the algorithmic complexity of computing and approximating this number. Regarding the computational complexity of the problem, it was shown in [7] that determining γt{k}(G)\gamma_t^{\{k\}}(G) is NP-hard for general graphs, even when restricted to certain subclasses such as chordal graphs or bipartite graphs. This complexity remains a significant hurdle for practical applications in large-scale networks, where finding optimal {k}\{k\}-dominating configurations is essential for multi-node redundancy and robust coverage.

Given the problem’s intractability in the general case, researchers have focused on identifying graph families for which the T{k}\{k\}DP can be solved in polynomial time. Trees, and specifically caterpillar graphs, represent an important frontier in this regard. While caterpillars possess a relatively simple structure—consisting of a central spine with pendant leaves—their asymmetric nature and the flexibility of the {k}\{k\}-dominating function weights {0,1,…,k}\{0,1,\ldots,k\} introduce non-trivial combinatorial challenges.

The study of caterpillars in this context is not merely a theoretical exercise; it provides a foundational step for developing dynamic programming approaches and understanding how the ”backbone” structure of a network influences the distribution of dominating weights. In this paper, we take advantage of the structural properties of caterpillars to determine γt{k}(G)\gamma_t^{\{k\}}(G), thereby extending the existing knowledge on {k}\{k\}-domination in trees. In [3] we establish a general bound for the total {k}\{k\}-dominating number and a necessary condition for it to be tight in any graph GG.

Proposition 1.1 ([3]). Given a graph GG and a positive integer number kk, it holds that γt{k}(G)≤kγt(G)\gamma_t^{\{k\}}(G) \leq k\gamma_t(G). In addition, if VV can be partitioned into open neighborhoods of vertices of GG then γt{k}(G)=kγt(G)\gamma_t^{\{k\}}(G) = k\gamma_t(G).

Example 1.2. Let us consider the graph in Figure 1 and a fix value kk. We can observe that the vertices cannot be partitioned into disjoint neighborhoods. However, the bound stated in Proposition 1.1 is achieved if we assign value kk to the black vertices and zero elsewhere. This proves that this necessary condition is not a sufficient one.

An example of a graph where the bound in Proposition 1.1 is tight

Figure 1. An example of a graph where the bound in Proposition 1.1 is tight.

It is an interesting problem to determine families of graphs that satisfy this last equality. In this line, the main results in this paper focus on the family of caterpillar graphs.

The remainder of this paper is organized as follows. In § 1, we introduce the fundamental concepts of total {k}\{k\}-domination and establish a general upper bound for γt{k}(G)\gamma_t^{\{k\}}(G). § 2.1 focuses on the structural properties of DD-caterpillars, demonstrating that for this family, the total {k}\{k\}-domination problem can be reduced to the classical total domination problem (k=1k = 1). Section ?? constitutes the central methodological framework, introducing the (T,R)(T,R)-representation to encode the graph’s structure and developing the necessary reduction tools. In § 4, we synthesize these findings to present the exact closed-form expression for the total {k}\{k\}-domination number applicable to any general caterpillar graph. Finally, § 5 concludes the paper and outlines directions for future research.

A preliminary version of some of the results in this contribution are presented (without proofs) in the conference paper [3].

Previous results on total kk-domination in caterpillars

Throughout this work, [n]={1,…,n}[n]=\{1,\ldots,n\} for any positive integer number nn.

Given a caterpillar G=(V,E)G=(V,E) with ss support vertices, we denote pip_i a support vertex for every i∈[s]i\in[s]. We refer to consecutive support vertices when they are indexed by consecutive numbers, i.e., pip_i and pi+1p_{i+1} for some i∈[s−1]i\in[s-1].

In our analysis, we consider general caterpillar graphs and caterpillars in which two consecutive support vertices do not share neighbours. When this is not the case, the two consecutive support vertices can share at most two vertices.

In the following result, we show that it suffices to consider support vertices with disjoint closed neighbourhoods, since the total kk-domination number of a general caterpillar can be reduced to them.

Lemma 2.1. Let GG be a caterpillar with ss support vertices such that there exists a pair of consecutive support vertices with non-disjoint closed neighbourhoods. Let i∈[s−1]i\in[s-1] such that NG[pi]∩NG[pi+1]≠∅N_G[p_i]\cap N_G[p_{i+1}]\ne\varnothing. If v∈NG[pi]∩NG[pi+1]v\in N_G[p_i]\cap N_G[p_{i+1}] with v≠piv\ne p_i, let Ext⁡(G)\operatorname{Ext}(G) be the caterpillar obtained after replacing the edge pivp_iv by a path of the form {pi,pi1,pi2,pi3,pi4,v}\{p_i,p_i^1,p_i^2,p_i^3,p_i^4,v\}. Then NExt⁡(G)[pi]∩NExt⁡(G)[pi+1]=∅N_{\operatorname{Ext}(G)}[p_i]\cap N_{\operatorname{Ext}(G)}[p_{i+1}]=\varnothing and

γt{k}(G)=γt{k}(Ext⁡(G))−2k.(1)\gamma_t^{\{k\}}(G)=\gamma_t^{\{k\}}(\operatorname{Ext}(G))-2k. \tag*{(1)}

Proof. In Figure 2 we have represented the construction of G′G' from the caterpillar GG. We can first observe that the new caterpillar Ext⁡(G)\operatorname{Ext}(G) has two new disjoint neighbourhoods, i.e., N(pi2)N(p_i^2) and N(pi3)N(p_i^3). Then,

Caterpillar G and Ext(G) in Cases 1 and 2

Figure 2. Caterpillar GG and Ext⁡(G)\operatorname{Ext}(G) of Lemma 2.1, where the white vertices of Ext⁡(G)\operatorname{Ext}(G) correspond to pi1p_i^1, pi2p_i^2, pi3p_i^3 and pi4p_i^4, in both cases.

γt{k}(Ext⁡(G))≥γt{k}(G)+2k.(2)\gamma_t^{\{k\}}(\operatorname{Ext}(G))\geq\gamma_t^{\{k\}}(G)+2k. \tag*{(2)}

Let DD be an optimal total {k}\{k\}-dominating set in GG. We divide the proof into two cases, depending on the number of vertices in the intersection of the closed neighborhoods of pip_i and pi+1p_{i+1}.

  • Case 1: ∣NG[pi]∩NG[pi+1]∣=1|N_G[p_i] \cap N_G[p_{i+1}]| = 1

    Let v∈NG[pi]∩NG[pi+1]v \in N_G[p_i] \cap N_G[p_{i+1}].

    If v∈Dv \in D, consider D′=D∪{pi1,pi2}D' = D \cup\{p_i^1,p_i^2\}. Clearly, D′D' is also a total {k}\{k\}-dominating set achieving the lower bound in 2. Then, it is an optimal total {k}\{k\}-dominating set of Ext⁡(G)\operatorname{Ext}(G).

    If v∉Dv \notin D, consider D′=D∪{pi3,pi4}D' = D \cup\{p_i^3,p_i^4\}. Again, D′D' is a total {k}\{k\}-dominating set achieving the lower bound in 2 and then an optimal total {k}\{k\}-dominating set of Ext⁡(G)\operatorname{Ext}(G). See Figure 2 a).

  • Case 2: ∣N[pi]∩N[pi+1]∣=2|N[p_i] \cap N[p_{i+1}]| = 2 In this case, N[pi]∩N[pi+1]={pi,pi+1}N[p_i] \cap N[p_{i+1}] = \{p_i,p_{i+1}\} and {pi,pi+1}⊆D\{p_i,p_{i+1}\} \subseteq D. If we consider D′=D∪{pi2,pi3}D' = D \cup\{p_i^2,p_i^3\} then D′D' is an optimal total {k}\{k\}-dominating set of Ext⁡(G)\operatorname{Ext}(G). See Figure 2 b).

Proof.

Remark 2.2. The previous lemma can be applied iteratively to obtain a caterpillar in which every pair of consecutive support vertices has disjoint closed neighbourhoods.

This remark allows us to work with caterpillar graphs in which the closed neighbourhoods of two consecutive support vertices are disjoint. Let GG be such a caterpillar, following the order of the vertices in the central path, for each support vertex pip_i with i∈{2,…,s−1}i \in\{2,\ldots,s-1\}, let pi−p_i^- and pi+p_i^+ be the neighbours of pip_i in PP. Any time we use the precedence between the indices of the vertices, we consider the order of them according to the vertices in the central path starting from the vertex p1p_1 to psp_s (see Figure 3).

Notation in a caterpillar

Figure 3. Notation in a caterpillar.

Under the previous notation on caterpillars, we first establish that in a caterpillar with disjoint closed support vertices neighbourhoods, there is always an optimal total {k}\{k\}-dominating function having value 0 at every leaf and kk at every support vertex. More precisely,

Lemma 2.3. Given a positive integer number kk and a caterpillar G=(V,E)G=(V,E) such that every pair of consecutive support vertices closed neighborhoods is disjoint, there is a total {k}\{k\}-dominating function of minimum weight ff satisfying f(p)=kf(p)=k and f(h)=0f(h)=0 for every support vertex pp and leaf hh in GG.

Proof. Assume that there are ss support vertices in GG such that each support vertex pip_i has ℓi≥1\ell_i \ge1 leaves, denoted by hi1,…,hiℓih_i^1,\ldots,h_i^{\ell_i}, for i∈[s]i\in[s]. Let gg be a total {k}\{k\}-dominating function of minimum weight in GG. Since for every i∈[s]i\in[s] and j∈[ℓi]j\in[\ell_i], N(hij)={pi}N(h_i^j)=\{p_i\}, by definition, we have that g(pi)=kg(p_i)=k.

If g(hij)≠0g(h_i^j)\ne0 for some i∈[s]i\in[s] and j∈[ℓi]j\in[\ell_i] then we can define a new function ff on VV satisfying

f(v)={∑j=1ℓig(hij)+g(pi+)if v=pi+ for i∈[s−1],∑j=1ℓsg(hsj)+g(ps−)if v=ps−,0if v=hij for j∈[ℓi] and i∈[s],g(v)otherwise.f(v)= \begin{cases} \sum_{j=1}^{\ell_i}g(h_i^j)+g(p_i^+) & \text{if }v=p_i^+\text{ for }i\in[s-1],\\ \sum_{j=1}^{\ell_s}g(h_s^j)+g(p_s^-) & \text{if }v=p_s^-,\\ 0 & \text{if }v=h_i^j\text{ for }j\in[\ell_i]\text{ and }i\in[s],\\ g(v) & \text{otherwise.} \end{cases}

Clearly, ff is a total {k}\{k\}-dominating function and it is optimal since f(V)=g(V)f(V)=g(V).

Remark 2.4. By Lemma 2.3, the weight of a total {k}\{k\}-dominating function in a caterpillar is independent of the number of leaves adjacent to a support vertex. Therefore, we can assume, w.l.o.g., that every support vertex pip_i has only one leaf adjacent to it, and denote it as hih_i for each i∈[s]i\in[s].

Definition 2.5. Let GG be a caterpillar such that every support vertex has one leaf adjacent to it. Moreover, if, for any two consecutive support vertices of GG, their closed neighborhoods are disjoint, then GG is called a D-caterpillar. See Figure 4.

D-caterpillar

Figure 4. D-caterpillar.

From now on, given a D-caterpillar, we denote by pip_i its ii-th support vertex and by hih_i the unique leaf adjacent to it.

On total kk-domination in D-caterpillars

Let us introduce some useful notation for every D-caterpillar GG.

Definition 2.6. Let G=(V,E)G=(V,E) be a D-caterpillar with ss support vertices. The support vertices in the central path PP are denoted by pip_i for i∈{2,…,s−1}i\in\{2,\ldots,s-1\}, pi−p_i^- and pi+p_i^+ the neighbours of pip_i in PP. Let PiP_i be the set of vertices in PP strictly between pi+p_i^+ and pi+1−p_{i+1}^-, for every i∈[s−1]i\in[s-1]. Clearly, when Pi≠∅P_i\ne\varnothing, it induces a path in GG for every i∈[s−1]i\in[s-1].

Let GiG_i be the subgraph of GG induced by

Vi={hi,pi,pi+}∪Pi∪{pi+1−,hi+1,pi+1}(3)V_i=\{h_i,p_i,p_i^+\}\cup P_i\cup\{p_{i+1}^-,h_{i+1},p_{i+1}\} \tag*{(3)}

and ni=∣Vi∣n_i=|V_i| for each i∈[s−1]i\in[s-1]. Note that each graph GiG_i is an induced path.

According to the previous definition, GG can be decomposed into s−1s-1 subgraphs of the form GiG_i, where the vertices of GiG_i and Gi+1G_{i+1} clearly intersect in {pi+1,hi+1}\{p_{i+1},h_{i+1}\} for every i∈[s−2]i\in[s-2]. To emphasize this decomposition, we write G=⨁i=1s−1GiG=\bigoplus_{i=1}^{s-1}G_i. Since GG is a D-caterpillar, ni≥6n_i\ge6 for each i∈[s−1]i\in[s-1]. We represent a graph GiG_i in Figure 5 and Gi⊕Gi+1G_i\oplus G_{i+1}, the paths induced by PiP_i and Pi+1P_{i+1} and the leaves hih_i and hi+1h_{i+1} in Figure 6.

The subgraph $G_i$ of $G$

Figure 5. The subgraph GiG_i of GG.

The white nodes correspond to $P_i$ and $P_{i+1}$ in $G_i\oplus G_{i+1}$

Figure 6. The white nodes correspond to PiP_i and Pi+1P_{i+1} in Gi⊕Gi+1G_i\oplus G_{i+1}.

When the D-caterpillar has only two support vertices, the graph itself is a path with at least 6 vertices. Based on the results in [4], Lemma 2.5 in [3] establishes the existence of an optimal total {k}\{k\}-dominating function {0,k}\{0,k\}-valued and also a closed formula for the total {k}\{k\}-dominating number of paths. We rewrite this result here for completeness.

Lemma 2.7. If GG is a path of n≥6n \ge6 vertices, then:

a) there exists an optimal total {k}\{k\}-dominating function that is {0,k}\{0,k\}-valued, and

b)

γt{k}(G)={kn+22if n−6≡0(mod4),kn+12if n−6≡1 or n−6≡3(mod4),kn2if n−6≡2(mod4).\gamma_t^{\{k\}}(G)= \begin{cases} k^{\frac{n+2}{2}} & \text{if } n-6 \equiv0 \pmod{4},\\ k^{\frac{n+1}{2}} & \text{if } n-6 \equiv1 \text{ or } n-6 \equiv3 \pmod{4},\\ k^{\frac{n}{2}} & \text{if } n-6 \equiv2 \pmod{4}. \end{cases}

We extend this result to the case of more than two support vertices in the given D-caterpillar.

The following theorem was originally presented in [3]. However, we include a revised proof of it here, since it provides some intuition on how to define an optimal total {k}\{k\}-dominating function, central to our subsequent results.

Theorem 2.8. Let GG be a D-caterpillar. Then, for every positive integer number kk, there exists a {0,k}\{0,k\}-valued optimal total {k}\{k\}-dominating function.

Proof. We proceed by induction on the number of support vertices ss in the D-caterpillar GG. For the base case s=2s=2, the result follows directly from the fact that the caterpillar is a path.

Assume that the statement holds for any D-caterpillar with at most jj support vertices. Let GG be a D-caterpillar with s=j+1s=j+1 support vertices, which can be viewed as the composition G=G′⊕GjG=G' \oplus G_j, where G′G' is a D-caterpillar containing the first jj support vertices and GjG_j is the subgraph induced by VjV_j associated with the last two support vertices pjp_j and pj+1p_{j+1}.

By the inductive hypothesis, there exists an optimal total {k}\{k\}-dominating function gg for G′G' such that g(v)∈{0,k}g(v) \in\{0,k\} for all v∈V(G′)v \in V(G'). Our goal is to extend or modify gg to a function ff on V(G)V(G) that remains {0,k}\{0,k\}-valued and optimal.

Let a=g(pj−)a=g(p_j^{-}) be the weight assigned to the neighbor of pjp_j in the central path of G′G'. Based on the weight gg assigns to the neighborhood of pjp_j, we define ff on V(G′)∖{hj}V(G') \setminus\{h_j\} to coincide with gg, while setting f(hj)=0=f(hj+1)f(h_j)=0=f(h_{j+1}) to maintain the {0,k}\{0,k\}-property on GG. To determine the values of ff on the path PjP_j (the vertices between pj+p_j^+ and pj+1−p_{j+1}^-) and the final support vertex pj+1−p_{j+1}^-, let ∣Pj∣=4tj+rj|P_j|=4t_j+r_j with rj∈{0,1,2,3}r_j\in\{0,1,2,3\}.

The total weight of ff on Vj∪{pj−}V_j\cup\{p_j^-\} must satisfy the following lower bound arising from the total {k}\{k\}-domination constraints on pjp_j, pj+1p_{j+1}, and the 2tj2t_j disjoint open neighborhoods within PjP_j:

f(Vj∪{pj−})≥4k+2ktj+∑l=1rjf(w4tj+l)(4)f(V_j\cup\{p_j^-\})\ge4k+2kt_j+\sum_{l=1}^{r_j}f(w_{4t_j+l}) \tag*{(4)}

where wlw_l are the vertices in the path induced by PjP_j.

We define ff on the path induced by Pj={w1,…,w4tj+rj}P_j=\{w_1,\ldots,w_{4t_j+r_j}\} by alternating weights according to the parity and the boundary value a∈{0,k}a\in\{0,k\}: f(w4t+1)=0f(w_{4t+1})=0, f(w4t+2)=af(w_{4t+2})=a, f(w4t+3)=kf(w_{4t+3})=k, and f(w4t+4)=k−af(w_{4t+4})=k-a, for t∈{0,…,tj−1}t\in\{0,\ldots,t_j-1\}.

The definition of ff for the remaining vertices depends on rjr_j:

  • Case rj=0r_j=0: Setting f(pj+1−)=f(hj+1)=0f(p_{j+1}^-)=f(h_{j+1})=0 achieves the lower bound, ensuring optimality.

  • Case rj=1r_j=1: If a=ka=k, we set f(pj+1−)=kf(p_{j+1}^-)=k and f(hj+1)=0f(h_{j+1})=0. If a=0a=0, we set f(pj+1−)=0f(p_{j+1}^-)=0 and f(hj+1)=kf(h_{j+1})=k.

  • Case rj=2r_j=2: Setting f(pj+1−)=kf(p_{j+1}^-)=k and f(hj+1)=0f(h_{j+1})=0 satisfies the constraints and reaches the lower bound.

  • Case rj=3r_j=3: If a=0a=0, we set f(w4tj+3)=f(pj+1−)=kf(w_{4t_j+3})=f(p_{j+1}^-)=k. If a=ka=k, we set f(w4tj+2)=f(w4tj+3)=kf(w_{4t_j+2})=f(w_{4t_j+3})=k.

In all scenarios, the resulting function ff is a total {k}\{k\}-dominating function of GG with f(v)∈{0,k}f(v)\in\{0,k\} for all v∈V(G)v\in V(G). Since the construction matches the general lower bound for total {k}\{k\}-domination in these structures, ff is optimal. This completes the induction.

Note that the previous result allows us to study total domination instead of total {k}\{k\}-domination in D-caterpillars. More precisely,

Corollary 2.9. Given a positive integer number kk and a D-caterpillar GG, the T{k}DP\mathrm{T}\{k\}\mathrm{DP} can be reduced to the total domination problem of GG. Moreover, γt{k}(G)=kγt(G)\gamma_t^{\{k\}}(G)=k\gamma_t(G).

Proof. Let G=(V,E)G=(V,E) be a D-caterpillar and let SS be an optimal total dominating set of GG of size LL. Define the function ff on VV as f(v)=kf(v)=k for all v∈Sv\in S and f(v)=0f(v)=0 for all v∈V∖Sv\in V\setminus S. Then, it is clearly an optimal total kk-dominating function of GG with weight kLkL.

Conversely, by Theorem 2.8 let ff be an optimal total {k}\{k\}-dominating function of GG {0,k}\{0,k\}-valued weight kLkL. Then the set S={v∈V:f(v)=k}S=\{v\in V:f(v)=k\} is clearly an optimal total {k}\{k\}-dominating set of GG of size LL.

The previous theorem implies that the bound given in Proposition 1.1 for the total {k}\{k\}-domination number is achieved for the family of all D-caterpillars. Also, this result shows that, to study {k}\{k\}-domination in this family, we can restrict our attention to the problem of total domination in graphs.

Total domination in D-caterpillars

In the proof of Theorem 2.8, we observed that the congruence modulo 4 of the number of vertices in the paths induced between consecutive support vertices plays a decisive role in determining the optimal weight distribution. This section formalizes this observation by introducing a compact representation for D-caterpillars.

On the representation of a D-caterpillar

While the previous results establish the reduction of the total {k}\{k\}-domination problem to the case k=1k=1, a significant challenge remains: providing an exact closed-form expression for γt(G)\gamma_t(G) for any caterpillar GG. The difficulty lies in the asymmetric distribution of weights across the central path and the sensitivity of the total weight to the specific lengths of the paths between support vertices.

To address this, we introduce the (T,R)(T,R)-representation, a combinatorial framework that abstracts the nature of a D-caterpillar into two discrete vectors. By considering congruence modulo 4 in the segments of the central path between the open neighbourhood of two consecutive support vertices, we define the integer-valued vectors TT and RR, and provide a one-to-one mapping between the family of D-caterpillars and the specific discrete space. This representation is not merely descriptive; it serves as a fundamental tool to derive the exact total domination number.

Lemma 3.1. There is a one-to-one correspondence between the family of D-caterpillars with ss support vertices and the set N0s−1×{0,1,2,3}s−1\mathbb{N}_0^{s-1} \times\{0,1,2,3\}^{s-1}.

Proof. Let (T,R)∈N0s−1×{0,1,2,3}s−1(T,R) \in\mathbb{N}_0^{s-1} \times\{0,1,2,3\}^{s-1}, where T=(t1,t2,…,ts−1)T=(t_1,t_2,\ldots,t_{s-1}) and R=(r1,r2,…,rs−1)R=(r_1,r_2,\ldots,r_{s-1}). We define G(T,R)G(T,R) as the D-caterpillar having ss support vertices pip_i with i∈[s]i \in[s] where each vertex subset PiP_i between the open neighbourhoods of pip_i and pi+1p_{i+1} in the central path of G(T,R)G(T,R), satisfies ∣Pi∣=4ti+ri|P_i|=4t_i+r_i for each i∈[s−1]i \in[s-1]. This completes the definition of the D-caterpillar G(T,R)G(T,R) obtained after the two vectors TT and RR. For instance, the D-caterpillar depicted in Figure 6 corresponds to T=(1,1)T=(1,1) and R=(0,1)R=(0,1), considering i=1i=1.

Conversely, let GG be a D-caterpillar with a central path PP and support vertices pip_i, for i∈[s]i \in[s]. Let PiP_i be the set of vertices in PP between the open neighbourhoods of pip_i and pi+1p_{i+1}, for each i∈[s−1]i \in[s-1]. If ti∈N0t_i \in\mathbb{N}_0 and ri∈{0,1,2,3}r_i \in\{0,1,2,3\} are such that ∣Pi∣=4ti+ri|P_i|=4t_i+r_i for each i∈[s−1]i \in[s-1], we define T=(t1,t2,…,ts−1)T=(t_1,t_2,\ldots,t_{s-1}) and R=(r1,r2,…,rs−1)R=(r_1,r_2,\ldots,r_{s-1}).

This shows the one-to-one correspondence between the pair (T,R)(T,R) and the D-caterpillar GG.

Remark 3.2. Given GG, we refer to this unique pair (T(G),R(G))(T(G),R(G)) as the (T,R)(T,R)-representation of GG. According to the previous result, given GG a D-caterpillar we have that T=(ti)s−1∈N0s−1T=(t_i)_{s-1} \in\mathbb{N}_0^{s-1} and R=(ri)s−1∈{0,1,2,3}s−1R=(r_i)_{s-1} \in\{0,1,2,3\}^{s-1}, where ∣Pi∣=4ti+ri|P_i|=4t_i+r_i for every i∈[s−1]i \in[s-1].

Definition 3.3. Given the (T,R)(T,R)-representation of a D-caterpillar GG, we define the sets

Rj={Gi:ri=j, for i∈[s−1]}\mathcal{R}_j=\{G_i:r_i=j,\ \text{for }i \in[s-1]\}

and their corresponding index sets Ij={i:Gi∈Rj}I_j=\{i:G_i \in\mathcal{R}_j\}, for each j∈{0,1,2,3}j \in\{0,1,2,3\}. Furthermore, if R3≠∅\mathcal{R}_3 \ne\varnothing, we denote by GjG_j the jjth-maximal set of ℓj\ell_j consecutive graphs Gi∈R3G_i \in\mathcal{R}_3, for j∈[m]j \in[m], where mm indicates the number of maximal subsequences of consecutive components equal to 33 in the vector RR.

We illustrate this definition in an example; see Figure 7.

The D-caterpillar in Example 3.4

Figure 7. The D-caterpillar in Example Example 3.4, where the black vertices correspond to an optimal total dominating set.

Example 3.4. Consider a D-caterpillar GG with 1212 support vertices defined by the following (T,R)(T,R)-representation:

  • T=(1,1,1,0,0,1,1,0,1,1,0)T=(1,1,1,0,0,1,1,0,1,1,0)

  • R=(0,1,1,2,3,3,0,3,3,3,1)R=(0,1,1,2,3,3,0,3,3,3,1)

Based on the components of the remainder vector RR, we can partition the subgraphs GiG_i into the index sets:

  • I0={1,7}I_0 = \{1,7\}, I1={2,3,11}I_1 = \{2,3,11\}, I2={4}I_2 = \{4\}, and I3={5,6,8,9,10}I_3 = \{5,6,8,9,10\}.

Furthermore, the vector RR contains two maximal sequences of consecutive 3s (m=2m = 2):

  • G1={G5,G6}\mathcal{G}_1 = \{G_5,G_6\} with length ℓ1=2\ell_1 = 2.

  • G2={G8,G9,G10}\mathcal{G}_2 = \{G_8,G_9,G_{10}\} with length ℓ2=3\ell_2 = 3.

Given a D-caterpillar GG we define a smaller D-caterpillar G′G' having a {0,2,3}\{0,2,3\}-valued vector R(G′)R(G') in its (T(G′),R(G′))(T(G'),R(G'))-representation. This reduction will be useful for determining the total domination number of GG. See Theorem 3.14.

Definition 3.5. Given the (T,R)(T,R)-representation of a D-caterpillar GG, we define the vector R′R' deleting from RR all components at value 1. The vector T′T' is defined accordingly by preserving the components of TT that correspond to the indices kept in R′R'. For simplicity, we denote by G′G' the D-caterpillar G(T′,R′)G(T',R') and we refer to it as the reduced graph obtained from GG.

Example 3.6. Given the (T,R)(T,R)-representation of the D-caterpillar GG in Example Example 3.4, according to the previous definition, R′=(0,2,3,3,0,3,3,3)R' = (0,2,3,3,0,3,3,3) and T′=(1,0,0,1,1,0,1,1)T' = (1,0,0,1,1,0,1,1). Then, G′=G1⊕G4⊕G5⊕G6⊕G7⊕G8⊕G9⊕G10G' = G_1 \oplus G_4 \oplus G_5 \oplus G_6 \oplus G_7 \oplus G_8 \oplus G_9 \oplus G_{10}, see Figure 8.

The D-caterpillar $G'$ with $(T',R')$-representation

Figure 8. The D-caterpillar G′G' with (T′,R′)(T',R')-representation, where the black vertices correspond to an optimal total dominating set.

On the total domination number in D-caterpillar

We begin this section by presenting some properties satisfied by an optimal total dominating function on a D-caterpillar that will be useful for presenting the main result of this section, i.e., the total domination number of a general D-caterpillar. Recall that in a D-caterpillar with support vertices pip_i for i∈[s]i \in[s], pi−p_i^{-} is previous neighbour of pip_i in the central path of GG and pi+p_i^{+} is subsequent neighbour of pip_i in the central path of GG.

According to the particular neighbourhood of support vertices in D-caterpillars, in the following lemma, we show that we can consider two different possible assignments in an optimal total dominating function.

Lemma 3.7. If GG is a D-caterpillar with support vertices p1,…,psp_1,\ldots,p_s, then there is an optimal total dominating function ff satisfying either f(pi)=f(pi+)=1f(p_i)=f(p_i^{+})=1 or f(pi)=f(pi−)=1f(p_i)=f(p_i^{-})=1, for every i∈[s−1]i \in[s-1].

Proof. By Lemma 2.3, there is an optimal total dominating function ff such that f(hi)=0f(h_i)=0 and f(pi)=1f(p_i)=1 for all i∈[s]i \in[s]. Since N(p1)={p1+}N(p_1)=\{p_1^{+}\}, N(pi)={pi−,pi+}N(p_i)=\{p_i^{-},p_i^{+}\} for all i∈{2,…,s−1}i \in\{2,\ldots,s-1\} and N(ps)={ps−}N(p_s)=\{p_s^{-}\} the optimality of ff proves the result.

If the D-caterpillar is decomposed according to Definition 2.6, the previous lemma helps in determining the value of an optimal total dominating function on each graph GiG_i.

Lemma 3.8. Let GG be a D-caterpillar with support vertices p1,…,psp_1,\ldots,p_s such that G=⨁i=1s−1GiG=\bigoplus_{i=1}^{s-1}G_i and Pi=V(Gi)∖(N[pi]∪N[pi+1])P_i=V(G_i)\setminus\left(N[p_i]\cup N[p_{i+1}]\right) for i∈[s−1]i\in[s-1]. If tit_i and rir_i are the ii-th components of TT and RR in the (T,R)(T,R)-representation of GG, there is an optimal total dominating function ff satisfying.

i)

f(Pi)={2ti+1if ri=3,2tiotherwise;(5)f(P_i)= \begin{cases} 2t_i+1 & \text{if } r_i=3,\\ 2t_i & \text{otherwise;} \end{cases} \tag*{(5)}

if f(pi)=f(pi+)=1f(p_i)=f(p_i^{+})=1, and

ii)

f(Pi)={2tiif ri∈{0,1},2ti+1if ri=2,2ti+2if ri=3,(6)f(P_i)= \begin{cases} 2t_i & \text{if } r_i \in\{0,1\},\\ 2t_i+1 & \text{if } r_i=2,\\ 2t_i+2 & \text{if } r_i=3, \end{cases} \tag*{(6)}

if f(pi−)=f(pi)=1f(p_i^-)=f(p_i)=1.

Proof. Given the D-caterpillar GG, in its (T,R)(T,R)-representation, the components of TT and RR, tit_i and rir_i, are the non-negative integer numbers such that ∣Pi∣=4ti+ri|P_i|=4t_i+r_i and ri≤3r_i\leq3, for i∈[s−1]i\in[s-1]. Let i∈[s−1]i\in[s-1] and assume that Pi={w1,…,wbi}P_i=\{w_1,\ldots,w_{b_i}\}.

According to Lemma 3.7 there exists an optimal total dominating function f~\tilde{f} satisfying either that f~(pi)=f~(pi+)=1\tilde{f}(p_i)=\tilde{f}(p_i^+)=1 or f~(pi−)=f~(pi)=1\tilde{f}(p_i^-)=\tilde{f}(p_i)=1. In addition, it holds that

f~(Pi)≥2ti+∑l=1rif~(w4ti+l).(7)\tilde{f}(P_i)\geq2t_i+\sum_{l=1}^{r_i}\tilde{f}(w_{4t_i+l}). \tag*{(7)}

i) Suppose first that f~(pi)=f~(pi+)=1\tilde{f}(p_i)=\tilde{f}(p_i^+)=1.

If ri∈{0,1}r_i\in\{0,1\} we define a total dominating function ff as

f(v)={1if v∈{w4t+3,w4t+4},0if v∈{w4t+1,w4t+2,pi+1−}∪{w4ti+l ⁣:l∈[ri]},f~(v)otherwise.f(v)= \begin{cases} 1 & \text{if } v\in\{w_{4t+3},w_{4t+4}\},\\ 0 & \text{if } v\in\{w_{4t+1},w_{4t+2},p_{i+1}^-\}\cup\{w_{4t_i+l}\colon l\in[r_i]\},\\ \tilde{f}(v) & \text{otherwise.} \end{cases}

for t∈{0,…,ti−1}t\in\{0,\ldots,t_i-1\}, achieves the value f(Pi)=2tif(P_i)=2t_i, thus proving its optimality due to (7).

Note that [ri]=∅[r_i]=\emptyset if ri=0r_i=0.

In case ri=2r_i=2,

f(v)={1if v∈{w4t+3,w4t+4,pi+1−},0if v∈{w4t+1,w4t+2,w4ti+1,w4ti+2},f~(v)otherwise.f(v)= \begin{cases} 1 & \text{if } v\in\{w_{4t+3},w_{4t+4},p_{i+1}^-\},\\ 0 & \text{if } v\in\{w_{4t+1},w_{4t+2},w_{4t_i+1},w_{4t_i+2}\},\\ \tilde{f}(v) & \text{otherwise.} \end{cases}

for t∈{0,…,ti−1}t\in\{0,\ldots,t_i-1\}, achieves the value f(Pi)=2tif(P_i)=2t_i. Again, this proves its optimality due to (7).

Similarly, when ri=3r_i=3, we define the total dominating function ff as

f(v)={1if v∈{w4t+3,w4t+4,w4ti+3,pi+1−},0if v∈{w4t+1,w4t+2,w4ti+1,w4ti+2},f~(v)otherwise.f(v)= \begin{cases} 1 & \text{if } v\in\{w_{4t+3},w_{4t+4},w_{4t_i+3},p_{i+1}^-\},\\ 0 & \text{if } v\in\{w_{4t+1},w_{4t+2},w_{4t_i+1},w_{4t_i+2}\},\\ \tilde{f}(v) & \text{otherwise.} \end{cases}

for t∈{0,…,ti−1}t \in\{0,\ldots,t_i-1\}, achieves the lower bound 2ti+12t_i+1 given by (7), and then proving its optimality.

ii) Assume now that f~(pi−)=f~(pi)=1\tilde{f}(p_i^-)=\tilde{f}(p_i)=1.

If ri=0r_i=0, we define the total dominating function ff as

f(v)={1if v∈{w4t+2,w4t+3},0if v∈{w4t+1,w4t+4,pi+1−},f~(v)otherwise.f(v)= \begin{cases} 1 & \text{if } v\in\{w_{4t+2},w_{4t+3}\},\\ 0 & \text{if } v\in\{w_{4t+1},w_{4t+4},p_{i+1}^-\},\\ \tilde{f}(v) & \text{otherwise.} \end{cases}

for t∈{0,…,ti−1}t\in\{0,\ldots,t_i-1\}, achieves the value f(Pi)=2tif(P_i)=2t_i, thus proving its optimality due to (7).

Similarly, when ri=1r_i=1, the total dominating function ff is defined as

f(v)={1if v∈{w4t+2,w4t+3,pi+1−},0if v∈{w4t+1,w4t+4},f~(v)otherwise.f(v)= \begin{cases} 1 & \text{if } v\in\{w_{4t+2},w_{4t+3},p_{i+1}^-\},\\ 0 & \text{if } v\in\{w_{4t+1},w_{4t+4}\},\\ \tilde{f}(v) & \text{otherwise.} \end{cases}

for t∈{0,…,ti−1}t\in\{0,\ldots,t_i-1\}, and it achieves the value f(Pi)=2tif(P_i)=2t_i thus proving its optimality due to (7).

When ri=2r_i=2, the function ff is defined as

f(v)={1if v∈{w4t+2,w4t+3,pi+1−,w4ti+2},0if v∈{w4t+1,w4t+4,w4ti+1},f~(v)otherwise.f(v)= \begin{cases} 1 & \text{if } v\in\{w_{4t+2},w_{4t+3},p_{i+1}^-,w_{4t_i+2}\},\\ 0 & \text{if } v\in\{w_{4t+1},w_{4t+4},w_{4t_i+1}\},\\ \tilde{f}(v) & \text{otherwise.} \end{cases}

for t∈{0,…,ti−1}t\in\{0,\ldots,t_i-1\}.

Finally, when ri=3r_i=3 the function ff is defined as

f(v)={1if v∈{w4t+2,w4t+3,w4ti+2,w4ti+3},0if v∈{w4t+1,w4t+4,w4ti+1,pi+1−},f~(v)otherwise.f(v)= \begin{cases} 1 & \text{if } v\in\{w_{4t+2},w_{4t+3},w_{4t_i+2},w_{4t_i+3}\},\\ 0 & \text{if } v\in\{w_{4t+1},w_{4t+4},w_{4t_i+1},p_{i+1}^-\},\\ \tilde{f}(v) & \text{otherwise.} \end{cases}

for t∈{0,…,ti−1}t\in\{0,\ldots,t_i-1\}.

In both cases, ff is clearly a total dominating function of GG. Also note that when ri∈{2,3}r_i\in\{2,3\}, the set Pi∪{pi+1−}P_i\cup\{p_{i+1}^-\} can be partitioned into 2ti+(ri−1)2t_i+(r_i-1) disjoint open neighbourhoods of vertices of GG. Then, this function achieves optimality using the bound provided by (7).

In the next observation, we explicitly show that there is always an optimal total dominating function that takes into account the two possible situations considered in Lemma 3.7 to define its value in the neighbourhood of the following support vertex. More precisely, after the proof of Lemma 3.8, we can state the following.

Remark 3.9. There is an optimal total dominating function ff satisfying, for i∈[s−1]i \in[s-1],

i)

{f(pi+1)=f(pi+1+)=1if ri=0 or ri=1,f(pi+1)=f(pi+1−)=1otherwise;\begin{cases} f(p_{i+1}) = f(p_{i+1}^{+}) = 1 & \text{if } r_i = 0 \text{ or } r_i = 1,\\ f(p_{i+1}) = f(p_{i+1}^{-}) = 1 & \text{otherwise;} \end{cases}

if f(pi)=f(pi+)=1f(p_i) = f(p_i^{+}) = 1.

ii)

{f(pi+1)=f(pi+1+)=1if ri=0 or ri=3,f(pi+1)=f(pi+1−)=1otherwise.\begin{cases} f(p_{i+1}) = f(p_{i+1}^{+}) = 1 & \text{if } r_i = 0 \text{ or } r_i = 3,\\ f(p_{i+1}) = f(p_{i+1}^{-}) = 1 & \text{otherwise.} \end{cases}

if f(pi−)=f(pi)=1f(p_i^{-}) = f(p_i) = 1.

In both cases, we have considered ps+=hsp_s^{+} = h_s.

According to the previous result we are in a position of determining the total domination number of the caterpillar for which its (T,R)(T,R)-representation coincides with the (T′,R′)(T',R')-representation given in Definition 3.5. This provides a basic reduction for obtaining the total domination number for general caterpillar graphs.

Recall that, given a D-caterpillar such that G=⨁i=1s−1GiG = \bigoplus_{i=1}^{s-1}G_i, the value of the total domination number of any GiG_i can be obtained by the results in [4], for each i∈[s−1]i \in[s-1] since they are actually paths in the original graph GG. Recall that we have already know the total domination number of paths and then then we consider s≥3s \geq3 in the next proposition and the particular situation where I0=I1=∅I_0 = I_1 = \varnothing. We fundament this assumption in the subsequent results.

Proposition 3.10. Let GG be a D-caterpillar with s≥3s \geq3 support vertices, with T=T(G)T = T(G) and R=R(G)R = R(G) its (T,R)(T,R)-representation and I0=I1=∅I_0 = I_1 = \varnothing. If I2≠∅I_2 \neq\varnothing,

γt(G)=2t1+∑i=2s−1(2ti+Ei)+∑j=1m(2ℓj−⌊ℓj2⌋)+2s,(8)\gamma_t(G) = 2t_1 + \sum_{i=2}^{s-1}(2t_i + E_i) + \sum_{j=1}^{m}\left(2\ell_j - \left\lfloor\frac{\ell_j}{2}\right\rfloor\right) + 2s, \tag*{(8)}

where

Ei={1if i−1,i∈I2,0otherwise.E_i = \begin{cases} 1 & \text{if } i-1, i \in I_2,\\ 0 & \text{otherwise.} \end{cases}

for i∈[2,s−1]i \in[2,s-1].

If I2=∅I_2=\varnothing,

γt(G)=∑i=1s−12ti+⌊s−12⌋−1+3s.(9)\gamma_t(G)=\sum_{i=1}^{s-1}2t_i+\left\lfloor\frac{s-1}{2}\right\rfloor-1+3s. \tag*{(9)}

Proof. Lemma 3.7 and Lemma 3.8 imply that there exists an optimal total dominating function ff such that: f(p1)=f(p1+)=1f(p_1)=f(p_1^+)=1 and

γt(G)=∑i=1s−1f(Pi)+2s.(10)\gamma_t(G)=\sum_{i=1}^{s-1}f(P_i)+2s. \tag*{(10)}

Assume first that I2≠∅I_2\ne\varnothing.

By hypothesis, we have to consider only four combinations of ri−1r_{i-1} and rir_i, for i∈[2,s−1]i\in[2,s-1], i.e., ri−1∈{2,3}r_{i-1}\in\{2,3\} and ri∈{2,3}r_i\in\{2,3\}.

  • Case ri−1=2r_{i-1}=2 and ri=2r_i=2.

From Remark 3.9, f(pi−)=f(pi)=1f(p_i^-)=f(p_i)=1 and then, Lemma 3.8 implies that f(Pi)=2ti+1=2ti+Eif(P_i)=2t_i+1=2t_i+E_i.

  • Case ri−1=2r_{i-1}=2 and ri=3r_i=3.

From Remark 3.9, f(pi−)=f(pi)=1f(p_i^-)=f(p_i)=1 and then Lemma 3.8 implies that f(Pi)=2ti+2=2ti+Ei+2f(P_i)=2t_i+2=2t_i+E_i+2.

  • Case ri−1=3r_{i-1}=3 and ri=2r_i=2.

If f(pi−1+)=f(pi−1)=1f(p_{i-1}^+)=f(p_{i-1})=1 then f(pi+)=f(pi)=1f(p_i^+)=f(p_i)=1, and Lemma 3.8 implies that f(Pi)=2tif(P_i)=2t_i.

If f(pi−1+)=f(pi−1)=1f(p_{i-1}^+)=f(p_{i-1})=1 then f(pi−)=f(pi)=1f(p_i^-)=f(p_i)=1, implying that f(Pi)=2ti+1f(P_i)=2t_i+1.

  • Case ri−1=3r_{i-1}=3 and ri=3r_i=3.

If f(pi−1−)=f(pi−1)=1f(p_{i-1}^-)=f(p_{i-1})=1, Remark 3.9 implies that f(pi−)=f(pi)=1f(p_i^-)=f(p_i)=1. Then, f(Pi−1)=2ti−1+1f(P_{i-1})=2t_{i-1}+1 and f(Pi)=2ti+2f(P_i)=2t_i+2. Analogously, if f(pi−1+)=f(pi−1)=1f(p_{i-1}^+)=f(p_{i-1})=1, Remark 3.9 implies that f(pi+)=f(pi)=1f(p_i^+)=f(p_i)=1. Then, f(Pi−1)=2ti−1+2f(P_{i-1})=2t_{i-1}+2 and f(Pi)=2ti+1f(P_i)=2t_i+1. In either case, for every pair of consecutive components of RR with value 3, we have 3 more units in the value of the optimal total dominating function ff.

Let us now consider the value of this optimal total dominating function ff in ℓ0\ell_0 according to the value of r1r_1.

  • If r1=2r_1=2, without loss of generality, we analyze the case ri0−1=2r_{i_0-1}=2 and ri0=3=…=ri0+ℓj−1=3r_{i_0}=3=\ldots=r_{i_0+\ell_j-1}=3 for some ℓj\ell_j, for i0≥2i_0\ge2. After Lemma 3.8 and Remark 3.9, f(pi0−)=f(pi0)=1f(p_{i_0}^{-})=f(p_{i_0})=1. Therefore, the previous analysis shows that, for each pair of consecutive ri−1=ri=3r_{i-1}=r_i=3 we have f(Pi−1)+f(Pi)=2ti−1+2ti+3f(P_{i-1})+f(P_i)=2t_{i-1}+2t_i+3. Obtaining 3⌊ℓj2⌋3\left\lfloor\frac{\ell_j}{2}\right\rfloor extra units in the value of optimal total dominating function.

When ℓj\ell_j is odd, we also have that f(pi0+ℓj−1−)=f(pi0+ℓj−1)=1f(p_{i_0+\ell_j-1}^{-})=f(p_{i_0+\ell_j-1})=1 and then f(Pi0+ℓj−1)=2ti0+ℓj−1+2f(P_{i_0+\ell_j-1})=2t_{i_0+\ell_j-1}+2.

∑i=i0i0+ℓj−1f(Pi)={∑i=i0i0+ℓj−12ti+3⌊ℓj2⌋if ℓj even,∑i=i0i0+ℓj−12ti+3⌊ℓj2⌋+2if ℓj odd.\sum_{i=i_0}^{i_0+\ell_j-1} f(P_i)= \begin{cases} \sum_{i=i_0}^{i_0+\ell_j-1}2t_i+3\left\lfloor\frac{\ell_j}{2}\right\rfloor& \text{if }\ell_j\text{ even},\\ \sum_{i=i_0}^{i_0+\ell_j-1}2t_i+3\left\lfloor\frac{\ell_j}{2}\right\rfloor+2 & \text{if }\ell_j\text{ odd}. \end{cases}

which can be rewritten as,

∑i=i0i0+ℓj−1f(Pi)=∑i=i0i0+ℓj−12ti+2ℓj−⌊ℓj2⌋.\sum_{i=i_0}^{i_0+\ell_j-1}f(P_i)=\sum_{i=i_0}^{i_0+\ell_j-1}2t_i+2\ell_j-\left\lfloor\frac{\ell_j}{2}\right\rfloor.

Therefore,

γt(G)=f(P1)+∑i=2s−1f(Pi)+2s=2t1+∑i=2s−1(2ti+Ei)+∑j=1m(2ℓj−⌊ℓj2⌋)+2s.\gamma_t(G)=f(P_1)+\sum_{i=2}^{s-1}f(P_i)+2s=2t_1+\sum_{i=2}^{s-1}(2t_i+E_i)+\sum_{j=1}^{m}\left(2\ell_j-\left\lfloor\frac{\ell_j}{2}\right\rfloor\right)+2s.
  • If r1=3r_1=3 then rℓ1+1=2r_{\ell_1+1}=2. Following a similar analysis as in the previous case, we have two different situations according to the parity of ℓ1\ell_1. When ℓ1\ell_1 is even, f(pℓ1+1+)=f(pℓ1+1)=1f(p_{\ell_1+1}^{+})=f(p_{\ell_1+1})=1 and then f(Pℓ1+1)=2tℓ1+1f(P_{\ell_1+1})=2t_{\ell_1+1}. If not, f(pℓ1+1−)=f(pℓ1+1)=1f(p_{\ell_1+1}^{-})=f(p_{\ell_1+1})=1 and then f(Pℓ1+1)=2tℓ1+1+1f(P_{\ell_1+1})=2t_{\ell_1+1}+1. Again,

taking into account that for each pair of consecutive ri−1=ri=3r_{i-1}=r_i=3 we have f(Pi−1)+f(Pi)=2ti−1+2ti+3f(P_{i-1})+f(P_i)=2t_{i-1}+2t_i+3,

∑i=1ℓ1f(Pi)={∑i=1ℓ12ti+3⌊ℓ12⌋if ℓ1 even,∑i=1ℓ12ti+3⌊ℓ12⌋+1if ℓ1 odd.\sum_{i=1}^{\ell_1} f(P_i)= \begin{cases} \sum_{i=1}^{\ell_1}2t_i+3\left\lfloor\frac{\ell_1}{2}\right\rfloor& \text{if }\ell_1\text{ even},\\ \sum_{i=1}^{\ell_1}2t_i+3\left\lfloor\frac{\ell_1}{2}\right\rfloor+1 & \text{if }\ell_1\text{ odd}. \end{cases}

which can be rewritten as,

∑i=1ℓ1f(Pi)=∑i=1ℓ12ti+ℓ1+⌊ℓ12⌋.\sum_{i=1}^{\ell_1}f(P_i)=\sum_{i=1}^{\ell_1}2t_i+\ell_1+\left\lfloor\frac{\ell_1}{2}\right\rfloor.

Also, the value of f(Pℓ1+1)f(P_{\ell_1+1}) can be expressed as f(Pℓ1+1)=2tℓ1+1+ℓ1−2⌊ℓ12⌋f(P_{\ell_1+1})=2t_{\ell_1+1}+\ell_1-2\left\lfloor\frac{\ell_1}{2}\right\rfloor. Then

∑i=1ℓ1+1f(Pi)=∑i=1ℓ1+12ti+2ℓ1−⌊ℓ12⌋.\sum_{i=1}^{\ell_1+1}f(P_i)=\sum_{i=1}^{\ell_1+1}2t_i+2\ell_1-\left\lfloor\frac{\ell_1}{2}\right\rfloor.

Proving that the result in 8 follows.

Finally, if I2=∅I_2=\emptyset the previous analysis is simplified since we have m=1m=1 and ℓ1=s−1\ell_1=s-1. Then,

γt(G)=∑i=1s−12ti+2s+s−1+⌊s−12⌋=∑i=1s−12ti+3s−1+⌊s−12⌋.\gamma_t(G)=\sum_{i=1}^{s-1}2t_i+2s+s-1+\left\lfloor\frac{s-1}{2}\right\rfloor=\sum_{i=1}^{s-1}2t_i+3s-1+\left\lfloor\frac{s-1}{2}\right\rfloor.

thus proving 9.

Although the hypothesis in Proposition 3.10 look quite restrictive, combining it with the reduction proposed in Definition 3.5, this result is crucial for finding the value of the total domination number of a general DD-caterpillar.

In the previous result, we did not consider D-caterpillars with I0≠∅I_0\ne\emptyset. In this case, we split the graph GG into D-caterpillar subgraphs with the property of having all the components of their RR-vectors in their (T,R)(T,R)-representation either equal to zero or all different from zero. More precisely,

Definition 3.11. Let GG be a D-caterpillar with its (T,R)(T,R)-representation such that I0≠∅I_0 \ne\emptyset. We define R1=(r1,…,ri0)R^1=(r_1,\ldots,r_{i_0}) where i0−1∉I0i_0-1 \notin I_0 and i0∈I0i_0 \in I_0. Then, for each ii such that ∣{i−1,i}∩I0∣=1|\{i-1,i\}\cap I_0|=1, we generate two vectors Ri−j=(ri−j,…,ri−1)R^{i-j}=(r_{i-j},\ldots,r_{i-1}) and Ri=(ri,…,ri+k)R^i=(r_i,\ldots,r_{i+k}) with the additional property that either one of them is the zero vector, or it has no component at value zero. The vectors TiT^i are defined accordingly, preserving their correspondence with RiR^i. We say that this is the I0I_0-split decomposition of the DD-caterpillar GG into the D-caterpillars Gj=G(Tj,Rj)G^j=G(T^j,R^j) for j∈Jj\in J.

Note that when I0=∅I_0=\emptyset, the I0I_0-split decomposition of GG results in the original graph GG.

Example 3.12. Consider the DD-caterpillar GG with 12 support vertices defined in Example 3.4 with (T,R)(T,R)-representation:

  • T=(1,1,1,0,0,1,1,0,1,1,0)T=(1,1,1,0,0,1,1,0,1,1,0)

  • R=(0,1,1,2,3,3,0,3,3,3,1)R=(0,1,1,2,3,3,0,3,3,3,1)

In this case, I0={1,7}I_0=\{1,7\} and the I0I_0-split decomposition of GG is given by the following vectors:

  • R1=(0)R^1=(0), R2=(1,1,2,3,3)R^2=(1,1,2,3,3), R7=(0)R^7=(0) and R8=(3,3,3,1)R^8=(3,3,3,1).

  • T1=(1)T^1=(1), T2=(1,1,0,0,1)T^2=(1,1,0,0,1), T7=(1)T^7=(1) and T8=(0,1,1,0)T^8=(0,1,1,0).

Then the caterpillar GG gives raise to the D-caterpillars subgraphs GjG^j for j∈{1,2,7,8}j\in\{1,2,7,8\}.

The I_0-split decomposition of the D-caterpillar G in Example 3.4

Figure 9. The I0I_0-split decomposition of the D-caterpillar GG in Example 3.4. The black vertices correspond to an optimal total dominating set in each GjG^j for j∈{1,2,7,8}j\in\{1,2,7,8\}.

According to the definition of the I0I_0-split decomposition of a DD-caterpillar, we need to explicitly determine the value of the total domination number on two different type of DD-caterpillars.

Lemma 3.13. Let GG be a DD-caterpillar with (T,R)(T,R)-representation with I0=∅I_0 = \emptyset or I0=[s−1]I_0 = [s-1].

  • If I0=∅I_0 = \emptyset then

γt(G)=γt(G′)+∑i∈I1(2ti+2)(11)\gamma_t(G) = \gamma_t(G') + \sum_{i\in I_1}(2t_i+2) \tag*{(11)}

where G′G' is the reduced graph obtained from GG.

  • If I0=[s−1]I_0 = [s-1] (i.e. RR is a zero-valued vector) then

γt(G)=∑i=1s−12ti+2s.(12)\gamma_t(G) = \sum_{i=1}^{s-1}2t_i + 2s. \tag*{(12)}

Proof. If I0=∅I_0 = \emptyset, after Proposition 3.10, we need to consider only the case when ri=1r_i = 1, i.e., i∈I1i \in I_1. By Lemma 3.7, there exists an optimal total dominating function ff satisfying f(pi+)=f(pi)=1f(p_i^+) = f(p_i) = 1 or f(pi−)=f(pi)=1f(p_i^-) = f(p_i) = 1. In any of these two possible situations, since ri=1r_i = 1, Remark 3.9 shows that f(pi+1+)=f(pi+1)=1f(p_{i+1}^+) = f(p_{i+1}) = 1 or f(pi+1−)=f(pi+1)=1f(p_{i+1}^-) = f(p_{i+1}) = 1, respectively. Moreover, since f(Pi)=2tif(P_i) = 2t_i and f(N[pi])=2f(N[p_i]) = 2 we have that

γt(G)=γt(G′)+∑i∈I1(2ti+2).\gamma_t(G) = \gamma_t(G') + \sum_{i\in I_1}(2t_i+2).

If I0=[s−1]I_0 = [s-1] the vector RR is the zero vector. We can assume that there exists an optimal total dominating function ff satisfying f(p1+)=f(p1)=1f(p_1^+) = f(p_1) = 1. Since r1=0r_1 = 0, Remark 3.9 shows that f(pi+)=f(pi)=1f(p_i^+) = f(p_i) = 1 for every i∈[s−1]i \in[s-1] and then f(Pi)=2tif(P_i) = 2t_i. Finally, the value of ff in the closed neighbourhood of the support vertices proves the result.

We are now in a position to present a closed formula for total domination in a DD-caterpillar, based on the result in Proposition 3.10, the reductions proposed in Definition 3.5, Definition 3.11 and Lemma 3.13.

Theorem 3.14. Let GG be a DD-caterpillar with (T,R)(T,R)-representation. The I0I_0-split decomposition of GG yields the collection {(Tj,Rj):j∈J}\{(T^j,R^j) : j \in J\}. For each j∈Jj \in J, let Gj=G(Tj,Rj)G^j = G(T^j,R^j). Then,

γt(G)=∑j∈Jγt(Gj)−2(∣J∣−1).\gamma_t(G) = \sum_{j\in J}\gamma_t(G^j) - 2(|J|-1).

Proof. The result clearly follows when I0=∅I_0 = \emptyset, due to Lemma 3.13 and Proposition 3.10.

Assume now that I0≠∅I_0 \ne\emptyset and let {(Tj,Rj):j∈J}\{(T^j,R^j) : j \in J\} be its I0I_0-split decomposition.

Using the same reasoning as in the previous proofs, and taking into account the definition of each GjG^j, there exists an optimal total dominating function ff in GG such that f(pj+)=f(pj)=1f(p_j^+) = f(p_j) = 1 for each pjp_j with j∈Jj \in J. Then, in two consecutive graphs Gj1G^{j_1} and Gj2G^{j_2} (following the order of the vertices in the central path of GG) we can sum-up the value of ff but taking into account its value on the closed neighbourhood of the support vertex they share in GG. More precisely, if Gj1G^{j_1} and Gj2G^{j_2} are consecutive subgraphs in GG they share (in GG) the last support vertex of Gj1G^{j_1}, pj1+1p_{j_1+1}, and its adjacent leaf hj1+1h_{j_1+1}. Then, to obtain the value of the total domination number of GG, we subtract two units (for the closed neighbourhood of the common support vertex) for each of pair of consecutive graphs in the I0I_0-split decomposition of GG.

Example 3.15. Let us now show how to apply the result in Theorem 3.14 for calculating the total domination number of the D-caterpillar of Example 3.4.

Since I0≠∅I_0 \ne\emptyset, we perform the I0I_0-split decomposition, as shown in Example 3.12.

In G2=G(T2,R2)G^2 = G(T^2,R^2) the reduction in Definition 3.5 leads to (G2)′(G^2)' with (R2)′=(2,3,3)(R^2)' = (2,3,3) and (T2)′=(0,0,1)(T^2)' = (0,0,1). Similarly, (G8)′(G^8)' with (R8)′=(3,3,3)(R^8)' = (3,3,3) and (T8)′=(0,1,1)(T^8)' = (0,1,1).

In G1=G(T1,R1)G^1 = G(T^1,R^1), by 12, we have

γt(G1)=2t1+2s=2⋅1+4=6.\gamma_t(G^1) = 2t_1 + 2s = 2 \cdot1 + 4 = 6.

In G7=G(T7,R7)G^7 = G(T^7,R^7), by 12, we have

γt(G7)=2t7+2s=2⋅1+4=6.\gamma_t(G^7) = 2t_7 + 2s = 2 \cdot1 + 4 = 6.

In Proposition 3.10, 8 gives

γt((G2)′)=2t4+2t5+2t6+2ℓ1−⌊ℓ12⌋+2.4=2.(0+0+1)+2.2−⌊22⌋+2.4=13\gamma_t\left((G^2)'\right) = 2t_4 + 2t_5 + 2t_6 + 2\ell_1 - \left\lfloor\frac{\ell_1}{2}\right\rfloor+ 2.4 = 2.(0+0+1)+2.2-\left\lfloor\frac{2}{2}\right\rfloor+2.4 = 13

and 9 gives

γt((G8)′)=2(t8+t9+t10)+⌊s−12⌋−1+3s=2(0+1+1)+1−1+12=16.\gamma_t\left((G^8)'\right) = 2(t_8+t_9+t_{10})+\left\lfloor\frac{s-1}{2}\right\rfloor-1+3s = 2(0+1+1)+1-1+12 = 16.

Then 11 implies that

γt(G2)=γt((G2)′)+2(t2+t3)+2s=13+2⋅(1+1)+2⋅2=21\gamma_t(G^2)=\gamma_t((G^2)')+2(t_2+t_3)+2s=13+2\cdot(1+1)+2\cdot2=21

and

γt(G8)=γt((G8)′)+2t11+2=16+2⋅0+2=18.\gamma_t(G^8)=\gamma_t((G^8)')+2t_{11}+2=16+2\cdot0+2=18.

Finally, since J={1,2,7,8}J=\{1,2,7,8\},

γt(G)=γt(G1)+γt(G2)+γt(G7)+γt(G8)−2(∣J∣−1)=6+21+6+18−6=45.\gamma_t(G)=\gamma_t(G^1)+\gamma_t(G^2)+\gamma_t(G^7)+\gamma_t(G^8)-2(|J|-1)=6+21+6+18-6=45.

Total kk-domination in caterpillars

This last section is devoted to present the main result of this contribution, that is, a closed formula for the total {k}\{k\}-domination in a general caterpillar graph.

In Lemma 2.1 it is proved that we can recursively apply an extension of the original graph to obtain a caterpillar where all the support vertices have disjoint closed neighbourhoods, and, according to 1, the {k}\{k\}-domination number of the original graph can be obtained from the one of the extension. Lemma 2.3 shows that without loss of generality we can assume that each support vertex has exactly one leaf adjacent to it.

Therefore, we can restrict to D-caterpillar in the rest of the analysis. Finally, Theorem 2.8 allow us to study the problem of total domination in D-caterpillar, and gives the {k}\{k\}-domination number of the original graph in terms of the total domination number of it.

Corollary 4.1. Given a caterpillar GG with rr pairs of consecutive support vertices with non-disjoint closed neighbourhoods. Let Extr⁡(G)\operatorname{Extr}(G) the graph obtained from GG after performing the rr extensions defined in Lemma 2.1. If kk is a positive integer number, then

γt{k}(G)=k(γt(Extr⁡(G))−2r).\gamma_t^{\{k\}}(G)=k\left(\gamma_t(\operatorname{Extr}(G))-2r\right).

Conclusions and Future Work

In this paper, we have investigated the total {k}\{k\}-domination number, γt{k}(G)\gamma_t^{\{k\}}(G), focusing on the class of caterpillar graphs. We established a general upper bound for this parameter and identified sufficient conditions for a graph to attain equality. Furthermore, we proved that this bound is tight for the family of caterpillars by showing that the total {k}\{k\}-domination problem (T{k}DP\mathrm{T}\{k\}\mathrm{DP}) reduces to the classical total domination problem (k=1k=1), yielding the relation γt{k}(G)=kγt(G)\gamma_t^{\{k\}}(G)=k\gamma_t(G). To achieve this, we introduced a novel (T,R)(T,R)-representation for caterpillars based on the number of support vertices and the lengths of the paths induced between them along the central path. By exploiting this structural representation and analyzing the underlying congruence modulo 4, we obtained a closed-form expression for the exact total {k}\{k\}-domination number of any caterpillar graph for all values of kk.

Several interesting lines of research remain open. A natural extension of this work is to determine whether the reduction γt{k}(G)=kγt(G)\gamma_t^{\{k\}}(G)=k\gamma_t(G) holds for all trees, which would generalize our findings beyond the caterpillar family. Additionally, future research could focus on identifying other structural properties that enable wider classes of graphs to achieve the general upper bound provided in Proposition 1.1, thereby expanding the contexts in which the T{k}DP\mathrm{T}\{k\}\mathrm{DP} can be simplified to the classical case.

References

  1. [1]Aram, Hamideh, and Sina Sheikholeslami. On the total {k}-domination and total {k}-domatic number of graphs. Bulletin of the Malaysian Mathematical Sciences Society 36 (2013) 39–47.
  2. [2]Cockayne, Ernest J., Robyn M. Dawes, and Stephen T. Hedetniemi. Total domination in graphs. Networks 10 (1980) 211–219.DOI
  3. [3]Escalante, Mariana, M. Inés Lopez Pujato and Paola Tolomei. On total {k}-domination in caterpillar graphs. Procedia Computer Science 273 (2025) 429–436.DOI
  4. [4]Haisheng, Tan, Liu Liuyan, and Liang Hongyu. Total {k}-Domination in Special Graphs. Mathematical Foundations of Computing 1 (3) (2018) 255–263.DOI
  5. [5]Haynes, Teresa W., Stephen T. Hedetniemi, and Peter Slater. Domination in Graph. Advanced Topics. Marcel Dekker (1998).
  6. [6]Haynes, Teresa W., Stephen T. Hedetniemi, and Peter Slater. Fundamentals of Domination in Graphs. Marcel Dekker (1998).
  7. [7]He, Jing, and Hongyu Liang. Complexity of total {k}-domination and related problems. Frontiers in Algorithmics and Algorithmic Aspects in Information and Management 6681 (2011) 147–155.DOI
  8. [8]Li, Ning, and Xinmin Hou. On the total {k}-domination number of Cartesian products of graphs. Journal of Combinatorial Optimization volume 18 (2009) 173–178.DOI

Paper details

vlnc:W_qbgnbpmu
v1 · latestHistory (1)

published · Fresh — added to the Hub within the last 30 days

added ·

Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

CC BY 4.0

Original source

  • Mathematics

Not recorded for this paper · View statement →

Looking for related papers…
Contents