Chapter 5 Fundamental Concept

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

Chapter 8 Topics in Graph Theory
Lecture 5 Graph Theory. Graphs Graphs are the most useful model with computer science such as logical design, formal languages, communication network,
Edge-connectivity and super edge-connectivity of P 2 -path graphs Camino Balbuena, Daniela Ferrero Discrete Mathematics 269 (2003) 13 – 20.
Introduction This chapter explores graphs and their applications in computer science This chapter explores graphs and their applications in computer science.
 Graph Graph  Types of Graphs Types of Graphs  Data Structures to Store Graphs Data Structures to Store Graphs  Graph Definitions Graph Definitions.
Vertex Cut Vertex Cut: A separating set or vertex cut of a graph G is a set S  V(G) such that G-S has more than one component. a b c d e f g h i.
1 Section 8.2 Graph Terminology. 2 Terms related to undirected graphs Adjacent: 2 vertices u & v in an undirected graph G are adjacent (neighbors) in.
Discrete Structures Chapter 7B Graphs Nurul Amelina Nasharuddin Multimedia Department.
Representing Graphs Wade Trappe. Lecture Overview Introduction Some Terminology –Paths Adjacency Matrix.
Vertex Cut Vertex Cut: A separating set or vertex cut of a graph G is a set SV(G) such that S has more than one component. Connectivity of G ((G)): The.
1 Section 8.4 Connectivity. 2 Paths In an undirected graph, a path of length n from u to v, where n is a positive integer, is a sequence of edges e 1,
Vertex Cut Vertex Cut: A separating set or vertex cut of a graph G is a set SV(G) such that G-S has more than one component. d f b e a g c i h.
Problem: Induced Planar Graphs Tim Hayes Mentor: Dr. Fiorini.
9.2 Graph Terminology and Special Types Graphs
GRAPH Learning Outcomes Students should be able to:
Graphs Chapter 10.
Graph Theoretic Concepts. What is a graph? A set of vertices (or nodes) linked by edges Mathematically, we often write G = (V,E)  V: set of vertices,
Graph Theory Fundamental concepts Fundamental Concept Graph Theory.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Chapter 1 Fundamental Concept
CSE, IIT KGP Graph Theory: Introduction Pallab Dasgupta Dept. of CSE, IIT
Chapter 1 Fundamental Concepts II Pao-Lien Lai 1.
1 CS104 : Discrete Structures Chapter V Graph Theory.
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Introduction Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering,
Week 11 - Monday.  What did we talk about last time?  Binomial theorem and Pascal's triangle  Conditional probability  Bayes’ theorem.
Basic Notions on Graphs. The House-and-Utilities Problem.
Chapter 1 Fundamental Concepts Introduction to Graph Theory Douglas B. West July 11, 2002.
CSS106 Introduction to Elementary Algorithms
An Introduction to Graph Theory
Graph Theory and Applications
CSCI 115 Chapter 8 Topics in Graph Theory. CSCI 115 §8.1 Graphs.
MAT 2720 Discrete Mathematics Section 8.2 Paths and Cycles
Lecture 52 Section 11.2 Wed, Apr 26, 2006
 Quotient graph  Definition 13: Suppose G(V,E) is a graph and R is a equivalence relation on the set V. We construct the quotient graph G R in the follow.
Introduction to Graph Theory
CSE, IIT KGP Graph Theory: Introduction Pallab Dasgupta Dept. of CSE, IIT
Chapter 9: Graphs.
Chapter 20: Graphs. Objectives In this chapter, you will: – Learn about graphs – Become familiar with the basic terminology of graph theory – Discover.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
Week 10 - Wednesday.  What did we talk about last time?  Counting practice  Pigeonhole principle.
An Introduction to Graph Theory
Applied Discrete Mathematics Week 14: Trees
Graph Theory An Introduction.
Data Structures Graphs - Terminology
Chapter 9 (Part 2): Graphs
Applied Discrete Mathematics Week 13: Graphs
Special Graphs By: Sandeep Tuli Astt. Prof. CSE.
Graphs Hubert Chan (Chapter 9) [O1 Abstract Concepts]
CSE 373, Copyright S. Tanimoto, 2001 Graphs 1 -
Grade 11 AP Mathematics Graph Theory
Graph theory Definitions Trees, cycles, directed graphs.
Discrete Structures – CNS2300
Taibah University College of Computer Science & Engineering Course Title: Discrete Mathematics Code: CS 103 Chapter 10 Graphs Slides are adopted from “Discrete.
Graphs Chapters 10.1 and 10.2 Based on slides by Y. Peng University of Maryland.
Based on slides by Y. Peng University of Maryland
Can you draw this picture without lifting up your pen/pencil?
Chapters 8.1 and 8.2 Based on slides by Y. Peng University of Maryland
CS100: Discrete structures
Connectivity Section 10.4.
Representing Graphs Wade Trappe.
Proof Techniques.
Miniconference on the Mathematics of Computation
CHAPTER 15 Graph Theory.
HW 3 (Due Wednesday Feb 6) Create slide(s) for your 1 minute presentation on a graph theory application. Make sure your slide(s) include (1) Define the.
Introduction to Graph Theory
Applied Discrete Mathematics Week 13: Graphs
Based on slides by Y. Peng University of Maryland
HW 3 (Due Wednesday Feb 6) Create slide(s) for your 1 minute presentation on a graph theory application. Make sure your slide(s) include (1) Define the.
Agenda Review Lecture Content: Shortest Path Algorithm
Presentation transcript:

Chapter 5 Fundamental Concept Graph Theory Chapter 5 Fundamental Concept 1.1 What Is a Graph? 1.2 Paths, Cycles, and Trails 1.3 Vertex Degree and Counting 1.4 Directed Graphs

