Simple Graphs Degrees, Isomorphism, Paths



Similar documents
Discrete Mathematics & Mathematical Reasoning Chapter 10: Graphs

Midterm Practice Problems

Graph Theory Lecture 3: Sum of Degrees Formulas, Planar Graphs, and Euler s Theorem Spring 2014 Morgan Schreffler Office: POT 902

V. Adamchik 1. Graph Theory. Victor Adamchik. Fall of 2005

Outline. NP-completeness. When is a problem easy? When is a problem hard? Today. Euler Circuits

Sum of Degrees of Vertices Theorem

Euler Paths and Euler Circuits

CMPSCI611: Approximating MAX-CUT Lecture 20

Outline 2.1 Graph Isomorphism 2.2 Automorphisms and Symmetry 2.3 Subgraphs, part 1

136 CHAPTER 4. INDUCTION, GRAPHS AND TREES

Graph Theory Problems and Solutions

Analysis of Algorithms, I

Class One: Degree Sequences

Degree Hypergroupoids Associated with Hypergraphs

6.852: Distributed Algorithms Fall, Class 2

Discrete Mathematics Problems

1 Definitions. Supplementary Material for: Digraphs. Concept graphs

Connectivity and cuts

Graph Theory and Complex Networks: An Introduction. Chapter 06: Network analysis

P. Jeyanthi and N. Angel Benseera

COMBINATORIAL PROPERTIES OF THE HIGMAN-SIMS GRAPH. 1. Introduction

Labeling outerplanar graphs with maximum degree three

Finding and counting given length cycles

CS 598CSC: Combinatorial Optimization Lecture date: 2/4/2010

Social Media Mining. Graph Essentials

On Integer Additive Set-Indexers of Graphs

Graph theory and network analysis. Devika Subramanian Comp 140 Fall 2008

Tools for parsimonious edge-colouring of graphs with maximum degree three. J.L. Fouquet and J.M. Vanherpe. Rapport n o RR

The Clar Structure of Fullerenes

Every tree contains a large induced subgraph with all degrees odd

CS311H. Prof: Peter Stone. Department of Computer Science The University of Texas at Austin

SPERNER S LEMMA AND BROUWER S FIXED POINT THEOREM

Graph Theory and Complex Networks: An Introduction. Chapter 06: Network analysis. Contents. Introduction. Maarten van Steen. Version: April 28, 2014

Solutions to Homework 6 Mathematics 503 Foundations of Mathematics Spring 2014

Distributed Computing over Communication Networks: Maximal Independent Set

Zachary Monaco Georgia College Olympic Coloring: Go For The Gold

GRAPH THEORY LECTURE 4: TREES

The Open University s repository of research publications and other research outputs

Handout #Ch7 San Skulrattanakulchai Gustavus Adolphus College Dec 6, Chapter 7: Digraphs

Misleading Stars: What Cannot Be Measured in the Internet?

MATHEMATICAL ENGINEERING TECHNICAL REPORTS. An Improved Approximation Algorithm for the Traveling Tournament Problem

6.3 Conditional Probability and Independence

Total colorings of planar graphs with small maximum degree

The Independence Number in Graphs of Maximum Degree Three

THE PROBLEM WORMS (1) WORMS (2) THE PROBLEM OF WORM PROPAGATION/PREVENTION THE MINIMUM VERTEX COVER PROBLEM

Triangle deletion. Ernie Croot. February 3, 2010

Algorithm Design and Analysis

8.1 Min Degree Spanning Tree

Problem Set 7 Solutions


Social Media Mining. Network Measures

Chapter Load Balancing. Approximation Algorithms. Load Balancing. Load Balancing on 2 Machines. Load Balancing: Greedy Scheduling

FIBRATION SEQUENCES AND PULLBACK SQUARES. Contents. 2. Connectivity and fiber sequences. 3

Introduction to Graph Theory

Approximation Algorithms

8. Matchings and Factors

Solutions to In-Class Problems Week 4, Mon.

An Overview of the Degree/Diameter Problem for Directed, Undirected and Mixed Graphs

Cycles in a Graph Whose Lengths Differ by One or Two

5 Graph Theory. 5.1 Definitions Simple Graphs. mcs-ftl 2010/9/8 0:40 page 121 #127

