On topological spaces generated by simple undirected graphs

Abstract: In this paper, we study topologies generated by simple undirected graphs without isolated vertices and their properties. We generate firstly a topology using a simple undirected graph without isolated vertices. Moreover, we investigate properties of the topologies generated by certain graphs. Finally,we present continuity and opennes of functions defined from one graph to another via the topologies generated by the graphs. From this point of view, we present necessary and sufficient condition for the topological spaces generated by two different graphs to be homeomorphic.


Introduction
Graph theory was introduced by Leonhard Euler for obtaining solution of the mathematical problem named "Seven Bridge of Königsberg" in 1736 [4]. The practices of the theory are used in the solution of many complex problems of modern life. Topology is an important branch of mathematics because of its contribution to the other branches of mathematics. Recently, the topology has been used as the appropriate frame for all sets connected by relations. Because rough sets and graphs are also based relational combinations, the topological structures of rough sets [2] and relation between rough sets and graphs are studied by some researchers [5,6,8].
An interesting research topic in graph theory is to study graph theory by means of topology. Some researches have created topologies from graphs using various methods. In 2013, M. Amiri et. al. have created a topology using vertices of an undirected graph [3]. In 2018, K.A. Abdu and A. Kılıçman have investigated the topologies generated by directed graphs [1].
In this paper, we aim at studying to create a topological space by using a simple undirected graph without isolated vertices. We present some properties of the topology that we create by using such graphs. We show that a topology can be generated by every simple undirected graph without isolated vertices. Moreover, we examine the topologies generated by using certain graphs. We define an equivalence relation on the set of the graphs with same vertices set. Finally,we give necessary and sufficient condition for continuity and openness of functions defined from one graph to another by using the topologies generated by these graphs. As a result of this, we present condition for the topological spaces generated by two different graphs to be homeomorphic.

Preliminaries
In this section, some fundamental definitions and theorems related to the graph theory, approximation spaces and topological spaces used in the work are presented.

Definition 1. [4]
A graph is an ordered pair of (U(G), E(G)), where U(G) is set of vertices, E(G) is set of edges linking to any unordered pair of vertices of G. If e is an edge linking to the vertices u and v, then it is said e links to vertices u and v. u and v called as ends of e. Moreover, it is said that these vertices are adjacent. A set of pairwise non-adjacent vertices of a graph is called an independent set. If the set of edges and vertices of a graph are finite, this graph is a finite graph. An edge whose ends are only one vertice is called a loop. An edge with distinct ends is a link.

Definition 2. [4]
A graph is called simple graph, if there is at most one edge linking to arbitrary two vertices of the graph and it has not a loop.

Definition 3.
[4] Let G = (U, E) be a graph. If vertices set U can divided into two subsets A and B so that each edge of G has one end in A and one end in B, G is called bipartite graph. In other words, a graph G is bipartite iff vertices set U of G can divided into two independent sets.

Definition 4. [4]
A walk is a sequence of finite number of adjacent vertices such that v 0 e 1 v 1 e 2 v 2 ...e k v k in a graph G = (U, E). A walk that each edge and vertice is used at most one time is called a path.

Definition 5. [4]
A cycle is a path with the same starting and ending point and it is denoted with C n . Theorem 1.
[7] Let X be a nonempty set and β be a class of subsets of X. If following conditions are satisfied, the collection β is a base just for one topology.
1. X = B∈β B 2. For B 1 ∈ β and B 2 ∈ β, the set B 1 ∩ B 2 is union of some set belonging to β.

