10.4 Connectivity Dr. Halimah Alshehri.

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

Discrete Mathematics University of Jazeera College of Information Technology & Design Khulood Ghazal Connectivity Lecture _13.
Graphs, representation, isomorphism, connectivity
Graphs CSCI 2720 Spring 2005.
Simple Graph Warmup. Cycles in Simple Graphs A cycle in a simple graph is a sequence of vertices v 0, …, v n for some n>0, where v 0, ….v n-1 are distinct,
Lecture 5 Graph Theory. Graphs Graphs are the most useful model with computer science such as logical design, formal languages, communication network,
Graph-02.
1 Slides based on those of Kenneth H. Rosen Slides by Sylvia Sorkin, Community College of Baltimore County - Essex Campus Graphs.
Applied Discrete Mathematics Week 12: Trees
Discrete Structures Chapter 7B Graphs Nurul Amelina Nasharuddin Multimedia Department.
Introduction to Graphs
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,
Chapter 11 Graphs and Trees This handout: Terminology of Graphs Eulerian Cycles.
9.2 Graph Terminology and Special Types Graphs
GRAPH Learning Outcomes Students should be able to:
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,
Can you connect the dots as shown without taking your pen off the page or drawing the same line twice.
© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Sixth Edition, Mc Graw-Hill, 2007 Chapter 9 (Part 2): Graphs  Graph Terminology (9.2)
Based on slides by Y. Peng University of Maryland
Graphs.  Definition A simple graph G= (V, E) consists of vertices, V, a nonempty set of vertices, and E, a set of unordered pairs of distinct elements.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Introduction to Graph Theory
Graphs 9.1 Graphs and Graph Models أ. زينب آل كاظم 1.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
 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.
Basic properties Continuation
Walks, Paths and Circuits. A graph is a connected graph if it is possible to travel from one vertex to any other vertex by moving along successive edges.
Discrete Structures CISC 2315 FALL 2010 Graphs & Trees.
Graphs. Contents Terminology Graphs as ADTs Applications of Graphs.
Chapter 9: Graphs.
Graphs Definition: a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
رياضيات متقطعة لعلوم الحاسب MATH 226. Chapter 10.
An Introduction to Graph Theory
Applied Discrete Mathematics Week 14: Trees
Graphs: Definitions and Basic Properties
Chapter 9 (Part 2): Graphs
Introduction to Graphs
Applied Discrete Mathematics Week 13: Graphs
Special Graphs By: Sandeep Tuli Astt. Prof. CSE.
Agenda Lecture Content: Introduction to Graph Path and Cycle
Discrete Structures – CNS2300
Introduction to Graphs
Spanning Trees Discrete Mathematics.
Based on slides by Y. Peng University of Maryland
Chapter 13 (Part 1): Graphs
Can you draw this picture without lifting up your pen/pencil?
Graph Theory.
CS100: Discrete structures
G-v, or G-{v} When we remove a vertex v from a graph, we must remove all edges incident with the vertex v. When a edge is removed from a graph, without.
Connectivity Section 10.4.
Trees L Al-zaid Math1101.
10.1 Graphs and Graph Models
Representing Graphs Wade Trappe.
Trees 11.1 Introduction to Trees Dr. Halimah Alshehri.
5 The Mathematics of Getting Around
Trees 11.1 Introduction to Trees Dr. Halimah Alshehri.
Graphs G = (V, E) V are the vertices; E are the edges.
Definition 8: Graphs that have a number assigned to each edge or each vertex are called weighted graphs weighted digraphs.
5/9/2019 Discrete Math II Howon Kim
Paths and Connectivity
9.4 Connectivity.
Paths and Connectivity
Chapter 10 Graphs and Trees
Applied Discrete Mathematics Week 13: Graphs
Based on slides by Y. Peng University of Maryland
GRAPHS.
Chapter 14 Graphs © 2011 Pearson Addison-Wesley. All rights reserved.
Concepts of Computation
Introduction to Graphs
Presentation transcript:

10.4 Connectivity Dr. Halimah Alshehri

Paths Informally, a 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. Definition 1 Let n be a nonnegative integer and G an undirected graph. A path of length n from u to v in G is a sequence of n edges e1 , . . . , en of G such that e1 is associated with {x0, x1}, e2 is associated with {X1 , X2 } , and so on, with en associated with {xn-1 , xn }, where X0= u and Xn=v. When the graph is simple, we denote this path by its vertex sequence X0,X1,…, Xn (because listing these vertices uniquely determines the path). The path is a circuit if it begins and ends at the same vertex, that is, if u = v, and has length greater than zero. The path or circuit is said to pass through the vertices X1 , X2 , . . . , Xn-l or traverse the edges e1 , e2 , . . . , en . A path or circuit is simple if it does not contain the same edge more than once. Dr. Halimah Alshehri

and trail is used to denote a walk that has no repeated Remark: in some books, the term walk is used instead of path, where a walk is defined to be an alternating sequence of vertices and edges of a graph, V0, e1,V1, e2,… , Vn-1, en, Vn , where Vi-1and Vi are the endpoints of ei for i=1,2,…,n . When this terminology is used, closed walk is used instead of circuit to indicate a walk that begins and ends at the same vertex, and trail is used to denote a walk that has no repeated edge (replacing the term simple path). When this terminology is used, the terminology path is often used for a trail with no repeated vertices. Dr. Halimah Alshehri

However, d,e,c,a is not a path, because {e,c} is not an edge. EXAMPLE 1 In the simple graph shown in Figure 1 , a,d,c,f,e is a simple path of length 4, because {a,d}, {d,c } , {c,f}, and {f,e} are all edges. However, d,e,c,a is not a path, because {e,c} is not an edge. Note that b, c, f, e, b is a circuit of length 4 because {b, c}, {c,f}, {f, e}, and {e, b} are edges, and this path begins and ends at b. The path a, b, e, d, a, b, which is of length 5, is not simple because it contains the edge {a,b} twice. Dr. Halimah Alshehri

Let n be a nonnegative integer and G a directed graph. DEFINITION 2 Let n be a nonnegative integer and G a directed graph. A path of length n from u to v in G is a sequence of edges e1,e2,..,en of G such that e1 is associated with (x0 ,x1 ), e2 is associated with (x1, x2), and so on, with en associated with (xn-1,xn), where x0 = u and xn= v. When there are no multiple edges in the directed graph, this path is denoted by its vertex sequence x0 , x1 , x2 , …, xn . A path of length greater than zero that begins and ends at the same vertex is called a circuit or cycle. A path or circuit is called simple if it does not contain the same edge more than once. Dr. Halimah Alshehri

Connectedness In Undirected Graphs DEFINITION 3 An undirected graph is called connected if there is a path between every pair of distinct vertices of the graph. Dr. Halimah Alshehri

However, the graph G2 in Figure 2 is not connected. EXAMPLE 5 The graph G1 in Figure 2 is connected, because for every pair of distinct vertices there is a path between them. However, the graph G2 in Figure 2 is not connected. For instance, there is no path in G2 between vertices a and d. Dr. Halimah Alshehri

Homework Page 689 1(a,b,c,d) 3 Dr. Halimah Alshehri