Graph. Undirected Graph Directed Graph Simple Graph.

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

Great Theoretical Ideas in Computer Science for Some.
Lecture 5 Graph Theory. Graphs Graphs are the most useful model with computer science such as logical design, formal languages, communication network,
Edge-connectivity and super edge-connectivity of P 2 -path graphs Camino Balbuena, Daniela Ferrero Discrete Mathematics 269 (2003) 13 – 20.
Walks, Paths and Circuits Walks, Paths and Circuits Sanjay Jain, Lecturer, School of Computing.
Introduction to Graphs
CompSci 102 Discrete Math for Computer Science April 19, 2012 Prof. Rodger Lecture adapted from Bruce Maggs/Lecture developed at Carnegie Mellon, primarily.
CMPS 2433 Discrete Structures Chapter 5 - Trees R. HALVERSON – MIDWESTERN STATE UNIVERSITY.
Data Structures, Spring 2004 © L. Joskowicz 1 Data Structures – LECTURE 14 Strongly connected components Definition and motivation Algorithm Chapter 22.5.
k-Factor Factor: a spanning subgraph of graph G
Chapter 2 Trees and Distance 2.1 Basic properties
Definition Hamiltonian graph: A graph with a spanning cycle (also called a Hamiltonian cycle). Hamiltonian graph Hamiltonian cycle.
Graphs and Trees This handout: Trees Minimum Spanning Tree Problem.
Vertex Cut Vertex Cut: A separating set or vertex cut of a graph G is a set SV(G) such that S has more than one component. Connectivity of G ((G)): The.
Is the following graph Hamiltonian- connected from vertex v? a). Yes b). No c). I have absolutely no idea v.
Definition Dual Graph G* of a Plane Graph:
Factor Factor: a spanning subgraph of graph G
1 Section 8.4 Connectivity. 2 Paths In an undirected graph, a path of length n from u to v, where n is a positive integer, is a sequence of edges e 1,
Factor Factor: a spanning subgraph of graph G k-Factor: a spanning k-regular subgraph Odd component: a component of odd order o(H): the number of odd components.
Graph Theory Ch. 2. Trees and Distance 1 Chapter 2 Trees and Distance 2.1 Basic properties 2.2 Spanning tree and enumeration 2.3 Optimization and trees.
MCA 520: Graph Theory Instructor Neelima Gupta
03/01/2005Tucker, Sec Applied Combinatorics, 4th Ed. Alan Tucker Section 3.1 Properties of Trees Prepared by Joshua Schoenly and Kathleen McNamara.
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.
Vertex Cut Vertex Cut: A separating set or vertex cut of a graph G is a set SV(G) such that G-S has more than one component. d f b e a g c i h.
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.
9.2 Graph Terminology and Special Types Graphs
Graph Theory Ch6 Planar Graphs. Basic Definitions  curve, polygon curve, drawing  crossing, planar, planar embedding, and plane graph  open set  region,
Subdivision of Edge In a graph G, subdivision of an edge uv is the operation of replacing uv with a path u,w,v through a new vertex w.
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.
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.
CSE, IIT KGP Graph Theory: Introduction Pallab Dasgupta Dept. of CSE, IIT
Boundary vertices in graphs Discrete Mathematics 263 (2003) Gary Chartrand, David Erwin Garry L. Johns, Ping Zhang.
Chapter 1 Fundamental Concepts II Pao-Lien Lai 1.
The Tutte Polynomial Graph Polynomials winter 05/06.
Indian Institute of Technology Kharagpur PALLAB DASGUPTA Graph Theory: Introduction Pallab Dasgupta, Professor, Dept. of Computer Sc. and Engineering,
5.2 Trees  A tree is a connected graph without any cycles.
Introduction to Graph Theory
Chapter 1 Fundamental Concepts Introduction to Graph Theory Douglas B. West July 11, 2002.
COSC 2007 Data Structures II Chapter 14 Graphs I.
Connectivity and Paths 報告人:林清池. Connectivity A separating set of a graph G is a set such that G-S has more than one component. The connectivity of G,
Unit – V Graph theory. Representation of Graphs Graph G (V, E,  ) V Set of vertices ESet of edges  Function that assigns vertices {v, w} to each edge.
 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.
