Skip to main content
MethodsX logoLink to MethodsX
. 2025 Jan 14;14:103160. doi: 10.1016/j.mex.2025.103160

On derived t-path, t=2,3 signed graph and t-distance signed graph

Deepa Sinha 1,, Sachin Somra 1
PMCID: PMC11787706  PMID: 39897654

Abstract

A signed graph Σ is a pair Σ=(Σu,σ)that consists of a graph (Σu,E) and a sign mapping called signature σ from E to the sign group {+,}. In this paper, we discuss the t-path product signed graph (Σ)^twhere vertex set of (Σ)^t is the same as that of Σ and two vertices are adjacent if there is a path of length t, between them in the signed graph Σ. The sign of an edge in the t-path product signed graph is determined by the product of marks of the vertices in the signed graph Σ, where the mark of a vertex is the product of signs of all edges incident to it. In this paper, we provide a characterization of Σ which are switching equivalent to t-path product signed graphs (Σ)^t for t=2,3 which are switching equivalent to Σ and also the negation of the signed graph ŋ(Σ) that are switching equivalent to (Σ)^t for t=2,3. We also characterize signed graphs that are switching equivalent to t-distance signed graph (Σ¯)t for t=2 where 2-distance signed graph (Σ¯)2=(V,E,σ) defined as follows: the vertex set is same as the original signed graph Σ and two vertices u,v(Σ¯)2, are adjacent if and only if there exists a distance of length two in Σ. The edge uv(Σ¯)2 is negative if and only if all the edges, in all the distances of length two in Σ are negative otherwise the edge is positive. The t-path network along with these characterizations can be used to develop model for the study of various real life problems communication networks.

  • t-path product signed graph.

  • t-distance signed graph.

Keywords: Signed graph, Balanced signed graph, Marked signed graph, Switching equivalence, t-path signed graph, t-distance signed graph

Method name: t-path product and t-distance signed graph

Graphical abstract

Image, graphical abstract


Specifications table

Subject area: Mathematics
More specific subject area: Graph Theory
Name of your method: t-path product and t-distance signed graph
Name and reference of original method: N/A
Resource availability: Provided in the Article

Method details

Introduction

A signed graph is a dynamic and vibrant area of research in graph theory, with strong connections to behavioural and social sciences. Its origin can be traced back to Heider [1] and Cartwright [2]. Since then, signed graph theory has rapidly evolved, with signed graphs being associated with social networks, various models, and graph spectra. In graph theory, signed graphs have been instrumental in defining various properties and introducing new concepts.

Harary formulated and restructured the signed networks by introducing structural balance theory [3] for social balance, which was used for portfolio management [4], where they used signed graphs to analyse the extent of hedging in a portfolio. These networks are widely used in data clustering [[5], [6], [7]]. Signed networks of some intersection networks have been already studied [8,9,10,11]. Also, path graphs of signed graphs are discussed in [[12], [13], [14], [15], [16], [17],18].

The study of networks has come a long way with its applicability in many fields [19,[20], [21], [22]]. One such application is in wireless networks and frequency allocation problems. The frequency allocation [23] in a wireless network [24] or radiofrequency allocation [25] is one of the typical problems that we still face. The interference occurs place in a network when the transmission from one station interacts with the transmission from another. There are three dimensions to the frequency spectrum first being the space in which the emission is radiated, second is the frequency bandwidth, and third is the time. If these three dimensions co-occur for a channel receiving transmission, then interference occurs. Many methods and models, such as dipole-moment models [26], the Kurtosis detection algorithm and its versions [27], and the decomposition method based on reciprocity [28], have been studied for this problem. A model with a very different approach using the theoretic aspects of signed networks and t-path networks is studied by Sinha and Sharma in [29], which aims to detecting and reduce interference by assuming the stations/channels as vertices and transmitting between them as edges. Furthermore, in [29], authors assume that two channels (vertices) are joined by a positive edge if and only if they are in different time or frequency bandwidth (assuming that space is always the same) and by a negative edge if both are the same in time and frequency bandwidth. If the given signed network Σ represents a channel network, then its 2-path signed network (Σ)2 provides the interference pattern of different channels at a specific channel. In the 2-path signed network, the edge uw is given a negative sign if and only if there exist all-negative two paths in Σ, say uv and vw between them; that is, they are the same in time as well as frequency, and thus, the interference takes place at v because of the vertices u and w.

The graph-based approach discussed in this paper can enhance Non-Terrestrial Network (NTN) routing by using two-hop neighbor relationships to create a resultant graph that optimizes connectivity and resource utilization. Initially, all vertices (e.g., satellites, UAVs, ground stations) are connected by edges, representing direct communication links. In the resultant t-path product signed graph, new edges are added based on t-hop reachability, with edges receiving a positive sign denoting strong, reliable connections (e.g., high-bandwidth or low-latency links) and negative edges representing weaker, constrained links (e.g., backup or inter-layer paths). This model supports a depth-based or layer-based routing strategy: intra-layer routing (e.g., within LEO satellites) uses positive edges for efficiency, while inter-layer communication (e.g., LEO to ground stations) relies on negative edges as transitional links. By dynamically adapting to the mobility and resource constraints of NTN environments, this approach may ensure minimal latency for critical data, robust fault tolerance, and effective load balancing across layers, ultimately improving the network's performance and resilience.

Also, the proposed graph model has broad applications in many fields, including Community Detection in Multilayer networks where the links can be used to model complex real-world interaction. In social networks this can be used to identify positive and negative interactions. In the field of market analysis, this model could reveal patterns in consumer behaviour. Recommendation Systems is another application of the model where users (nodes) can be linked to items (products, movies, etc.), and these links can be positive (likes, purchases) or negative (dislikes, dislikes), and the collaborative filtering approach of the model can be put to use to improve the existing models. This approach can be applied across various domains, from social networks and market segmentation to recommendation systems and community detection, to discover hidden structures and latent interactions that may not be apparent through direct connections alone. The clustering behaviour that divides the graph into two groups with positive intra-cluster relationships and negative inter-cluster relationships is particularly useful for detecting group formation and hidden dynamics within networks.

