Proof technique (pigeonhole principle)

Slides:



Advertisements
Similar presentations
Introduction to Algorithms Graph Algorithms
Advertisements

Lecture 15. Graph Algorithms
CS 336 March 19, 2012 Tandy Warnow.
Connectivity - Menger’s Theorem Graphs & Algorithms Lecture 3.
10.4 Spanning Trees. Def Def: Let G be a simple graph. A spanning tree of G is a subgraph of G that is a tree containing every vertex of G See handout.
 Graph Graph  Types of Graphs Types of Graphs  Data Structures to Store Graphs Data Structures to Store Graphs  Graph Definitions Graph Definitions.
Friendly Partitions of Graphs Jenna Huston Advised by Dr. David Offner.
Midterm <  70 3.
Last time: terminology reminder w Simple graph Vertex = node Edge Degree Weight Neighbours Complete Dual Bipartite Planar Cycle Tree Path Circuit Components.
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.
Graph. Undirected Graph Directed Graph Simple Graph.
Graph Algorithms: Minimum Spanning Tree We are given a weighted, undirected graph G = (V, E), with weight function w:
What is the next line of the proof? a). Let G be a graph with k vertices. b). Assume the theorem holds for all graphs with k+1 vertices. c). Let G be a.
On Balanced Signed Graphs and Consistent Marked Graphs Fred S. Roberts DIMACS, Rutgers University Piscataway, NJ, USA.
Graphs and Trees This handout: Trees Minimum Spanning Tree Problem.
A tree is a simple graph satisfying: if v and w are vertices and there is a path from v to w, it is a unique simple path. a b c a b c.
Is the following graph Hamiltonian- connected from vertex v? a). Yes b). No c). I have absolutely no idea v.
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 10, Monday, September 22.
K-Coloring k-coloring: A k-coloring of a graph G is a labeling f: V(G)  S, where |S|=k. The labels are colors; the vertices of one color form a color.
Minimum Spanning Trees. Subgraph A graph G is a subgraph of graph H if –The vertices of G are a subset of the vertices of H, and –The edges of G are a.
Graph Theory Chapter 6 Planar Graphs Ch. 6. Planar Graphs.
5.4 Shortest-path problem  Let G=(V,E,w) be a weighted connected simple graph, w is a function from edges set E to position real numbers set. We denoted.
Lecture 12-2: Introduction to Computer Algorithms beyond Search & Sort.
Lecture 13 Graphs. Introduction to Graphs Examples of Graphs – Airline Route Map What is the fastest way to get from Pittsburgh to St Louis? What is the.
Trees and Distance. 2.1 Basic properties Acyclic : a graph with no cycle Forest : acyclic graph Tree : connected acyclic graph Leaf : a vertex of degree.
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.
Chapter 1 Fundamental Concepts II Pao-Lien Lai 1.
Edge-disjoint induced subgraphs with given minimum degree Raphael Yuster 2012.
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.
5.5.3 Rooted tree and binary tree  Definition 25: A directed graph is a directed tree if the graph is a tree in the underlying undirected graph.  Definition.
Introduction to Graph Theory
The countable character of uncountable graphs François Laviolette Barbados 2003.
Graph Colouring L09: Oct 10. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including the famous.
Chapter 1 Fundamental Concepts Introduction to Graph Theory Douglas B. West July 11, 2002.
Chap. 11 Graph Theory and Applications 1. Directed Graph 2.
GRAPHS. Graph Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component, spanning tree Types of graphs: undirected,
 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.
MA/CSSE 473 Day 34 MST details: Kruskal's Algorithm Prim's Algorithm.
Introduction to Graph Theory Lecture 13: Graph Coloring: Edge Coloring.
Introduction to Graph Theory
Introduction to Graph Theory
Great Theoretical Ideas in Computer Science for Some.
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Trees Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering, IIT
Graphs Definition: a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected.
Tree - in “math speak” An ________ graph is a set of vertices/nodes and a set of edges, each edge connects two vertices. Any undirected graph in which.
COMPSCI 102 Introduction to Discrete Mathematics.
Spanning Tree Definition:A tree T is a spanning tree of a graph G if T is a subgraph of G that contains all of the vertices of G. A graph may have more.
MCA 520: Graph Theory Instructor Neelima Gupta
Spanning Trees Alyce Brady CS 510: Computer Algorithms.
Trees.
Algorithms and Networks
Outline 1 Properties of Planar Graphs 5/4/2018.
Subgraphs Lecture 4.
Graphs Hubert Chan (Chapter 9) [O1 Abstract Concepts]
The countable character of uncountable graphs François Laviolette Barbados 2003.
Graph theory Definitions Trees, cycles, directed graphs.
Hamiltonian cycle part
Greedy Algorithms / Minimum Spanning Tree Yin Tat Lee
Trees.
G-v, or G-{v} When we remove a vertex v from a graph, we must remove all edges incident with the vertex v. When a edge is removed from a graph, without.
Theorem 5.13: For vT‘, l’(v)= min{l(v), l(vk)+w(vk, v)}
Proof Techniques.
Miniconference on the Mathematics of Computation
Discrete Mathematics for Computer Science
Graph Theory: Proof Techniques
Richard Anderson Lecture 5 Graph Theory
Treewidth meets Planarity
Minimum Spanning Trees
Presentation transcript:

