Vertex-Edge Graphs. Vertex-Edge Graphs In the Georgia Performance Standards. Sarah Holliday Southern Polytechnic State University

Similar documents
6.2. Paths and Cycles

Introduction III. Graphs. Motivations I. Introduction IV

Graph Theory CS/Math231 Discrete Mathematics Spring2015

CHAPTER 10 GRAPHS AND TREES. Alessandro Artale UniBZ - artale/z

CHAPTER 10 GRAPHS AND TREES. Copyright Cengage Learning. All rights reserved.

Junior Circle Meeting 3 Circuits and Paths. April 18, 2010

3 Euler Tours, Hamilton Cycles, and Their Applications

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

Chapter 14 Section 3 - Slide 1

Euler and Hamilton circuits. Euler paths and circuits

Varying Applications (examples)

Introduction to Networks

Graph Theory. Part of Texas Counties.

Euler and Hamilton paths. Jorge A. Cobb The University of Texas at Dallas

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?

Introduction to Engineering Systems, ESD.00. Networks. Lecturers: Professor Joseph Sussman Dr. Afreen Siddiqi TA: Regina Clewlow

Street-Routing Problems

Elements of Graph Theory

MATH 113 Section 9.2: Topology

1. The Highway Inspector s Problem

More NP-complete Problems. CS255 Chris Pollett May 3, 2006.

Grades 7 & 8, Math Circles 31 October/1/2 November, Graph Theory

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

The Traveling Salesman Problem

Week 7: Introduction to Graph Theory. 24 and 26 October, 2018

Intermediate Math Circles Wednesday, February 22, 2017 Graph Theory III

Math 776 Graph Theory Lecture Note 1 Basic concepts

Chapter 11: Graphs and Trees. March 23, 2008

Graph theory: basic concepts

Understand graph terminology Implement graphs using

Chapter 9. Graph Theory

Graphs: Definitions Trails, Paths, and Circuits Matrix Representations Isomorphisms. 11. Graphs and Trees 1. Aaron Tan. 30 October 3 November 2017

11-5 Networks. Königsberg Bridge Problem

Graph theory was invented by a mathematician named Euler in the 18th century. We will see some of the problems which motivated its study.

Graphs And Algorithms

GRAPH THEORY AND COMBINATORICS ( Common to CSE and ISE ) UNIT 1

Grade 7/8 Math Circles Graph Theory - Solutions October 13/14, 2015

Chapter 1 Graph Theory

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

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

EECS 203 Lecture 20. More Graphs

Graphs. Reading Assignment. Mandatory: Chapter 3 Sections 3.1 & 3.2. Peeking into Computer Science. Jalal Kawash 2010

Graph Theory Problems Instructor: Natalya St. Clair. 1 The Seven Bridges of Königsberg Problem

Graphs (MTAT , 6 EAP) Lectures: Mon 14-16, hall 404 Exercises: Wed 14-16, hall 402

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

Basic Combinatorics. Math 40210, Section 01 Fall Homework 4 Solutions

Chapter 5: Euler Paths and Circuits The Mathematics of Getting Around

FINDING THE RIGHT PATH

Graph (1A) Young Won Lim 4/19/18

MTH-129 Review for Test 4 Luczak

of Nebraska - Lincoln

Chapter 3: Paths and Cycles

Lecture 5: Graphs. Rajat Mittal. IIT Kanpur

An Introduction to Graph Theory

Material handling and Transportation in Logistics. Paolo Detti Dipartimento di Ingegneria dell Informazione e Scienze Matematiche Università di Siena

Crossing bridges. Crossing bridges Great Ideas in Theoretical Computer Science. Lecture 12: Graphs I: The Basics. Königsberg (Prussia)

#30: Graph theory May 25, 2009

Discrete Mathematics (2009 Spring) Graphs (Chapter 9, 5 hours)

Math 443/543 Graph Theory Notes

Chapter 5: Euler Paths and Circuits The Mathematics of Getting Around

Graph Theory: Starting Out

Launch problem: Lining streets

Mohammad A. Yazdani, Ph.D. Abstract

Dieter Jungnickel (2008), Graphs, Networks and Algorithms, 3rd edition, which is available online via SpringerLink.

Math for Liberal Arts MAT 110: Chapter 13 Notes

Networks and Graphs: Circuits, Paths, and Graph Structures VII.A Student Activity Sheet 1: Euler Circuits and Paths

Networks and Graphs: Circuits, Paths, and Graph Structures VII.A Student Activity Sheet 1: Euler Circuits and Paths

Pre-Calculus. Slide 1 / 192. Slide 2 / 192. Slide 3 / 192. Matrices

Pre-Calculus Matrices

Discrete Mathematics and Probability Theory Fall 2013 Vazirani Note 7

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))