In this paper, we try to establish the results for signed networks defined on t-path networks, t=2,3.

For standard terminology and notation in graph theory, one can refer to West [30], and for signed graph literature, one can read Zaslavsky [31,32].

In a signed graph, denoted as Σ=(Σu,σ), it is an ordered pair whereΣu represents the underlying graph (V, E) and σ:E{+,} denotes the signature function, assigning each edge in E a sign from the set{+,}. The edge receiving ‘ sign is called negative edge and the edge receiving ‘+ sign is called positive edge. Pictorially, negative edges are denoted by dotted lines and positive edges by the bold lines in the signed graph. dΣ+(vi)(dΣ(vi)) denotes the number of positive edges(negative edges) incident with vertex vi. If dΣ+(vi)=0or dΣ(vi)=0 then degree of vi is homogeneous. The net-degree of vertex vi and is given by |dΣ+(vi)dΣ(vi)|.

A signed graph is all-positive (resp., all-negative) if all its edges are positive (negative); further, it is said to be homogeneous if it is either all-positive or all-negative and heterogeneous otherwise. The negation of a signed graph ŋ(Σ) is obtained by reversing the sign of edges of Σ. A cycle is positive(negative) if it has even(odd) number of negative edges. A signed graph is balanced if all its cycles are positive.

A function μ:V(Σ){1,+1} is called a marking of the signed graph Σ. A signed graph Σ together with one of its making μ is denoted by Σμ.

Abelson and Rosenberg [33] introduced the concept of switching in signed graphs. The switching of a signed graph Σ with respect to a marking μ involves changing the sign of each edge in Σ to its opposite whenever its end vertices have opposite marks in Σμ. For any vertex vΣ, if μ(v)=ΠuN(v)σ(vu)μ is called canonical-marking or C-marking [34].

Ψ(Σ) is the class of all signed graphs such that they are isomorphic to underlying graphs Σu .

A negative section [35] of a signed graphΣ, we mean a connected component (that is not an isolated vetex) of the subgraph induced by negative edges.

Two signed graphs Σ1 and Σ2 are said to be cycle-isomorphic if there exists an isomorphism f from Σ1u ontoΣ2u such that the sign of every cycle C in Σ1 equals the sign of f(C) in Σ2 where the sign of any subgraph of a signed graph is defined as the product of the sign of its edges.

Theorem 1

[34] A signed graph is balanced if and only if it is possible to assign marks to its vertices such that the sign of each edge uv is equal to the product of the marks of u and v.

The partition criterion to characterize the balance property of a signed graph is given by Harary.

Theorem 2

[35] A signed graph Σ is balanced if and only if its vertex set V(Σ) can be partitioned into two subsets V1 andV2 one of them possibly empty, such that every positive edge joins two vertices in the same subset and every negative edge joins two vertices from different subsets.

Let G=(V,E) be a finite connected graph then n-path graph Gn is the graph having V(G) as a vertex set and for which two vertices u,v are adjacent if and only if there exist a uv path of length exactly n in G.

Let G=(V,E) be a finite connected graph then n-distance graph Gn is the graph having V(G) as a vertex set and for which two vertices u,v are adjacent if and only if there exist a uv distance of length exactly n in G. The study of n-distance graph Gn was initiated by Simic [36] while solving the graph equation GnL(G), where L(G) is line graph of G. A graph is said to be self n-distance graph if it is isomorphic to its n-distance graph.

Theorem 3

[37] A graph G of order p is a 2-path invariant graph if and only if G=Kp or K¯pwith p3, or the odd p-cycle Cp, p =2m + 1, m2.

Theorem 4

[37] A graph G is a 3-path invariant graph if and only if it is isomorphic to any one of the following graphs

  • (a)

    Cm,4m3k, k is a positive integer.

  • (b)

    Kn,n4

  • (c)

    Km,n,2mn

  • (d)

    The double starKm,nt,2as shown inFig. 4

  • (e)

    E1=K4x

  • (f)

    E2=the subdivision graph ofE1

  • (g)

    E3

  • (h)

    E4

where E2, E3, E4 are shown Fig. 1,2,3.

Fig. 4.

Fig. 4

Double star Km,nt,2.

Fig. 1.

Fig. 1

GraphE2.

Fig. 2.

Fig. 2

Graph E3.

Fig. 3.

Fig. 3

GraphE4.

n-path product signed graph

The n-path product signed graph (Σ)^n=((Σ)^n,σ) is defined as follows: The vertex set is same as that of the original signed graph Σ and two vertices u,v(Σ)^n, are adjacent if and only if there exists a path of length n in Σ. The sign of an edge,σ(uv)=μ(u)μ(v), where μ is C-marking on the Σ.

Lemma 5

[34] The n-path product signed graph (Σ)^n of a signed graph Σ is always balanced.

Theorem 6

[32] Given a graph G, any two signed graphs in Ψ(G) are switching equivalent if and only if they are cycle-isomorphic.

2-path product signed graph

The 2-path product signed graph (Σ)^2 is defined as follows: The vertex set is same as the original signed graph Σ and two verticesu,v(Σ)^2, are adjacent if and only if there exists a path of length two in Σ. The sign of an edge uv,σ(uv)=μ(u)μ(v), where μ is C-marking on Σ.

Algorithm to obtain a 2-path product signed graph for a given signed graph

Input: Adjacency matrix A and dimension n.

Output: Adjacency matrix of 2-path product signed graph.

Process:

1 Enter the order n and adjacency matrix A of for a given signed graph Σ.
2 Collect all the q P pairs for given signed graph Σ.
3 fori=1tondo
4  d[i]forj=1tondo
5 b[i][j]=0ifa[i][j]0then
6 d[i]=d[i]×a[i][j];
7 fori=1tondo
8 forj=1tondo
9 fork=1tondo
10  if(a[i][j]0)&&(a[i][k]0)then
11  if(d[k]×d[j]=1)then
12  b[k][j]=1
13  b[j][k]=1
14  else
15   b[k][j]=1
16  b[j][k]=1

