Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Kirchhoff's theorem
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== An example using the matrix-tree theorem == [[Image:Graph with all its spanning trees.svg|thumb|The Matrix-Tree Theorem can be used to compute the number of labeled spanning trees of this graph.]] First, construct the Laplacian matrix ''Q'' for the example [[diamond graph]] ''G'' (see image on the right): : <math>Q = \left[\begin{array}{rrrr} 2 & -1 & -1 & 0 \\ -1 & 3 & -1 & -1 \\ -1 & -1 & 3 & -1 \\ 0 & -1 & -1 & 2 \end{array}\right].</math> Next, construct a matrix ''Q''<sup>*</sup> by deleting any row and any column from ''Q''. For example, deleting row 1 and column 1 yields : <math>Q^\ast = \left[\begin{array}{rrr} 3 & -1 & -1 \\ -1 & 3 & -1 \\ -1 & -1 & 2 \end{array}\right].</math> Finally, take the determinant of ''Q''<sup>*</sup> to obtain ''t''(''G''), which is 8 for the diamond graph. (Notice ''t''(''G'') is the (1,1)-cofactor of ''Q'' in this example.)
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)