New Jersey Center for Teaching and Learning. Progressive Mathematics Initiative

Pre-Calculus. Introduction to Matrices. Slide 1 / 192 Slide 2 / 192. Slide 3 / 192. Slide 4 / 192. Slide 6 / 192. Slide 5 / 192. Matrices

Section Graphs, Paths, and Circuits. Copyright 2013, 2010, 2007, Pearson, Education, Inc.

v V Question: How many edges are there in a graph with 10 vertices each of degree 6?

Instant Insanity Instructor s Guide Make-it and Take-it Kit for AMTNYS 2006

Graph Algorithms. A Brief Introduction. 高晓沨 (Xiaofeng Gao) Department of Computer Science Shanghai Jiao Tong Univ.

Fundamentals of Graph Theory MATH Fundamentals of Graph Theory. Benjamin V.C. Collins, James A. Swenson MATH 2730

Math 443/543 Graph Theory Notes

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

Worksheet 28: Wednesday November 18 Euler and Topology

An Interactive Introduction to Graph Theory

Section Graphs, Paths, and Circuits. Copyright 2013, 2010, 2007, Pearson, Education, Inc.

The Matrix-Tree Theorem and Its Applications to Complete and Complete Bipartite Graphs

TWO CONTRIBUTIONS OF EULER

Brief History. Graph Theory. What is a graph? Types of graphs Directed graph: a graph that has edges with specific directions

Number Theory and Graph Theory

Introduction to Graphs

Intermediate Math Circles Wednesday, February 8, 2017 Graph Theory I

AQR UNIT 7. Circuits, Paths, and Graph Structures. Packet #

Graph and Digraph Glossary

Simple graph Complete graph K 7. Non- connected graph

Network Topology and Graph

Graphs. Introduction To Graphs: Exercises. Definitions:

Introduction to Graph Theory

Questions? You are given the complete graph of Facebook. What questions would you ask? (What questions could we hope to answer?)

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

Math 110 Graph Theory II: Circuits and Paths

Graph Theory S 1 I 2 I 1 S 2 I 1 I 2

Transcription:

Vertex-Edge Graphs Vertex-Edge Graphs In the Georgia Performance Standards Sarah Holliday Southern Polytechnic State University

Math III MM3A7. Students will understand and apply matrix representations of vertexedge graphs. a. Use graphs to represent realistic situations. b. Use matrices to represent graphs, and solve problems that can be represented by graphs.

Vertex-Edge Graphs Definitions Families Models Euler circuits Examples Matchings Matrices Hamilton cycles

Definition Set-theoretically, a graph G is a set of vertices V(G), and a set of unordered pairs of elements of V(G), called E(G), the edges. Other definitions for a graph include language (a story problem), visual representations (of dots and lines), integers (operations modulo n), and matrices.

Example V(G)={Alan, Bob, Chad, Dave, Ed, Fred, George} E(G)={(Alan, Chad),(Dave, George), (Ed, Alan), (Bob, Fred), (Bob, Chad), (Chad, Dave), (George, Ed)} F E G D A C B

Subtleties of the definitions Single edges vs. multiple edges

Subtleties of the definitions Single edges vs. multiple edges Simple edges vs hyperedges

Subtleties of the definitions Single edges vs. multiple edges Simple edges vs hyperedges Simple loopless graphs vs loops

Why Sets or Matrices? A visual representation of a graph can be ambiguous; unless drawn carefully vertices can appear or disappear unintentionally.

Why Visual? We can quickly observe symmetry. A visual representation also disguises isomorphisms between graphs.

Petersen Graph representations

Matrix representations Recall the graph of G A Alan, Bob, Chad and their friends. F B The graph is E D C crowded in places and hard to read so we use a matrix to describe it.

Matrix representations The graph is G A defined by the relationships F B between the E D C vertices. Each pair of vertices either does or does not have edge between them.

Definition Adjacency matrix the number in cell (i,j) is the number of edges between vertex i and vertex j. A B C D E F G A 0 0 1 0 1 0 0 B 0 0 1 0 0 1 0 C 1 1 0 1 0 0 0 D 0 0 1 0 0 0 1 E 1 0 0 0 0 0 1 F 0 1 0 0 0 0 0 G 0 0 0 1 1 0 0

Matrix representations A B C D E F G G A A 0 0 1 0 1 0 0 B 0 0 1 0 0 1 0 F B C 1 1 0 1 0 0 0 E D C D 0 0 1 0 0 0 1 E 1 0 0 0 0 0 1 F 0 1 0 0 0 0 0 G 0 0 0 1 1 0 0

Definition F G A B Degree of a vertex is the number of edges sticking out Degree is the number of edges incident to a vertex E D C Degree is the number of neighbors of a vertex