Theorem 7

A signed graphΣΨ(C2m+1),m2is a solution toΣ(Σ)^2if and only ifΣis all-positive or has even number of odd negative sections.

Proof. Given that a signed graph ΣΨ(C2m+1), m2 is a solution to Σ(Σ)^2. By the definition of (Σ)^2, (Σ)^2 is balanced, and by the definition of switching equivalence, (Σ)^2 and Σ are cycle-isomorphic. This implies Σ is also balanced, then the possibilities of Σ is either all-positive or contains even number of odd negative sections.

Conversely, since Σ is all-positive or has even number of odd negative sections, and Σ^2u andΣu both have same underlying graph, (Σ)^2 and Σ are cycle-isomorphic being balanced. Hence Σ(Σ)^2.

Theorem 8

A signed graphΣΨ(Kn), for any integern3is a solution toΣ(Σ)^2if and only if the vertex set ofΣcan be partitioned into two subsetsV1andV2one of them possibly empty such that <V1> and <V2> are all-positive and all the other edges are negative.

Proof. Given that a signed graph ΣΨ(Kn), for any integer n3 is a solution to Σ(Σ)^2. Since (Σ)^2 is always balanced implies Σ is also balanced as both (Σ)^2and Σ are cycle-isomorphic. Hence, vertex set can be partitoned into two subsets V1 and V2 such that <V1> and <V2> are all-positive and all the other edges are negative.

Conversely, let Σ and (Σ)^2are balanced and ΣuΣ^2u, for ΣΨ(Kn), they will be cycle-isomorphic and hence, Σ(Σ)^2.

Theorem 9

A signed graphΣΨ(C2m+1),m2is a solution to ŋ(Σ)(Σ)^2 if and only if Σ has an even number of odd positive sections.

Proof. Given that a signed graph ΣΨ(C2m+1); m2 is a solution to ŋ(Σ)(Σ)^2. Since (Σ)^2 is balanced, ŋ(Σ) is also balanced because they are switching equivalence to each other. Thus, ŋ(Σ) has an even number of odd negative sections which implies Σ has an even number of odd positive sections.

Conversely, let ΣΨ(C2m+1) and Σ has an even number of odd positive sections which implies ŋ(Σ) has even number of odd negative sections. Thus ŋ(Σ) is balanced and also (ŋ(Σ))uΣ^2u for ΣΨ(C2m+1) and ŋ(Σ)and (Σ)^2 both being balanced and cycle-isomorphic, implies ŋ(Σ)(Σ)^2.

Theorem 10

A signed graphΣΨ(Kn),for any integern3is a solution to ŋ(Σ)(Σ)^2 if and only if the vertex set can be partitioned into two subsets V1 and V2 one of them possibly empty such that <V1> and <V2> are all-negative and all the other edges are positive.

Proof. Let ΣΨ(Kn)and it is a solution of ŋ(Σ)(Σ)^2. Now, (Σ)^2being balanced, ŋ(Σ) is also balanced by switching equivalence. ŋ(Σ) is balanced then the vertex set of ŋ(Σ)can be partitoned into two sets V1 and V2 such as the induced subgraph <V1> and induced subgraph <V2> are both positive by Harary partition in ŋ(Σ) and all other edges are negative. Hence, it follows that vertices of Σ can be partitoned into two subsets V1 and V2such that <V1> and <V2> are all-negative and all other edges are positive.

Converse is trivial to see.

3 - path product signed graph

The 3-path product signed graph (Σ)^3 is defined as follows: The vertex set is same as the original signed graph Σ and two vertices u,v(Σ)^3, are adjacent if and only if there exists a path of length three in Σ. The sign of an edge uv,σ(uv)=μ(u)μ(v), whereμ is C-marking on Σ.

Theorem 11

For a signed graphΣΨ(Cm),4m3k, k is a positive integer, is a solution toΣ(Σ)^3if and only if negative sections of odd length are even in number.

Proof. Given that ΣΨ(Cm), 4m3k, k a positive integer, is a signed graph which is solution of Σ(Σ)^3. Since (Σ)^3 is balanced by the definition and Σ(Σ)^3 this implies Σ is also balanced by the definition and since Σ is balanced it has an even number of negative edges, and therefore, the number of negative sections with odd lengths must be even .

Conversely, the numbers of negative sections of odd length are even in any ΣΨ(Cm), 4m3k. This implies number of negative edges in Σ are even. Thus, Σ being balanced and (Σ)^3 being balanced by definition implies that Σ is cycle-isomorphic to (Σ)^3 . Hence, Σ(Σ)^3.

Theorem 12

A signed graphΣΨ(Kn), for any integern4is a solution toΣ(Σ)^3if and only if the vertex set ofΣcan be partitioned into two subsetsV1andV2one of them possibly empty such that <V1> and <V2> are all-positive and all the other edges are negative.

Proof. Proof follows by Theorem 2.

Theorem 13

A signed graphΣΨ(Km,n);2mnis a solution toΣ(Σ)^3if and only if for every vertex in one of the partition, the degree of the every vertex is homogeneous, or the vertex set can be partitioned into two subsets such that every negative edge joins two vertices in the same subset and every positive edge joins two vertices in different subsets.

Proof. Given that ΣΨ(Km,n); 2mn. Suppose, for every vertex in one of the partition say V1 of Σ, the degree of the every vertex is homogeneous. Putting the collection of all such vertices having all negative degree in V1 in the set V1 and rest of the vertices of Σ in V2 gives a Harary's partition of the balanced signed graph. Now, Σ is balanced implies Σ and (Σ)^3are cycle-isomorphic and hence to Σ(Σ)^3.

Further, we partition the vertices of Σ into two subsets say U1 and U2 in such a way that every negative edge joins vertices in the same set and all positive edges has one end vertex in U1 and other end vertex in U2. Now, we consider a cycle v1v2 v3v2rv1and suppose the vertex v1lies in the first set U1 then there are two possibilities. v2 may lie on U1 or may lie in U2. In either cases the number of the positive edges and negative edges will always be even in the cycle v1v2 v3v2rv1 due to the partition. Hence the cycle is positive and similarly all the cycles will be positive and therefore Σ is balanced. Now, Σ and (Σ)^3 being cycle isomorphic, Σ(Σ)^3.

