Summing degree sequences work out degree sequence, and sum.

Slides:



Advertisements
Similar presentations
CS 336 March 19, 2012 Tandy Warnow.
Advertisements

Great Theoretical Ideas in Computer Science for Some.
Chapter 9 Graphs.
MCA 202: Discrete Mathematics under construction Instructor Neelima Gupta
22C:19 Discrete Math Graphs Fall 2010 Sukumar Ghosh.
22C:19 Discrete Math Graphs Fall 2014 Sukumar Ghosh.
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.
Introduction to Graphs
13 May 2009Instructor: Tasneem Darwish1 University of Palestine Faculty of Applied Engineering and Urban Planning Software Engineering Department Introduction.
9.7 Planar Graphs. Intro problem- 3 houses and 3 utilities K 3,3 problem: Can 3 houses be connected to 3 utilities so that no 2 lines cross? Similarly,
1 Lecture 5 (part 2) Graphs II Euler and Hamiltonian Path / Circuit Reading: Epp Chp 11.2, 11.3.
Planar / Non-Planar Graphs Gabriel Laden CS146 – Spring 2004 Dr. Sin-Min Lee.
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.
Introduction to Graphs Lecture 18: Nov 16. Seven Bridges of Königsberg Is it possible to walk with a route that crosses each bridge exactly once?
Definition Hamiltonian graph: A graph with a spanning cycle (also called a Hamiltonian cycle). Hamiltonian graph Hamiltonian cycle.
An Euler Circuit is a cycle of an undirected graph, that traverses every edge of the graph exactly once, and ends at the same node from which it began.
1 CIS /204—Spring 2008 Recitation 10 Friday, April 4, 2008.
Is the following graph Hamiltonian- connected from vertex v? a). Yes b). No c). I have absolutely no idea v.
Drawing of G. Planar Embedding of G Chord A chord of a cycle C is an edge not in C whose endpoints lie in C.
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.
What is the next line of the proof? a). Assume the theorem holds for all graphs with k edges. b). Let G be a graph with k edges. c). Assume the theorem.
Curve Curve: The image of a continous map from [0,1] to R 2. Polygonal curve: A curve composed of finitely many line segments. Polygonal u,v-curve: A polygonal.
22C:19 Discrete Math Graphs Spring 2014 Sukumar Ghosh.
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,
Graphs context: functions context: graphs and networks.
Can you connect the dots as shown without taking your pen off the page or drawing the same line twice.
CSE 20: Discrete Mathematics for Computer Science Prof. Shachar Lovett.
CSNB143 – Discrete Structure Topic 9 – Graph. Learning Outcomes Student should be able to identify graphs and its components. Students should know how.
5.2 Trees  A tree is a connected graph without any cycles.
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.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
MAT 2720 Discrete Mathematics Section 8.7 Planar Graphs
Discrete Mathematical Structures: Theory and Applications
Graph Theory and Applications
Introduction to Graphs. This Lecture In this part we will study some basic graph theory. Graph is a useful concept to model many problems in computer.
Vertex-Edge Graphs Euler Paths Euler Circuits. The Seven Bridges of Konigsberg.
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
Great Theoretical Ideas in Computer Science for Some.
CS 261 – Nov. 17 Graph properties – Bipartiteness – Isomorphic to another graph – Pseudograph, multigraph, subgraph Path Cycle – Hamiltonian – Euler.
COMPSCI 102 Introduction to Discrete Mathematics.
Chapter 7 Planar Graphs 大葉大學 資訊工程系 黃鈴玲  7.2 Planar Embeddings  7.3 Euler’s Formula and Consequences  7.4 Characterization of Planar Graphs.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
1 Lecture 5 (part 2) Graphs II (a) Circuits; (b) Representation Reading: Epp Chp 11.2, 11.3
De Bruijn sequences 陳柏澍 Novembers Each of the segments is one of two types, denoted by 0 and 1. Any four consecutive segments uniquely determine.
Outline 1 Properties of Planar Graphs 5/4/2018.
Discrete Mathematics Graph: Planar Graph Yuan Luo
Graph theory Definitions Trees, cycles, directed graphs.
Eulerian tours Miles Jones MTThF 8:30-9:50am CSE 4140 August 15, 2016.
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
Graph.
Walks, Paths, and Circuits
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
Decision Maths Graphs.
MAT 2720 Discrete Mathematics
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 8th ed., by Kenneth H.
Gaph Theory Planar Graphs
Applied Combinatorics, 4th Ed. Alan Tucker
Warm Up – 3/19 - Wednesday Give the vertex set. Give the edge set.
GRAPH THEORY Properties of Planar Graphs Ch9-1.
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
Agenda Review Lecture Content: Shortest Path Algorithm
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 7th ed., by Kenneth H.
GRAPH THEORY Properties of Planar Graphs Ch9-1.
Presentation transcript:

