V :non-empty vertex ornode set E V V :edge set G (V, E) :directed graph on V, or digraph on V

Similar documents
Graph Theory S 1 I 2 I 1 S 2 I 1 I 2

Lecture 4: Walks, Trails, Paths and Connectivity

8.2 Paths and Cycles

Introduction to Graph Theory

Graphs. Introduction To Graphs: Exercises. Definitions:

GRAPHS, GRAPH MODELS, GRAPH TERMINOLOGY, AND SPECIAL TYPES OF GRAPHS

CS473-Algorithms I. Lecture 13-A. Graphs. Cevdet Aykanat - Bilkent University Computer Engineering Department

Paths. Path is a sequence of edges that begins at a vertex of a graph and travels from vertex to vertex along edges of the graph.

Lecture 5: Graphs. Rajat Mittal. IIT Kanpur

Graph Theory. Part of Texas Counties.

PACKING DIGRAPHS WITH DIRECTED CLOSED TRAILS

Let G = (V, E) be a graph. If u, v V, then u is adjacent to v if {u, v} E. We also use the notation u v to denote that u is adjacent to v.

CONNECTIVITY AND NETWORKS

Outline. Introduction. Representations of Graphs Graph Traversals. Applications. Definitions and Basic Terminologies

Assignment 4 Solutions of graph problems

Section 10.1: Graphs and Graph Models. Introduction to Graphs Definition of a Graph Types of Graphs Examples of Graphs

K 4 C 5. Figure 4.5: Some well known family of graphs

Graphs and Trees. An example. Graphs. Example 2

Graph Theory CS/Math231 Discrete Mathematics Spring2015

Graphs. Pseudograph: multiple edges and loops allowed

How can we lay cable at minimum cost to make every telephone reachable from every other? What is the fastest route between two given cities?

Math 776 Graph Theory Lecture Note 1 Basic concepts

Fundamental Properties of Graphs

γ(ɛ) (a, b) (a, d) (d, a) (a, b) (c, d) (d, d) (e, e) (e, a) (e, e) (a) Draw a picture of G.

Solutions to In-Class Problems Week 4, Fri

Math 778S Spectral Graph Theory Handout #2: Basic graph theory

Binary Relations McGraw-Hill Education

Characterizations of graph classes by forbidden configurations

Graph Theory: Introduction

Chapter 1 Graph Theory

Unit 2: Graphs and Matrices. ICPSR University of Michigan, Ann Arbor Summer 2015 Instructor: Ann McCranie

Characterizing Graphs (3) Characterizing Graphs (1) Characterizing Graphs (2) Characterizing Graphs (4)

Module 11. Directed Graphs. Contents

Definition: A graph G = (V, E) is called a tree if G is connected and acyclic. The following theorem captures many important facts about trees.

2. CONNECTIVITY Connectivity

1 Digraphs. Definition 1

Lecture 19 Thursday, March 29. Examples of isomorphic, and non-isomorphic graphs will be given in class.

Adjacent: Two distinct vertices u, v are adjacent if there is an edge with ends u, v. In this case we let uv denote such an edge.

CS6702 GRAPH THEORY AND APPLICATIONS 2 MARKS QUESTIONS AND ANSWERS

Math 170- Graph Theory Notes

11.2 Eulerian Trails

DEFINITION OF GRAPH GRAPH THEORY GRAPHS ACCORDING TO THEIR VERTICES AND EDGES EXAMPLE GRAPHS ACCORDING TO THEIR VERTICES AND EDGES

Graph and Digraph Glossary

The Six Color Theorem

0.0.1 Network Analysis

7.3 Spanning trees Spanning trees [ ] 61

Introduction III. Graphs. Motivations I. Introduction IV

Dirac-type characterizations of graphs without long chordless cycles

4. (a) Draw the Petersen graph. (b) Use Kuratowski s teorem to prove that the Petersen graph is non-planar.

CHAPTER 2. Graphs. 1. Introduction to Graphs and Graph Isomorphism

Discrete mathematics II. - Graphs

Compatible circuits in eulerian digraphs

Trees. 3. (Minimally Connected) G is connected and deleting any of its edges gives rise to a disconnected graph.

CMSC 380. Graph Terminology and Representation

Math 575 Exam 3. (t). What is the chromatic number of G?

Number Theory and Graph Theory

Partitioning Complete Multipartite Graphs by Monochromatic Trees

What you should know before you do Graph Theory Honours