Conversely, suppose Σ(Σ)^3. This implies Σ is balanced. Thus every cycle in Σ has even number negative and positive edges. Thus, it is easy to partition the vertex set into two sets such that all positive edges have end vertices in different partitions and the negative edges are within the sets.

Also if Σ is balanced, then its vertices set can be partitioned into two subsets such that all negative edges have end vertices in different partitions and the positive edges are within the sets. So all positive edges have end vertices in different partitions and the negative edges are within the sets. If in this case the homogeneous vertices of all-positive degree are kept in one partition, then this becomes the special case of the arguments given in above case. Hence the proof.

Theorem 14

A signed graphΣΨ(E1), is a solution toΣ(Σ)^3if and only if the cycle subsigned graph ofΣis either all-positive or have even number of negative edges.

Proof. Proof follows by Theorem 2. The possible structures are given in Fig. 5 for which ΣΨ(E1) andΣ(Σ)^3.

Fig. 5.

Fig. 5

Showing Σ(Σ)^3; ΣΨ(E1).

Theorem 15

A signed graphΣΨ(E2), is a solution toΣ(Σ)^3if and only ifΣis homogeneous or both the cycles have even number of negative edges.

Proof. The proof follows by Theorem 2.

Theorem 16

A signed graphΣΨ(E3), is a solution toΣ(Σ)^3if and only if the cycle subsigned graph ofΣis either all-positive or have even number of negative edges.

Proof. Proof follows by Theorem 2. The possible structures are all balanced cycles on ΣΨ(E3) with pendent edges having any signature.

Theorem 17

A signed graphΣΨ(E4), is a solution toΣ(Σ)^3if and only if the cycle subsigned graph ofΣhave even number of negative edges.

Proof. Proof follows by Theorem 2. The possible structures are all balanced cycles on ΣΨ(E4) with pendent edges having any signature.

Theorem 18

A signed graphΣΨ(Km,nt,2)whereKm,nt,2is shown inFig. 4,m0,n0andt2is a solution toΣ(Σ)^3if and only if in each cycle of core, the net-degree of the verticesu1,u2,u3utin the core <x,u1,u2,u3ut,y> is either2tor1t.

Proof. Given that ΣΨ(Km,nt,2) is a solution of Σ(Σ)^3. Now by the definition, (Σ)^3 is always balanced. This implies Σ is balanced. Now, the core contains each cycle of 4-length and Σ being a balanced then the all possible cycles are homogenous or contains even number negative edges. Hence, the each cycle of core <x,u1,u2,u3ut,y>, the net-degree of the vertices u1,u2,u3utare either 2t or 1t.

Conversely, in each cycle of core < x,u1,u2,u3ut,y>, the net-degree of the vertices u1,u2,u3ut of cycle is 2t or net-degree of every vertices u1,u2,u3ut is 1t. This will make every cycle positive in the core and hence Σ will be balanced which implies Σ(Σ)^3.

Theorem 19

For a signed graphΣΨ(Cm);4m3k, k a positive integer is a solution ŋ(Σ)(Σ)^3 if and only if positive-sections of odd length are even in number.

Proof. For any ΣΨ(Cm), let ŋ(Σ)(Σ)^3. Since ŋ(Σ)(Σ)^3 and (Σ)^3 is always balanced, ŋ(Σ) is balanced which further implies that ŋ(Σ)has an even number of odd negative sections with no condition on positive section of odd(even) length. This implies positive section of odd length be even in number .

Conversely, let the numbers of positive sections of odd length are even in number in any ΣΨ(Cm);4m3k. This implies number of negative edges in ŋ(Σ) is even. Thus, ŋ(Σ)being balanced is cycle-isomorphic to (Σ)^3by the definition of (Σ)^3. Hence, ŋ(Σ)(Σ)^3.

Theorem 20

A signed graphΣΨ(Kn), for any integern4is a solution to ŋ(Σ)(Σ)^3if and only if Σ is all-negative or the vertex set of Σ can be partitioned into two subsets V1 and V2one of them possibly empty such that <V1> and <V2> are all-negative and all the other edges are positive.

Proof. Given that a signed graph ΣΨ(Kn), for any integer n4 is a solution to ŋ(Σ)(Σ)^3 and (Σ)^3 is always balanced by definition, ŋ(Σ) is also balanced as both (Σ)^3 and ŋ(Σ)are cycle-isomorphic. Hence, ŋ(Σ) is all-positive or by Harary's partition vertex set of ŋ(Σ) can be partitioned into two subsets V1and V2such that <V1>andV2are all-positive and all the other edges are negative. This implies Σ is all-negative, or the vertex set of Σ can be partitioned into two subsetsV1and V2such that <V1>andV2are all-negative and all the other edges are positive.

Conversely, since ŋ(Σ)will be balanced by Harary's partition criterion, (Σ)^3 is balanced by the definition, and (ŋ(Σ))u((Σ)^3)u implies ŋ(Σ)(Σ)^3.

Theorem 21

A signed graphΣΨ(Km,n);2mnis a solution to ŋ(Σ)(Σ)^3 if for every vertex in one of the partition, the degree of the every vertex is homogeneous, or the vertex set can be partitioned into two subsets such that every negative edge joins two vertices in the same subset and every positive edge joins two vertices in different subsets.

Proof. The proof is easy to see by Theorem 13 and by the fact that every cycle has even number of negative and positive edges.

Theorem 22

A signed graphΣΨ(E1), is a solution to ŋ(Σ)(Σ)^3 if and only if Σ is all-negative or the structures shown in Fig. 6.

Proof. Proof follows by Theorem 2.

Fig. 6.

Fig. 6

Showing ŋ(Σ)(Σ)^3; ΣΨ(E1).

Theorem 23

A signed graphΣΨ(E2), is a solution to ŋ(Σ)(Σ)^3 if and only if Σ is homogeneous or the vertex set can be partitioned into two subsets such that every negative edge joins two vertices in the same subset and every positive edge joins two vertices in different subsets.