Spanning tree Lecture 4.
Graphs Lecture 2. Graphs (1) An undirected graph is a triple (V, E, Y), where V and E are finite sets and Y:E g{X V :| X |=2}. A directed graph or digraph.
Introduction to Graph Theory
CSE 421 Algorithms Richard Anderson Winter 2009 Lecture 5.
CSE, IIT KGP Graph Theory: Introduction Pallab Dasgupta Dept. of CSE, IIT
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
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
رياضيات متقطعة لعلوم الحاسب MATH 226. Chapter 10.
Trees.
Proof technique (pigeonhole principle)
Graph Graphs and graph theory can be used to model:
Graph theory Definitions Trees, cycles, directed graphs.
12. Graphs and Trees 2 Summary
Planarity Testing.
Trees.
CS 583 Analysis of Algorithms
Theorem 5.13: For vT‘, l’(v)= min{l(v), l(vk)+w(vk, v)}
Hamiltonian Cycles.
10.4 Connectivity Dr. Halimah Alshehri.
Planarity.
Miniconference on the Mathematics of Computation
Discrete Mathematics for Computer Science
Graph Theory: Cuts and Connectivity
GRAPHS.
Presentation transcript:

Graph

Undirected Graph

Directed Graph

Simple Graph

Walk, Trail, Path

Maximal Path, Maximum Path

Connected Graph, Component

Cut-Edge, Cut-Vertex

Degree

Forest, Tree

Lemma There exists a maximal nontrivial path. 2.The endpoints of a maximal nontrivial path are leaves. 3.Let v be a leaf of a tree G, and let G’=G- v. (1) G’ has n-1 vertices. (2) G’ is connected. (3) G’ is acyclic.

Lemma (A=>B) Use induction on n. There exists a leaf v of G. Let G’=G-v. 2.G is connected and has no cycles => G’ is connected and has no cycles => G’ is connected and has n-1 edges => G is connected and has n edges.

Lemma (B=>C) Use induction on n. There exists a leaf v of G. (since n vertices has 2n-2 degree). Let G’=G-v. … 4. (C=>D) Use induction on n. There exists a leaf v having a neighbor with degree greater than 1. Let G’=G-v. … 5. (D=>A) Use induction on n. There exists a leaf v having a neighbor with degree greater than 1. Let G’=G-v. …

Lemma (B=>C) Deleting edges from cycles of G one by one until the resulting graph G’ is acyclic. 7. No edge of a cycle is a cut-edge => G’ is connected => G’ has n-1 edges => G=G’ => G is acyclic. 8. (C=>A) Let G_1, G_2, …, G_k be the components of G. \sum_{i} n(G_i)=n. 9. e(G_i)=n(G_i)-1 => \sum_{i} e(G_i)=n-k => k=1.

Lemma (A=>D) G is connected => each pair of vertices is connected by a path. 11. Let P, Q be the shortest (total length) pair of distinct paths with the same endpoints => P and Q are disjoint => P \union Q is a cycle. 12. (D=>A) Each pair of vertices is connected by a path => G is connected. 13. If G has a cycle, then G has two u,v-paths for u,v \in V(C).

Proposition Every edge of T is a cut-edge. Let U and U’ be two components of T-e. 2.T’ is connected (since e \notin T’) => T’ has an edge e’ with endpoints in U and U’ => T-e+e’ is connected and has n(G)-1 edges => T-e+e’ is a spanning tree of G.

Proposition T’+e contains a unique cycle C. 2.T is acyclic => There is an edge e’ in E(C)- E(T). 3.Deleting e’ breaks cycle C => T’+e-e’ is connected and has n(G)-1 edges => T’+e-e’ is a spanning tree of G.

Proposition Use induction on k. Let v be a leaf of T, and let u be its neighbor. Let T’=T-v. 2.\delta (G) \ge k => G contains T’ as a subgraph. 3.Let x be the vertex in this copy of T’ that corresponds to u. 4.T’ has only k-1 vertices other than u and \delta (G) \ge k => x has a neighbor y in G that is not in the copy of T’. 5.Adding the edge xy expands this copy of T’ into a copy of T in G, with y playing the role of v.

Distance, Diameter, Eccentricity, and Radius

Example

Theorem

Definition

Theorem

Wiener Index

Theorem

Lemma

Corollary

Homework , , , , –Due 10/2, 2006 The first paper presentation –10/5, 2006 ~ 11/9, 2006 The first paper report –Due 11/9, 2006