Number of possible trees in graph theory

Click For Summary

Discussion Overview

The discussion revolves around the calculation of the number of possible trees in graph theory, specifically focusing on the use of incidence matrices and graph Laplacians. Participants explore the methods for determining spanning trees and the implications of manipulating these matrices in the context of homework problems.

Discussion Character

  • Homework-related
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant describes their approach to finding the number of trees by removing a row from the incidence matrix and calculating the determinant of the product of the matrix and its transpose, noting inconsistencies based on which row is removed.
  • Another participant suggests that the method being used may be misapplied and emphasizes the importance of understanding the incidence matrices, recommending specific literature for further reading.
  • There is a discussion about whether to remove one row and one column or just one row when working with the incidence matrix, with some participants indicating that the book's instructions are unclear.
  • Clarification is provided regarding the graph Laplacian, with one participant explaining its definition and relationship to the incidence matrix, while also noting that the Laplacian is crucial for analyzing graph properties.
  • Questions arise about the meaning and formula of the Laplacian matrix, with participants seeking clarification on its role compared to the incidence matrix.

Areas of Agreement / Disagreement

Participants express differing views on the correct approach to manipulating the incidence matrix and the graph Laplacian, indicating that there is no consensus on the method to be used for calculating the number of trees.

Contextual Notes

Participants highlight potential issues with the incidence matrix, such as the sum of elements in columns not equating to zero, and the implications of these observations on the calculations being performed. There is also mention of the need for clarity regarding the definitions and relationships between the matrices involved.

jaus tail
Messages
613
Reaction score
48

Homework Statement


upload_2017-12-20_18-24-19.png


Homework Equations


Reduce the matrix to reduced matrix by removing 1 row completely
Number of trees = determinant of [ Ar times ArT ]

The Attempt at a Solution


I removed 4th row to get Ar(reduced matrix)
Then I did Ar times Ar (transpose)
And found it's determinant but I got different answer depending on which row I remove.
Do I randomly remove any row?
Sorry for posting too many homework questions. I have an exam coming up in Feb.
 

Attachments

  • upload_2017-12-20_18-24-19.png
    upload_2017-12-20_18-24-19.png
    3.7 KB · Views: 1,312
  • Like
Likes   Reactions: Delta2
Physics news on Phys.org
Long story short, this looks like a mechanical recipe being misapplied. I don't understand your incidence matrices. Or to the extent I do understand them, then the shoe doesn't fit.

- - - - - -
If you're looking for understanding, I would strongly suggest reading chapter 21 of Thirty Three Miniatures. A free pre-publication draft is a available here:

http://kam.mff.cuni.cz/~matousek/stml-53-matousek-1.pdf

(note to moderators: see referring page under "books" here: http://kam.mff.cuni.cz/~matousek/ )

another place to look is:

http://math.mit.edu/~levine/18.312/alg-comb-lecture-19.pdf- - - -
Mechanically there are a few problems here. Technical nit: you aren't just counting trees, you're counting spanning trees.

In general, a clean way to do this is to lop off the final row and final column of the graph Laplacian. (Via graph isomorphism arguments it ultimately doesn't matter, but doing the outermost components is easiest.) There's a few ways to proceed. Key question: what does the graph Laplacian look like?

You can draw the actual picture associated with your incidence matrix and make the graph Laplacian by hand.

What you currently, in effect, are saying is that ##\mathbf L = \mathbf A \mathbf A^T##. The (un-normalized aka combinatorial) graph Laplacian is supposed to have the ones vector in its nullspace, such that we always have ##\mathbf 1^T \mathbf L \mathbf 1 = 0##.

But in your example ##\mathbf 1 ^T \mathbf L \mathbf 1 = \big(\mathbf 1^T \mathbf A\big)\big( \mathbf A^T \mathbf 1\big) \gt 0##. I.e. the fact that ##\big( \mathbf A^T \mathbf 1\big) \neq \mathbf 0## is a red flag that something is amiss with your incidence matrix and/or how you're interpreting / applying it.
 
  • Like
Likes   Reactions: jaus tail
In solved examples all incidence matrix had sum of elements in each columns as 0. So I think there must be a typo in the question.
Do you lop off one row and one column?
Book says to remove only one row to get reduced incidence matrix. It doesn't mention removing any column.
 
It depends on whether you're working directly with ##\mathbf L## or instead the incidence matrix ##\mathbf A##. If ##\mathbf L##, then remove outer most row and column. If working directly with a conforming incidence matrix, then if you work through the multiplications, you'll see just removing the bottom row of the incidence matrix is equivalent.
 
  • Like
Likes   Reactions: jaus tail
What is L? The notes only have A as incidence matrix and Ar as reduced incidence matrix and then there are formula of number of graphs and number of twigs/branches.
Is there some formula of L? What does L mean?
 
##\mathbf L## is the 'regular', aka 'combinatorial' aka 'unnormalized' graph Lapalacian. It is generally defined as the degree matrix minus the adjacency matrix. If your graph is undirected/ symmetric, you generally have a relation to incidence matrix ##\mathbf A## in the form of ##\mathbf L = \mathbf {AA}^T## (or ##\mathbf A^T \mathbf A## depnding on how you set it up.)

check out

https://en.wikipedia.org/wiki/Laplacian_matrix

They also fully define it in the links I gave to a pdf from MIT and a pdf called Thirty Three Miniatures.

(note in general ##\mathbf A## tends to refer to an adjacency matrix, not the incidence matrix, but that's a minor convention.)

The graph Laplacian in some sense is the end-game for looking at interesting stuff in graphs. Your incidence matrix is just a pre-cursor. (Nothing wrong with working directly with the precursor though.)
 
  • Like
Likes   Reactions: jaus tail

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 32 ·
2
Replies
32
Views
3K
Replies
4
Views
3K
  • · Replies 9 ·
Replies
9
Views
3K
Replies
1
Views
3K
  • · Replies 22 ·
Replies
22
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K