Definition A B C D E F G A 0 0 1 0 1 0 0 B 0 0 1 0 0 1 0 C 1 1 0 1 0 0 0 D 0 0 1 0 0 0 1 Degree of a vertex is the row sum (column sum) E 1 0 0 0 0 0 1 F 0 1 0 0 0 0 0 G 0 0 0 1 1 0 0

Complete Graphs

Complete Graphs 0 1 1 0 0 1 1 1 0 1 1 1 0 0 1 1 1 1 0 1 1 1 1 0 1 1 1 1 0

Complete Bipartite graphs

Complete Bipartite graphs 0 0 1 1 1 0 0 1 1 1 1 1 0 0 0 1 1 0 0 0 1 1 0 0 0 0 0 1 1 1 1 1 0 0 1 1 1 1 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 0 0 0 0 0 1 1 0 0 0 0 0

The Seven Bridges of Königsberg The city of Königsberg in Prussia was set on both sides of the Pregel River, and included two large islands which were connected to each other and the mainland by seven bridges.

The Seven Bridges of Königsberg The problem was to find a walk through the city that would cross each bridge once and only once. The islands could not be reached by any route other than the bridges, and every bridge must have been crossed completely every time (one could not walk half way onto the bridge and then turn around and later cross the other half from the other side).

The Seven Bridges of Königsberg We represent the land masses as vertices of the graph and bridges as edges of the graph.

Euler circuit An Euler circuit in a graph is a sequence of vertices and incident edges that begin and end at the same vertex, and visits each edge EXACTLY once.

The Seven Bridges of Königsberg The problem was to find an Euler circuit in the graph.

Euler circuits In 1735, Euler showed that there was no solution to the seven bridges problem.

Euler Circuits Euler showed that for a graph to have an Euler circuit, all of the vertices have to have even degree (an even number of edges sticking out of each vertex). The graph also has to be

Euler circuits 0 2 1 0 2 0 1 2 1 1 0 1 0 2 1 0

Matchings in graphs Alan, Bob and the G A gang are taking an online interviewing F B class together, and E D C because of geography, only certain members can meet each other.

Matchings in graphs Each interview will G A use a distinct pair of people from the F B class, and ideally, E D C we d like to schedule as many interviews as possible.

Matchings in graphs Each interview will use a distinct pair of people from the class, and ideally, we d like to schedule as many interviews as possible.

Matchings in graphs Each interview will use a distinct pair of people from the class, and ideally, we d like to schedule as many interviews as possible.

Matchings in graphs Each interview will use a distinct pair of people from the class, and ideally, we d like to schedule as many interviews as possible.

Matchings in graphs A B C D E F G A 0 0 1 0 1 0 0 B 0 0 1 0 0 1 0 C 0 0 0 1 0 0 0 D 0 0 0 0 0 0 1 E 0 0 0 0 0 0 1 F 0 0 0 0 0 0 0 G 0 0 0 0 0 0 0 Because each relationship is represented twice in the matrix, we ll create an upper triangular matrix (eliminate the duplicates).

Matchings in graphs A B C D E F G A 0 0 0 0 1 0 0 B 0 0 0 0 0 1 0 C 0 0 0 0 0 0 0 D 0 0 0 0 0 0 0 Each matching will have at most one 1 in any row or column E 0 0 0 0 0 0 1 F 0 0 0 0 0 0 0 G 0 0 0 0 0 0 0

Perfect matching If every vertex is used in a matching, it is called perfect

Perfect matching 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Perfect matching Pair jobs and employees, given some set of restrictions.

Hamilton s puzzle In 1859, Hamilton posed the problem of a traveler who wished to visit each of the twenty cities listed using only the indicated edges as travel routes.

Traveling salesman problem In 1930, the problem of the traveling salesman is posed: he wishes to start at his home, visit all the points in his area and return home as quickly as possible.

Hamilton cycle The TSP and Hamilton s puzzle are both asking us to find a Hamilton cycle in a graph. (The TSP will often vary the lengths of the edges as a challenge.)

Hamilton cycle A Hamilton cycle in a graph is a sequence of vertices and incident edges that visit each vertex EXACTLY once.

Hamilton cycle Determining whether or not a given graph has a Hamilton cycle is an NPcomplete problem. We can determine some conditions for the presence of a Hamilton cycle.

Hamilton cycle

Hamilton cycle

Complete Graphs

Complete Bipartite graphs

Petersen Graph representations

Example V(G)={Alan, Bob, Chad, Dave, Ed, Fred, George} E(G)={(Alan, Chad),(Dave, George), (Ed, Alan), (Bob, Fred), (Bob, Chad), (Chad, Dave), (George, Ed)} F E G D A C B