Types of Degrees in Bipolar Fuzzy Graphs

On three zero-sum Ramsey-type problems

SHORT CYCLE COVERS OF GRAPHS WITH MINIMUM DEGREE THREE

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. #-approximation algorithm.

How To Solve The Stable Roommates Problem

Removing Even Crossings

Approximated Distributed Minimum Vertex Cover Algorithms for Bounded Degree Graphs

! Solve problem to optimality. ! Solve problem in poly-time. ! Solve arbitrary instances of the problem. !-approximation algorithm.

UPPER BOUNDS ON THE L(2, 1)-LABELING NUMBER OF GRAPHS WITH MAXIMUM DEGREE

Answer: (a) Since we cannot repeat men on the committee, and the order we select them in does not matter, ( )

Subset feedback vertex set is fixed parameter tractable

Lecture 7: NP-Complete Problems

SHARP BOUNDS FOR THE SUM OF THE SQUARES OF THE DEGREES OF A GRAPH

Extremal Wiener Index of Trees with All Degrees Odd

P versus NP, and More

On the Relationship between Classes P and NP

A Sublinear Bipartiteness Tester for Bounded Degree Graphs

Dimitris Chatzidimitriou. Corelab NTUA. June 28, 2013

A MEASURE OF GLOBAL EFFICIENCY IN NETWORKS. Aysun Aytac 1, Betul Atay 2. Faculty of Science Ege University 35100, Bornova, Izmir, TURKEY

The Goldberg Rao Algorithm for the Maximum Flow Problem

Connected Identifying Codes for Sensor Network Monitoring

Planar Graphs. Complement to Chapter 2, The Villas of the Bellevue

CIS 700: algorithms for Big Data

Minimum degree condition forcing complete graph immersion

Chapter 7: Products and quotients

it is easy to see that α = a

DEGREES OF CATEGORICITY AND THE HYPERARITHMETIC HIERARCHY

Applied Algorithm Design Lecture 5

Tree-representation of set families and applications to combinatorial decompositions

Degree-3 Treewidth Sparsifiers

DATA ANALYSIS II. Matrix Algorithms

Odd induced subgraphs in graphs of maximum degree three

Graphical degree sequences and realizations

A 2-factor in which each cycle has long length in claw-free graphs

The Basics of Graphical Models

Max Flow, Min Cut, and Matchings (Solution)

Network Flow I. Lecture Overview The Network Flow Problem

On the crossing number of K m,n

An inequality for the group chromatic number of a graph

Non-Separable Detachments of Graphs

Transcription:

Mathematics for Computer Science MIT 6.042J/18.062J Simple Graphs Degrees, Isomorphism, Types of Graphs Simple Graph this week Multi-Graph Directed Graph next week Albert R Meyer, March 10, 2010 lec 6W.1 Albert R Meyer, March 10, 2010 lec 6W.2 A simple graph: A Simple Graph edge Definition: A simple graph G consists of a nonempty set, V, of vertices a set, E, of edges edge = set of 2 vertices) vertices, V undirected edges, E ::= {, } adjacent Albert R Meyer, March 10, 2010 lec 6W.3 Albert R Meyer, March 10, 2010 lec 6W.5 Vertex degree degree of a vertex is # of incident edges deg ) = 2 Vertex degree degree of a vertex is # of incident edges deg ) = 4 Albert R Meyer, March 10, 2010 lec 6W.9 Albert R Meyer, March 10, 2010 lec 6W.10 1

Possible Impossible Graph? Graph Is there a graph with vertex degrees 2,2,1? Handshaking Lemma sum of degrees is twice # edges NO! 2 2 orphaned edge 1 Proof: Each edge contributes 2 to the sum on the right Albert R Meyer, March 10, 2010 lec 6W.11 Albert R Meyer, March 10, 2010 lec 6W.12 Handshaking Lemma sum of degrees is twice # edges 2+2+1 = odd, so impossible Albert R Meyer, March 10, 2010 lec 6W.13 Sex in America: Men more Promiscuous? Study claims: Men average many more partners than women. Graph theory shows this is nonsense Albert R Meyer, March 10, 2010 lec 6W.14 Sex Partner Graph Counting pairs of partners M F now divide by both sides by M partners avg-degm) avg-degf) Albert R Meyer, March 10, 2010 lec 6W.15 Albert R Meyer, March 10, 2010 lec 6W.16 2