The KÖnigsberg Bridge Problem Graph Theory The KÖnigsberg Bridge Problem Königsber is a city on the Pregel river in Prussia The city occupied two islands plus areas on both banks Problem: Whether they could leave home, cross every bridge exactly once, and return home. X Y Z W

A Model e1 e6 e2 e5 e4 e3 e7 A vertex : a region Graph Theory A Model A vertex : a region An edge : a path(bridge) between two regions e1 e2 e3 e4 e6 e5 e7 Z Y X W X Y Z W

General Model A vertex : an object Graph Theory General Model A vertex : an object An edge : a relation between two objects common member Committee 1 Committee 2

Graph Theory What Is a Graph? A graph G is a triple consisting of: A vertex set V(G ) An edge set E(G ) A relation between an edge and a pair of vertices e1 e2 e3 e4 e6 e5 e7 Z Y X W

Loop, Multiple edges Loop : An edge whose endpoints are equal Graph Theory Loop, Multiple edges Loop : An edge whose endpoints are equal Multiple edges : Edges have the same pair of endpoints Multiple edges loop

Simple Graph Simple graph : A graph has no loops or multiple edges Graph Theory Simple Graph Simple graph : A graph has no loops or multiple edges Multiple edges loop It is not simple. It is a simple graph.

Graph Theory Adjacent, neighbors Two vertices are adjacent and are neighbors if they are the endpoints of an edge Example: A and B are adjacent A and D are not adjacent A B C D

Subgraphs A subgraph of a graph G is a graph H such that: Graph Theory Subgraphs A subgraph of a graph G is a graph H such that: V(H)  V(G) and E(H)  E(G) and The assignment of endpoints to edges in H is the same as in G.

Subgraphs Example: H1, H2, and H3 are subgraphs of G G H3 H1 H2 a b c Graph Theory Subgraphs Example: H1, H2, and H3 are subgraphs of G a b G c d e b a a b H3 c d c H1 H2 e d d e

Finite Graph, Trivial Graph Graph Theory Finite Graph, Trivial Graph Finite graph : an graph whose vertex set and edge set are finite Trivial graph : the graph with one vertex and no edges, i.e. a single point.

Complement Complement of G: The complement G’ of a simple graph G : Graph Theory Complement Complement of G: The complement G’ of a simple graph G : A simple graph V(G’) = V(G) E(G’) = { uv | uv E(G) } G’ u v w x y u v w x y G

Graph Theory Bipartite Graphs A graph G is bipartite if V(G) is the union of two disjoint independent sets called partite sets of G Also: The vertices can be partitioned into two sets such that each set is independent Matching Problem Job Assignment Problem Workers Boys Girls Jobs

Graph Theory Walks, Trails1.2.2 A walk : a list of vertices and edges v0, e1, v1, …., ek, vk such that, for 1  i  k, the edge ei has endpoints vi-1 and vi . A trail : a walk with no repeated edge.

Graph Theory Path and Cycle Path : a sequence of distinct vertices such that two consecutive vertices are adjacent Example: (a, d, c, b, e) is a path (a, b, e, d, c, b, e, d) is not a path; it is a walk Cycle : a closed Path Example: (a, d, c, b, e, a) is a cycle a b c e d

Connected and Disconnected Graph Theory Connected and Disconnected Connected : There exists at least one path between two vertices Disconnected : Otherwise Example: H1 and H2 are connected H3 is disconnected a b d e a b c d c d H3 H1 H2 e

Adjacency, Incidence, and Degree Graph Theory Adjacency, Incidence, and Degree Assume ei is an edge whose endpoints are (vj,vk) The vertices vj and vk are said to be adjacent The edge ei is said to be incident upon vj Degree of a vertex vk is the number of edges incident upon vk . It is denoted as d(vk) ei vj vk

Adjacency matrix Let G = (V, E), |V| = n and |E|=m Graph Theory Adjacency matrix Let G = (V, E), |V| = n and |E|=m The adjacency matrix of G written A(G), is the n-by-n matrix in which entry ai,j is the number of edges in G with endpoints {vi, vj}. w x y z 0 1 1 0 1 0 2 0 1 2 0 1 0 0 1 0 wxyz a b c d e w x y z

Incidence Matrix Let G = (V, E), |V| = n and |E|=m Graph Theory Incidence Matrix Let G = (V, E), |V| = n and |E|=m The incidence matrix M(G) is the n-by-m matrix in which entry mi,j is 1 if vi is an endpoint of ei and otherwise is 0. w a b c d e 1 1 0 0 0 1 0 1 1 0 0 1 1 1 1 0 0 0 0 1 b wxyz y a c z e d x

Graph Theory Special Graphs Complete Graph : a simple graph whose vertices are pairwise adjacent. [ A graph is complete if each vertex is connected to every other vertex.] The complete graph with n vertices is denoted by Kn Complete Graph

Complete Bipartite Graph or Biclique Graph Theory Complete Bipartite Graph or Biclique   Complete Bipartite Graph

Graph Theory Paths A u,v-walk or u,v-trail has first vertex u and last vertex v; these are its endpoints. A u,v-path: a u,v-trail with no repeated vertex. The length of a walk, trail, path, or cycle is its number of edges. A walk or trail is closed if its endpoints are the same.

Graph Theory Even Graph, Even Vertex1.2.24 An even graph is a graph with vertex degrees all even. A vertex is odd [even] when its degree is odd [even].

Regular G is regular if (G ) =  (G ) Graph Theory Regular G is regular if (G ) =  (G ) G is k-regular if the common degree is k. The neighborhood of v, written Ng (v ) or N (v ) is the set of vertices adjacent to v. 3-regular