4'2 Trees - PowerPoint PPT Presentation

1 / 11
About This Presentation
Title:

4'2 Trees

Description:

Thm 4.2.1 Every connected graph has a spanning tree. SPANNING TREE ALGORITHM. Start your tree with any vertex. When your ... Thm 4.2.3: 'Daisy Chain' Theorem ... – PowerPoint PPT presentation

Number of Views:43
Avg rating:3.0/5.0
Slides: 12
Provided by: informat1254
Category:
Tags: chain | daisy | trees

less

Transcript and Presenter's Notes

Title: 4'2 Trees


1
4.2 Trees
  • Remove some vertices from a connected graph.
  • Spanning tree
  • Minimal spanning tree (may involve weights)
  • Subgraph

2
End Lesson 17a
3
4.2 Spanning Tree Theorem
  • Thm 4.2.1 Every connected graph has a spanning
    tree.
  • SPANNING TREE ALGORITHM
  • Start your tree with any vertex.
  • When your tree contains all the vertices, stop.
  • Find a vertex not in the tree but connected by an
    edge to a vertex in the tree. Add vertex and
    edge.
  • Try to add another vertex.
  • Proof of the Spanning Tree Theorem.

4
Lemma A graph G with n vertices has a
spanning tree T with n vertices and n-1 edges.
5
Thm 4.2.2
A graph with n vertices and n or more edges
must have at least one cycle. NOTICE A cycle
need not be an Euler cycle.
6
Thm 4.2.2 A graph with n vertices and n or
more edges must have at least one cycle.
PROOF for the case of one component If G is a
connected graph with n vertices, construct a
spanning tree T (with n vertices and n-1 edges).
If G has at least n edges also, there is an edge
e of G which is not in T. Combining that edge
with T produces a cycle in G.
7
Thm 4.2.2 A graph with n vertices and n or
more edges must have at least one cycle.
PROOF for the case of two components Let G be a
graph with two connected components G1 and G2.
If G has no cycle, then neither G1 nor G2 has a
cycle. Then each component has fewer vertices
than edges, and so does G. The contrapositive of
this is that if G has at least as many vertices
as edges, then G must have a cycle.
8
Thm 4.2.2 A graph with n vertices and n or
more edges must have at least one cycle.
PROOF for the case of two components
9
Thm 4.2.3 "Daisy Chain" TheoremFor a graph T
with n vertices, the following statements are
equivalent.
  • T is a tree.
  • T has no cycles and has n-1 edges.
  • T is connected and has n-1 edges.
  • T is connected but removing any edge will
    disconnect it.
  • T has exactly one path between any two vertices.
  • T has no cycles, but adding an edge between any
    two vertices will create a cycle.

10
(No Transcript)
11
MATHEMATICAL SYMBOLS
  • ? ? ? ? ? ? ? ? ?
  • ? ? ? ? ? ?
  • ? ? ? ? ? ? ? ?
  • ? ? ? ? ?
Write a Comment
User Comments (0)
About PowerShow.com