1,154
Views
0
CrossRef citations to date
0
Altmetric
Research Articles

On the metric dimension of bipartite graphs

&
Pages 287-290 | Received 08 Mar 2023, Accepted 05 Jun 2023, Published online: 29 Jun 2023

Abstract

For an ordered subset W={w1,w2,,wk} of vertices and a vertex v in a connected graph G, the ordered k-vector r(v|W)=(d(v,w1),d(v,w2),,d(v,wk)) is called the representation of v with respect to W, where d(v,wi) is the distance between v and wi, for 1ik. The set W is called a resolving set of G if r(u|W)r(v|W), for every pair u,vV(G). The minimum positive integer k for which G has a resolving set of cardinality k is the metric dimension of G, denoted as dim(G). A resolving set of G of cardinality dim(G) is a metric basis of G. For a bipartite graph G, projection is defined as a graph with the vertices of one of the partite sets, where two vertices are adjacent if they have at least one common neighbor in the other partite set. In this paper, we investigate the relation between the metric dimension of a bipartite graph and its projections. Furthermore, we present some realization results for the bounds on the metric dimension of a bipartite graph.

2010 AMS SUBJECT CLASSIFICATION:

1 Introduction

The study of locating the vertices in a connected graph based on a distance parameter is a crucial idea for keeping track of graph-structured networks. To monitor a network efficiently, the goal is to distinguish every pair of vertices with respect to a set with minimum number of vertices. The concept of metric dimension fulfills the requirements of our goal to oversee a network.

In this paper, we consider simple, finite, and connected graphs. The distance d(u, v) between two vertices u and v in a connected graph G is the length of a shortest uv path in G. For an ordered subset W={w1,w2,,wk} of vertices and a vertex v in a connected graph G, the ordered k-vector r(v|W)=(d(v,w1),d(v,w2),,d(v,wk)) is called the representation of v with respect to W. The set W is called a resolving set of G if distinct vertices have distinct representations. A minimum resolving set is a metric basis of G and its cardinality is the metric dimension of G, denoted as dim(G). P. J. Slater [Citation12] pioneered this concept in the name of locating set. Independently, Harary and Melter [Citation9] introduced the same concept, but coined as resolving set. Garey and Johnson [Citation8] shown that finding the metric dimension of general graphs is an NP-complete problem. For a non-trivial connected graph G of order n, 1dim(G)n1. Chartrand et al. [Citation5] characterized all graphs with metric dimensions of 1,n1, or n – 2. Caceres et al. [Citation4] investigated the metric dimension of Cartesian product of graphs. For the past few decades, this study has enormous growth. For some more previous investigations on this topic, refer [Citation1, Citation3, Citation6, Citation10, Citation11].

In general, it is difficult to determine the metric dimension of an arbitrary graph. Finding exact values or reliable bounds for the metric dimension of particular classes of graphs has been the focus of a lot of research. Bipartite graph is one among the interesting graphs which can be modeled for two different sets of entities and their connections.

A bipartite graph G(V, E) is a graph whose vertex set V can be partitioned into two subsets V1 and V2 such that V=V1V2 and each edge of G joins a vertex of V1 to a vertex of V2.

Baca et al. [Citation1] determined the metric dimension of k-regular bipartite graphs G(n, n), where k=n1 or k=n2 and n is the number of vertices in each partite set. Since the problem of finding the metric dimension of a graph is NP-complete even when restricted to bipartite graphs [Citation7], this paper studies the metric dimension of bipartite graphs.

Let G(V, E) be a bipartite graph with the partite sets V1 and V2. For the purpose of convenience, we assume that U=V1 and S=V2. This results that V=US and US=.

Definition 1.1

([Citation2]). Let G(U,S,E) be a bipartite graph with |U|=n1,|S|=n2 and |E(G)|=m. We define a graph G(U,E) as the projection of the bipartite graph G for the vertex set U with respect to the vertex set S, where V(G)=U and uiujE(G) if N(ui)N(uj), for ui,ujU.

For a bipartite graph G, projection made it simple to evaluate the metric dimension of G, by taking into account fewer vertices than the original graph. In particular, a bipartite graph is compressed into a new graph called projection with fewer vertices.

A bipartite graph G(U,S,E) will always provide two projections. One for the vertex set U with respect to the vertex set S, denoted as G(U) and the other one for the vertex set S with respect to the vertex set U, denoted as G(S).

Consider the bipartite graph G(U,S,E) with the partite sets U={u1,u2,u3} and S={s1,s2,s3,s4} shown in .

Fig. 1 Bipartite graph G(U,S,E).

Fig. 1 Bipartite graph G(U,S,E).

The projection G(U) of the bipartite graph G for the vertex set U with respect to the vertex set S and the projection G(S) of the bipartite graph G for the vertex set S with respect to the vertex set U are the graphs in and , respectively.

