Docsity

Math 7410 Graph Theory, Lecture notes of Chemistry

Partial preview of the text

Download Math 7410 Graph Theory and more Lecture notes Chemistry in PDF only on Docsity!

Math 7410 Graph Theory

Bogdan Oporowski

Department of Mathematics Louisiana State University

January 18, 2023

Definition of a graph

Definition 1.

A graph G is a triple (V, E, I) where ◮ (^) V (or V (G)) is a finite set whose elements are called vertices; ◮ (^) E (or E(G)) is a finite set disjoint from V whose elements are called edges; and ◮ (^) I, called the incidence relation, is a subset of V × E in which each edge is in relation with exactly one or two vertices.

Example 1.

◮ (^) V = {v 1 , v 2 , v 3 , v 4 } ◮ (^) E = {e 1 , e 2 , e 3 , e 4 , e 5 , e 6 , e 7 } ◮ (^) I = {(v 1 , e 1 ), (v 1 , e 4 ), (v 1 , e 5 ), (v 1 , e 6 ), (v 2 , e 1 ), (v 2 , e 2 ), (v 3 , e 2 ), (v 3 , e 3 ), (v 3 , e 5 ), (v 3 , e 6 ), (v 4 , e 3 ), (v 4 , e 4 ), (v 4 , e 7 )}

v 3

v 2

v 4

e 1 v 1

e 2

e 3

e 4

e 5

e 6

e 7

Graph Terminology

Definition 1.

◮ (^) The graph G is empty if V = ∅, and is trivial if E = ∅. ◮ (^) The cardinality of the vertex-set of a graph G is called the order of G and denoted |G|. ◮ (^) The cardinality of the edge-set of a graph G is called the size of G and denoted ‖G‖. ◮ (^) Two vertices incident with the same edge are adjacent or neighbors. ◮ (^) Similarly, two edges incident with the same vertex are adjacent. ◮ (^) The number of edges incident with a vertex v of G, with loops counted twice, is the degree of v and is written as d(v) or dG(v). ◮ (^) The set of neighbors of a vertex v of G, other than v itself, is denoted by N (v) or by NG(v). ◮ (^) Similarly, if U is a subset of the vertex set of G, then N (U ) is the set of those vertices that are not in U , but are adjacent to a vertex in U.

Isomorphism

Definition 1.

The graphs G 1 = (V 1 , E 1 , I 1 ) and G 2 = (V 2 , E 2 , I 2 ) are isomorphic, written G 1 ∼= G 2 , if there are bijections ϕ : V 1 → V 2 and ψ : E 1 → E 2 such that (v, e) ∈ I 1 if and only if (ϕ(v), ψ(e)) ∈ I 2. Such a pair of bijections is an isomorphism.

Note 1.

◮ (^) If G 1 and G 2 are simple, then an isomorphism may be defined as a bijection ϕ : V 1 → V 2 such that u and v are adjacent in G 1 if and only if ϕ(u) and ϕ(v) are adjacent in G 2. ◮ (^) Isomorphic graphs are usually considered “the same”.

Theorem 1.9 (Babai, 2015–2016)

Graph isomorphism problem can be solved in quasi-polynomial time. There is a constant c and an algorithm that can decide whether two graphs on n vertices are isomorphic or not in at most 2 O((log^ n)

c) steps.

Automorphism

Definition 1.

An automorphism of a graph is an isomorphism from the graph to itself.

Note 1.

◮ (^) The automorphisms of a graph form a group. ◮ (^) Computer software for finding automorphism groups of graphs is a part of the Sage system, available at http://sagemath.org.

Theorem 1.13 (Frucht, 1938)

For every finite group X there is a graph whose automorphism group is X.

Problem 1

For every positive integer n, construct a simple graph with exactly n automorphisms.

Subgraphs

Definition 1.

A graph G 1 = (V 1 , E 1 , I 1 ) is a subgraph of a graph G 2 = (V 2 , E 2 , I 2 ), written G 1 6 s G 2 , if ◮ (^) V 1 ⊆ V 2 , ◮ (^) E 1 ⊆ E 2 , and ◮ (^) I 1 is induced by I 2.

Alternately, we may think of G 1 as obtained from G 2 by ◮ (^) Deleting vertices (denoted G − v or G − U ), and ◮ (^) Deleting edges (denoted G \ e or G \ F ).

Definition 1.

G 1 is an induced subgraph of G 2 if E 1 consists of all those elements of E 2 whose incident vertices lie in V 1.

Altrenately, we may think of G 1 as obtained from G 2 by deleting only vertices.

Reconstruction Conjectures

The deck of a graph G is the collection of graphs G − v over all v ∈ V (G). A graph is reconstructible if no other graph (up to isomorphism) has the same deck.

Conjecture 1.17 (Reconstruction Conjecture)

Every simple graph on at least three vertices is reconstructible.

The edge-deck of a graph G is the collection of graphs G \ e over all e ∈ E(G). A graph is edge-reconstructible is no other graph has the same edge-deck.