ON THE STRUCTURE OF SELF-COMPLEMENTARY GRAPHS ROBERT MOLINA DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE ALMA COLLEGE ABSTRACT

Network flows and Menger s theorem

Lesson 22: Basic Graph Concepts

GRAPH THEORY - FUNDAMENTALS

11.1. Definitions. 11. Domination in Graphs

CS6702 GRAPH THEORY AND APPLICATIONS QUESTION BANK

RAINBOW CONNECTION AND STRONG RAINBOW CONNECTION NUMBERS OF

BIL694-Lecture 1: Introduction to Graphs

WUCT121. Discrete Mathematics. Graphs

CS388C: Combinatorics and Graph Theory

CS 311 Discrete Math for Computer Science Dr. William C. Bulko. Graphs

Math.3336: Discrete Mathematics. Chapter 10 Graph Theory

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao,David Tse Note 8

Domination, Independence and Other Numbers Associated With the Intersection Graph of a Set of Half-planes

INTRODUCTION TO GRAPH THEORY. 1. Definitions

Slides for Faculty Oxford University Press All rights reserved.

Discrete Mathematics and Probability Theory Fall 2013 Vazirani Note 7

Varying Applications (examples)

Artificial Intelligence

Discrete mathematics

6c Lecture 3 & 4: April 8 & 10, 2014

Graph Theory. 1 Introduction to Graphs. Martin Stynes Department of Mathematics, UCC January 26, 2011

MC302 GRAPH THEORY SOLUTIONS TO HOMEWORK #1 9/19/13 68 points + 6 extra credit points

Binding Number of Some Special Classes of Trees

Basics of Graph Theory

Two Characterizations of Hypercubes

MC 302 GRAPH THEORY 10/1/13 Solutions to HW #2 50 points + 6 XC points

The self-minor conjecture for infinite trees

Chapter 2 Graphs. 2.1 Definition of Graphs

GRAPH THEORY - CONNECTIVITY

Abstract. Figure 1. No. of nodes No. of SC graphs

1. a graph G = (V (G), E(G)) consists of a set V (G) of vertices, and a set E(G) of edges (edges are pairs of elements of V (G))

Compatible circuits in eulerian digraphs

SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics. An Introduction to Graph Theory

MATH 363 Final Wednesday, April 28. Final exam. You may use lemmas and theorems that were proven in class and on assignments unless stated otherwise.

Definition 1.1. A matching M in a graph G is called maximal if there is no matching M in G so that M M.

Math 443/543 Graph Theory Notes

Greedy Algorithms and Matroids. Andreas Klappenecker

1 Matchings in Graphs

Definition For vertices u, v V (G), the distance from u to v, denoted d(u, v), in G is the length of a shortest u, v-path. 1

Matching Theory. Figure 1: Is this graph bipartite?

Logic: The Big Picture. Axiomatizing Arithmetic. Tautologies and Valid Arguments. Graphs and Trees

Transcription:

-93-11. Graph Theory Example: V :non-empty vertex ornode set E V V :edge set G (V, E) :directed graph on V, or digraph on V b e f V={a, b, c, d, e, f, g} a c d f E={(a,b), (b,c), (c,a),... } Note: (a, b) (b, a) When there is no concern about the direction of an edge, the graph is called undirected. In this case, an edge between two vertices a and b is represented by {a, b}. Note: {a, b} = {b, a}

-94- b. a {a,b} {a,a} {a, a} isaloop from a to a. If a graph is not specified as directed or undirected, it is assumed to be undirected. G = (V, E) : undirected graph An x ywalk is a finite alternating sequence x = x 0, e 1, x 1, e 2,..., e n 1, x n 1, e n, x n = y of vertices and edges from G, starting at vertex x and ending at vertex y, with the n edges e i = {x i 1, x i }, 1 i n length = n =noofedges If n = 0, a trivial walk

-95- When x = y and n >0,called a closed walk, otherwise, open walk. x 1 x 2 e 2. x = x e 1 e 3 0 x 3 = y If no edge in an walk is repeated, then the walk is called a trail. Aclosed trail is called a circuit. When no vertex of the x y walk occurs more than once, then the walk is called a path. Aclosed path is called a cycle. (The term "cycle" will always imply the presence of at least 3 distinct edges) End. Start Trail Path

