Graphs, Puzzles, & Map Coloring

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,
Introduction to Graph Theory Instructor: Dr. Chaudhary Department of Computer Science Millersville University Reading Assignment Chapter 1.
Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 – CHAPTER 4 GRAPHS 1.
Graph Theory: Euler Circuits Christina Mende Math 480 April 15, 2013.
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.
Graphs Chapter 20 Data Structures and Problem Solving with C++: Walls and Mirrors, Carrano and Henry, © 2013.
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.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
Homework collection Thursday 3/29 Read Pages 160 – 174 Page 185: 1, 3, 6, 7, 8, 9, 12 a-f, 15 – 20.
Chapter 11 Graphs and Trees This handout: Terminology of Graphs Eulerian Cycles.
Graphs and Trees This handout: Terminology of Graphs Applications of Graphs.
Discrete Math Round, Round, Get Around… I Get Around Mathematics of Getting Around.
Can you find a way to cross every bridge only once?
GRAPH Learning Outcomes Students should be able to:
Programming for Geographical Information Analysis: Advanced Skills Online mini-lecture: Introduction to Networks Dr Andy Evans.
Slide 14-1 Copyright © 2005 Pearson Education, Inc. SEVENTH EDITION and EXPANDED SEVENTH EDITION.
Graph Theory Topics to be covered:
5.1  Routing Problems: planning and design of delivery routes.  Euler Circuit Problems: Type of routing problem also known as transversability problem.
© Nuffield Foundation 2011 Nuffield Free-Standing Mathematics Activity Chinese postman problems What route can I take to avoid going along the same street.
Structures 7 Decision Maths: Graph Theory, Networks and Algorithms.
Can you connect the dots as shown without taking your pen off the page or drawing the same line twice.
Euler and Hamilton Paths. Euler Paths and Circuits The Seven bridges of Königsberg a b c d A B C D.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
Lesson Reflection for Chapter 14 Section 6 Pre-Algebra Learning Goal Students will understand collecting, displaying, & analyzing data.
Lines, Angles, & Circles MATH 102 Contemporary Math S. Rook.
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.
Examples Euler Circuit Problems Unicursal Drawings Graph Theory
Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 4.1, Slide 1 4 Graph Theory (Networks) The Mathematics of Relationships 4.
Introduction to Graph Theory
Aim: What is an Euler Path and Circuit?
Topics Paths and Circuits (11.2) A B C D E F G.
1.5 Graph Theory. Graph Theory The Branch of mathematics in which graphs and networks are used to solve problems.
Graph Theory. A branch of math in which graphs are used to solve a problem. It is unlike a Cartesian graph that we used throughout our younger years of.
Lecture 10: Graph-Path-Circuit
AND.
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
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
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.
M Clements Formal Network Theory. Introduction Practical problem – The Seven Bridges of Königsberg Network graphs Nodes & edges Degrees Rules/ axioms.
Chapter 11 - Graph CSNB 143 Discrete Mathematical Structures.
Introduction to Graph Theory
1) Find and label the degree of each vertex in the graph.
Classwork Quiz Worksheet Homework (day 54) Worksheet (1-7) Walks, Paths and Circuits SOL: DM.1.
EECS 203 Lecture 19 Graphs.
CSNB 143 Discrete Mathematical Structures
Çizge Algoritmaları.
Agenda Lecture Content: Introduction to Graph Path and Cycle
EECS 203 Lecture 20 More Graphs.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett
UNIT 1: EULER CIRCUITS GRAPH THEORY.
Discrete Maths 9. Graphs Objective
Can you draw this picture without lifting up your pen/pencil?
Introduction to Graph Theory Euler and Hamilton Paths and Circuits
Graph Theory.
Graphs Chapter 13.
Nuffield Free-Standing Mathematics Activity
Konigsberg- in days past.
Decision Maths Graphs.
Graph Theory What is a graph?.
5 The Mathematics of Getting Around
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:

Graphs, Puzzles, & Map Coloring MATH 102 Contemporary Math S. Rook

Overview Section 4.1 in the textbook: Graph terminology Graph tracing More with graphs Graph coloring

Graph Terminology

Graph Theory Very useful to model all sorts of different problems e.g. most efficient way to travel from point A to point B (MapQuest), computer networks Graph theory is not exclusive to mathematics Used in other fields such as sociology and political science i.e. used to show the connections between objects

Graphs A graph is comprised of a finite set of points called vertices which are connected by one or more lines called edges Vertices are usually marked with solid dots and labeled An edge is named by referring to the two vertices it connects Adjust naming if two or more edges connect the same pair of vertices What are the edges and vertices of the given graph?

Graphs (Continued) Only the vertices and the edges that connect them are important, NOT the shape of a graph! e.g. Redraw the graph on the previous slide so that it still illustrates the same relationships When naming edges in a general graph, order is NOT important Order IS important for a directed graph which has edges that go only in one direction rather than two e.g. What type of edges would go in only one direction in the graph of a road map?

Graph Tracing

Graph Tracing To trace a graph, we start at a vertex and traverse all edges of the graph ONCE i.e. No edge can be used twice Not all graphs can be traced A graph is connected if it is possible to start from a vertex and reach any other vertex by following edges A bridge is an edge such that if it is removed, the graph is no longer connected Is the following graph connected? What are the bridges?

Graph Tracing (Continued) An odd vertex has an odd number of edges entering into it; an even vertex has an even number of edges entering into it e.g. Consider the graph on the previous slide. List the set of odd vertices and the set of even vertices Euler’s Theorem on Graph Tracing: A graph can be traced if: The graph is connected AND The graph has zero OR two odd vertices If the graph has two odd vertices, the tracing must start with one odd vertex and end at the other See pages 141-2 in the textbook for theory

Graph Tracing (Example) Ex 1: Determine whether the graph can be traced. Explain: a) b)

More with Graphs

More with Graphs Path: a traversal of edges from one vertex to another vertex WITHOUT repeating an edge The number of edges in a path is called the length Euler Path: a path which contains all the edges of a graph i.e. Graph tracing Euler Circuit: an Euler path which starts and ends at the same vertex Eulerian Graph: a graph that contains ALL even vertices AND is guaranteed to have an Euler Circuit

More with Graphs (Continued) Recall the definition of an Eulerian Graph: Every vertex must be even To Eulerize a graph, we add edges to the graph so that all vertices are even Can only duplicate pre-existing edges (i.e. cannot create an edge)

More with Graphs (Example) Ex 2: Consider the following for each graph: a) Is the graph traceable? Find a path from F to C. What is the length of the path? c) Eulerize the graph

Graph Coloring

Graph Coloring To color a graph, we assign “colors” to each vertex such that no two vertices that are connected with an edge are the same “color” Can use numbers or symbols besides colors Coloring the vertices of a graph is a historical problem in graph theory See page 147 in the textbook The vertices of the same “color” can be used to partition objects into non-conflicting groups

Graph Coloring (Example) Ex 3: Problem 52 on page 151 of the textbook

Summary After studying these slides, you should know how to do the following: Understand graph terminology Determine whether a graph is traceable Eulerize a graph Use graph coloring to solve problems Additional Practice: See suggested problems in 4.1 Next Lesson: Calculating in Other Bases (Section 5.3)