Spanning Trees Discrete Mathematics.

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

Discrete Mathematics University of Jazeera College of Information Technology & Design Khulood Ghazal Connectivity Lecture _13.
Chapter 8 Topics in Graph Theory
Every edge is in a red ellipse (the bags). The bags are connected in a tree. The bags an original vertex is part of are connected.
Section 14.1 Intro to Graph Theory. Beginnings of Graph Theory Euler’s Konigsberg Bridge Problem (18 th c.)  Can one walk through town and cross all.
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 Algorithms: Minimum Spanning Tree We are given a weighted, undirected graph G = (V, E), with weight function w:
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.
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.
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.
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
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,
The Mathematics of Networks Chapter 7. Trees A tree is a graph that –Is connected –Has no circuits Tree.
Chapter 4 Graphs.
Discrete Mathematics Lecture 9 Alexander Bukharovich New York University.
UNIT 3 THINKING MATHEMATICALLY BY BLITZER Hamilton Paths and Hamilton Circuits.
Spanning Trees Introduction to Spanning Trees AQR MRS. BANKS Original Source: Prof. Roger Crawfis from Ohio State University.
Spanning Trees Introduction to Spanning Trees AQR MRS. BANKS Original Source: Prof. Roger Crawfis from Ohio State University.
Can you connect the dots as shown without taking your pen off the page or drawing the same line twice.
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.
Module 5 – Networks and Decision Mathematics Chapter 23 – Undirected Graphs.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
1 12/2/2015 MATH 224 – Discrete Mathematics Formally a graph is just a collection of unordered or ordered pairs, where for example, if {a,b} G if a, b.
Lecture19: Graph III Bohyung Han CSE, POSTECH CSED233: Data Structures (2014F)
Spring 2015 Mathematics in Management Science Network Problems Networks & Trees Minimum Networks Spanning Trees Minimum Spanning Trees.
Graph theory and networks. Basic definitions  A graph consists of points called vertices (or nodes) and lines called edges (or arcs). Each edge joins.
Homework #5 Due: October 31, 2000 Christine Kang Graph Concepts and Algorithms.
MAT 2720 Discrete Mathematics Section 8.2 Paths and Cycles
Chapter 6: Graphs 6.1 Euler Circuits
Walks, Paths and Circuits. A graph is a connected graph if it is possible to travel from one vertex to any other vertex by moving along successive edges.
Review Euler Graph Theory: DEFINITION: A NETWORK IS A FIGURE MADE UP OF POINTS (VERTICES) CONNECTED BY NON-INTERSECTING CURVES (ARCS). DEFINITION: A VERTEX.
Joining Can you teach graph theory with this game?
Prims Algorithm for finding a minimum spanning tree
1) Find and label the degree of each vertex in the graph.
Tree Diagrams A tree is a connected graph in which every edge is a bridge. There can NEVER be a circuit in a tree diagram!
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.
CSC 252: Algorithms October 28, 2000 Homework #5: Graphs Victoria Manfredi (252a-ad) notes: -Definitions for each of the graph concepts are those presented.
CSC 252 Pallavi Moorthy Homework 5. 1.) Vertices, edges From cd../../handout/demo/graph_alg/gw_shortest_path.
Graphs Chapter 20.
CSC 172 DATA STRUCTURES.
Discrete Structures – CNS2300
Graph Algorithm.
CSC 172 DATA STRUCTURES.
Can you draw this picture without lifting up your pen/pencil?
Connected Components Minimum Spanning Tree
Euler Paths and Circuits
This unit is all about Puzzles Games Strategy.
Introduction to Graph Theory Euler and Hamilton Paths and Circuits
Lecture 15: Graph Theory II
Graphs Chapter 13.
Genome Assembly.
Kruskal’s Algorithm for finding a minimum spanning tree
Trees L Al-zaid Math1101.
A path that uses every vertex of the graph exactly once.
Warm Up – Wednesday.
Graphs Examples on some basic graph concepts and definitions All graphics are taken from the LEDA demos: basic_graph_algorithms, gw_shortest_paths, graphwin.
Hamiltonian Circuits and Paths Vocabulary
Discrete math Objectives: To learn vocabulary, vertex/edge patterns in discrete math. Vertex Edge Graph - A collection of points some of which are joined.
Discrete Mathematics Lecture 13_14: Graph Theory and Tree
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Euler and Hamilton Paths
Chapter 1: Urban Services Management Science
GRAPHS G=<V,E> Adjacent vertices Undirected graph
Warm Up – Tuesday Find the critical times for each vertex.
Warm Up – 3/19 - Wednesday Give the vertex set. Give the edge set.
Warm Up – 3/14 - Friday 100 seats are to be apportioned.
Hamilton Paths and Circuits
Warm Up – 3/17 - Monday A) List the set of vertices.
For Friday Read chapter 9, sections 2-3 No homework
Presentation transcript:

Spanning Trees Discrete Mathematics

Cycle – a closed path within a network graph Objectives: Understand cycle and spanning tree. Cycle – a closed path within a network graph Graphs with cycles A graph contains a cycle, if some or all of the traversed edges create a closed path. Important to Note: Not all the vertices need to be used.

Cycles in Network Graphs This graph has multiple cycles. Path H-D-G-H (red) is a cycle with no repeated edges that starts and stops at the same vertex. Path B-D-E-F-D-C-B (blue) is a cycle with a repeated vertex. Path H-A-B (green) would NOT be a cycle, because it did not close.

More with cycles in graphs Path A-B-D-A is a cycle, because it creates a closed path with this graph. Path C-B-D-C is another cycle in this graph. Path A-B-C-D-A is also a cycle. It would also be a Hamiltonian Circuit, because it passes through every vertex exactly once, and starts and stops at the same vertex.

Cycles in graphs, continued Path 4-5-2-3-4 is a cycle in this graph, because it creates a closed path. Path 5-1-2-5 is another cycle in this graph. Path 3-2-1-5-2-3 would create a cycle, because it would have a closed portion of the path. Can you find another cycle in this graph?

Spanning Tree – A graph that connects all vertices, WITHOUT creating/containing a cycle. Spanning trees These graphs do NOT contain cycles NOT Spanning trees These graphs contain cycles

Creating a spanning tree from a connected graph Three possible spanning trees have been created from Graph (G). Notice how all of the vertices are connected in each spanning tree, but none of these graphs contain any of the original cycles.