02/01/05Tucker, Sec. 1.31 Applied Combinatorics, 4th Ed. Alan Tucker Section 1.3 Edge Counting Prepared by Joshua Schoenly and Kathleen McNamara.

Slides:



Advertisements
Similar presentations
 Theorem 5.9: Let G be a simple graph with n vertices, where n>2. G has a Hamilton circuit if for any two vertices u and v of G that are not adjacent,
Advertisements

Chapter 8 Topics in Graph Theory
Lecture 5 Graph Theory. Graphs Graphs are the most useful model with computer science such as logical design, formal languages, communication network,
Walks, Paths and Circuits Walks, Paths and Circuits Sanjay Jain, Lecturer, School of Computing.
Graph-02.
 期中测验时间:本周五上午 9 : 40  教师 TA 答疑时间 : 周三晚上 6 : 00—8 : 30  地点:软件楼 315 房间,  教师 TA :李弋老师  开卷考试.
Applied Combinatorics, 4th Ed. Alan Tucker
4/5/05Tucker, Sec Applied Combinatorics, 4rth Ed. Alan Tucker Section 4.3 Graph Models Prepared by Jo Ellis-Monaghan.
1 Representing Graphs. 2 Adjacency Matrix Suppose we have a graph G with n nodes. The adjacency matrix is the n x n matrix A=[a ij ] with: a ij = 1 if.
04/12/2005Tucker, Sec Applied Combinatorics, 4 th Ed. Alan Tucker Section 4.4 Algorithmic Matching Prepared by Joshua Schoenly and Kathleen McNamara.
Applied Combinatorics, 4th Ed. Alan Tucker
Tucker, Applied Combinatorics, Section 1.4, prepared by Patti Bodkin
Matchings Matching: A matching in a graph G is a set of non-loop edges with no shared endpoints Maximal Matching: A maximal matching in a graph is a matching.
1/25/2005Tucker, Sec Applied Combinatorics, 4th Ed. Alan Tucker Section 1.2 Isomorphism Prepared by Jo Ellis-Monaghan.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 3, Friday, September 5.
Representing Graphs Wade Trappe. Lecture Overview Introduction Some Terminology –Paths Adjacency Matrix.
Discrete Structures Chapter 7A Graphs Nurul Amelina Nasharuddin Multimedia Department.
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
2.2 Hamilton Circuits Hamilton Circuits Hamilton Paths Tucker, Applied Combinatorics, Section 2.2, Tamsen Hunter.
3/29/05Tucker, Sec Applied Combinatorics, 4th Ed. Alan Tucker Section 4.2 Minimal Spanning Trees Prepared by Amanda Dargie and Michele Fretta.
4/17/2017 Section 8.5 Euler & Hamilton Paths ch8.5.
1/13/03Tucker, Applied Combinatorics, Sec Tucker, Applied Combinatorics, Sec. 1.1, Jo E-M A Graph is a set of vertices (dots) with edges (lines)
3/24/03Tucker, Section 4.31 Tucker, Applied Combinatorics, Sec. 4.3, prepared by Jo E-M Bipartite GraphMatching Some Definitions X-Matching Maximal Matching.
03/01/2005Tucker, Sec Applied Combinatorics, 4th Ed. Alan Tucker Section 3.1 Properties of Trees Prepared by Joshua Schoenly and Kathleen McNamara.
2/28/2005Tucker, Sec Applied Combinatorics, 4th ed. Alan Tucker Section 4.1 Shortest Paths Prepared by Sarah Walker.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 6, Friday, September 12.
1/25/05Tucker, Sec.1.11 Applied Combinatorics, 4th Ed. Alan Tucker Section 1.1 Graph Models Prepared by Jo Ellis-Monaghan.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
1/22/03Tucker, Applied Combinatorics, Section EDGE COUNTING TUCKER, APPLIED COMBINATORICS, SECTION 1.3, GROUP B Michael Duquette & Amanda Dargie.
9.2 Graph Terminology and Special Types Graphs
GRAPH Learning Outcomes Students should be able to:
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,
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
7.1 and 7.2: Spanning Trees. A network is a graph that is connected –The network must be a sub-graph of the original graph (its edges must come from the.
Tree A connected graph that contains no simple circuits is called a tree. Because a tree cannot have a simple circuit, a tree cannot contain multiple.
Discrete Structures Lecture 12: Trees Ji Yanyan United International College Thanks to Professor Michael Hvidsten.
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.
1/24 Introduction to Graphs. 2/24 Graph Definition Graph : consists of vertices and edges. Each edge must start and end at a vertex. Graph G = (V, E)
Graph Theory and Applications
Lecture 10: Graph-Path-Circuit
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
Lecture 52 Section 11.2 Wed, Apr 26, 2006
 Quotient graph  Definition 13: Suppose G(V,E) is a graph and R is a equivalence relation on the set V. We construct the quotient graph G R in the follow.
NP-completeness NP-complete problems. Homework Vertex Cover Instance. A graph G and an integer k. Question. Is there a vertex cover of cardinality k?
Introduction to Graph Theory
2/25/2016Tucker, Sec Applied Combinatorics, 4 th Ed. Alan Tucker Section 2.2 Hamilton Circuits Prepared by: Nathan Rounds and David Miller.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
Section10.1: Introduction to Trees
Trees.
Outline 1 Properties of Planar Graphs 5/4/2018.
Proof technique (pigeonhole principle)
Applied Combinatorics, 4th Ed. Alan Tucker
Introduction to Trees Section 11.1.
Tucker, Applied Combinatorics, Sec 2.4
Applied Combinatorics, 4th Ed. Alan Tucker
Can you draw this picture without lifting up your pen/pencil?
Applied Combinatorics, 4th Ed. Alan Tucker
Some Counting Problems
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Proof Techniques.
N(S) ={vV|uS,{u,v}E(G)}
Section 14.1 Graphs, Paths, and Circuits
Applied Combinatorics, 4th Ed. Alan Tucker
Graphs, Paths, and Circuits
Warm Up – 3/19 - Wednesday Give the vertex set. Give the edge set.
Richard Anderson Lecture 5 Graph Theory
Presentation transcript:

02/01/05Tucker, Sec Applied Combinatorics, 4th Ed. Alan Tucker Section 1.3 Edge Counting Prepared by Joshua Schoenly and Kathleen McNamara

02/01/05Tucker, Sec Theorem 1 Statement: In any graph, the sum of the degrees of all vertices is equal to twice the number of edges. where E is the number of edges, d is the degree of any vertex, n d is the number of vertices of degree d, and v is any vertex in the graph.

02/01/05Tucker, Sec Example 1: Use of Theorem 1 Suppose we want to construct a graph with 20 edges and have all vertices of degree four. How many vertices must the graph have? It must have 10 vertices!

02/01/05Tucker, Sec Proof: Summing the degrees of all vertices counts all instances of some edge being incident to some vertex. But, each edge is incident with two vertices, and so the total number of such edge- vertex incidences is simply twice the number of edges.

02/01/05Tucker, Sec Corollary: In any graph, the number of vertices of odd degree is even. Proof of Corollary: Because twice the number of edges must be an even integer, the sum of degrees must be an even integer. For the sum of degrees to be an even integer, there must be an even number of odd integers in the sum.

02/01/05Tucker, Sec Definitions Component- connected pieces of a graph Component 1Component 3Component 2 Length- the number of edges in a path. a b c d e Path abde has length 3. Path eabcd has length 4.

02/01/05Tucker, Sec Definitions Bipartite- a graph G is bipartite if its vertices can be partitioned into two sets, v 1 and v 2, such that every edge joins a vertex in v 1 with a vertex v 2. v1v1 v2v2

02/01/05Tucker, Sec Definitions Complete Bipartite- a bipartite graph in which every vertex on one side is connected to every vertex on the other side. For Example: K 3,4

02/01/05Tucker, Sec Theorem 2 Statement: A graph G is bipartite if and only if every circuit in G has an even length. L=4

02/01/05Tucker, Sec Proof: Bipartite implies even length circuits a b d f e c a f b d c e G

02/01/05Tucker, Sec Proof (part 2): Even length circuits imply bipartite f b d c e G a b d f e c a

02/01/05Tucker, Sec Example 4 A B C D E M T U V W X Y Z Rules: 1.Hikers start at points A and Z 2.Hikers must stay at the same altitude at all times 3.Stops must have at least one hiker on a peak or valley 4.Objective: Hikers must reach M at the same time

02/01/05Tucker, Sec The hikers must be at the same altitude, so when hiker A climbs to point C, hiker Z must climb to point X. Then when hiker A descends to D, hiker Z must then descend to Y in order to be at the same altitude. A B C D E M T U V W X Y Z (A,Z) (C,X) (D,Y)

02/01/05Tucker, Sec Solution to Example 4 (A,Z) (C,X) (D,Y)(D,U) (E,W) (B,U) (M,M) (C,V)(C,T) A B C D E M T U V W X Y Z

02/01/05Tucker, Sec Class Problem – 1.3 / 3 What is the largest possible number of vertices in a graph with 19 edges and all vertices of degree at least 3? (Hint – use Theorem 1)

02/01/05Tucker, Sec Solution to Problem First try with only degree 3: But 38 isn’t divisible by 3, so that doesn’t work. Next try with all vertices having degree 3, except one with degree 4: But 34 isn’t divisible by 3, so that doesn’t work either. Next try with all vertices having degree 3, except two with degree 4: That works! So the largest number of vertices is 12.