Proof. The proof follows by Theorem 21 as the underlying graph of the signed graph Σ is a bipartite graph.

Theorem 24

A signed graphΣΨ(E3), is a solution to ŋ(Σ)(Σ)^3, if and only if for ΣΨ(E3), the triangle is negative in Σ.

Proof. Given that ΣΨ(E3), is a solution to ŋ(Σ)(Σ)^3. Now by the definition, (Σ)^3 is always balanced. This implies ŋ(Σ) is balanced. Now Σ has only one cycle of length 3 and ŋ(Σ) being a balanced signed graph, implies that Σ has a negative triangle.

Conversely, let ΣΨ(E3) contains a negative triangle. Then ŋ(Σ) will have even number of negative edges making ŋ(Σ)balanced. Since (Σ)^3 is balanced, and ŋ(Σ) and (Σ)^3 both have same underlying graph, they will be cycle-isomorphic to each other. Thus, ŋ(Σ)(Σ)^3.

Theorem 25

A signed graphΣΨ(E4), is a solution to ŋ(Σ)(Σ)^3 if and only if the vertex set of Σ can be partitioned into two subsets such that the degree of every vertex in one of the partition is homogeneous, or the vertex set can be partitioned into two subsets such that every negative edge joins two vertices in the same subset and every positive edge joins two vertices in different subsets.

Proof. Proof follows by Theorem 21. The possible structures are negative cycle in ΣΨ(E4)with pendent edges taking any signature.

Theorem 26

A signed graphΣΨ(Km,nt,2)whereKm,nt,2is shown inFig. 4,m0,n0andt2is a solution to ŋ(Σ)(Σ)^3 if and only if in each cycle of core, the net-degree of the vertices u1,u2,u3ut in the core < x,u1,u2,u3ut,y> is either 2t or 1t.

Proof. Proof follows by Theorem 2.

A constructive method to compute balanced signed from an unbalanced signed graph

Now we observe that in all the above cases the signed graph Σ will be switching equivalent to tpath product signed graph (Σ)^t if Σ is balanced. Here we give the constructive method to compute balanced signed graph from an unbalanced signed graphs for planar signed graphs and nonplanar signed graphs.

By planar signed graph, we mean a signed graph that can be embedded in the plane. The bounded regions formed by a planar signed graph are termed as interior faces, and the unbounded region is known as the exterior face.

The dual graph D(G), of a planar graph G has a vertex for each face of the graph G. It has an edge for each pair of faces in G corresponding to each common edge between these faces and a self loop when same face appears on both sides of an edge. The dual signed graph D(Σ), of a planar signed graph Σ has a vertex, for each face of the signed graph Σ, with a marking same as the sign of the cycle encircling the corresponding face in Σ, for the exterior face, it is the sign of the circumferential cycle. It has an positive edge for each pair of faces in Σ corresponding to each common edge between these faces and a positive self-loop when same face appears on both sides of an edge.

A balancing set of an unbalanced signed graph Σ is the set of edges such that changing the signs of these edges results in a balanced signed graph. A balancing set is called a minimal balancing set if and only if any proper subset of it is no longer a balancing set and it is denoted by Lb.

  • Case 1: When the signed graphΣis planar

  • step 1 Find the signs of cycles corresponding to the faces of signed graph Σ.

  • step 2 Make the dual graph D(Σ) of Σ.

  • step 3 Choose the negative vertices and calculate the distance between all the pairs of negative vertices where the distance between two vertices is a shortest path.

  • step 4 Make the complete graph whose edges are attached by the calculated distance in step 3.

  • step 5 Now, find the optimal pairs V1*,V2*,V3*Vm* such that Vu=V1V2V3V2m is set of negative vertices and c(V1*,V2*,V3*Vm*)=minc(V1*,V2*,V3*Vm*)V1*,V2*,V3*Vm*where c(Vi) is the length of shortest path joining vertices vpi and vpi.

  • step 6 Find the shortest path Li* joining the vertices of vi* for i=1,2,3m

  • step 7 Derive the minimum balancing set Li*(b)=d1(L1*L2*L3*Lm*)

A sign vector s=(s1,s2,sn) is a vector whose element si=+1or1for i=1,2,3n.

A edge vivjin Lb an inherent edge if and only if both viand vj are contained in same equivalence class otherwise noninherent.

Example: Consider the Signed Graph Σ in Fig. 7

  • Step1 Signs of each cycles corresponding to faces of Σ in Fig. 8 are:

Fig. 7.

Fig. 7

Signed graph Σ.

Fig. 8.

Fig. 8

Showing the signature of the faces of the Σ.

  • Step 2 Make the dual graph D(Σ) as shown in Fig. 9.

  • Step 3 Set of negative vertices in D(Σ) is {v1,v2,v3,v4}. Now possible pairs of shortest path between any two vertices
    L1={v1,v2},L2={v3,v4},L3={v1,v3},L4={v2,v4},L5={v1,v4},L6={v3,v2}
  • Step 4 shortest path between vertices lies in L1, L2, L5, L6.

  • Step 5 optimal pairs L*1={v1v2,v3v4} or L*2={v1v4,v3v2} .

  • Step 6 shortest path between two vertices in L*1 or L*2 is length of 1.

  • Step 7 L*b=d1(L*1L*2). Hence sign graph will become balanced signed graph as shown in Fig. 10.

  • Case 2: When the signed graph Σ is non- planar

  • step 1 First make any minimal balancing set Lb from the signed graph Σ.

  • step 2 Find the sign vector corresponding to the balancing set.

  • step 3 Partition the vertex set V of Σ into the equivalence classes which is induced by Lb.

  • step 4 Make the condensed graph Gcas each vertex ei correspond to an equivalence class Ei induced by Lb and two vertices are joined by a line when there exist a non-inherent line of Lbjoining corresponding equivalence classes.

  • step 5 Find all the spanning tree of Gc (Condensed graph).

  • step 6 Calculate the assignment vector t for the refinement of minimal balancing set Lb.

  • step 7 Delete the duplicate assignment vector that is need to find the distinct assignment vector form step 6.

  • step 8 From each assignment vector t, delete all the non-inherent classes with different assignment value of t.

