Introduction to Graph Theory

Slides:



Advertisements
Similar presentations
Chapter 8 Topics in Graph Theory
Advertisements

Lecture 5 Graph Theory. Graphs Graphs are the most useful model with computer science such as logical design, formal languages, communication network,
22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.
Introduction to Graph Theory Instructor: Dr. Chaudhary Department of Computer Science Millersville University Reading Assignment Chapter 1.
Walks, Paths and Circuits Walks, Paths and Circuits Sanjay Jain, Lecturer, School of Computing.
Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 – CHAPTER 4 GRAPHS 1.
Graph-02.
Lecture 21 Paths and Circuits CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Section 14.1 Intro to Graph Theory. Beginnings of Graph Theory Euler’s Konigsberg Bridge Problem (18 th c.)  Can one walk through town and cross all.
Pamela Leutwyler. A river flows through the town of Konigsburg. 7 bridges connect the 4 land masses. While taking their Sunday stroll, the people of Konigsburg.
Koenigsberg bridge problem It is the Pregel River divided Koenigsberg into four distinct sections. Seven bridges connected the four portions of Koenigsberg.
Decision Maths Graphs Wiltshire Graphs A graph is just a diagram made up of “dots” and “lines”. These are all graphs. The dots are called “nodes” or.
What is the first line of the proof? a). Assume G has an Eulerian circuit. b). Assume every vertex has even degree. c). Let v be any vertex in G. d). Let.
Discrete Structures Chapter 7B Graphs Nurul Amelina Nasharuddin Multimedia Department.
Representing Graphs Wade Trappe. Lecture Overview Introduction Some Terminology –Paths Adjacency Matrix.
Discrete Structures Chapter 7A Graphs Nurul Amelina Nasharuddin Multimedia Department.
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
Drawing of G. Planar Embedding of G Proposition Proof. 1. Consider a drawing of K 5 or K 3,3 in the plane. Let C be a spanning cycle. 2. If the.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 5,Wednesday, September 10.
Graphs. Graph A “graph” is a collection of “nodes” that are connected to each other Graph Theory: This novel way of solving problems was invented by a.
Chapter 11 Graphs and Trees This handout: Terminology of Graphs Eulerian Cycles.
MTH118 Sanchita Mal-Sarkar. Routing Problems The fundamental questions: Is there any proper route for the particular problem? If there are many possible.
Discrete Mathematics Lecture 9 Alexander Bukharovich New York University.
Eulerian Graphs CSE 331 Section 2 James Daly. Reminders Project 3 is out Covers graphs Due Friday.
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,
5.1  Routing Problems: planning and design of delivery routes.  Euler Circuit Problems: Type of routing problem also known as transversability problem.
(CSC 102) Lecture 29 Discrete Structures. Graphs.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Can you connect the dots as shown without taking your pen off the page or drawing the same line twice.
7.1 and 7.2: Spanning Trees. A network is a graph that is connected –The network must be a sub-graph of the original graph (its edges must come from the.
CSNB143 – Discrete Structure Topic 9 – Graph. Learning Outcomes Student should be able to identify graphs and its components. Students should know how.
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.
5.4 Graph Models (part I – simple graphs). Graph is the tool for describing real-life situation. The process of using mathematical concept to solve real-life.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Lecture 14: Graph Theory I Discrete Mathematical Structures: Theory and Applications.
1.5 Graph Theory. Graph Theory The Branch of mathematics in which graphs and networks are used to solve problems.
Lecture 10: Graph-Path-Circuit
Vertex-Edge Graphs Euler Paths Euler Circuits. The Seven Bridges of Konigsberg.
Associated Matrices of Vertex Edge Graphs Euler Paths and Circuits Block Days April 30, May 1 and May
Graph theory and networks. Basic definitions  A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins.
MAT 2720 Discrete Mathematics Section 8.2 Paths and Cycles
Chapter 6: Graphs 6.1 Euler Circuits
Basic properties Continuation
Review Euler Graph Theory: DEFINITION: A NETWORK IS A FIGURE MADE UP OF POINTS (VERTICES) CONNECTED BY NON-INTERSECTING CURVES (ARCS). DEFINITION: A VERTEX.
1 Graphs Terminology By: Sandeep Tuli Astt. Prof. CSE.
Introduction to Graph Theory
Chapter 11 - Graph CSNB 143 Discrete Mathematical Structures.
1) Find and label the degree of each vertex in the graph.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
CSNB 143 Discrete Mathematical Structures
Graphs: Definitions and Basic Properties
Graphs Hubert Chan (Chapter 9) [O1 Abstract Concepts]
Graph Theory CSRU1400, Fall 2007 Ellen Zhang.
Grade 11 AP Mathematics Graph Theory
Konigsberg’s Seven Bridges
Can you draw this picture without lifting up your pen/pencil?
Introduction to Graph Theory Euler and Hamilton Paths and Circuits
Graph Theory.
Graph.
Walks, Paths, and Circuits
Decision Maths Graphs.
Graph Theory What is a graph?.
Representing Graphs Wade Trappe.
Euler and Hamilton Paths
Applied Combinatorics, 4th Ed. Alan Tucker
Warm Up – 3/19 - Wednesday Give the vertex set. Give the edge set.
Chapter 10 Graphs and Trees
Warm Up – 3/17 - Monday A) List the set of vertices.
Presentation transcript:

