Grinberg-Introduction-Graph-Theory · Problem 5.25
Trees and arborescences
Mathematics — Graph Theory · spanning-trees-complete-bipartite
Problem
Let and be two positive integers. Let be the simple graph with vertices where two vertices and are adjacent if and only if they have opposite signs (i.e., each positive vertex is adjacent to each negative vertex, but no two vertices of the same sign are adjacent). [For example, here is how looks like: a bipartite graph with vertices on top and on bottom.] How many spanning trees does have?Intuitive explanation
A spanning tree of must connect all vertices using exactly edges from the complete bipartite graph. The key insight is that every edge must go between the two parts (positive and negative vertices), so any spanning tree is determined by how many edges connect each positive vertex to the negative vertices—think of it as a flow problem where you're distributing "connection slots" among positive vertices such that every vertex gets at least one connection and the graph stays connected. This constraint can be counted using the Matrix-Tree Theorem or a direct combinatorial argument about valid degree sequences in a bipartite tree.
Intuitive explanation
A spanning tree of must connect all vertices using exactly edges from the complete bipartite graph. The key insight is that every edge must go between the two parts (positive and negative vertices), so any spanning tree is determined by how many edges connect each positive vertex to the negative vertices—think of it as a flow problem where you're distributing "connection slots" among positive vertices such that every vertex gets at least one connection and the graph stays connected. This constraint can be counted using the Matrix-Tree Theorem or a direct combinatorial argument about valid degree sequences in a bipartite tree.