Fig. 9.

Fig. 9

Showing the dual of the Σ.

Fig. 10.

Fig. 10

Showing balanced signed graph on Σ.

The final step 8 gives all the minimal balancing sets contained in Lb.

If the signed graph is unbalanced then the constructive method can be used so as to make it balanced and becomes switching equivalent to t-path product signed graph when ΣuΣ^tu.

2-distance signed graph

Assume that Σ=(V,E,σ) is a signed graph. We associate with Σ the 2-distance signed graph (Σ¯)2=(V,E,σ) defined as follows: the vertex set is same as the original signed graph Σ and two vertices u,v(Σ¯)2, are adjacent if and only if there exists a distance of length two between u and v in Σ. The edge uv(Σ¯)2 is negative if and only if all the edges, in all the paths of distance two between u and v in Σ are negative otherwise the edge is positive.

C5|C3 is a graph in Fig. 11 which have v1v2v3v4v5v6v1 forms a cycle C6such that v2v6 forms a chord. Here C5=v2v3v4v5v6v2 and C3=v1v2v6v1

Fig. 11.

Fig. 11

C5|C3and (C5|C3)2.

Theorem 27

[38]

Γ has a C5|C3 subgraph, then Γ is isomorphic to C5|C3.

Theorem 28

Signed graph ΣΨ(C5|C3) , is a solution to Σ(Σ¯)2 if and only if Σ is homogeneous or

  • (i) Number of negative edges in cycle C3=v1v2v6v1 is of same parity as number of all negative paths in T where T={v1v3,v3v5,v5v1} and

  • (ii) Number of negative sections in C5=v2v3v4v5v6v2 must be even or C5 is all-negative.

Proof. Given that ΣΨ(C5|C3) is a solution to Σ(Σ¯)2and T={v1v3,v3v5,v5v1}. We have every cycle of Σ is cycle-isomorphic to corresponding cycle of (Σ¯)2. Now Σ(Σ¯)2 trivially follows when Σ is homogeneous. Also, for a signed cycle C3Σ, there exist a corresponding signed cycle C3(Σ¯)2 and both are cycle-isomorphic.

Now, the edge between x and y in 2-distance signed graph (Σ¯)2 is due to 2-distance between in x and y in Σ and

σ(xy)={ifxypathisallnegative+Otherwise

Hence, Number of negative edges in signed cycle C3Σ is of same parity as number of all-negative paths in T.

(ii) Now, let q be the number of negative sections of length 1 and other negative sections k1,k2,k3 of some lengths 2, 3, 4 respectively in same order. Then it is clear from the definition of (Σ¯)2 that C5 will have negative edges corresponding to the adjacent pair of negative edges in C5. Hence C5 will have one less negative edge for each negative section in C5 in Σ. Now, Σ(Σ¯)2 implies that the number of negative edge in Σ must be even which implies i=13ki+q+i=13(ki1)0(mod2) which is possible when q30(mod2). Hence number of negative section must be even.

Conversely, we have the number of negative edges in signed cycle v1v2v6v1 of same parity as number of all negative paths in Twhere T={v1v3,v3v5,v5v1} and the number of negative sections in C5=v2v3v4v5v6v2 must be even or all-negative. This implies C3 is cycle-isomorphic to C3 and C5 is cycle-isomorphic to C5. Hence, Σ(Σ¯)2.

Theorem 29

LetCn:v1v2v3v4vnv1be a cycle of lengthnwithn6vetices andCcnbe complement ofCn. For anyZa,ZbΨ(Ccn);(Za)2(Zb)2if and only if the number of the number of all-negative induced subgraph in{vj,vj+1,vj+3,vj+4,...,vj+n2withj+n2mod(n);j=1,2,3...n}, inZais of same parity as that ofZb.

Proof. Given that Za,ZbΨ(Ccn)and (Za)2(Zb)2.(Za)2and (Zb)2are cycles of length n. Any edge vjvj+1 where j=1,2,3,n and vn+1=v1 in (Za)2 and (Zb)2 corresponds to a path of length two between vjand vj+1 in Za,Zb. We know that Za and Zb are n3 regular signed graph. Any edge vjvj+1 in (Za)2and (Zb)2 corresponds to an induced subgraph <vj,vj+1,vj+3,vj+4,...,vj+n2>withj+n2mod(n);j=1,2,3...n}in ZaandZb respectively; which is all- negative when corresponding edge is negative. Now (Za)2(Zb)2 implies that number of all-negative induced subgraphs in {vj,vj+1,vj+3,vj+4,...,vj+n2withj+n2mod(n);j=1,2,3...n} in Za will be of the same parity as that of, Zb.

Conversely, if all-negative induced subgraphs in {vj,vj+1,vj+3,vj+4,...,vj+n2withj+n2mod(n);j=1,2,3...n} in Za,Zb are of the same parity then (Za)2(Zb)2 as the number of negative edges in (Za)2and (Zb)2 are also of the same parity

Theorem 30

For any Za,ZbΨ(F1) , is a solution to (Za)2(Zb)2 if and only if

  • (i) The triangle in Za,Zbare either all-positive or all-negative, or.

  • (ii) The triangle in Za,Zb contains exactly one negative edge, and the number of incident edges on the end vertices of this negative edge in Za is of same parity as that of Zb, or.

  • (iii) The triangle in Za,Zb contains exactly one positive edge, and the number of incident edges on the end vertices of this positive edge in Za is of same parity as that of Zb.

Proof. Given that Za,ZbΨ(F1), and (Za)2(Zb)2. (Za)2(Zb)2 are cycle isomorphic. Every edge in (Za)2(Zb)2corresponds to a path of length two in Za,Zb respectively.

  • Case1: If (Za)2(Zb)2 are all-negative, then each path of length two in Za,Zb is negative. Thus triangle is negative in Z,Z.

  • Case2: If (Za)2(Zb)2 are all-positive, then each path of length two in Za,Zb is positive. Thus triangle is positive in Za,Zb.