Fig. 2 The projection G(U).

Fig. 2 The projection G′(U).

Fig. 3 The projection G(S).

Fig. 3 The projection G′(S).

2 The metric dimension of a bipartite graph and its projections

In this section, we establish some bounds on the metric dimension of bipartite graphs through projection.

The following lemma states that the relation between the distances of two vertices in a bipartite graph and its projection.

Lemma 2.1.

Let G(U,S,E) be a connected bipartite graph. If G is the projection of G for the vertex set U with respect to the vertex set S, then dG(ui,uj)=2dG(ui,uj), for ui,ujU.

Proof.

We can rewrite the statement of this lemma as “If G is the projection of G for the vertex set U with respect to the vertex set S, then dG(ui,uj)=2x if and only if dG(ui,uj)=x, for ui,ujU and x0.”

(If) Let G be the projection of a bipartite graph G(U,S,E) for the vertex U with respect to the vertex set S.

We proceed by induction on the distance dG(ui,uj)=x.

Let dG(ui,uj)=1. Since G is the projection of the bipartite graph G, there exists a vertex sijS such that uisij,ujsijE(G). Thus, dG(ui,uj)=2. This proves the base case. Assume that dG(ui,ul)=2(x1), for ui,ulU provided dG(ui,ul)=x1. Let dG(ui,uj)=x. Choose a vertex ujNG(uj) such that dG(ui,uj)=x1. Our assumption results that dG(ui,uj)=2(x1). Let P be a shortest path from ui to uj of length 2(x1) in G. Since ujujE(G), there exists a vertex (HTML translation failed) such that ujsjj,ujsjjE(G). P being a shortest path from ui to uj in G, we have sjjP. Thus, P along with the edges ujsjj and sjjuj forms a shortest path from ui to uj of length 2x in G.

(Only if) Let ui and uj be two vertices in G such that dG(ui,uj)=2x.

Claim : dG(ui,uj)=x.

Suppose that dG(ui,uj)<x. Without loss of generality, let dG(ui,uj)=x1. Let Q=ui=uij1,uij2,,uij(x)=uj be a shortest uiuj path of length x1 in G. Then the bipartite graph G yields at least x1 distinct vertices of S say s1,s2,,sx1 such that for every pair uijl,uij(l+1) of Q, there exists a vertex sl with uijlsl,uij(l+1)slE(G), for 1lx1. This results a uiuj path of length 2(x1) in G, which is a contradiction. In a similar manner, we reach a contradiction for dG(ui,uj)>x. Therefore, the result follows. □

Theorem 2.2.

Let G(U,S,E) be a connected bipartite graph. Then dim(G)dim(G1)+dim(G2), where G1 and G2 are the projections of G for the vertex set U with respect to the vertex set S and for the vertex set S with respect to the vertex set U respectively.

Proof.

Let G1 and G2 be the projections of a bipartite graph G(U,S,E) for the vertex set U with respect to the vertex set S and for the vertex set S with respect to the vertex set U, respectively. Let W1={u1,u2,,uk} and W2={s1,s2,,sl} be minimum resolving sets of G1 and G2 respectively. Set W={u1,u2,,uk,s1,s2,,sl}. Since G is bipartite, we have dG(u,ui)dG(s,ui), for uUW,sSW and for all uiW1. Hence, it remains to prove that r(us|W)r(ut|W), for us,utUW. The projection G1 ensures that for a pair of vertices us,utUW, there is a vertex urW1 such that dG1(us,ur)dG1(ut,ur). This consequences that 2dG1(us,ur)2dG1(ut,ur). By Lemma 2.1, dG(us,ur)dG(ut,ur). Since W1W, ur resolves us and ut in G. Therefore, W resolves U in G. Similarly, it can be proved that the vertices of W2W resolves S in G. This completes the proof. □

Theorem 2.3.

Let G(U,S,E) be a connected bipartite graph. Then dim(G)min{dim(G1),dim(G2)}, where G1 and G2 are the projections of G for the vertex set U with respect to the vertex set S and for the vertex set S with respect to the vertex set U respectively.

Proof.

Let G1 and G2 be the projections of a bipartite graph G(U,S,E) for the vertex set U with respect to the vertex set S and for the vertex set S with respect to the vertex set U respectively. Without loss of generality, assume that dim(G1)dim(G2). Let W1 be a minimum resolving set of G1 of cardinality k. Since G is a bipartite graph, by Lemma 2.1, we have dG(ui,uj)=2dG(ui,uj), for ui,ujU. This results that W1 resolves the vertices of U in G. We consider the following three cases.

