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.

Slides:



Advertisements
Similar presentations
Lecture 15. Graph Algorithms
Advertisements

Connectivity - Menger’s Theorem Graphs & Algorithms Lecture 3.
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.
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:
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
Graphs. Graph A “graph” is a collection of “nodes” that are connected to each other Graph Theory: This novel way of solving problems was invented by a.
The Mathematics of Networks Chapter 7. Trees A tree is a graph that –Is connected –Has no circuits Tree.
Chapter 9: Graphs Basic Concepts
Chapter 4 Graphs.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 10, Monday, September 22.
Discrete Mathematics Lecture 9 Alexander Bukharovich New York University.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
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.
Minimum Spanning Tree Algorithms. What is A Spanning Tree? u v b a c d e f Given a connected, undirected graph G=(V,E), a spanning tree of that graph.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley. All rights reserved.
5.1  Routing Problems: planning and design of delivery routes.  Euler Circuit Problems: Type of routing problem also known as transversability problem.
COSC 2007 Data Structures II Chapter 14 Graphs III.
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.
Spring 2015 Mathematics in Management Science Network Problems Networks & Trees Minimum Networks Spanning Trees Minimum Spanning Trees.
Module 5 – Networks and Decision Mathematics Chapter 23 – Undirected Graphs.
Aim: Graph Theory - Trees Course: Math Literacy Do Now: Aim: What’s a tree?
Introduction to Graph Theory
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.
Chapter 5 Graphs  the puzzle of the seven bridge in the Königsberg,  on the Pregel.
Lecture19: Graph III Bohyung Han CSE, POSTECH CSED233: Data Structures (2014F)
Introduction to Graph Theory
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 15 Graph Theory.
Graph Theory. A branch of math in which graphs are used to solve a problem. It is unlike a Cartesian graph that we used throughout our younger years of.
Spring 2015 Mathematics in Management Science Network Problems Networks & Trees Minimum Networks Spanning Trees Minimum Spanning Trees.
Graphs. Graphs Similar to the graphs you’ve known since the 5 th grade: line graphs, bar graphs, etc., but more general. Those mathematical graphs are.
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
Chapter 6: Graphs 6.1 Euler Circuits
Graph Theory Trees. WHAT YOU WILL LEARN Trees, spanning trees, and minimum-cost spanning trees.
 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.
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.
Introduction to Graph Theory
Prims Algorithm for finding a minimum spanning tree
Graph Concepts and Algorithms Using LEDA By Caroline Moore and Carmen Frerichs (252a-at and 252a-ao) each graph in the presentation was created using gw_basic_graph_algorithms.
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.
Spanning Trees Dijkstra (Unit 10) SOL: DM.2 Classwork worksheet Homework (day 70) Worksheet Quiz next block.
Trees.
Proof technique (pigeonhole principle)
Minimum Spanning Tree Chapter 13.6.
AND.
Spanning Trees Discrete Mathematics.
Graph Algorithm.
Can you draw this picture without lifting up your pen/pencil?
Connected Components Minimum Spanning Tree
Introduction to Graph Theory Euler and Hamilton Paths and Circuits
4-4 Graph Theory Trees.
Kruskal’s Algorithm for finding a minimum spanning tree
Chapter 9: Graphs Basic Concepts
Graph Operations And Representation
Connectivity Section 10.4.
Warm Up – Wednesday.
Chapter 15 Graph Theory © 2008 Pearson Addison-Wesley.
Miniconference on the Mathematics of Computation
Minimum Spanning Trees (MSTs)
Warm Up – Tuesday Find the critical times for each vertex.
Warm Up – 3/19 - Wednesday Give the vertex set. Give the edge set.
Chapter 9: Graphs Basic Concepts
Graphs G = (V,E) V is the vertex set.
7 The Mathematics of Networks
Presentation transcript:

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 original graph) –The network must span the original graph (must include all the vertices of the original graph) A tree is a network with no circuit A spanning tree is a sub-graph that connects all the vertices of the network and has no circuits Minimum spanning tree (MST): the spanning tree with the least total weight.

Tree or not Tree Tree Not a tree (disconnected graph) Tree No a tree (has a circuit)

Properties of trees Property 1 –In a tree, there is one and only one path joining any two vertices. –If there is one and only one path joining any two vertices of the graph, then the graph must be a tree. Property 2 –In a tree, every edge is a bridge. –If the graph is connected and every edge is a bridge, then the graph must be a tree. Property 3 –A tree with N vertices has (N – 1) edges. –If a connected graph has N vertices and (N-1) edges, then it must be a tree.

G is a graph with no loops or multiple edges. Choose the option that best applies and explain why. (I) G is definitely a tree; (II) G is definitely not a tree; (III) G may or may not be a tree 1)G is connected, has 4 vertices and 5 edges II (needs to have 3 edges, not 5 edges) 2)G has 7 vertices, 6 edges III (explain in class) 3)G has 10 vertices and for every pair of vertices X and Y in G, there is at least one path from X to Y III (explain in class) 4)G has 5 vertices, no circuit III (explain in class) 5)G has 5 vertices, connected and every vertex has degree 2 II (sum of the degree = 10, a tree with 5 vertices must have the sum of the degree = 8) 6)G is connected, has 8 vertices and 7 bridges) I (property #3)

Counting Spanning Trees in a network If a network is a tree, then there is only 1 spanning tree If a network has one circuit (with P edges), then there are P spanning trees. If a network has 2 circuits (one circuit has P edges, the other circuit has Q edges), no shared edge between the 2 circuits, then there are (P x Q) edges. If a network has 2 circuits (one circuit has P edges, the other circuit has Q edges), one shared edge between the 2 circuits, then there are [(P x Q) – 1] edges.

How many spanning trees? This is a tree, so there is only 1 spanning tree

How many spanning trees?

This network has a circuit with 3 edges, so there are 3 spanning trees

How many spanning trees?

This network has a circuit with 4 edges, so there are 4 spanning trees

How many spanning trees?

This network has 2 circuits (one with 4 edges and the other with 3 edges, no shared edge, so there are 4x3 =12 spanning trees.

How many spanning trees?

This network has 2 circuits (one with 4 edges and the other with 3 edges, one shared edge, so there are 4x3 - 1=11 spanning trees. Two possible spanning trees. 9 more spanning trees will be showed on the board