-96- For directed graphs, we put "directed" in front of all the terms defined above. Theorem: G = (V, E) : undirected graph a, b V, a b If there exists a trail from a to b then there is a path from a to b. Proof. Let T be the set of all trails from a to b. T has an element with the smallest length. Let P be such a trail. Then P must be a path. Why?. a b

-97- G = (V, E) : undirected graph G is called connected if there is a path between any two distinct vertices of G. Connected Not connected Adigraph is said to be connected if the associated undirected graph is connected. G = (V, E) (directed or undirected) Agraph G 1 = (V 1, E 1 )iscalled a subgraph of G if V 1 V and E 1 E (edges in E 1 must be incident with vertices in V 1 )

G = (V, E) -98- (directed or undirected) Aconnected subgraph of G is said to be a component of G if it is not properly contained in any connected subgraph of G. Notation: The number of components of G is denoted by K(G). Note: A graph is connected iff K(G) = 1 Agraph G = (V, E) iscalled a multigraph if _ a, b V, a b, such that there are two or more edges between a and b (undirected) (from a to b (directed)). multiplicity = 3 n graph: no vertex has multiplicity > n

-99- Example: (No. 8, page 412). Removing any edge would result in a disconnected graph Can such a graph be characterized using the concept of graph path? (the entire graph is a path) Example: (No. 9, page 412) If a graph satisfies the above condition then - itmust be loop-free - G can not be a multigraph - If G has n vertices then it must have n 1 edges

-100- Example: (No. 10, page 412) a) If G = (V, E) : undirected, V = m, E = n, and no loop, then 2n m 2 m b) Since (v1, v 2 ) (v 2, v 1 ) for digraph without loops, we have n m 2 m

-101-11.2 Complements and Graph Isomorphism - study the structure of graphs G = (V, E) U V, U is not empty (directed or undirected) The subgraph of G induced by U is the subgraph with vertices in U and all edges (from G) ofthe following form (a) (x, y), x, y U (G directed), or (b) {x, y}, x, y U (G undirected) This subgraph is denoted by <U> Asubgraph G of a graph G = (V, E) iscalled an induced subgraph if there exists U V such that G =<U> Note: An induced subgraph is a subgraph But a subgraph is not necessary to be an induced subgraph. Why?

G = (V, E) -102- (directed or undirected) G v = (V {v}, E ), E contains all edges of G except those that are incident with v G e = (V, E {e}) V = n K n :(the complete graph on V )isaloop-free undirected graph where V- a, b V, a b, there is an edge {a, b} (Hence, number of edges of K n = n2 n 2 Examples: n = 4, n = 5 ) G = (V, E) : loop-free, undirected, V = n K n = (V, E ) : complete graph on V The Complement of G is defined as follows: G = (V, E E)

-103-. K 4 G G G 1 = (V 1, E 1 ), G 2 = (V 2, E 2 ): undirected f : V 1 V 2 is a graph isomorphism if (a) f is one-to-one and onto (b) {a, b} E 1 iff {f (a), f (b)} E 2 In this case, G 1 and G 2 are called isomorphic graphs (i.e., G 1 and G 2 have the same structure). Example: a isomorphic q. e j f g b v x w s r h z i t d c u y a q, b v, c u, d y, e r f w, g x, h t, i z, j s

-104- Notes: An isomorphism preserves adjacencies, hence, structures such as "paths" and "cycles". How to determine if two graphs are isomorphic? - Ifacycle in G 1 does not have a counter part in G 2 then G 1 can not be isomorphic to G 2. - Ifapath in G 1 does not have a counter part in G 2 then G 1 can not be isomorphic to G 2. - Degrees of adjancy of corresponding vertices in isomorphic graphs must be the same. Example: The following two graphs are not isomorphic. Why?.

-105- The number of vertices with degree of adjancy 2 is 2 in G 1 but the that number in G 2 is 3, or The number of vertices with degree of adjancy 4 is 2 in G 1 but the that number in G 2 is 3, or Each vertex of G 2 can be the start point of a trail which includes every edge of the graph. But in G 1, f and b are the only vertices with such a property. Example: If every induced subgraph of G = (V, E), V 2isconnected then G is isomorphic to K n where n = V. (Prove that E = (n 2 n)/2. If E <(n 2 n)/2 then it is possible to find an induced subgraph of G with two elements which is not connected.)

-106- Example: Find all (loop-free) non-isomorphic undirected graphs with four vertices. How many of them are connected? 0edge 1edge 2edges 3edges 4edges 5edges 6edges