Hence, the triangles in Za,Zbare either all-positive or all-negative.

  • (ii)

    (Za)2and (Zb)2 are cycle-isomorphic, and let (Za)2and (Zb)2 be balanced, then (Za)2and (Zb)2contain an even number of negative edges corresponds to an even number of negative paths of length two in Za,Zb. Now, every edge in (Za)2and (Zb)2 corresponds to a path of length two between any pair of vertices passes through the triangle. If (Za)2and (Zb)2have exactly two negative edges then the triangle has exactly one negative edge, creating two negative paths of length two in Za,Zb. Since the triangles in (Za)2and (Zb)2 are balanced which gives the number of incident edges on the end vertices of this negative edge in Za is of same parity as that of Zb.

  • (iii)

    (Za)2and (Zb)2 are cycle-isomorphic, and let (Za)2and (Zb)2be balanced, then (Za)2and (Zb)2 contain an even number of negative edges corresponds to an even number of negative paths of length two in Za,Zb. Now, every edge in (Za)2and (Zb)2 corresponds to a path of length two between any pair of vertices passes through the triangle. If (Za)2and (Zb)2have exactly four negative edges then the triangle has exactly one positive edge, creating four negative paths of length two in Za,Zb. Since the cycles (Za)2and (Zb)2 are balanced which gives the number of incident edges on the end vertices of this positive edge in Za is of same parity as that of Zb.

Conversely, by part (i), (ii) and (iii) cycle (Za)2and (Zb)2 are balanced then (Za)2(Zb)2.

F2 is a graph in Fig. 12 which is obtained by identification of C4:v1v2v5v6v1 and unicycle v2v5v3v2 + v3v4.

Fig. 12.

Fig. 12

Graph F2.

Theorem 31

For any Za,ZbΨ(F2) , is a solution to (Za)2(Zb)2 if and only

  • (i) The triangle in Za,Zbare either all-positive or all-negative, or.

  • (ii) The triangle in Za,Zb contains exactly one negative edge, and the number of incident edges on the end vertices of this negative edge in Za is of same parity as that of Zb, or.

  • (iii) The triangle in Za,Zb contains exactly one positive edge v2v5, and the number of incident edges on the end vertices of this positive edge in Za is of same parity as that of Zb, or.

Proof. Proof follows by Theorem 30.

Conclusion and Scope

In this paper, the concept of a t-path product signed graph for t=2, 3 for a given signed graph Σ is explored. A t-path product signed graph retains the same vertex set as, and vertices u and v are adjacent if there is a path of length tin Σ. The sign of an edge, σ(uv), is determined by the canonical marking μ. The paper provides a switching equivalent between Σ and t-path product signed graph for t=2,3 and also for its negation. Additionally, the paper explores the isomorphism between the 2-path signed graph and the 2-path product signed graph. Also some possible directions of applications are discussed which sees the reference to [[39], [40], [41], [42], [43]].

Ethics statements

Nil

CRediT authorship contribution statement

Deepa Sinha: Conceptualization, Supervision, Writing – review & editing. Sachin Somra: Software, Methodology, Writing – original draft.

Declaration of competing interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Acknowledgements

This work is supported by the Research Grant from the University Grants Commission NTA Ref. No.: 211610017285 for the second author.

Data availability

No data were used to support the findings of the study.