Average number of partners 1.035 Averages differ solely by ratio of females to males. No big difference Nothing to do with promiscuity picture of a graph 257 122 67 99 145 306 Albert R Meyer, March 10, 2010 lec 6W.17 Albert R Meyer, March 10, 2010 lec 6W.20 picture of same graph 257 122 67 picture of same graph 257 67 122 99 99 145 306 145 306 Albert R Meyer, March 10, 2010 lec 6W.21 Albert R Meyer, March 10, 2010 lec 6W.22 picture of same graph 67 122 99 257 145 306 All that matters are the connections: graphs with the same connections are isomorphic Albert R Meyer, March 10, 2010 lec 6W.23 Albert R Meyer, March 10, 2010 lec 6W.28 3

Isomorphism two graphs are isomorphic when there is an edge-preserving matching of their vertices. Albert R Meyer, March 10, 2010 lec 6W.29 Dog Are these isomorphic? Pig Cow Cat Beef Tuna fdog) = Beef fcat) = Tuna Hay Corn fcow) = Hay fpig) = Corn Albert R Meyer, March 10, 2010 lec 6W.30 Edges preserved? Edges preserved? YES! Dog Pig Hay Dog Pig Hay Corn Corn Cow Cat Beef Tuna Cow Cat Beef Tuna Albert R Meyer, March 10, 2010 lec 6W.31 Albert R Meyer, March 10, 2010 lec 6W.32 Nonedges preserved? YES! Formal Def of Graph Isomorphism Dog Pig Hay G 1 isomorphic to G 2 means edge-preserving vertex matching: Corn Cow Cat Beef Tuna bijection f:v 1 V 2 with u v in E 1 iff fu) fv) in E 2 isomorphic! Albert R Meyer, March 10, 2010 lec 6W.34 Albert R Meyer, March 10, 2010 lec 6W.35 4

Nonisomorphism degree 2 all degree 3 Proving nonisomorphism If some property preserved by isomorphism differs for two graphs, then they re not isomorphic: # of nodes, # of edges, degree distributions,. Albert R Meyer, March 10, 2010 lec 6W.36 March 10, 2010 lec 6W.37 Finding an isomorphism? Are these two graphs isomorphic? many possible mappings: large search can use properties preserved by isomorphisms as a guide, for example: a deg 4 vertex adjacent to a deg 3 can only match with a deg 4 vertex also adjacent to a deg 3 but even so...nothing known is sure to be much faster than searching thru all bijections for an isomorphism Albert R Meyer, March 10, 2010 lec 6W.38 March 10, 2010 lec 6W.39 Source unknown. All rights reserved. This content is excluded from our Creative Commons license. For more information, see http://ocw.mit.edu/fairuse. Albert R Meyer, March 10, 2010 lec 6W.41 Albert R Meyer, March 10, 2010 lec 6W.42 5

Albert R Meyer, March 10, 2010 lec 6W.43 Albert R Meyer, March 10, 2010 lec 6W.44 ) Albert R Meyer, March 10, 2010 lec 6W.45 Albert R Meyer, March 10, 2010 lec 6W.46 Connectedness two vertices are connected iff there is a path from one to the other. a graph is connected iff every two vertices are connected. Simple Simple Path: all vertices different ) Albert R Meyer, March 10, 2010 lec 6W.47 Albert R Meyer, March 10, 2010 lec 6W.48 6

Simple Simple Path: doesn t cross itself) ) & Simple Lemma: The shortest path between two vertices is simple! Proof: by contradiction) suppose path from u to v crossed itself: u c v Albert R Meyer, March 10, 2010 lec 6W.49 Albert R Meyer, March 10, 2010 lec 6W.50 & Simple Lemma: The shortest path between two vertices is simple! then Proof: path by contradiction) without c---c suppose is path shorter! from u to v crossed itself: u c v Team Problems Problems 1 3 Albert R Meyer, March 10, 2010 lec 6W.51 Albert R Meyer, March 10, 2010 lec 6W.53 7

MIT OpenCourseWare http://ocw.mit.edu 6.042J / 18.062J Mathematics for Computer Science Spring 2010 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.