22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

Discrete Mathematics 6. GRAPHS Lecture 10 Dr.-Ing. Erwin Sitompul
Chapter 8 Topics in Graph Theory
Chapter 9 Graphs.
Introduction to Graph Theory Instructor: Dr. Chaudhary Department of Computer Science Millersville University Reading Assignment Chapter 1.
22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
Midwestern State University Department of Computer Science Dr. Ranette Halverson CMPS 2433 – CHAPTER 4 GRAPHS 1.
Graph-02.
 期中测验时间:本周五上午 9 : 40  教师 TA 答疑时间 : 周三晚上 6 : 00—8 : 30  地点:软件楼 315 房间,  教师 TA :李弋老师  开卷考试.
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.
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.
C++ Programming: Program Design Including Data Structures, Third Edition Chapter 21: Graphs.
Discrete Structures Chapter 7B Graphs Nurul Amelina Nasharuddin Multimedia Department.
Lists A list is a finite, ordered sequence of data items. Two Implementations –Arrays –Linked Lists.
Introduction to Graphs
CSE 321 Discrete Structures Winter 2008 Lecture 25 Graph Theory.
Chapter 11 Graphs and Trees This handout: Terminology of Graphs Eulerian Cycles.
22C:19 Discrete Math Graphs Spring 2014 Sukumar Ghosh.
GRAPH Learning Outcomes Students should be able to:
Graphs Chapter 10.
CS 2210(22C:19) Discrete Math Graphs
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 Topics to be covered:
Structures 7 Decision Maths: Graph Theory, Networks and Algorithms.
© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Sixth Edition, Mc Graw-Hill, 2007 Chapter 9 (Part 2): Graphs  Graph Terminology (9.2)
1 CS104 : Discrete Structures Chapter V Graph Theory.
CS 200 Algorithms and Data Structures
Mathematics of Networks (Cont)
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.
Week 11 - Monday.  What did we talk about last time?  Binomial theorem and Pascal's triangle  Conditional probability  Bayes’ theorem.
Data Structures & Algorithms Graphs
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
Basic Notions on Graphs. The House-and-Utilities Problem.
1 12/2/2015 MATH 224 – Discrete Mathematics Formally a graph is just a collection of unordered or ordered pairs, where for example, if {a,b} G if a, b.
September1999 CMSC 203 / 0201 Fall 2002 Week #13 – 18/20/22 November 2002 Prof. Marie desJardins.
Introduction to Graph Theory
Topics Paths and Circuits (11.2) A B C D E F G.
Graphs Edge(arc) Vertices can be even or odd or undirected (two-way) Edges can be directed (one-way) This graph is connected. Degree(order) = 3 Odd vertex.
1.5 Graph Theory. Graph Theory The Branch of mathematics in which graphs and networks are used to solve problems.
Discrete Mathematical Structures: Theory and Applications
Graph Theory and Applications
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.
Graphs and 2-Way Bounding Discrete Structures (CS 173) Madhusudan Parthasarathy, University of Illinois 1 /File:7_bridgesID.png.
Introduction to Graph Theory
Graph theory and networks. Basic definitions  A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins.
And before you really hate (mathematical) relations and begin to break your (social) relations, let’s switch to a new topic: Graphs Discrete Structures.
MAT 2720 Discrete Mathematics Section 8.2 Paths and Cycles
Lecture 52 Section 11.2 Wed, Apr 26, 2006
Chapter 6: Graphs 6.1 Euler Circuits
Chapter 9: Graphs.
Introduction to Graph Theory By: Arun Kumar (Asst. Professor) (Asst. Professor)
Chapter 20: Graphs. Objectives In this chapter, you will: – Learn about graphs – Become familiar with the basic terminology of graph theory – Discover.
Graph Theory Graph Theory - History Leonhard Euler's paper on “Seven Bridges of Königsberg”, published in 1736.
Grade 11 AP Mathematics Graph Theory Definition: A graph, G, is a set of vertices v(G) = {v 1, v 2, v 3, …, v n } and edges e(G) = {v i v j where 1 ≤ i,
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
Leda Demos By: Kelley Louie Credits: definitions from Algorithms Lectures and Discrete Mathematics with Algorithms by Albertson and Hutchinson graphics.
رياضيات متقطعة لعلوم الحاسب MATH 226. Chapter 10.
Homework 8 Graph G is given by the figure below.
Graphs Hubert Chan (Chapter 9) [O1 Abstract Concepts]
Graph theory Definitions Trees, cycles, directed graphs.
Agenda Lecture Content: Introduction to Graph Path and Cycle
EECS 203 Lecture 20 More Graphs.
Discrete Maths 9. Graphs Objective
Introduction to Graph Theory Euler and Hamilton Paths and Circuits
Graph Theory.
Graph.
Graphs Chapter 13.
Discrete Math II Howon Kim
Decision Maths Graphs.
Presentation transcript:

22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh

Seven Bridges of K ⍥ nigsberg Is it possible to walk along a route that cross each bridge exactly once?

Seven Bridges of K ⍥ nigsberg

A Graph

What is a Graph A graph G = (V, E) consists of V, a nonempty set of vertices (or nodes) and E, a set of edges. Each edge connects a pair of nodes that are called its endpoints. Graphs are widely used to model various systems in the real world

Back to the Bridges of K ⍥ nigsberg

Euler’s solution

Euler path

Simple graph

Types of graph

Definitions Simple graphs vs. multi-graphs Undirected vs. directed graphs (digraphs) Multiple edges between some pair of nodes At most one edge between a pair of nodes Each edge between a pair of nodes is directed, and represents an ordered pair

More examples of graphs Web graphs Each node denotes an actor or an actress, and each edge between P and Q denotes that P, Q worked together in some movie Each node denotes a web page, and each edge from page P to Q Q denotes a link on page P pointing to page Q. It is a directed graph Each node denotes a web page, and each edge from page P to Q Q denotes a link on page P pointing to page Q. It is a directed graph Hollywood graph

Application: Exam scheduling

Problems in a computer network

Application: graph orientation

Vertex degree

Degree sequence

Handshaking theorem

A theorem THEOREM. An undirected graph has even number of vertices of odd degree. Can you prove this? It should follow from the handshaking theorem.

Review of basic definitions

Types of graphs

Complete graph: All vertices are adjacent Wheel graph The n-cube graph n=3

Types of graphs Bipartite graph A simple graph is called bipartite if its vertex set V can be partitioned into two disjoint subsets V1 and V2, such that every edge in the graph connects a vertex in V1 to a vertex in V2. Can always be colored using two colors.

Subgraphs

Computer representation of graphs (taken from Wolfram Mathworld) ADJACENCY MATRIX

Computer representation of graphs ADJACENCY LIST VertexAdjacent to , 4 1, 2 Can be represented as a linked list

Graph isomorphism

Connectivity  An undirected graph is connected if there is a path between every pair of distinct vertices of the graph.  A connected component is the maximal connected subgraph of the given graph.

Connectivity in directed graphs A directed graph is strongly connected if there is a path from any vertex a to any other vertex b of the graph. A directed graph is weakly connected if there is a path between any two vertices of the underlying undirected graph.

More definitions Vertex cover is a famous problem in graph theory

Euler path vs. Hamiltonian path Hamiltonian path = A path that passes through every vertex exactly once. A closed path is a Hamiltonian circuit or cycle. Euler path = A path that includes every edge exactly once. A closed path is a Euler circuit or cycle. We have reviewed Euler path in the 7-bridges of Konigsberg Problem.

Hamiltonian path Does the above graph have a Hamiltonian cycle? No! Hamiltonian circuit/cycle colored red

Traveling Salesman Problem (TSP) A traveling salesman wants to visit each of n cities exactly once, and then return to the starting point. In which order should he visit the cities to travel the minimum total distance? TSP = Computing the minimum cost Hamiltonian circuit. TSP is an extremely complex problem to solve (NP-complete) An optimal TSP tour through Germany’s largest cities (Source: Wikipedia)

Planar Graph A planar graph is one that can be embedded in the plane, i.e., it can be drawn on the plane in such a way that its edges do not intersect except only at their endpoints. K4K4 K5K5 K 3,3 Butterfly Non-planar planar Non-planar