A topological space induced by a simple undirected graph
Definition 6. Let G = (U, E) be a graph . Then the set of vertices becoming adjacent to a vertice u is called adjacency of u and it is denoted A G (u). Minimal adjacency of u is defined as Theorem 2. Let G = (U, E) be a simple undirected graph without isolated vertices. Then the class β G = {[u] G : u ∈ U} is a base for a topology on U.
Since the graph G is a graph without isolated vertices, the class {[u] G : u ∈ U} covers to the set U. That is, Then it is obtained that On the other hand, Then it is obtained that Therefore, the following equation is obtained from (3.1) and (3.2): Consequently, β G is a base for a topology on U.
Corollary 1. Each simple undirected graph without isolated vertices creates a topology on vertices set of the graph.
Definition 7. Let G = (U, E) be a simple undirected graph without isolated vertices. Then the topology generated by β G = {[u] G : u ∈ U} is called the topology generated by the graph G. This topology is in the form of: Here, the class of closed sets of this topology is in the form of: Example 1. The graph whose vertices set is U = {x, y, z, t, u, v} is given in Figure 1. The minimal adjacencies of each vertice are as follows: τ G is topology generated by G. The class of closed sets of this topology is Class of both open and closed sets is as follows: Here, it is seen that both open and closed sets different from U and ∅ are {x, z, u} and {y, t, v}. Moreover, the graph G is bipartite and these sets are independent sets whose intersection is ∅ and union is U. Theorem 3. Let K A,B = (U, E) be a complete bipartite graph. Then the topology generated by K A,B is a quasi-discrete topology.
Hence, the base of the topology generated by K A,B is as follows: Therefore, the topology generated by K A,B is as follows: Theorem 4. Let K n = (U, E) be a complete graph, where U = {v 1 , v 2 , ..., v n }. Then the topology generated by K n is discrete topology on U.
Proof. The minimal neighborhoods of vertices set U = {v 1 , v 2 , ..., v n } are as follows respectively: Therefore, β K n = {{v n } : v n ∈ U} and the topology generated by K n is as follows: It is seen that τ K n is discrete topology on U.
Example 2. Let us investigate the topological space generated by C 5 given Figure 2 whose vertices set The adjacencies of the vertices of the cycle C 5 are as follows: The minimal adjacencies of the vertices of the cycle C 5 are as follows: Thus, The class β C 5 is a base for the discrete topology on U. Thus, the topological space generated by this graph is discrete topological space on U.
Theorem 5. Let C n = (U, E) be a cycle whose vertices set is U = {v 1 , v 2 , ..., v n }, where n ≥ 3 (n 4). Then the topological space generated by the cycle C n = (U, E) is a discrete topological space.
Proof. The graph C n is as in Figure 3. The adjacencies of the vertices of the cycle C n are as follows: The minimal adjacencies of the vertices of the cycle C n are as follows: Thus, we have β C n = {{v n } : V n ∈ U}.
The class β C n is a base for discrete topology on U. Thus, it is seen that the topological space generated by the graph C n is the discrete topological space on U.
When we assume n = 4, the graph C 4 is a complete bipartite graph. The topological space generated the graph C 4 whose vertices set is This topology is not discrete topology, but it is quasi-discrete topology.
Remark 1. Two different graph G and G with same vertices set can create the same topology. It is seen clearly that although the graphs K n and C n with same vertices set is different these graphs create same topology.
Theorem 6. Let G be set of all simple undirected graphs whose vertices set is U = {v 1 , v 2 , ..., v n } without isolated vertices. The relation ∼ defined on G as " Then it is seen that τ G 1 = τ G 2 and τ G 2 = τ G 3 . Thus, we obtain that Since G is symmetric, transitive and reflexive, it is an equivalence relation.
Theorem 7. Let G = (U, E) and G = (U , E ) be two graphs without isolated vertices. Let τ G and τ G be the topologies generated by G and G respectively and f : (U, τ G ) → (U , τ G ) be a function. Then f is continuous iff for every u ∈ U, Proof. Let f : (U, τ G ) → (U , τ G ) be a continuous function. Then β G = {[u] G : u ∈ U} and β G = {[u ] G : u ∈ U } are bases of topologies τ G and τ G , respectively. Since f is continuous, there is B ∈ β G such that f (B) ⊆ f (u) G for every u ∈ U.
[u] G is the minimal element containing u of β G . Thus, it is obtained that   The minimal adjacencies of vertices of G are follows: The minimal adjacencies of vertices of G are as follows: It is seen that f ([v] G ) ⊆ f (v) G , for every v ∈ U. Therefore, f is a continuous function.
Corollary 2. Let f : (U, τ K n ) → (U , τ G ) be arbitrary function, where K n = (U, E) is a complete graph and G = (U , E ) is arbitrary graph. Then f is continuous function.
Therefore, we have Conversely, Let f (u) G ⊆ f ([u] G ), for every u ∈ U. It is seen that for every u ∈ U, .
is an open subset of U . Consequently, we can say f is an open function.
From above theorem, it is seen that an open function may not continuous and a continuous function may also not be open. Now we give a necessary and sufficient condition for a function to be continuous and open.
Theorem 9. Let G = (U, E) and G = (U , E ) be simple undirected two graphs without isolated vertices and τ G and τ G the topologies generated by this graphs, respectively. Let f : (U, τ G ) → (U , τ G ) be a function. Then f is a open and continuous function iff for every u ∈ U, Proof. It is clearly seen from Theorem 7 and Theorem 8.
Corollary 3. Let G = (U, E) and G = (U , E ) be simple undirected two graphs without isolated vertice and τ G and τ G the topologies generated by this graphs, respectively. Let f : (U, τ G ) → (U , τ G ) be a function. Then f is a homeomorphism iff f is a bijection that for every u ∈ U, f (u) G = f ([u] G ).

Conclusions
In this paper it is shown that topologies can be generated by simple undirected graphs without isolated vertices. It is studied topologies generated by certain graphs. Therefore, it is seen that there is a topology generated by every simple undirected graph without isolated vertices. Properties proved by these generated topologies are presented. An equivalence of the graphs with same vertices set is defined. Finally, necessary and sufficient condition is given for continuity and openness of a function defined to another graph from one graph. This enables us to determine whether these topological spaces is homeomorphic without needing to find the topological spaces generated by two graphs.