The Number of Spanning Trees in a Graph
|
|
- Norma Cobb
- 5 years ago
- Views:
Transcription
1 Course Trees The Ubiquitous Structure in Computer Science and Mathematics, JASS 08 The Number of Spanning Trees in a Graph Konstantin Pieper Fakultät für Mathematik TU München April 28, 2008 Konstantin Pieper: Counting Spanning Trees 1/ 29
2 Preliminaries Definition 1 Let G = (V, E) with V = {1,..., n} and E = {e 1,..., e m } be a directed graph. Then the incidence matrix S G M(n, m) of G is defined as: 1 if e j ends in i (S G ) i,j := 1 if e j starts in i 0 else Konstantin Pieper: Counting Spanning Trees 2/ 29
3 Preliminaries Definition 1 Let G = (V, E) with V = {1,..., n} and E = {e 1,..., e m } be a directed graph. Then the incidence matrix S G M(n, m) of G is defined as: 1 if e j ends in i (S G ) i,j := 1 if e j starts in i 0 else Remark 1 For an undirected graph G every SḠ of some arbitrarily oriented directed variant Ḡ of G can be taken as the incidence matrix. Konstantin Pieper: Counting Spanning Trees 2/ 29
4 Preliminaries Example 2 S G = Konstantin Pieper: Counting Spanning Trees 3/ 29
5 Preliminaries Theorem 3 The rank of the incidence matrix of a graph on n vertices is: Konstantin Pieper: Counting Spanning Trees 4/ 29
6 Preliminaries Theorem 3 The rank of the incidence matrix of a graph on n vertices is: rank(s G ) = n weakly connected components of G Konstantin Pieper: Counting Spanning Trees 4/ 29
7 Preliminaries Theorem 3 The rank of the incidence matrix of a graph on n vertices is: rank(s G ) = n weakly connected components of G Proof. Reorder the edges and vertices so that: S G S G = S G S Gr Konstantin Pieper: Counting Spanning Trees 4/ 29
8 Preliminaries Remark 2 Since (1,..., 1) S G = 0, we can remove an arbitrary row from S G without losing information. Konstantin Pieper: Counting Spanning Trees 5/ 29
9 Preliminaries Remark 2 Since (1,..., 1) S G = 0, we can remove an arbitrary row from S G without losing information. Definition 4 For every A M(n, m) define à M(n 1, m) as A without the n-th row. Konstantin Pieper: Counting Spanning Trees 5/ 29
10 Example 5 S G S T G = Konstantin Pieper: Counting Spanning Trees 6/ 29
11 Example 5 S G S T G = ( ) = ( ) Konstantin Pieper: Counting Spanning Trees 6/ 29
12 Kirchhoff s theorem Theorem 6 (Kirchhoff) The number of spanning trees of a graph G can be calculated as: det(d G ) where D G = S G S T G Konstantin Pieper: Counting Spanning Trees 7/ 29
13 Kirchhoff s theorem Theorem 6 (Kirchhoff) The number of spanning trees of a graph G can be calculated as: det(d G ) where D G = S G S T G Remark 3 deg(i) if i = j (D G ) i,j = 1 if {i, j} E 0 else Konstantin Pieper: Counting Spanning Trees 7/ 29
14 Kirchhoff s theorem Lemma 7 Let T = (V, E) be a directed tree that is rooted at n. We can order E so that e i ends in i. Konstantin Pieper: Counting Spanning Trees 8/ 29
15 Kirchhoff s theorem Lemma 7 Let T = (V, E) be a directed tree that is rooted at n. We can order E so that e i ends in i. Proof. Take e i := (p(i), i), where p(i) is the parent of i. Konstantin Pieper: Counting Spanning Trees 8/ 29
16 Kirchhoff s theorem Lemma 7 Let T = (V, E) be a directed tree that is rooted at n. We can order E so that e i ends in i. Proof. Take e i := (p(i), i), where p(i) is the parent of i. Remark 4 Every undirected tree on V has exactly one undirected variant that is rooted at n. So for constructing/counting spanning trees we only have to consider graphs with i e i. Konstantin Pieper: Counting Spanning Trees 8/ 29
17 Kirchhoff s theorem Lemma 8 Let G = (V, E) with E = n 1 be a directed graph which is not a tree. Then det( S G ) = 0. Konstantin Pieper: Counting Spanning Trees 9/ 29
18 Kirchhoff s theorem Lemma 8 Let G = (V, E) with E = n 1 be a directed graph which is not a tree. Then det( S G ) = 0. Proof. Since E = n 1, G is not weakly connected. So rank( S G ) = rank(s G ) n 2. Konstantin Pieper: Counting Spanning Trees 9/ 29
19 Kirchhoff s theorem Lemma 9 Let T = (V, E) be a tree with e i E ending in i V. Konstantin Pieper: Counting Spanning Trees 10/ 29
20 Kirchhoff s theorem Lemma 9 Let T = (V, E) be a tree with e i E ending in i V. Then det( S T ) = 1. Konstantin Pieper: Counting Spanning Trees 10/ 29
21 Kirchhoff s theorem Lemma 9 Let T = (V, E) be a tree with e i E ending in i V. Then det( S T ) = 1. Proof. Order the vertices (and edges simultaneously e i has to end in i) so that p(i) > i. Then, S T = Konstantin Pieper: Counting Spanning Trees 10/ 29
22 Kirchhoff s theorem Proof of Kirchhoff s theorem. We observe that the i-th column of D G is the sum of incidence vectors that correspond to edges in G that have endpoints in the i-th vertex. Figure: First column of D G D.,1 = = Konstantin Pieper: Counting Spanning Trees 11/ 29
23 Kirchhoff s theorem Proof of Kirchhoff s theorem. We observe that the i-th column of D G is the sum of incidence vectors that correspond to edges in G that have endpoints in the i-th vertex. If we now use the linearity of the determinant in every column we obtain: Figure: Expansion of the determinant = det(d) = =... Konstantin Pieper: Counting Spanning Trees 11/ 29
24 Kirchhoff s theorem Proof of Kirchhoff s theorem. We observe that the i-th column of D G is the sum of incidence vectors that correspond to edges in G that have endpoints in the i-th vertex. If we now use the linearity of the determinant in every column we obtain: det(d G ) = H H det( S H ) where H is the set of all subgraphs of G which correspond to a selection of n 1 edges, with e i ending in i. Konstantin Pieper: Counting Spanning Trees 11/ 29
25 Kirchhoff s theorem Proof of Kirchhoff s theorem. We observe that the i-th column of D G is the sum of incidence vectors that correspond to edges in G that have endpoints in the i-th vertex. If we now use the linearity of the determinant in every column we obtain: det(d G ) = H H det( S H ) where H is the set of all subgraphs of G which correspond to a selection of n 1 edges, with e i ending in i. To prove the theorem it is now sufficient to use the preceding lemmata. Konstantin Pieper: Counting Spanning Trees 11/ 29
26 Extension towards MST Definition 10 For a weighted graph G with edge weights w i,k let S G (x) be the incidence matrix S G with every column corresponding to (i, k) E rescaled by x w i,k. Konstantin Pieper: Counting Spanning Trees 12/ 29
27 Extension towards MST Definition 10 For a weighted graph G with edge weights w i,k let S G (x) be the incidence matrix S G with every column corresponding to (i, k) E rescaled by x w i,k. x w k,i if e j = (k, i) (S G (x)) i,j = x w i,k if e j = (i, k) 0 else Konstantin Pieper: Counting Spanning Trees 12/ 29
28 Extension towards MST Example 11 (Toy graph H) S G (x) = x 2 x 2 x x x x x 0 x 0 0 x x x x x x 3 Konstantin Pieper: Counting Spanning Trees 13/ 29
29 Extension towards MST Theorem 12 (Matrix-Tree Theorem for weighted graphs) The generating function of the number of spanning trees by weight w is the determinant of D G (x) = S G (x) S T G where S G (x) and S G are defined as above. Konstantin Pieper: Counting Spanning Trees 14/ 29
30 Extension towards MST Theorem 12 (Matrix-Tree Theorem for weighted graphs) The generating function of the number of spanning trees by weight w is the determinant of D G (x) = S G (x) S T G where S G (x) and S G are defined as above. In other words: det (D G (x)) = ST by weight w x w w=0 Konstantin Pieper: Counting Spanning Trees 14/ 29
31 Extension towards MST Example 13 D G (x) = x 4 + 2x 2 x 2 0 x 2 x 2 x 2 + 2x x x 0 x 2x x x 2 x x x 3 + x 2 + 2x det (D G (x)) = 2x x 9 + 8x 8 + 6x 7 Konstantin Pieper: Counting Spanning Trees 15/ 29
32 Extension towards MST Remark 5 It is easy to check that we can also write down D G (x) for any given graph G directly: (D G (x)) i,j = {i,k} E x w i,k x w i,j if i = j if {i, j} E 0 else Konstantin Pieper: Counting Spanning Trees 16/ 29
33 Extension towards MST Proof. As above. Here each spanning tree by weight w contributes x w to the determinant of D G (x). Konstantin Pieper: Counting Spanning Trees 17/ 29
34 Computing the number of MSTs Should we try to calculate det(d G (x))? Konstantin Pieper: Counting Spanning Trees 18/ 29
35 Computing the number of MSTs Should we try to calculate det(d G (x))? Consider the following graph on 2n vertices: Konstantin Pieper: Counting Spanning Trees 18/ 29
36 Computing the number of MSTs Should we try to calculate det(d G (x))? Consider the following graph on 2n vertices: det(d G (x)) can have Ω(2 n ) coefficients Konstantin Pieper: Counting Spanning Trees 18/ 29
37 Computing the number of MSTs Compute only the number of minimal spanning trees (the coefficient of the minimum degree monomial). Konstantin Pieper: Counting Spanning Trees 19/ 29
38 Computing the number of MSTs Compute only the number of minimal spanning trees (the coefficient of the minimum degree monomial). If w min is the minimal weight for a spanning tree, clearly x w min must divide det(d G (x)) Konstantin Pieper: Counting Spanning Trees 19/ 29
39 Computing the number of MSTs Compute only the number of minimal spanning trees (the coefficient of the minimum degree monomial). If w min is the minimal weight for a spanning tree, clearly x w min must divide det(d G (x)) Try to factor out the minimum degree monomial of each column and use the linearity of the determinant. det(d G (x)) = x 4 + 2x 2 x 2 0 x 2 x 2 x 2 + 2x x x 0 x 2x x x 2 x x x 3 + x 2 + 2x = x 5 x x 0 x 1 x x 2 + x + 2 Konstantin Pieper: Counting Spanning Trees 19/ 29
40 Computing the number of MSTs Example 14 (Factor det (D G (x))) det(d G (x)) = x 4 + 2x 2 x 2 0 x 2 x 2 x 2 + 2x x x 0 x 2x x x 2 x x x 3 + x 2 + 2x = x 5 x x 0 x 1 x x 2 + x + 2 Konstantin Pieper: Counting Spanning Trees 20/ 29
41 Computing the number of MSTs The entries of the i th column of D G (x) correspond to edges in the cut (i, N (i)): Konstantin Pieper: Counting Spanning Trees 21/ 29
42 Computing the number of MSTs The entries of the i th column of D G (x) correspond to edges in the cut (i, N (i)): Change the cuts? Konstantin Pieper: Counting Spanning Trees 21/ 29
43 Computing the number of MSTs Theorem 15 If we have a minimal spanning tree T of G, we can modify D G (x) (without changing the determinant) so that the product of the minimum degree monomials of each column is w min. Konstantin Pieper: Counting Spanning Trees 22/ 29
44 Computing the number of MSTs Theorem 15 If we have a minimal spanning tree T of G, we can modify D G (x) (without changing the determinant) so that the product of the minimum degree monomials of each column is w min. Algorithm A: Modify D G (x) T := mst(g) D (x) := D G (x) while T {} do i := arbitrary leaf of T with i n p := parent of i add the i-th column in D to the p-th column T := T \ {i} od Konstantin Pieper: Counting Spanning Trees 22/ 29
45 Computing the number of MSTs Example 16 (MST of H and corresponding σ(i)) det(d (x)) = x 4 + 2x 2 x 4 + x 2 0 x 4 x 2 x x 0 0 x 2x 0 x 2 x 2 2x x x 3 = x 7 x x 3 + x 0 x x Konstantin Pieper: Counting Spanning Trees 23/ 29
46 Computing the number of MSTs Lemma 17 The i-th column of D (x) contains the sum of the columns in D G (x) corresponding to σ(i). Konstantin Pieper: Counting Spanning Trees 24/ 29
47 Computing the number of MSTs Lemma 17 The i-th column of D (x) contains the sum of the columns in D G (x) corresponding to σ(i). Writing out the entries of D (x) we get: For i / σ(j) D i,j(x) = x w k,i {i,k} E:k σ(j) Konstantin Pieper: Counting Spanning Trees 24/ 29
48 Computing the number of MSTs Lemma 17 The i-th column of D (x) contains the sum of the columns in D G (x) corresponding to σ(i). Writing out the entries of D (x) we get: For i / σ(j) D i,j(x) = x w k,i {i,k} E:k σ(j) For i σ(j) the above cancels with D i,i D i,j(x) = {i,k} E:k / σ(j) x w k,i Konstantin Pieper: Counting Spanning Trees 24/ 29
49 Computing the number of MSTs Proof. So the j th column of D contains only terms corresponding to edges in the cut (σ(j), V \ σ(j)). Konstantin Pieper: Counting Spanning Trees 25/ 29
50 Computing the number of MSTs Proof. So the j th column of D contains only terms corresponding to edges in the cut (σ(j), V \ σ(j)). The only edge of T in the j th cut is (p(j), j). Konstantin Pieper: Counting Spanning Trees 25/ 29
51 Computing the number of MSTs Proof. So the j th column of D contains only terms corresponding to edges in the cut (σ(j), V \ σ(j)). The only edge of T in the j th cut is (p(j), j). All the other edges from the cut must have higher weight because T is minimal. Konstantin Pieper: Counting Spanning Trees 25/ 29
52 Computing the number of MSTs Proof. So the j th column of D contains only terms corresponding to edges in the cut (σ(j), V \ σ(j)). The only edge of T in the j th cut is (p(j), j). All the other edges from the cut must have higher weight because T is minimal. n 1 i=1 w p(i),i = w min Konstantin Pieper: Counting Spanning Trees 25/ 29
53 Optimizations The runtime of our implementation so far is O (mn + M(n)) where M(n) is the time required to multiply two n nmatrices. O (M(n)) can be thought of as O(n 2+ɛ ). Konstantin Pieper: Counting Spanning Trees 26/ 29
54 Optimizations The runtime of our implementation so far is O (mn + M(n)) where M(n) is the time required to multiply two n nmatrices. O (M(n)) can be thought of as O(n 2+ɛ ). We can further optimize the O(mn) part by only calculating the minimum degree monomials for each entry. Konstantin Pieper: Counting Spanning Trees 26/ 29
55 Optimizations The runtime of our implementation so far is O (mn + M(n)) where M(n) is the time required to multiply two n nmatrices. O (M(n)) can be thought of as O(n 2+ɛ ). We can further optimize the O(mn) part by only calculating the minimum degree monomials for each entry. calculating the negative and positive entries separately. Konstantin Pieper: Counting Spanning Trees 26/ 29
56 Optimizations The runtime of our implementation so far is O (mn + M(n)) where M(n) is the time required to multiply two n nmatrices. O (M(n)) can be thought of as O(n 2+ɛ ). We can further optimize the O(mn) part by only calculating the minimum degree monomials for each entry. calculating the negative and positive entries separately. In the following E is sorted so that p(j) > j. Konstantin Pieper: Counting Spanning Trees 26/ 29
57 Optimizations For i / σ(j) no entries cancel the naive approach works. Konstantin Pieper: Counting Spanning Trees 27/ 29
58 Optimizations For i / σ(j) no entries cancel the naive approach works. Algorithm B1: Negative Entries of D for j = 1 to n 1 do for i / σ(j) do D i,j := min_d(d G (x) i,j + k child of j in T D i,k ) /* min_d computes the minimum degree monomial */ od od Konstantin Pieper: Counting Spanning Trees 27/ 29
59 Optimizations For i / σ(j) no entries cancel the naive approach works. Algorithm B1: Negative Entries of D for j = 1 to n 1 do for i / σ(j) do D i,j := min_d(d G (x) i,j + k child of j in T D i,k ) /* min_d computes the minimum degree monomial */ od od This is O(n 2 ). Konstantin Pieper: Counting Spanning Trees 27/ 29
60 Optimizations For i σ(j) we use the explicit formula D i,j = and run over the rows first. {i,k} E:k / σ(j) x w k,i Konstantin Pieper: Counting Spanning Trees 28/ 29
61 Optimizations For i σ(j) we use the explicit formula D i,j = and run over the rows first. {i,k} E:k / σ(j) x w k,i Algorithm B2: Positive Entries of D for i = 1 to n 1 do L := sort(n (i)) for j = 1 to n 1, i σ(j) do L := L \ σ(j) if L {} k := first_element(l) D i,j := x w i,k s L : w i,k = w i,s fi od od Konstantin Pieper: Counting Spanning Trees 28/ 29
62 Optimizations For i σ(j) we use the explicit formula D i,j = and run over the rows first. {i,k} E:k / σ(j) x w k,i Algorithm B2: Positive Entries of D for i = 1 to n 1 do L := sort(n (i)) for j = 1 to n 1, i σ(j) do L := L \ σ(j) if L {} k := first_element(l) D i,j := x w i,k s L : w i,k = w i,s fi od od This is O(n 2 log n). Konstantin Pieper: Counting Spanning Trees 28/ 29
63 Optimizations Conclusion: We could calculate the number of spanning trees by arbitrary weight. Konstantin Pieper: Counting Spanning Trees 29/ 29
64 Optimizations Conclusion: We could calculate the number of spanning trees by arbitrary weight. We can find the number of minimal spanning trees in O(n 2 + m log n + M(n)) = O(M(n)) Konstantin Pieper: Counting Spanning Trees 29/ 29
Spectral Graph Theory and You: Matrix Tree Theorem and Centrality Metrics
Spectral Graph Theory and You: and Centrality Metrics Jonathan Gootenberg March 11, 2013 1 / 19 Outline of Topics 1 Motivation Basics of Spectral Graph Theory Understanding the characteristic polynomial
More information18.312: Algebraic Combinatorics Lionel Levine. Lecture 19
832: Algebraic Combinatorics Lionel Levine Lecture date: April 2, 20 Lecture 9 Notes by: David Witmer Matrix-Tree Theorem Undirected Graphs Let G = (V, E) be a connected, undirected graph with n vertices,
More informationLecture 4. 1 Estimating the number of connected components and minimum spanning tree
CS 59000 CTT Current Topics in Theoretical CS Aug 30, 2012 Lecturer: Elena Grigorescu Lecture 4 Scribe: Pinar Yanardag Delul 1 Estimating the number of connected components and minimum spanning tree In
More information15.1 Matching, Components, and Edge cover (Collaborate with Xin Yu)
15.1 Matching, Components, and Edge cover (Collaborate with Xin Yu) First show l = c by proving l c and c l. For a maximum matching M in G, let V be the set of vertices covered by M. Since any vertex in
More informationChapter 7 Network Flow Problems, I
Chapter 7 Network Flow Problems, I Network flow problems are the most frequently solved linear programming problems. They include as special cases, the assignment, transportation, maximum flow, and shortest
More informationThe Matrix-Tree Theorem
The Matrix-Tree Theorem Christopher Eur March 22, 2015 Abstract: We give a brief introduction to graph theory in light of linear algebra. Our results culminates in the proof of Matrix-Tree Theorem. 1 Preliminaries
More informationAn Algorithmist s Toolkit September 24, Lecture 5
8.49 An Algorithmist s Toolkit September 24, 29 Lecture 5 Lecturer: Jonathan Kelner Scribe: Shaunak Kishore Administrivia Two additional resources on approximating the permanent Jerrum and Sinclair s original
More informationTrees. A tree is a graph which is. (a) Connected and. (b) has no cycles (acyclic).
Trees A tree is a graph which is (a) Connected and (b) has no cycles (acyclic). 1 Lemma 1 Let the components of G be C 1, C 2,..., C r, Suppose e = (u, v) / E, u C i, v C j. (a) i = j ω(g + e) = ω(g).
More information1 Counting spanning trees: A determinantal formula
Math 374 Matrix Tree Theorem Counting spanning trees: A determinantal formula Recall that a spanning tree of a graph G is a subgraph T so that T is a tree and V (G) = V (T ) Question How many distinct
More informationRECAP How to find a maximum matching?
RECAP How to find a maximum matching? First characterize maximum matchings A maximal matching cannot be enlarged by adding another edge. A maximum matching of G is one of maximum size. Example. Maximum
More informationProbabilistic Graphical Models
2016 Robert Nowak Probabilistic Graphical Models 1 Introduction We have focused mainly on linear models for signals, in particular the subspace model x = Uθ, where U is a n k matrix and θ R k is a vector
More informationCombinatorial and physical content of Kirchhoff polynomials
Combinatorial and physical content of Kirchhoff polynomials Karen Yeats May 19, 2009 Spanning trees Let G be a connected graph, potentially with multiple edges and loops in the sense of a graph theorist.
More informationNotes on the Matrix-Tree theorem and Cayley s tree enumerator
Notes on the Matrix-Tree theorem and Cayley s tree enumerator 1 Cayley s tree enumerator Recall that the degree of a vertex in a tree (or in any graph) is the number of edges emanating from it We will
More informationBinomial Ideals from Graphs
Binomial Ideals from Graphs Danielle Farrar University of Washington Yolanda Manzano St. Mary s University Juan Manuel Torres-Acevedo University of Puerto Rico Humacao August 10, 2000 Abstract This paper
More informationDynamic Programming on Trees. Example: Independent Set on T = (V, E) rooted at r V.
Dynamic Programming on Trees Example: Independent Set on T = (V, E) rooted at r V. For v V let T v denote the subtree rooted at v. Let f + (v) be the size of a maximum independent set for T v that contains
More informationGraph coloring, perfect graphs
Lecture 5 (05.04.2013) Graph coloring, perfect graphs Scribe: Tomasz Kociumaka Lecturer: Marcin Pilipczuk 1 Introduction to graph coloring Definition 1. Let G be a simple undirected graph and k a positive
More information3. Linear Programming and Polyhedral Combinatorics
Massachusetts Institute of Technology 18.453: Combinatorial Optimization Michel X. Goemans April 5, 2017 3. Linear Programming and Polyhedral Combinatorics Summary of what was seen in the introductory
More informationNotes on MapReduce Algorithms
Notes on MapReduce Algorithms Barna Saha 1 Finding Minimum Spanning Tree of a Dense Graph in MapReduce We are given a graph G = (V, E) on V = N vertices and E = m N 1+c edges for some constant c > 0. Our
More informationReverse mathematics of some topics from algorithmic graph theory
F U N D A M E N T A MATHEMATICAE 157 (1998) Reverse mathematics of some topics from algorithmic graph theory by Peter G. C l o t e (Chestnut Hill, Mass.) and Jeffry L. H i r s t (Boone, N.C.) Abstract.
More informationORIE 6334 Spectral Graph Theory September 8, Lecture 6. In order to do the first proof, we need to use the following fact.
ORIE 6334 Spectral Graph Theory September 8, 2016 Lecture 6 Lecturer: David P. Williamson Scribe: Faisal Alkaabneh 1 The Matrix-Tree Theorem In this lecture, we continue to see the usefulness of the graph
More informationACO Comprehensive Exam October 14 and 15, 2013
1. Computability, Complexity and Algorithms (a) Let G be the complete graph on n vertices, and let c : V (G) V (G) [0, ) be a symmetric cost function. Consider the following closest point heuristic for
More informationOn the adjacency matrix of a block graph
On the adjacency matrix of a block graph R. B. Bapat Stat-Math Unit Indian Statistical Institute, Delhi 7-SJSS Marg, New Delhi 110 016, India. email: rbb@isid.ac.in Souvik Roy Economics and Planning Unit
More informationHOMEWORK #2 - MATH 3260
HOMEWORK # - MATH 36 ASSIGNED: JANUARAY 3, 3 DUE: FEBRUARY 1, AT :3PM 1) a) Give by listing the sequence of vertices 4 Hamiltonian cycles in K 9 no two of which have an edge in common. Solution: Here is
More informationDiagonal Entry Restrictions in Minimum Rank Matrices, and the Inverse Inertia and Eigenvalue Problems for Graphs
Brigham Young University BYU ScholarsArchive All Theses and Dissertations 2012-06-11 Diagonal Entry Restrictions in Minimum Rank Matrices, and the Inverse Inertia and Eigenvalue Problems for Graphs Curtis
More informationACO Comprehensive Exam March 17 and 18, Computability, Complexity and Algorithms
1. Computability, Complexity and Algorithms (a) Let G(V, E) be an undirected unweighted graph. Let C V be a vertex cover of G. Argue that V \ C is an independent set of G. (b) Minimum cardinality vertex
More informationComputing Connected Components Given a graph G = (V; E) compute the connected components of G. Connected-Components(G) 1 for each vertex v 2 V [G] 2 d
Data Structures for Disjoint Sets Maintain a Dynamic collection of disjoint sets. Each set has a unique representative (an arbitrary member of the set). x. Make-Set(x) - Create a new set with one member
More informationWeek 4. (1) 0 f ij u ij.
Week 4 1 Network Flow Chapter 7 of the book is about optimisation problems on networks. Section 7.1 gives a quick introduction to the definitions of graph theory. In fact I hope these are already known
More informationCodes over Subfields. Chapter Basics
Chapter 7 Codes over Subfields In Chapter 6 we looked at various general methods for constructing new codes from old codes. Here we concentrate on two more specialized techniques that result from writing
More informationQ(x n+1,..., x m ) in n independent variables
Cluster algebras of geometric type (Fomin / Zelevinsky) m n positive integers ambient field F of rational functions over Q(x n+1,..., x m ) in n independent variables Definition: A seed in F is a pair
More informationChapter 2 Spectra of Finite Graphs
Chapter 2 Spectra of Finite Graphs 2.1 Characteristic Polynomials Let G = (V, E) be a finite graph on n = V vertices. Numbering the vertices, we write down its adjacency matrix in an explicit form of n
More informationA Bound on the Number of Spanning Trees in Bipartite Graphs
A Bound on the Number of Spanning Trees in Bipartite Graphs Cheng Wai Koo Mohamed Omar, Advisor Nicholas Pippenger, Reader Department of Mathematics May, 2016 Copyright 2016 Cheng Wai Koo. The author grants
More informationRing Sums, Bridges and Fundamental Sets
1 Ring Sums Definition 1 Given two graphs G 1 = (V 1, E 1 ) and G 2 = (V 2, E 2 ) we define the ring sum G 1 G 2 = (V 1 V 2, (E 1 E 2 ) (E 1 E 2 )) with isolated points dropped. So an edge is in G 1 G
More informationGeneralizations of the Strong Arnold Property and the Inverse Eigenvalue Problem of a Graph
Generalizations of the and the Inverse Eigenvalue Problem of a Graph Iowa State University and American Institute of Mathematics MM Joint Mathematics Meetings Atlanta, GA, January 7, 2017 Joint work with
More informationThe Minimum Rank, Inverse Inertia, and Inverse Eigenvalue Problems for Graphs. Mark C. Kempton
The Minimum Rank, Inverse Inertia, and Inverse Eigenvalue Problems for Graphs Mark C. Kempton A thesis submitted to the faculty of Brigham Young University in partial fulfillment of the requirements for
More information8 Priority Queues. 8 Priority Queues. Prim s Minimum Spanning Tree Algorithm. Dijkstra s Shortest Path Algorithm
8 Priority Queues 8 Priority Queues A Priority Queue S is a dynamic set data structure that supports the following operations: S. build(x 1,..., x n ): Creates a data-structure that contains just the elements
More informationLinear graph theory. Basic definitions of linear graphs
Linear graph theory Linear graph theory, a branch of combinatorial mathematics has proved to be a useful tool for the study of large or complex systems. Leonhard Euler wrote perhaps the first paper on
More informationANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3
ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3 ISSUED 24 FEBRUARY 2018 1 Gaussian elimination Let A be an (m n)-matrix Consider the following row operations on A (1) Swap the positions any
More informationTopics in Approximation Algorithms Solution for Homework 3
Topics in Approximation Algorithms Solution for Homework 3 Problem 1 We show that any solution {U t } can be modified to satisfy U τ L τ as follows. Suppose U τ L τ, so there is a vertex v U τ but v L
More informationPreliminaries. Graphs. E : set of edges (arcs) (Undirected) Graph : (i, j) = (j, i) (edges) V = {1, 2, 3, 4, 5}, E = {(1, 3), (3, 2), (2, 4)}
Preliminaries Graphs G = (V, E), V : set of vertices E : set of edges (arcs) (Undirected) Graph : (i, j) = (j, i) (edges) 1 2 3 5 4 V = {1, 2, 3, 4, 5}, E = {(1, 3), (3, 2), (2, 4)} 1 Directed Graph (Digraph)
More informationarxiv: v15 [math.oc] 19 Oct 2016
LP formulations for mixed-integer polynomial optimization problems Daniel Bienstock and Gonzalo Muñoz, Columbia University, December 2014 arxiv:1501.00288v15 [math.oc] 19 Oct 2016 Abstract We present a
More informationAn Introduction to Spectral Graph Theory
An Introduction to Spectral Graph Theory Mackenzie Wheeler Supervisor: Dr. Gary MacGillivray University of Victoria WheelerM@uvic.ca Outline Outline 1. How many walks are there from vertices v i to v j
More information/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Matroids and Greedy Algorithms Date: 10/31/16
60.433/633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Matroids and Greedy Algorithms Date: 0/3/6 6. Introduction We talked a lot the last lecture about greedy algorithms. While both Prim
More information4 Packing T-joins and T-cuts
4 Packing T-joins and T-cuts Introduction Graft: A graft consists of a connected graph G = (V, E) with a distinguished subset T V where T is even. T-cut: A T -cut of G is an edge-cut C which separates
More informationCS675: Convex and Combinatorial Optimization Fall 2016 Combinatorial Problems as Linear and Convex Programs. Instructor: Shaddin Dughmi
CS675: Convex and Combinatorial Optimization Fall 2016 Combinatorial Problems as Linear and Convex Programs Instructor: Shaddin Dughmi Outline 1 Introduction 2 Shortest Path 3 Algorithms for Single-Source
More informationOn the number of spanning trees of K m n ± G graphs
Discrete Mathematics and Theoretical Computer Science DMTCS vol 8, 006, 35 48 On the number of spanning trees of K m n ± G graphs Stavros D Nikolopoulos and Charis Papadopoulos Department of Computer Science,
More informationClassical Complexity and Fixed-Parameter Tractability of Simultaneous Consecutive Ones Submatrix & Editing Problems
Classical Complexity and Fixed-Parameter Tractability of Simultaneous Consecutive Ones Submatrix & Editing Problems Rani M. R, Mohith Jagalmohanan, R. Subashini Binary matrices having simultaneous consecutive
More informationThe minimum G c cut problem
The minimum G c cut problem Abstract In this paper we define and study the G c -cut problem. Given a complete undirected graph G = (V ; E) with V = n, edge weighted by w(v i, v j ) 0 and an undirected
More informationMath 775 Homework 1. Austin Mohr. February 9, 2011
Math 775 Homework 1 Austin Mohr February 9, 2011 Problem 1 Suppose sets S 1, S 2,..., S n contain, respectively, 2, 3,..., n 1 elements. Proposition 1. The number of SDR s is at least 2 n, and this bound
More informationTHE Q-SPECTRUM AND SPANNING TREES OF TENSOR PRODUCTS OF BIPARTITE GRAPHS
PROCEEDINGS OF THE AMERICAN MATHEMATICAL SOCIETY Volume 125, Number 11, November 1997, Pages 3155 3161 S 0002-9939(9704049-5 THE Q-SPECTRUM AND SPANNING TREES OF TENSOR PRODUCTS OF BIPARTITE GRAPHS TIMOTHY
More informationSublinear Algorithms Lecture 3. Sofya Raskhodnikova Penn State University
Sublinear Algorithms Lecture 3 Sofya Raskhodnikova Penn State University 1 Graph Properties Testing if a Graph is Connected [Goldreich Ron] Input: a graph G = (V, E) on n vertices in adjacency lists representation
More informationMatrices: 2.1 Operations with Matrices
Goals In this chapter and section we study matrix operations: Define matrix addition Define multiplication of matrix by a scalar, to be called scalar multiplication. Define multiplication of two matrices,
More informationGraph G = (V, E). V ={vertices}, E={edges}. V={a,b,c,d,e,f,g,h,k} E={(a,b),(a,g),( a,h),(a,k),(b,c),(b,k),...,(h,k)}
Graph Theory Graph G = (V, E). V ={vertices}, E={edges}. a b c h k d g f e V={a,b,c,d,e,f,g,h,k} E={(a,b),(a,g),( a,h),(a,k),(b,c),(b,k),...,(h,k)} E =16. Digraph D = (V, A). V ={vertices}, E={edges}.
More informationHW2 Solutions Problem 1: 2.22 Find the sign and inverse of the permutation shown in the book (and below).
Teddy Einstein Math 430 HW Solutions Problem 1:. Find the sign and inverse of the permutation shown in the book (and below). Proof. Its disjoint cycle decomposition is: (19)(8)(37)(46) which immediately
More informationStrongly regular graphs and Borsuk s conjecture
Optimal Point Configurations and Orthogonal Polynomials 2017 Strongly regular graphs and Borsuk s conjecture Andriy Bondarenko Norwegian University of Science and Technology 19 April 2017 Andriy Bondarenko
More informationRecall: Matchings. Examples. K n,m, K n, Petersen graph, Q k ; graphs without perfect matching
Recall: Matchings A matching is a set of (non-loop) edges with no shared endpoints. The vertices incident to an edge of a matching M are saturated by M, the others are unsaturated. A perfect matching of
More informationMatrices. Chapter Definitions and Notations
Chapter 3 Matrices 3. Definitions and Notations Matrices are yet another mathematical object. Learning about matrices means learning what they are, how they are represented, the types of operations which
More informationCS675: Convex and Combinatorial Optimization Fall 2014 Combinatorial Problems as Linear Programs. Instructor: Shaddin Dughmi
CS675: Convex and Combinatorial Optimization Fall 2014 Combinatorial Problems as Linear Programs Instructor: Shaddin Dughmi Outline 1 Introduction 2 Shortest Path 3 Algorithms for Single-Source Shortest
More informationOn minors of the compound matrix of a Laplacian
On minors of the compound matrix of a Laplacian R. B. Bapat 1 Indian Statistical Institute New Delhi, 110016, India e-mail: rbb@isid.ac.in August 28, 2013 Abstract: Let L be an n n matrix with zero row
More informationCounting Points on Curves of the Form y m 1 = c 1x n 1 + c 2x n 2 y m 2
Counting Points on Curves of the Form y m 1 = c 1x n 1 + c 2x n 2 y m 2 Matthew Hase-Liu Mentor: Nicholas Triantafillou Sixth Annual Primes Conference 21 May 2016 Curves Definition A plane algebraic curve
More informationLecture Semidefinite Programming and Graph Partitioning
Approximation Algorithms and Hardness of Approximation April 16, 013 Lecture 14 Lecturer: Alantha Newman Scribes: Marwa El Halabi 1 Semidefinite Programming and Graph Partitioning In previous lectures,
More informationOn Böttcher s mysterious identity
AUSTRALASIAN JOURNAL OF COBINATORICS Volume 43 (2009), Pages 307 316 On Böttcher s mysterious identity Ömer Eğecioğlu Department of Computer Science University of California Santa Barbara, CA 93106 U.S.A.
More informationPolynomials in graph theory
Polynomials in graph theory Alexey Bogatov Department of Software Engineering Faculty of Mathematics and Mechanics Saint Petersburg State University JASS 2007 Saint Petersburg Course 1: Polynomials: Their
More informationSome Notes on Linear Algebra
Some Notes on Linear Algebra prepared for a first course in differential equations Thomas L Scofield Department of Mathematics and Statistics Calvin College 1998 1 The purpose of these notes is to present
More information0-Sum and 1-Sum Flows in Regular Graphs
0-Sum and 1-Sum Flows in Regular Graphs S. Akbari Department of Mathematical Sciences Sharif University of Technology Tehran, Iran School of Mathematics, Institute for Research in Fundamental Sciences
More informationOn the reconstruction of the degree sequence
Discrete Mathematics 259 (2002) 293 300 www.elsevier.com/locate/disc Note On the reconstruction of the degree sequence Charles Delorme a, Odile Favaron a, Dieter Rautenbach b;c; ;1 a LRI, Bât. 490, Universite
More informationA Generalized Algorithm for Computing Matching Polynomials using Determinants. Asa Scherer
A Generalized Algorithm for Computing Matching Polynomials using Determinants Asa Scherer April 17, 2007 Abstract We discuss the connection between determinants of modified matching matrices and the matching
More informationSpectra of Semidirect Products of Cyclic Groups
Spectra of Semidirect Products of Cyclic Groups Nathan Fox 1 University of Minnesota-Twin Cities Abstract The spectrum of a graph is the set of eigenvalues of its adjacency matrix A group, together with
More informationSeparation Techniques for Constrained Nonlinear 0 1 Programming
Separation Techniques for Constrained Nonlinear 0 1 Programming Christoph Buchheim Computer Science Department, University of Cologne and DEIS, University of Bologna MIP 2008, Columbia University, New
More informationA PRIMER ON SESQUILINEAR FORMS
A PRIMER ON SESQUILINEAR FORMS BRIAN OSSERMAN This is an alternative presentation of most of the material from 8., 8.2, 8.3, 8.4, 8.5 and 8.8 of Artin s book. Any terminology (such as sesquilinear form
More informationTechnische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik. Combinatorial Optimization (MA 4502)
Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik Combinatorial Optimization (MA 4502) Dr. Michael Ritter Problem Sheet 1 Homework Problems Exercise
More information1 Last time: linear systems and row operations
1 Last time: linear systems and row operations Here s what we did last time: a system of linear equations or linear system is a list of equations a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22
More informationMinimum spanning tree
Minimum spanning tree Jean Cousty MorphoGraph and Imagery 2011 J. Cousty : MorphoGraph and Imagery 1/17 Outline of the lecture 1 Minimum spanning tree 2 Cut theorem for MST 3 Kruskal algorithm J. Cousty
More informationFORBIDDEN MINORS FOR THE CLASS OF GRAPHS G WITH ξ(g) 2. July 25, 2006
FORBIDDEN MINORS FOR THE CLASS OF GRAPHS G WITH ξ(g) 2 LESLIE HOGBEN AND HEIN VAN DER HOLST July 25, 2006 Abstract. For a given simple graph G, S(G) is defined to be the set of real symmetric matrices
More informationSYMMETRIC DETERMINANTAL REPRESENTATIONS IN CHARACTERISTIC 2
SYMMETRIC DETERMINANTAL REPRESENTATIONS IN CHARACTERISTIC 2 BRUNO GRENET, THIERRY MONTEIL, AND STÉPHAN THOMASSÉ Abstract. This paper studies Symmetric Determinantal Representations (SDR) in characteristic
More information1 Determinants. 1.1 Determinant
1 Determinants [SB], Chapter 9, p.188-196. [SB], Chapter 26, p.719-739. Bellow w ll study the central question: which additional conditions must satisfy a quadratic matrix A to be invertible, that is to
More informationAdvanced Combinatorial Optimization Feb 13 and 25, Lectures 4 and 6
18.438 Advanced Combinatorial Optimization Feb 13 and 25, 2014 Lectures 4 and 6 Lecturer: Michel X. Goemans Scribe: Zhenyu Liao and Michel X. Goemans Today, we will use an algebraic approach to solve the
More informationThe Algorithmic Aspects of the Regularity Lemma
The Algorithmic Aspects of the Regularity Lemma N. Alon R. A. Duke H. Lefmann V. Rödl R. Yuster Abstract The Regularity Lemma of Szemerédi is a result that asserts that every graph can be partitioned in
More informationAn Improved Algorithm for Parameterized Edge Dominating Set Problem
An Improved Algorithm for Parameterized Edge Dominating Set Problem Ken Iwaide and Hiroshi Nagamochi Department of Applied Mathematics and Physics, Graduate School of Informatics, Kyoto University, Japan,
More information5 Flows and cuts in digraphs
5 Flows and cuts in digraphs Recall that a digraph or network is a pair G = (V, E) where V is a set and E is a multiset of ordered pairs of elements of V, which we refer to as arcs. Note that two vertices
More informationAn Efficient Algorithm for the Symmetric Principal Minor Assignment Problem
An Efficient Algorithm for the Symmetric Principal Minor Assignment Problem Justin Rising a,, Alex Kulesza b, Ben Taskar c a Department of Statistics University of Pennsylvania, Philadelphia, PA 904 USA
More information(1) for all (2) for all and all
8. Linear mappings and matrices A mapping f from IR n to IR m is called linear if it fulfills the following two properties: (1) for all (2) for all and all Mappings of this sort appear frequently in the
More informationNATIONAL UNIVERSITY OF SINGAPORE CS3230 DESIGN AND ANALYSIS OF ALGORITHMS SEMESTER II: Time Allowed 2 Hours
NATIONAL UNIVERSITY OF SINGAPORE CS3230 DESIGN AND ANALYSIS OF ALGORITHMS SEMESTER II: 2017 2018 Time Allowed 2 Hours INSTRUCTIONS TO STUDENTS 1. This assessment consists of Eight (8) questions and comprises
More informationThings we can already do with matrices. Unit II - Matrix arithmetic. Defining the matrix product. Things that fail in matrix arithmetic
Unit II - Matrix arithmetic matrix multiplication matrix inverses elementary matrices finding the inverse of a matrix determinants Unit II - Matrix arithmetic 1 Things we can already do with matrices equality
More informationNotes on Linear Algebra
1 Notes on Linear Algebra Jean Walrand August 2005 I INTRODUCTION Linear Algebra is the theory of linear transformations Applications abound in estimation control and Markov chains You should be familiar
More informationOn some matrices related to a tree with attached graphs
On some matrices related to a tree with attached graphs R. B. Bapat Indian Statistical Institute New Delhi, 110016, India fax: 91-11-26856779, e-mail: rbb@isid.ac.in Abstract A tree with attached graphs
More informationTechnische Universität Dresden Institute of Numerical Mathematics
Technische Universität Dresden Institute of Numerical Mathematics An Improved Flow-based Formulation and Reduction Principles for the Minimum Connectivity Inference Problem Muhammad Abid Dar Andreas Fischer
More informationDynamic Programming: Shortest Paths and DFA to Reg Exps
CS 374: Algorithms & Models of Computation, Spring 207 Dynamic Programming: Shortest Paths and DFA to Reg Exps Lecture 8 March 28, 207 Chandra Chekuri (UIUC) CS374 Spring 207 / 56 Part I Shortest Paths
More informationLinear Projections of the Vandermonde Polynomial
Linear Projections of the Vandermonde Polynomial C. Ramya B. V. Raghavendra Rao Department of Computer Science and Engineering IIT Madras, Chennai, INDIA {ramya,bvrr}@cse.iitm.ac.in arxiv:1705.03188v1
More informationA Generalization of Wigner s Law
A Generalization of Wigner s Law Inna Zakharevich June 2, 2005 Abstract We present a generalization of Wigner s semicircle law: we consider a sequence of probability distributions (p, p 2,... ), with mean
More informationDominating Set Counting in Graph Classes
Dominating Set Counting in Graph Classes Shuji Kijima 1, Yoshio Okamoto 2, and Takeaki Uno 3 1 Graduate School of Information Science and Electrical Engineering, Kyushu University, Japan kijima@inf.kyushu-u.ac.jp
More informationLecture 1 and 2: Random Spanning Trees
Recent Advances in Approximation Algorithms Spring 2015 Lecture 1 and 2: Random Spanning Trees Lecturer: Shayan Oveis Gharan March 31st Disclaimer: These notes have not been subjected to the usual scrutiny
More informationMaximising the number of induced cycles in a graph
Maximising the number of induced cycles in a graph Natasha Morrison Alex Scott April 12, 2017 Abstract We determine the maximum number of induced cycles that can be contained in a graph on n n 0 vertices,
More informationarxiv:math/ v1 [math.co] 13 Jul 2005
A NEW PROOF OF THE REFINED ALTERNATING SIGN MATRIX THEOREM arxiv:math/0507270v1 [math.co] 13 Jul 2005 Ilse Fischer Fakultät für Mathematik, Universität Wien Nordbergstrasse 15, A-1090 Wien, Austria E-mail:
More informationLecture 7: Schwartz-Zippel Lemma, Perfect Matching. 1.1 Polynomial Identity Testing and Schwartz-Zippel Lemma
CSE 521: Design and Analysis of Algorithms I Winter 2017 Lecture 7: Schwartz-Zippel Lemma, Perfect Matching Lecturer: Shayan Oveis Gharan 01/30/2017 Scribe: Philip Cho Disclaimer: These notes have not
More informationAditya Bhaskara CS 5968/6968, Lecture 1: Introduction and Review 12 January 2016
Lecture 1: Introduction and Review We begin with a short introduction to the course, and logistics. We then survey some basics about approximation algorithms and probability. We also introduce some of
More informationApplications of the Lopsided Lovász Local Lemma Regarding Hypergraphs
Regarding Hypergraphs Ph.D. Dissertation Defense April 15, 2013 Overview The Local Lemmata 2-Coloring Hypergraphs with the Original Local Lemma Counting Derangements with the Lopsided Local Lemma Lopsided
More informationELA
THE DISTANCE MATRIX OF A BIDIRECTED TREE R. B. BAPAT, A. K. LAL, AND SUKANTA PATI Abstract. A bidirected tree is a tree in which each edge is replaced by two arcs in either direction. Formulas are obtained
More informationDetermining a span. λ + µ + ν = x 2λ + 2µ 10ν = y λ + 3µ 9ν = z.
Determining a span Set V = R 3 and v 1 = (1, 2, 1), v 2 := (1, 2, 3), v 3 := (1 10, 9). We want to determine the span of these vectors. In other words, given (x, y, z) R 3, when is (x, y, z) span(v 1,
More informationLifting theorems and facet characterization for a class of clique partitioning inequalities
Operations Research Letters 24 (1999) 235 243 www.elsevier.com/locate/orms Lifting theorems and facet characterization for a class of clique partitioning inequalities Hans-Jurgen Bandelt a, Maarten Oosten
More informationACO Comprehensive Exam October 18 and 19, Analysis of Algorithms
Consider the following two graph problems: 1. Analysis of Algorithms Graph coloring: Given a graph G = (V,E) and an integer c 0, a c-coloring is a function f : V {1,,...,c} such that f(u) f(v) for all
More information