Introduction to Graph Theory Section 7.1 Introduction to Graph Theory

Euler trails and circuits Can you draw the following picture without lifting your pencil?

Euler trails and circuits Can you draw the following picture without lifting your pencil?

Euler trails and circuits Can you draw the following picture without lifting your pencil? 3, 2, 1, 5, 4, 6, 5, 2, 6, 3, 4

The “geographic” context Can you tour the following city using every bridge exactly once?

The graph model Can you tour the following city using every bridge exactly once?

The graph model Can you tour the following city using every bridge exactly once?

Definitions A graph consists of vertices (or nodes) and edges connecting pairs of vertices. A walk is a list v1, e1, v2, e2, …, vn, where the edges (“e”s) connect the vertices they fall between them. When there are no multiple (parallel) edges, we do not need to list the edges in our description of a walk. A walk is closed if v1 = vn.

Definitions A trail is a walk with no repeated edges, and a closed trail is called a circuit. An Euler trail (or Euler circuit) is one that uses every edge in the graph. A cycle is a nontrivial circuit in which the only repeated node is the first/last one.

Example The walk C,1,D,5,B is a trail. The walk A,2,C,3,A is a circuit. Since edges 2 and 3 have the same endpoints (A and C), we call them “multiple edges” or “parallel edges.” The walk A,7,B,5,D,5,B,6,A is a closed walk that is not a circuit.

More terminology A loop is an edge that has the same vertex at each end. The degree of a vertex is the number of edges “coming out” of the vertex. A simple graph is a graph with no loops or multiple edges. A graph is connected if between every pair of vertices there is a walk.

Examples Deg(1) = ____ Deg(2) = ____ Deg(3) = ____ Deg(4) = ____ This is a simple graph because it has no loops or multiple edges. The walk 1,2,3,4,6,2,5 is a trail. The walk 1, 2, 6, 5, 1 is a circuit. The walk 3, 2, 1, 5, 4, 6, 5, 2, 6, 3, 4 is an Euler trail.

Practice Find the number of nodes and the number of edges in G. Find the degree of each node. Compare the sum of the degrees and the number of edges.

Euler’s result Theorem. If every vertex of a connected graph has even degree, then the graph has an Euler circuit. Corollary. If there are exactly two vertices of odd degree in a connected graph, then the graph has an Euler trail.

Practice Find an Euler trail or Euler circuit or explain why none exists.

Practice Find an Euler trail or Euler circuit or explain why none exists.

Exercises from Section 7.1 1-4, 6-11, 13-16