Case 1: Assume, to the contrary that W=W1{w}, where wW1 forms a minimum resolving set of G. Then W resolves V(G). In particular, rG(w|W)rG(v|W), for all vV(G){w}. This follows that dG(w,wi)dG(v,wi), for vU{w} and for some wiW. Lemma 2.1 ensures that dG1(w,wi)dG1(v,wi), for some wiW. However, W forms a resolving set of G1, which is a contradiction.

Case 2: Suppose WS is a minimum resolving set of G such that |W|<|W1|. Let W={s1,s2,,sk1}. Then rG(up|W)rG(uq|W), for all up,uqU,1p<qn1. This consequences that dG(up,si)dG(uq,si), for some siW. In fact, for every siW, there exists a vertex uiU such that uisiE(G) to obtain dG(ui,up)dG(ui,uq), for all i,1ik1. By Lemma 2.1, we have dG1(ui,up)dG1(ui,uq). This generates a minimum resolving set {u1,u2,,uk1} of G1 of cardinality less than k, which is a contradiction.

Case 3 : Suppose W is a minimum resolving set of G which intersects both U and S such that |W|<|W1|. Let W={u1,u2,,ur,s1,s2,,skr1}, where uiU,sjS. Let up,uqUW,1p<qn1 be the vertices of U resolved by the vertices of WS in G. This consequences that dG(up,si)dG(uq,si), for some siW. As discussed in case 2, for every siW, we can associate a vertex uiU such that uisiE(G) with dG(ui,up)dG(ui,uq), for 1ikr1. By Lemma 2.1, we have dG1(ui,up)dG1(ui,uq). This produces a resolving set {u1,u2,,ur,u1,u2,,ukr1} of G1 of cardinality less than k, which is a contradiction.

In each case, there is no resolving set W of G such that |W|<|W1|. Hence, we conclude that dim(G)min{dim(G1),dim(G2)}. □

Next, we provide some realizable results corresponds to the Theorem 2.3.

A bipartite graph G(U,S,E) with |U|=n1 and |S|=n2 is called a chain graph if there exists an ordering u1,u2,,un1 of U and an ordering s1,s2,,sn2 of S such that N(u1)N(u2)N(u3)N(un1) and N(s1)N(s2)N(s3)N(sn2).

Proposition 2.4.

Let G(U,S,E) be a connected bipartite chain graph with an ordering u1,u2,,un1 of U and an ordering s1,s2,,sn2 of S such that N(u1)N(u2)N(u3)N(un1) and N(s1)N(s2)N(s3)N(sn2). Let G be the projection for one of the partite sets with respect to the other. Then (i) dim(G)>dim(G), whenever there exist u,vV(G)V(G) such that (HTML translation failed), (ii) dim(G)=dim(G), otherwise.

Proof.

Without loss of generality, let G be the projection of G for the vertex set U with respect to the vertex set S. Since G is connected, we have N(u1)=S. As a result, G is a complete graph on n1 vertices and dim(G)=n11. Let W=V(G){u1} be a minimum resolving set of G. Suppose there exist two vertices u,vV(G)V(G) with N(u)=N(v). Then r(u|W)=r(v|W). Hence, W will not be a resolving set of G. Thus, to resolve G, it is necessary to add u or v into W. This follows that dim(G)>dim(G). On the hand, if there is an ordering s1,s2,,sn2 of S such that N(s1)N(s2)N(s3),,N(sn2), then there exist two vertices si,sjS with N(si)N(sj), for 1i<jn2. Let ujN(sj)N(si). Since N(u1)=S, we have uju1. However, ujW which resolves si and sj. Hence, W is a minimum resolving set of G. Therefore, the result follows. □

In a connected graph G, two vertices u and v are said to be distance similar if d(u,x)=d(v,x) for all xV(G){u,v}. The set S of all vertices u,vV(G) such that d(u,x)=d(v,x) for all xV(G){u,v} is called a distance similar equivalence class in G.

Observation 2.5. If S is a distance similar equivalence class in a connected graph G with |S|2, then every resolving set of G contains at least |S|1 vertices of S.

The bipartite graph G in , has the partite sets U={u1,u2,u3,u4,u5} and S={s1,s2,s3,s4,s5}. Since there are two distance similar equivalence classes U{u5} and S{s5} in G, every resolving set of G should contain the vertices of both the sets U and S.

Fig. 4 Bipartite graph G(U,S,E) with its resolving set {u1,u2,u3,s1,s2,s3}.

Fig. 4 Bipartite graph G(U,S,E) with its resolving set {u1,u2,u3,s1,s2,s3}.

As a result, it is interesting to learn about the bipartite graphs that are resolved by a subset of one of the partite sets. The following result guarantees the existence of a bipartite graph with a resolving set as a subset of one of the partite sets.

Let G be a graph. For a vertex vV(G), we define Pv={uN(v)|deg(u)=1}. That is, Pv is the set of all pendent vertices adjacent to v. Moreover, if |Pv|>1, then Pv forms a distance similar equivalence class of G.

