Graph Theory - Application of Kirchoff's Matrix Tree Theorem
Calculate the number of spanning trees of the graph that you obtain by removing one edge from $K_n$.
(Hint: How many of the spanning trees of $K_n$ contain the edge?)
I know the number is $(n-2)n^{n-3}$ and that Kirchoff's matrix tree theorem applies but how do I show this?
combinatorics graph-theory determinant trees algebraic-combinatorics
add a comment |
Calculate the number of spanning trees of the graph that you obtain by removing one edge from $K_n$.
(Hint: How many of the spanning trees of $K_n$ contain the edge?)
I know the number is $(n-2)n^{n-3}$ and that Kirchoff's matrix tree theorem applies but how do I show this?
combinatorics graph-theory determinant trees algebraic-combinatorics
The total number of spanning trees of $K_n$ is $n^{n-2}$ (by Cayley's formula). But if $f$ is any fixed edge of $K_n$, then the number of spanning trees of $K_n$ is $2n^{n-3}$ (by Corollary 6 in mathoverflow.net/questions/273399/… ). Now subtract.
– darij grinberg
Sep 29 '18 at 2:20
add a comment |
Calculate the number of spanning trees of the graph that you obtain by removing one edge from $K_n$.
(Hint: How many of the spanning trees of $K_n$ contain the edge?)
I know the number is $(n-2)n^{n-3}$ and that Kirchoff's matrix tree theorem applies but how do I show this?
combinatorics graph-theory determinant trees algebraic-combinatorics
Calculate the number of spanning trees of the graph that you obtain by removing one edge from $K_n$.
(Hint: How many of the spanning trees of $K_n$ contain the edge?)
I know the number is $(n-2)n^{n-3}$ and that Kirchoff's matrix tree theorem applies but how do I show this?
combinatorics graph-theory determinant trees algebraic-combinatorics
combinatorics graph-theory determinant trees algebraic-combinatorics
edited Sep 29 '18 at 2:18
darij grinberg
10.2k33062
10.2k33062
asked Mar 26 '17 at 18:45
C.Weidman
212
212
The total number of spanning trees of $K_n$ is $n^{n-2}$ (by Cayley's formula). But if $f$ is any fixed edge of $K_n$, then the number of spanning trees of $K_n$ is $2n^{n-3}$ (by Corollary 6 in mathoverflow.net/questions/273399/… ). Now subtract.
– darij grinberg
Sep 29 '18 at 2:20
add a comment |
The total number of spanning trees of $K_n$ is $n^{n-2}$ (by Cayley's formula). But if $f$ is any fixed edge of $K_n$, then the number of spanning trees of $K_n$ is $2n^{n-3}$ (by Corollary 6 in mathoverflow.net/questions/273399/… ). Now subtract.
– darij grinberg
Sep 29 '18 at 2:20
The total number of spanning trees of $K_n$ is $n^{n-2}$ (by Cayley's formula). But if $f$ is any fixed edge of $K_n$, then the number of spanning trees of $K_n$ is $2n^{n-3}$ (by Corollary 6 in mathoverflow.net/questions/273399/… ). Now subtract.
– darij grinberg
Sep 29 '18 at 2:20
The total number of spanning trees of $K_n$ is $n^{n-2}$ (by Cayley's formula). But if $f$ is any fixed edge of $K_n$, then the number of spanning trees of $K_n$ is $2n^{n-3}$ (by Corollary 6 in mathoverflow.net/questions/273399/… ). Now subtract.
– darij grinberg
Sep 29 '18 at 2:20
add a comment |
3 Answers
3
active
oldest
votes
All edges of $K_n$ are identical. So if there are $n^{n-2}$ spanning trees of $K_n$, and each includes $n-1$ edges out of $binom n2$, then each edge is included in $$frac{n-1}{binom n2} cdot n^{n-2} = frac2n cdot n^{n-2} = 2n^{n-3}$$ spanning trees.
(Normally, this would be "included in an average of $2n^{n-3}$ spanning trees", but because all edges of $K_n$ are identical, all of them are contained in exactly the average number.)
add a comment |
By Cayley's formula or Prufer encoding we have that the number of spanning trees of $K_n$ is $n^{n-2}$.
By Kirchoff' theorem, the number of spanning trees in $K_nsetminus e$ is given by the determinant of the reduced Laplacian matrix of $K_nsetminus e$. The Laplacian matrix (in the $n=5$ case) has the following structure:
$$ begin{pmatrix}
n-2 & -1 & -1 & -1 & 0 \
-1 & n-1 & -1 & -1 & -1 \
-1 & -1 & n-1 & -1 & -1 \
-1 & -1 & -1 & n-1 & -1 \
0 & -1 & -1 & -1 & n-2 end{pmatrix} $$
and a similar structure in the general case. By removing the last row&column, the problem boils down to computing the determinant of a $(n-1)times(n-1)$ matrix with off-diagonal elements equal to $-1$ and diagonal elements equal to $n-2,n-1,ldots,n-1$. By performing one step of Gaussian elimination and a Laplace expansion along the first row, the wanted number of spanning trees is so given by:
$$ detbegin{pmatrix}n-1 & -n & 0 & 0 \ -1 & n-1 & -1 & -1 \ -1& -1 & n-1 & -1 \ -1 & -1 & -1 & n-1end{pmatrix}$$
that is simple to compute from the fact that the determinant of o $(n-1)times(n-1)$ matrix with diagonal elements equal to $(n-1)$ and off-diagonal elements equal to $-1$ is $n^{n-2}$.
On the other hand, by Grinberg's remark (For each edge $e$ of $K_n$, the number of spanning trees of $K_n$ containing $e$ does not depend on $e$ (to prove this, pick any two edges $e$ and $f$ of $K_n$, and set up a bijection between the spanning trees containing $e$ and the spanning trees containing $f$). But the sum of these numbers is $n−1$ times the number of all spanning trees of $K_n$) the answer is given by $$n^{n-2}-(n-1)n^{n-2}binom{n}{2}^{-1}=color{red}{(n-2)n^{n-3}}.$$
add a comment |
Recall the combinatorial class $mathcal{T}$ of rooted labeled trees
with equation
$$deftextsc#1{dosc#1csod}
defdosc#1#2csod{{rm #1{small #2}}}mathcal{T} =
mathcal{Z} times textsc{SET}(mathcal{T})$$
which gives the functional equation
$$T(z) = z exp T(z).$$
Place the mandantory edge ${1,2}$ in the center, and attach two sets
of rooted trees by choosing $q$ labels from the remaining $n-2$ labels
for the trees attached to node $1$ and using the rest for the trees
attached to node $2.$ Replicate the ordering of the nodes in the two
sets of trees using the chosen labels. We get
$$sum_{q=0}^{n-2} {n-2choose q}
left(q! [z^q] exp T(z)right)
left((n-2-q)! [z^{n-2-q}] exp T(z)right)
= (n-2)! [z^{n-2}] (exp(T(z))^2
= (n-2)! [z^{n-2}] frac{T(z)^2}{z^2}
= (n-2)! [z^{n}] T(z)^2.$$
Introducing
$$T(z)^2 = sum_{qge 0} Q_n frac{z^n}{n!}$$
we therefore seek $P_n = (n-2)! frac{Q_n}{n!} = frac{Q_n}{n(n-1)}$
(here $Q_0 = Q_1 = 0$ and we take $nge 2$)
and extract coefficients from $T(z)^2$ using the Cauchy Coefficient
Formula:
$$frac{Q_n}{(n-1)!} =
[z^{n-1}] left(T(z)^2right)'
= [z^{n-1}] 2 T(z) T'(z)
\ = frac{1}{2pi i}
int_{|z|=epsilon} frac{2}{z^n} T(z) T'(z) ; dz.$$
Using the functional equation we put $w = T(z)$ so that $z=wexp(-w)$
to obtain
$$frac{1}{2pi i}
int_{|w|=gamma} frac{2exp(nw)}{w^n} w ; dw
= frac{1}{2pi i}
int_{|w|=gamma} frac{2exp(nw)}{w^{n-1}} ; dw
= 2frac{n^{n-2}}{(n-2)!}.$$
We thus have
$$Q_n = (n-1)! times 2frac{n^{n-2}}{(n-2)!} =
(n-1) times 2 n^{n-2}$$
and therefore
$$bbox[5px,border:2px solid #00A000]{
P_n = 2 n^{n-3}.}$$
Remark. The initial construction may be simplfied by recognizing
that we require the combinatorial class
$$textsc{SET}(mathcal{T}) times textsc{SET}(mathcal{T})$$
where the trees in the first set are attached by their roots to the
node $1$ and the ones in the second to the node $2$. We have absorbed
the step with the binomial coefficient and may then continue as
before.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2204160%2fgraph-theory-application-of-kirchoffs-matrix-tree-theorem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
All edges of $K_n$ are identical. So if there are $n^{n-2}$ spanning trees of $K_n$, and each includes $n-1$ edges out of $binom n2$, then each edge is included in $$frac{n-1}{binom n2} cdot n^{n-2} = frac2n cdot n^{n-2} = 2n^{n-3}$$ spanning trees.
(Normally, this would be "included in an average of $2n^{n-3}$ spanning trees", but because all edges of $K_n$ are identical, all of them are contained in exactly the average number.)
add a comment |
All edges of $K_n$ are identical. So if there are $n^{n-2}$ spanning trees of $K_n$, and each includes $n-1$ edges out of $binom n2$, then each edge is included in $$frac{n-1}{binom n2} cdot n^{n-2} = frac2n cdot n^{n-2} = 2n^{n-3}$$ spanning trees.
(Normally, this would be "included in an average of $2n^{n-3}$ spanning trees", but because all edges of $K_n$ are identical, all of them are contained in exactly the average number.)
add a comment |
All edges of $K_n$ are identical. So if there are $n^{n-2}$ spanning trees of $K_n$, and each includes $n-1$ edges out of $binom n2$, then each edge is included in $$frac{n-1}{binom n2} cdot n^{n-2} = frac2n cdot n^{n-2} = 2n^{n-3}$$ spanning trees.
(Normally, this would be "included in an average of $2n^{n-3}$ spanning trees", but because all edges of $K_n$ are identical, all of them are contained in exactly the average number.)
All edges of $K_n$ are identical. So if there are $n^{n-2}$ spanning trees of $K_n$, and each includes $n-1$ edges out of $binom n2$, then each edge is included in $$frac{n-1}{binom n2} cdot n^{n-2} = frac2n cdot n^{n-2} = 2n^{n-3}$$ spanning trees.
(Normally, this would be "included in an average of $2n^{n-3}$ spanning trees", but because all edges of $K_n$ are identical, all of them are contained in exactly the average number.)
answered Mar 26 '17 at 19:13
Misha Lavrov
43.9k555105
43.9k555105
add a comment |
add a comment |
By Cayley's formula or Prufer encoding we have that the number of spanning trees of $K_n$ is $n^{n-2}$.
By Kirchoff' theorem, the number of spanning trees in $K_nsetminus e$ is given by the determinant of the reduced Laplacian matrix of $K_nsetminus e$. The Laplacian matrix (in the $n=5$ case) has the following structure:
$$ begin{pmatrix}
n-2 & -1 & -1 & -1 & 0 \
-1 & n-1 & -1 & -1 & -1 \
-1 & -1 & n-1 & -1 & -1 \
-1 & -1 & -1 & n-1 & -1 \
0 & -1 & -1 & -1 & n-2 end{pmatrix} $$
and a similar structure in the general case. By removing the last row&column, the problem boils down to computing the determinant of a $(n-1)times(n-1)$ matrix with off-diagonal elements equal to $-1$ and diagonal elements equal to $n-2,n-1,ldots,n-1$. By performing one step of Gaussian elimination and a Laplace expansion along the first row, the wanted number of spanning trees is so given by:
$$ detbegin{pmatrix}n-1 & -n & 0 & 0 \ -1 & n-1 & -1 & -1 \ -1& -1 & n-1 & -1 \ -1 & -1 & -1 & n-1end{pmatrix}$$
that is simple to compute from the fact that the determinant of o $(n-1)times(n-1)$ matrix with diagonal elements equal to $(n-1)$ and off-diagonal elements equal to $-1$ is $n^{n-2}$.
On the other hand, by Grinberg's remark (For each edge $e$ of $K_n$, the number of spanning trees of $K_n$ containing $e$ does not depend on $e$ (to prove this, pick any two edges $e$ and $f$ of $K_n$, and set up a bijection between the spanning trees containing $e$ and the spanning trees containing $f$). But the sum of these numbers is $n−1$ times the number of all spanning trees of $K_n$) the answer is given by $$n^{n-2}-(n-1)n^{n-2}binom{n}{2}^{-1}=color{red}{(n-2)n^{n-3}}.$$
add a comment |
By Cayley's formula or Prufer encoding we have that the number of spanning trees of $K_n$ is $n^{n-2}$.
By Kirchoff' theorem, the number of spanning trees in $K_nsetminus e$ is given by the determinant of the reduced Laplacian matrix of $K_nsetminus e$. The Laplacian matrix (in the $n=5$ case) has the following structure:
$$ begin{pmatrix}
n-2 & -1 & -1 & -1 & 0 \
-1 & n-1 & -1 & -1 & -1 \
-1 & -1 & n-1 & -1 & -1 \
-1 & -1 & -1 & n-1 & -1 \
0 & -1 & -1 & -1 & n-2 end{pmatrix} $$
and a similar structure in the general case. By removing the last row&column, the problem boils down to computing the determinant of a $(n-1)times(n-1)$ matrix with off-diagonal elements equal to $-1$ and diagonal elements equal to $n-2,n-1,ldots,n-1$. By performing one step of Gaussian elimination and a Laplace expansion along the first row, the wanted number of spanning trees is so given by:
$$ detbegin{pmatrix}n-1 & -n & 0 & 0 \ -1 & n-1 & -1 & -1 \ -1& -1 & n-1 & -1 \ -1 & -1 & -1 & n-1end{pmatrix}$$
that is simple to compute from the fact that the determinant of o $(n-1)times(n-1)$ matrix with diagonal elements equal to $(n-1)$ and off-diagonal elements equal to $-1$ is $n^{n-2}$.
On the other hand, by Grinberg's remark (For each edge $e$ of $K_n$, the number of spanning trees of $K_n$ containing $e$ does not depend on $e$ (to prove this, pick any two edges $e$ and $f$ of $K_n$, and set up a bijection between the spanning trees containing $e$ and the spanning trees containing $f$). But the sum of these numbers is $n−1$ times the number of all spanning trees of $K_n$) the answer is given by $$n^{n-2}-(n-1)n^{n-2}binom{n}{2}^{-1}=color{red}{(n-2)n^{n-3}}.$$
add a comment |
By Cayley's formula or Prufer encoding we have that the number of spanning trees of $K_n$ is $n^{n-2}$.
By Kirchoff' theorem, the number of spanning trees in $K_nsetminus e$ is given by the determinant of the reduced Laplacian matrix of $K_nsetminus e$. The Laplacian matrix (in the $n=5$ case) has the following structure:
$$ begin{pmatrix}
n-2 & -1 & -1 & -1 & 0 \
-1 & n-1 & -1 & -1 & -1 \
-1 & -1 & n-1 & -1 & -1 \
-1 & -1 & -1 & n-1 & -1 \
0 & -1 & -1 & -1 & n-2 end{pmatrix} $$
and a similar structure in the general case. By removing the last row&column, the problem boils down to computing the determinant of a $(n-1)times(n-1)$ matrix with off-diagonal elements equal to $-1$ and diagonal elements equal to $n-2,n-1,ldots,n-1$. By performing one step of Gaussian elimination and a Laplace expansion along the first row, the wanted number of spanning trees is so given by:
$$ detbegin{pmatrix}n-1 & -n & 0 & 0 \ -1 & n-1 & -1 & -1 \ -1& -1 & n-1 & -1 \ -1 & -1 & -1 & n-1end{pmatrix}$$
that is simple to compute from the fact that the determinant of o $(n-1)times(n-1)$ matrix with diagonal elements equal to $(n-1)$ and off-diagonal elements equal to $-1$ is $n^{n-2}$.
On the other hand, by Grinberg's remark (For each edge $e$ of $K_n$, the number of spanning trees of $K_n$ containing $e$ does not depend on $e$ (to prove this, pick any two edges $e$ and $f$ of $K_n$, and set up a bijection between the spanning trees containing $e$ and the spanning trees containing $f$). But the sum of these numbers is $n−1$ times the number of all spanning trees of $K_n$) the answer is given by $$n^{n-2}-(n-1)n^{n-2}binom{n}{2}^{-1}=color{red}{(n-2)n^{n-3}}.$$
By Cayley's formula or Prufer encoding we have that the number of spanning trees of $K_n$ is $n^{n-2}$.
By Kirchoff' theorem, the number of spanning trees in $K_nsetminus e$ is given by the determinant of the reduced Laplacian matrix of $K_nsetminus e$. The Laplacian matrix (in the $n=5$ case) has the following structure:
$$ begin{pmatrix}
n-2 & -1 & -1 & -1 & 0 \
-1 & n-1 & -1 & -1 & -1 \
-1 & -1 & n-1 & -1 & -1 \
-1 & -1 & -1 & n-1 & -1 \
0 & -1 & -1 & -1 & n-2 end{pmatrix} $$
and a similar structure in the general case. By removing the last row&column, the problem boils down to computing the determinant of a $(n-1)times(n-1)$ matrix with off-diagonal elements equal to $-1$ and diagonal elements equal to $n-2,n-1,ldots,n-1$. By performing one step of Gaussian elimination and a Laplace expansion along the first row, the wanted number of spanning trees is so given by:
$$ detbegin{pmatrix}n-1 & -n & 0 & 0 \ -1 & n-1 & -1 & -1 \ -1& -1 & n-1 & -1 \ -1 & -1 & -1 & n-1end{pmatrix}$$
that is simple to compute from the fact that the determinant of o $(n-1)times(n-1)$ matrix with diagonal elements equal to $(n-1)$ and off-diagonal elements equal to $-1$ is $n^{n-2}$.
On the other hand, by Grinberg's remark (For each edge $e$ of $K_n$, the number of spanning trees of $K_n$ containing $e$ does not depend on $e$ (to prove this, pick any two edges $e$ and $f$ of $K_n$, and set up a bijection between the spanning trees containing $e$ and the spanning trees containing $f$). But the sum of these numbers is $n−1$ times the number of all spanning trees of $K_n$) the answer is given by $$n^{n-2}-(n-1)n^{n-2}binom{n}{2}^{-1}=color{red}{(n-2)n^{n-3}}.$$
answered Mar 26 '17 at 21:38
Jack D'Aurizio
287k33280657
287k33280657
add a comment |
add a comment |
Recall the combinatorial class $mathcal{T}$ of rooted labeled trees
with equation
$$deftextsc#1{dosc#1csod}
defdosc#1#2csod{{rm #1{small #2}}}mathcal{T} =
mathcal{Z} times textsc{SET}(mathcal{T})$$
which gives the functional equation
$$T(z) = z exp T(z).$$
Place the mandantory edge ${1,2}$ in the center, and attach two sets
of rooted trees by choosing $q$ labels from the remaining $n-2$ labels
for the trees attached to node $1$ and using the rest for the trees
attached to node $2.$ Replicate the ordering of the nodes in the two
sets of trees using the chosen labels. We get
$$sum_{q=0}^{n-2} {n-2choose q}
left(q! [z^q] exp T(z)right)
left((n-2-q)! [z^{n-2-q}] exp T(z)right)
= (n-2)! [z^{n-2}] (exp(T(z))^2
= (n-2)! [z^{n-2}] frac{T(z)^2}{z^2}
= (n-2)! [z^{n}] T(z)^2.$$
Introducing
$$T(z)^2 = sum_{qge 0} Q_n frac{z^n}{n!}$$
we therefore seek $P_n = (n-2)! frac{Q_n}{n!} = frac{Q_n}{n(n-1)}$
(here $Q_0 = Q_1 = 0$ and we take $nge 2$)
and extract coefficients from $T(z)^2$ using the Cauchy Coefficient
Formula:
$$frac{Q_n}{(n-1)!} =
[z^{n-1}] left(T(z)^2right)'
= [z^{n-1}] 2 T(z) T'(z)
\ = frac{1}{2pi i}
int_{|z|=epsilon} frac{2}{z^n} T(z) T'(z) ; dz.$$
Using the functional equation we put $w = T(z)$ so that $z=wexp(-w)$
to obtain
$$frac{1}{2pi i}
int_{|w|=gamma} frac{2exp(nw)}{w^n} w ; dw
= frac{1}{2pi i}
int_{|w|=gamma} frac{2exp(nw)}{w^{n-1}} ; dw
= 2frac{n^{n-2}}{(n-2)!}.$$
We thus have
$$Q_n = (n-1)! times 2frac{n^{n-2}}{(n-2)!} =
(n-1) times 2 n^{n-2}$$
and therefore
$$bbox[5px,border:2px solid #00A000]{
P_n = 2 n^{n-3}.}$$
Remark. The initial construction may be simplfied by recognizing
that we require the combinatorial class
$$textsc{SET}(mathcal{T}) times textsc{SET}(mathcal{T})$$
where the trees in the first set are attached by their roots to the
node $1$ and the ones in the second to the node $2$. We have absorbed
the step with the binomial coefficient and may then continue as
before.
add a comment |
Recall the combinatorial class $mathcal{T}$ of rooted labeled trees
with equation
$$deftextsc#1{dosc#1csod}
defdosc#1#2csod{{rm #1{small #2}}}mathcal{T} =
mathcal{Z} times textsc{SET}(mathcal{T})$$
which gives the functional equation
$$T(z) = z exp T(z).$$
Place the mandantory edge ${1,2}$ in the center, and attach two sets
of rooted trees by choosing $q$ labels from the remaining $n-2$ labels
for the trees attached to node $1$ and using the rest for the trees
attached to node $2.$ Replicate the ordering of the nodes in the two
sets of trees using the chosen labels. We get
$$sum_{q=0}^{n-2} {n-2choose q}
left(q! [z^q] exp T(z)right)
left((n-2-q)! [z^{n-2-q}] exp T(z)right)
= (n-2)! [z^{n-2}] (exp(T(z))^2
= (n-2)! [z^{n-2}] frac{T(z)^2}{z^2}
= (n-2)! [z^{n}] T(z)^2.$$
Introducing
$$T(z)^2 = sum_{qge 0} Q_n frac{z^n}{n!}$$
we therefore seek $P_n = (n-2)! frac{Q_n}{n!} = frac{Q_n}{n(n-1)}$
(here $Q_0 = Q_1 = 0$ and we take $nge 2$)
and extract coefficients from $T(z)^2$ using the Cauchy Coefficient
Formula:
$$frac{Q_n}{(n-1)!} =
[z^{n-1}] left(T(z)^2right)'
= [z^{n-1}] 2 T(z) T'(z)
\ = frac{1}{2pi i}
int_{|z|=epsilon} frac{2}{z^n} T(z) T'(z) ; dz.$$
Using the functional equation we put $w = T(z)$ so that $z=wexp(-w)$
to obtain
$$frac{1}{2pi i}
int_{|w|=gamma} frac{2exp(nw)}{w^n} w ; dw
= frac{1}{2pi i}
int_{|w|=gamma} frac{2exp(nw)}{w^{n-1}} ; dw
= 2frac{n^{n-2}}{(n-2)!}.$$
We thus have
$$Q_n = (n-1)! times 2frac{n^{n-2}}{(n-2)!} =
(n-1) times 2 n^{n-2}$$
and therefore
$$bbox[5px,border:2px solid #00A000]{
P_n = 2 n^{n-3}.}$$
Remark. The initial construction may be simplfied by recognizing
that we require the combinatorial class
$$textsc{SET}(mathcal{T}) times textsc{SET}(mathcal{T})$$
where the trees in the first set are attached by their roots to the
node $1$ and the ones in the second to the node $2$. We have absorbed
the step with the binomial coefficient and may then continue as
before.
add a comment |
Recall the combinatorial class $mathcal{T}$ of rooted labeled trees
with equation
$$deftextsc#1{dosc#1csod}
defdosc#1#2csod{{rm #1{small #2}}}mathcal{T} =
mathcal{Z} times textsc{SET}(mathcal{T})$$
which gives the functional equation
$$T(z) = z exp T(z).$$
Place the mandantory edge ${1,2}$ in the center, and attach two sets
of rooted trees by choosing $q$ labels from the remaining $n-2$ labels
for the trees attached to node $1$ and using the rest for the trees
attached to node $2.$ Replicate the ordering of the nodes in the two
sets of trees using the chosen labels. We get
$$sum_{q=0}^{n-2} {n-2choose q}
left(q! [z^q] exp T(z)right)
left((n-2-q)! [z^{n-2-q}] exp T(z)right)
= (n-2)! [z^{n-2}] (exp(T(z))^2
= (n-2)! [z^{n-2}] frac{T(z)^2}{z^2}
= (n-2)! [z^{n}] T(z)^2.$$
Introducing
$$T(z)^2 = sum_{qge 0} Q_n frac{z^n}{n!}$$
we therefore seek $P_n = (n-2)! frac{Q_n}{n!} = frac{Q_n}{n(n-1)}$
(here $Q_0 = Q_1 = 0$ and we take $nge 2$)
and extract coefficients from $T(z)^2$ using the Cauchy Coefficient
Formula:
$$frac{Q_n}{(n-1)!} =
[z^{n-1}] left(T(z)^2right)'
= [z^{n-1}] 2 T(z) T'(z)
\ = frac{1}{2pi i}
int_{|z|=epsilon} frac{2}{z^n} T(z) T'(z) ; dz.$$
Using the functional equation we put $w = T(z)$ so that $z=wexp(-w)$
to obtain
$$frac{1}{2pi i}
int_{|w|=gamma} frac{2exp(nw)}{w^n} w ; dw
= frac{1}{2pi i}
int_{|w|=gamma} frac{2exp(nw)}{w^{n-1}} ; dw
= 2frac{n^{n-2}}{(n-2)!}.$$
We thus have
$$Q_n = (n-1)! times 2frac{n^{n-2}}{(n-2)!} =
(n-1) times 2 n^{n-2}$$
and therefore
$$bbox[5px,border:2px solid #00A000]{
P_n = 2 n^{n-3}.}$$
Remark. The initial construction may be simplfied by recognizing
that we require the combinatorial class
$$textsc{SET}(mathcal{T}) times textsc{SET}(mathcal{T})$$
where the trees in the first set are attached by their roots to the
node $1$ and the ones in the second to the node $2$. We have absorbed
the step with the binomial coefficient and may then continue as
before.
Recall the combinatorial class $mathcal{T}$ of rooted labeled trees
with equation
$$deftextsc#1{dosc#1csod}
defdosc#1#2csod{{rm #1{small #2}}}mathcal{T} =
mathcal{Z} times textsc{SET}(mathcal{T})$$
which gives the functional equation
$$T(z) = z exp T(z).$$
Place the mandantory edge ${1,2}$ in the center, and attach two sets
of rooted trees by choosing $q$ labels from the remaining $n-2$ labels
for the trees attached to node $1$ and using the rest for the trees
attached to node $2.$ Replicate the ordering of the nodes in the two
sets of trees using the chosen labels. We get
$$sum_{q=0}^{n-2} {n-2choose q}
left(q! [z^q] exp T(z)right)
left((n-2-q)! [z^{n-2-q}] exp T(z)right)
= (n-2)! [z^{n-2}] (exp(T(z))^2
= (n-2)! [z^{n-2}] frac{T(z)^2}{z^2}
= (n-2)! [z^{n}] T(z)^2.$$
Introducing
$$T(z)^2 = sum_{qge 0} Q_n frac{z^n}{n!}$$
we therefore seek $P_n = (n-2)! frac{Q_n}{n!} = frac{Q_n}{n(n-1)}$
(here $Q_0 = Q_1 = 0$ and we take $nge 2$)
and extract coefficients from $T(z)^2$ using the Cauchy Coefficient
Formula:
$$frac{Q_n}{(n-1)!} =
[z^{n-1}] left(T(z)^2right)'
= [z^{n-1}] 2 T(z) T'(z)
\ = frac{1}{2pi i}
int_{|z|=epsilon} frac{2}{z^n} T(z) T'(z) ; dz.$$
Using the functional equation we put $w = T(z)$ so that $z=wexp(-w)$
to obtain
$$frac{1}{2pi i}
int_{|w|=gamma} frac{2exp(nw)}{w^n} w ; dw
= frac{1}{2pi i}
int_{|w|=gamma} frac{2exp(nw)}{w^{n-1}} ; dw
= 2frac{n^{n-2}}{(n-2)!}.$$
We thus have
$$Q_n = (n-1)! times 2frac{n^{n-2}}{(n-2)!} =
(n-1) times 2 n^{n-2}$$
and therefore
$$bbox[5px,border:2px solid #00A000]{
P_n = 2 n^{n-3}.}$$
Remark. The initial construction may be simplfied by recognizing
that we require the combinatorial class
$$textsc{SET}(mathcal{T}) times textsc{SET}(mathcal{T})$$
where the trees in the first set are attached by their roots to the
node $1$ and the ones in the second to the node $2$. We have absorbed
the step with the binomial coefficient and may then continue as
before.
edited Nov 26 '18 at 19:07
answered Nov 26 '18 at 18:46
Marko Riedel
39.3k339107
39.3k339107
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2204160%2fgraph-theory-application-of-kirchoffs-matrix-tree-theorem%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
The total number of spanning trees of $K_n$ is $n^{n-2}$ (by Cayley's formula). But if $f$ is any fixed edge of $K_n$, then the number of spanning trees of $K_n$ is $2n^{n-3}$ (by Corollary 6 in mathoverflow.net/questions/273399/… ). Now subtract.
– darij grinberg
Sep 29 '18 at 2:20