Proof technique (pigeonhole principle) Principle n+1 to n boxes ⇒ ≥2 in the same box More general Let 𝑆=( 𝑎 1 , 𝑎 2 ,…, 𝑎 𝑛 ) be a multiset (repetitions are allowed). Let 𝑎= ∑ 𝑎 𝑖 𝑛 be the average. min 𝑖 𝑎 𝑖 ≤𝑎≤ max 𝑖 𝑎 𝑖 . If 𝑎 𝑖 are integers min 𝑖 𝑎 𝑖 ≤ 𝑎 and 𝑎 ≤ max 𝑖 𝑎 𝑖

n choose 2 - # of different pairs among n vertices Examples Fact Simple graph 𝐺 with 𝑛≥2 vertices has 𝑢≠𝑣: 𝑑 𝑢 = 𝑑 𝑣 . Proof Pigeonhole principle: 𝑑 𝑣 ∈{0,1,…,𝑛−1} + ∄ 𝑑 𝑣 1 =0, 𝑑 𝑣 2 =n-1 Problem Show that simple graph 𝐺=(𝑉,𝐸) with contains a quadrilateral subgraph Proof For each 𝑣∈𝑉 count pairs : 𝑣 n choose 2 - # of different pairs among n vertices

Proof technique (Minimal/maximal subgraph) Principle Choose a property X. Take minimal subgraph with property X Longest (maximal) simple path Fact Every acyclic graph (no cycle subgraphs) with ≥2 vertices has ≥2 vertices 𝑑 𝑣 ≤1, i.e., v∈𝑉 d v ≤1 ≥2 Proof Consider the longest simple path 𝑃= 𝑣 1 … 𝑣 𝑘−1 𝑣 𝑘 . Then 𝑣 𝑘 𝑣 𝑖 ∉𝐸 for 𝑖<𝑘−1. (otherwise we found a cycle) 𝑣 𝑘 𝑣∉𝐸 for 𝑣∉𝑃 (otherwise, we can increase P by adding 𝑣)

Proof technique (Minimal/maximal subgraph) Principle Choose a property X. Take minimal subgraph with property X Longest (maximal) simple path Problem every simple graph has a vertex x and a family of 𝑑 𝑥 2 cycles such that any two cycles meet only in x. Proof Consider maximal (longest) path 𝑣 1 𝑣 2 … 𝑣 𝑘 . Construct 𝑑 𝑥 2 cycles for 𝑣 𝑘 … x

Proof technique (Minimal/maximal subgraph) Principle Choose a property X. Take minimal subgraph with property X 2. Largest bipartite subgraph Theorem[Erdesh 1965] Every loopless multi-graph 𝐺 has a bipartite subgraph F such that 𝑑 𝐹 𝑣 ≥ 1 2 𝑑 𝐺 𝑣 for any 𝑣∈𝑉. Proof Take bipartite F with largest |𝐸(𝐹)|.

Trees Fact T- is a tree (minimal connected graph). If 𝑉 𝑇 ≥2, then There is at least one vertex 𝑑 𝑣 =1 (called leaf) There are ≥2 vertices 𝑑 𝑣 =1 Fact (Recall) T is a tree ⇒ T is acyclic (no cycle subgraphs). If G is acyclic ⇒ G is a tree. Fact a) T – e is not connected b) if 𝑑 𝑣 =1, then T-v is a tree. Fact T with n vertices has 𝑚=𝑛−1 edges G-connected graph, then ∃ 𝑆⊂𝐸:𝐺−𝑆 – is a tree. Every connected graph has ≥𝑛−1 edges

Bipartite graphs Fact Any tree is a bipartite graph and parts A and B are unique. Proof E.g. by induction on the number of vertices. Fact G- bipartite graph ⇔ all cycles in G have even length. Proof “⇒” is easy (every cycle alternates between parts A and B) “⇐” [for connected G] Take spanning tree 𝑇⊂𝐺. Define parts A and B for T. Check for each 𝑒∈𝐸 𝐺 ∖𝐸(𝑇): e is between A and B. Proof2 “⇐”[for connected G]. By induction on 𝑛=|𝑉 𝐺 |. There is 𝑣∈𝑉:𝐺−𝑣 is connected ( 𝑑 𝑣 =1 in a spanning tree). Use induction hypothesis to partition 𝐺−𝑣. Add 𝑣: if 𝑣 𝑢 1 ,𝑣 𝑢 2 ∈𝐸, 𝑢 1 ∈𝐴, 𝑢 2 ∈𝐵, then 𝑣 𝑢 1 ,Path( 𝑢 1 − 𝑢 2 ), u 2 𝑣 – is an odd cycle ?!