References

  • 1.Heider F. Attitudes and cognitive organization. J. Psychol. 1946;21(1):107–112. doi: 10.1080/00223980.1946.9917275. [DOI] [PubMed] [Google Scholar]
  • 2.Cartwright D., Harary F. Structural balance: A generalization of Heider's theory. Psychol. Rev. 1956;63(5):277. doi: 10.1037/h0046049. [DOI] [PubMed] [Google Scholar]
  • 3.Harary F. On the notion of balance of a signed graph. Michigan Math. J. 1953;2(2):143–146. [Google Scholar]
  • 4.Harary F, Lim M.-H., Wunsch D.C. Signed graphs for portfolio analysis in risk management. IMa J. Manage Math. 2002;13(3):201–210. [Google Scholar]
  • 5.Giotis C., Guruswami V. Correlation clustering with a fixed number of clusters. Proceedings of the Seventeenth Annual ACM-SIAM Symposium on Discrete Algorithm; Miami, FL, USA; 2006. January. [Google Scholar]
  • 6.Kriegel H.-P., Kröger P., Zimek A. Clustering high-dimensional data. ACM. Trans. Knowl. Discov. Data. 2009;3(1):1. [Google Scholar]
  • 7.Sinha D., Sethi A. An algorithm to detect balancing of iterated line sigraph. Springerplus. 2015;4(1):1. doi: 10.1186/s40064-015-1499-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Acharya B.D. Signed intersection graphs. J. Discrete Math. Sci. Cryptogr. 2010;13(6):553–569. [Google Scholar]
  • 9.Acharya M., Sinha D. Characterization of signed line digraphs. Discrete Appl. Math. 2013;161(9):1170–1172. [Google Scholar]
  • 10.Acharya M., Sinha D. Common-edge sigraphs. AKCE Int/ J. Graphs Combinat. 2006;3(2):115–130. [Google Scholar]
  • 11.Germina K.A., Hameed S.K., Zaslavsky T. On products and line graphs of signed graphs, their eigenvalues, and energy. Linear. Algebra Appl. 2011;435(10):2432–2450. [Google Scholar]
  • 12.Gill M.K., Patwardhan G.A. Switching invariant two-path signed graphs. Discrete Math. 1986;61(2):189–196. [Google Scholar]
  • 13.Reddy P.S.K., Subramanya M.S. Note on path signed graphs. Notes. Number. Theory. Discret. Math. 2009;15(4):1–6. [Google Scholar]
  • 14.Sheng G., Su Y., Wang W. A new fractal approach for describing induced-fracture porosity/permeability/compressibility in stimulated unconventional reservoirs. J. Petrol. Sci. Engineer. 2019;179:855–866. [Google Scholar]
  • 15.Sinha D., Sharma D. Algorithmic characterization of signed graphs whose two-path signed graphs and square graphs are isomorphic. Proceedings of the 2014 International Conference on Soft Computing Techniques for Engineering and Technology (ICSCTET); Nainital, India; 2014. August. [Google Scholar]
  • 16.Sinha D., Sharma D. Characterization of 2-path product signed graphs with its properties. Comput. Intell. Neurosci. 2017:1687–5265. doi: 10.1155/2017/1235715. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17.Sinha D., Sharma D. On square and 2-path signed graph. J. Interconnect. Netw. 2016;16(1):1–19. [Google Scholar]
  • 18.Sinha D., Sharma D. Square Signed Graph. Nation. Acad. Sci. Lett. 2019;42(6):513–518. [Google Scholar]
  • 19.Dey A., Mondal S., Pal T. Robust and minimum spanning tree in fuzzy environment. Int. J. Comput. Sci. Math. 2019;10(5):513–524. [Google Scholar]
  • 20.Dey A., Pal A., Long H.V. Fuzzy minimum spanning tree with interval type 2 fuzzy arc length: Formulation and a new genetic algorithm. Soft. comput. 2020;24(6):3963–3974. [Google Scholar]
  • 21.Dey A., Son L., Kumar G.P., Quek S., Gai Quek S. New concepts on vertex and edge coloring of simple vague graphs. Symmetry. 2018;10(9):373. [Google Scholar]
  • 22.Zhao H., Xu L., Guo Z., et al. A new and fast water flooding optimization workflow based on insim-derived injection efficiency with a field application. J. Petrol. Sci. Engineer. 2019;179:1186–1200. [Google Scholar]
  • 23.Malesinska E. Graph theoretical models for frequency assignment problems. Shaker, Maastricht, Germany. 1997 [Google Scholar]
  • 24.Rappaport T.S. Prentice Hall; Upper Saddle River, NJ, USA: 1996. Wireless Communications: Principles and Practice. [Google Scholar]
  • 25.Coase R., Meckling W., Minasian J. RAND Corporation; Santa Monica, CA, USA: 1995. Problems of Radio Frequency Allocation. [Google Scholar]
  • 26.Pan J., Wang H., Gao X., et al. Radio-frequency interference estimation using equivalent dipole-moment models and decomposition method based on reciprocity. IEEe Trans. Electromagn. Compat. 2015;58(1):75–84. [Google Scholar]
  • 27.Misra S., Roo R.D.D, Ruf C. RufAn improved radio frequency interference model: reevaluation of the kurtosis detection algorithm performance under central-limit conditions. IEEE Transac. Geosci. Remote Sens. 2012;50(11):4565–4574. [Google Scholar]
  • 28.Wang H., Khilkevich V., Zhang Y.-J., Fan J. Estimating radio-frequency interference to an antenna due to near-field coupling using decomposition method based on reciprocity. IEEe Trans. Electromagn. Compat. 2013;55(6):1125–1131. [Google Scholar]
  • 29.Sinha D., Sharma D. Characterization of 2-Path Signed Network. Complexity. 2020:1076–2787. [Google Scholar]
  • 30.West D.B. Vol. 2. Prentice Hall; Upper Saddle River: 2001. (Introduction to Graph Theory). [Google Scholar]
  • 31.Zaslavsky T. Signed analogs of bipartite graphs. Discrete Math. 1998;179(1):205–216. [Google Scholar]
  • 32.Zaslavsky T. Signed graphs. Discrete Appl. Math. 1982;4(1):47–74. [Google Scholar]
  • 33.Abelson R.P., Rosenberg M.J. Symbolic psycho-logic: A model of attitudinal cognition. Behav. Sci. 1958 [Google Scholar]
  • 34.Sampathkumar E. Point signed and line signed graphs. Nat. Acad. Sci. Letters. 1984;7(3):91–93. [Google Scholar]
  • 35.Gill M.K., Patwardhan G.A. A characterization of sigraphs which are switching equivalent to their line sigraphs. J. Math. Phys. Sci. 1981;15(6):567–571. [Google Scholar]
  • 36.Akiyama J., Kaneko K., Simić S. Graph equations for line graphs and the nth power graphs I. Public. de l'Institut Mathématique. 1978;23(37):5–8. 43. [Google Scholar]
  • 37.Escalante F., Montejano L., Rojano T. Characterization of n-path graphs and of graphs having nth root. J. Combinat. Theory, Series B. 1974;16(3):282–289. [Google Scholar]
  • 38.Azimi A., Farrokhi Derakhshandeh Ghouchan M. Self 2-distance graphs. Canad. Math. Bull. 2017;60(1):26–42. [Google Scholar]
  • 39.Alameri Abdu &, Mahboob Abid, Karash Toma. Neighbourhood degree-based graph descriptors: a comprehensive analysis of connectivity patterns in diverse graph families and their applicability. Acadlore Transac. Appl. Math. Statist. 2024;2:52–63. [Google Scholar]
  • 40.Ali N., Kousar Z., Safdar M., Safdar J., Tolasa F.T. A mathematical analysis of concealed non-kekulean benzenoids and subdivided networks in associated line graphs. Acadlore Trans, Appl Math. Stat. 2024;2(2):72–80. [Google Scholar]
  • 41.Gu H.Z., Ma J.L., Zhao Y.R., Khadka A. Enhanced named entity recognition based on multi-feature fusion using dual graph neural networks. Acadlore Trans. Mach. Learn. 2024;3(2):84–93. [Google Scholar]
  • 42.Jasmi Z.S., Hassan N. Challenges in attaining sustainable development goals between income groups: a systematic comparative analysis. Chall. Sustain. 2024;12(2):136–151. [Google Scholar]
  • 43.Triki M.W., Boujelbene Y. Risk of refunding default in micro-finance institution by Bayesian networks: case of Tunisia. J. Account., Financ. Audit. Stud. 2017;3(2):81–95. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

No data were used to support the findings of the study.


Articles from MethodsX are provided here courtesy of Elsevier

RESOURCES