Theorem 2.6.

Let G(U,S,E) be a bipartite graph. If |Pu|>1, for each uU, then there is a resolving set W of G such that WS.

Proof.

Suppose WU, for every resolving set W of G. Let W be a resolving set of G such that WU={u1,u2,,ur}, where 1rn1. Since |Pu|>1, for all uU, each Pui, for 1ir forms a distance similar equivalence class of G. By Observation 2.5, W contains at least |Pui|1 vertices of Pui those distinguishes the representation of ui from others. Moreover, none of the vertices ui will resolve the vertices of N(ui). This consequences that W{u1,u2,,ur} is a resolving set of G, which is a contradiction. This completes the proof of the desired result. □

For a connected graph G of order n and diameter d, dim(G)nd [Citation5]. In the following theorem, we provide the existence of a bipartite graph with dim(G)=nd.

Theorem 2.7.

There exists a bipartite graph G of order n and diameter d such that dim(G)=nd, for each pair d,nN, for 1dn1.

Proof.

Let d and n be positive integers with 1dn1. For d = 1, the complete graph K2 is the only graph with the desired property. Suppose that 2dn1. Let G be the graph obtained from a star graph H=K1,nd of order nd+1 and a path P:v1,v2,v3,,vd1 of order d1 by joining the vertex of degree nd say u in H to vd1. Then G is a bipartite graph of order n and diameter d. Since the nd pendent vertices of K1,nd forms a distance similar equivalence class of order nd, by Observation 2.5, every resolving set of G contains at least nd1 pendent vertices of K1,nd. Therefore, dim(G)nd1. Let W=V(K1,nd){u,v}, where u,vV(K1,nd) and uv. Then r(v|W)=r(vd1|W)=(2,2,2,,2). This consequences that dim(G)nd. However, adding the vertex v or vd1 to W will results a minimum resolving set for G. Therefore, dim(G)=nd. □

3 Conclusion and scope

The problem of finding the metric dimension of a bipartite graph is NP-complete [Citation7]. This paper initiates the approach of determining the metric dimension of a bipartite graph using projection. A fascinating area for future research is similar investigation for other graph classes using projection.

Acknowledgments

The authors sincerely thank all of the anonymous reviewers for their valuable comments in improving the presentation of the paper.

Disclosure statement

The authors declare that there are no conflicts of interest.

References

  • Baca, M., Baskoro, E. T., Salman, A. N. M., Saputro, S. W., Suprijanto, D. (2011). The metric dimension of regular bipartite graphs. Bull. math. Soc. Sci. Math. de Roumanie Tome 54(102): 15–28.
  • Banerjee, S., Jenamani, M., Pratihar, D. K. (2017). Properties of a projected network of a bipartite network. In: 2017 International Conference on Communication and Signal Processing (ICCSP), Chennai, India, pp. 0143–0147.
  • Caceres, J., Hernando, C., Mora, M., Pelayo, I. M., Puertas, M. L., Seara, C. (2005). On the metric dimension of some families of graphs. Electron. Notes Discrete Math. 22: 129–133.
  • Caceres, J., Hernando, C., Mora, M., Pelayo, I. M., Puertas, M. L., Seara, C., Wood, D. R. (2007). On the metric dimension of cartesian product of graphs. SIAM J. Discrete Math. 21(2): 423–441.
  • Chartrand, G., Eroh, L., Johnson, M. A., Oellermann, O. R. (2000). Resolvability in graphs and the metric dimension of a graph. Discrete Appl. Math. 105: 99–113.
  • Dankelmann, P., Morgan, M. J., Rivett-Carnac, E. J. (2023). Metric dimension and diameter in bipartite graphs. Discuss. Math. Graph Theory 43(2): 487–498.
  • Epstein, L., Levin, A., Woeginger, G. J. (2015). The (Weighted) metric dimension of graphs: hard and easy cases. Algorithmica 72: 1130–1171.
  • Garey, M. R., Johnson, D. S. (1979). Computers and Intractability: A Guide to the Theory of NP-Completeness. New York: W. H. Freeman & Co., pp. 1–340.
  • Harary, F., Melter, R. A. (1976). The metric dimension of a graph. Ars Combin. 2:191–195.
  • Iswadi, H., Baskoro, E. T., Simanjuntak, R., Salman, A. N. M. (2008). The metric dimension of graph with pendant edges. J. Combin. Math. Combin. Comput. 65: 139–145.
  • Khuller, S., Raghavachari, B., Rosenfeld, A. (1996). Landmarks in graphs. Discrete Appl. Math. 70: 217–229.
  • Slater, P. J. (1975). Leaves of trees. Proceedings of the sixth Southeastern Conference on Combinatorics, Graph Theory and Computing. Congressus Numerantium, 14, pp. 549–559.