Summing degree sequences work out degree sequence, and sum

The handshaking lemma weak version: The sum of degrees of a graph G is even strong version: The sum of degrees of a graph G is double the number of edges why? proof?

Proof by induction on the number of edges... If G has 3 edges, then If G has 2 edges, then If G has 1 edges, then If G has 0 edges, then

Proof by induction on the number of edges... If G has 3 edges, then If G has 2 edges, then If G has 1 edges, then If G has 0 edges, then

Proof by induction begin the induction: If G has 0 edges, then Proof: If G has no edges, then all the degrees of its vertices must be zero. The sum of the degrees is therefore = 2 E(G)

Proof by induction rough thinking for next step: If for graphs with no edges then for graphs with one edge. Step: If G has one edge, then let G’ be G with the edge removed. G’ has no edges, so Replace the edge - two vertices increase degree by 1, so sum increases by 2.

Proof by induction rough thinking for next step: If for graphs with one edges then for graphs with two edges. Step: If G has two edges, then let G’ be G with an edge removed. G’ has one edge, so Replace the edge - two vertices increase degree by 1, so sum increases by 2.

Proof by induction general step: If for graphs with k edges then for graphs with k+1 edges. Inductive proof: If G has k+1 edges, then let G’ be G with an edge removed. G’ has k edges, so Replace the edge - two vertices increase degree by 1, so sum increases by 2.

Degree sequences when is there a graph with a given degree sequence?

Degree sequences Given a degree sequence - check that the sum is even (if not, quote the handshaking lemma) - apply a rule, iteratively: -> -> -> -> stop if this process ends up with, then a graph is drawable with the given degree sequence. why?

Graphs Properties which remain the same under isomorphism: number of nodes number of edges connectedness degree sequence if all of these are equal, the graphs may or may not be isomorphic

Graphs More properties : Eulerian Hamiltonian plane planar NB: “Euler” is pronounced “oiler”

Eulerian? try to visit all edges exactly once using a cycle

Eulerian definition A graph G is Eulerian if and only if there is a cycle which includes all edges once (called an “Euler cycle”)

Eulerian theorem A graph G is Eulerian if and only if all vertices have even degree.

Hamiltonian? try to visit all vertices exactly once using a cycle

Hamiltonian definition A graph G is Hamiltonian if and only if there is a cycle which visits all vertices once (called a “Hamiltonian cycle”) no known theorem!

Plane? A graph is plane if there are no edge-crossings in the drawing

Plane vs. Planar plane not planenot plane planar planarnot planar In general - a graph is planar if it’s isomorphic to a plane graph. So all plane graphs are planar. And all non-planar graphs are not plane.

Complete graphs K n have n vertices and all possible edges (how many edges?) K r,s have r + s vertices, split into two sets, and all possible edges between the r-set and the s-set. (how many edges?)

Complete graphs Which of K n and/or K r,s are Eulerian/Hamiltonian/planar Answer for K 1 K 2 K 3 K 4 K 5 and forK 1,1 K 1,2 K 2,2 K 2,3 K 3,3 Start by drawing them.