Conjecture 1.18 (Edge-Reconstruction Conjecture)

Every simple graph on at least four edges is edge-reconstructible.

Walks, Trails, Paths, and Cycles

Definition 1.

◮ (^) A walk is a sequence v 0 , e 1 , v 1 , e 2 , v 2 ,... , en, vn, where each edge ei is incident with vertices vi− 1 and vi. ◮ (^) The length of a walk is the number of edges in it. ◮ (^) A walk is closed if its first and last vertices coincide. ◮ (^) A trail is a walk in which no edge is repeated. ◮ (^) A path is a trail with no repeated vertices. ◮ (^) A cycle is a trail with no vertices repeated except that the first vertex is the same as the last. ◮ (^) For a path or a cycle, we will often blur the distinction between the sequence of vertices and edges, and the graph it forms. ◮ (^) The graph that is a path on n vertices (which has length n − 1 ) will be denoted as Pn. ◮ (^) The graph that is a cycle on n vertices (which has length n) will be denoted as Cn. ◮ (^) A graph is connected if each pair of its vertices can be connected by a walk (equivalently, a trail or a path).

Hand-Shaking Lemma

Theorem 1.21 (Hand-Shaking Lemma)

v∈V (G)

d(v) = 2‖G‖

Corollary 1.

The number of vertices of odd degree is even.

Trees

Definition 2.

◮ (^) A graph having no cycles is acyclic or a forest. ◮ (^) A connected forest is a tree. ◮ (^) A leaf or a pendant vertex is a vertex of degree one. ◮ (^) A subgraph of G is spanning if it has all the vertices of G. ◮ (^) The distance between vertices u and v of G, written d(u, v) or dG(u, v), is the length of the shortest path in G that contains both u and v. (Such a path is called a uv-path and u and v are its ends.) If a uv-path does not exist, then d(u, v) = ∞. ◮ (^) The distance between sets U and W of vertices of G, written d(U, W ), is the length of a shortest uw-path where u ∈ U and w ∈ W , or infinity if no such path exists.

Characterization of Trees

Theorem 2.

For a simple graph G of order n the following are equivalent: (A) G is connected and acyclic; (B) G is connected and has size n − 1 ; (C) G is acyclic and has size n − 1 ; and (D) For every two vertices u and v, the graph G contains exactly one uv-path.

A ⇒ B.

Induction on n. Trivial for n = 1. For the inductive step, let v be a leaf, which exists by ??, and consider G − v. By the induction hypothesis, G − v has size n − 2 , so G has size n − 1.

B ⇒ C.

Delete edges from G, one by one, until the graph has no cycles, and call the resulting connected and acyclic graph G′. Then G′^ satisfies (A), and so also satisfies (B), and so has size n − 1. This implies that G′^ = G.

The remainder of the proof is left as an exercise.

Edge Exchange

Theorem 2.

If T and T ′^ are two spanning trees of a connected graph G and e ∈ E(T ) \ E(T ′), then there is an edge e′^ ∈ E(T ′) \ E(T ) such that T \ e ∪ e′ is a spanning tree of G.

Proof.

Consider T \ e: it is disconnected with exactly two connected components (maximal connected subgraphs) S and S′. Since T ′^ is connected, it must have an edge e′^ with one endpoint in each S and S′. Clearly, T \ e ∪ e′^ is a spanning tree of G.

Proof of Kruskal’s Theorem

Theorem 2.7 (Kruskal)

In a connected graph, Kruskal’s Algorithm produces a minimum-cost spanning tree.

Proof.

It is clear that the algorithm produces a spanning tree. Let T be the resulting graph, and suppose T ′^ is a spanning tree of minimum cost. If T ′^ = T , then there is nothing to prove. If T 6 = T ′, let e be the first edge chosen for T that is not in T ′. Adding e to T ′^ creates a cycle C, but since T does not have cycles, T ′^ has an edge e′^ ∈/ E(T ). Consider the spanning tree T ′^ \ e′^ ∪ e. Since T ′^ contains e′^ and all edges of T chosen before e, both e and e′^ are available when the algorithm chooses e, and hence c(e) ≤ c(e′). Thus T ′^ \ e′^ ∪ e is a spanning tree with cost at most T ′^ that agrees with T for a longer initial list of edges than T ′^ does. Repeating this argument yields a minimum-cost spanning tree that equals T , proving that the costs of T and T ′ are the same.

Enumerating Labeled Trees

We would like to know how many different (and here we really mean different rather than non-isomorphic) trees with the vertex set { 1 , 2 ,... , n} are there?

Theorem 2.8 (Cayley’s Formula due to Borchardt (1860))

There are nn−^2 trees with vertex set { 1 , 2 ,... , n}.

Proof.

There are nn−^2 sequences of length n − 2 with entries from { 1 , 2 ,... , n}. We will establish a bijection between such sequences and trees on the vertex set { 1 , 2 ,... , n}.