Académique Documents
Professionnel Documents
Culture Documents
(b) i 6= j (G + e) = (G) 1.
(a)
v
u
(b)
Proof
Every path P in G + e which is not in G
must contain e. Also,
(G + e) (G).
Suppose
(x = u0, u1, . . . , uk = u, uk+1 = v, . . . , u` = y)
is a path in G + e that uses e. Then clearly x Ci
and y Cj .
(a) follows as now no new relations x y are added.
(b) Only possible new relations x y are for x Ci
and y Cj . But u v in G + e and so Ci Cj
becomes (only) new component.
2
(a)
v
u
u`1
v
6
Proof
(a) is part (c) of previous lemma. k = 1
since T is connnected.
(b) Let s be the number of vertices of degree 1 in T .
There are no vertices of degree 0 these would form
separate components. Thus
2n 2 =
dT (v) 2(n s) + s.
vV
So s 2.
(a) G is connected.
(b) G is acyclic.
(c) G is a tree.
Proof
Let E = {e1, e2, . . . , en1} and
Gi = (V, {e1, e2, . . . , ei}) for 0 i n 1.
10
v
Proof
Suppose T has n vertices and n edges.
Then T v has n 1 vertices and n 2 edges. It
acyclic and so must be a tree.
2
11
Cut edges
cut edge
13
Alternative Construction
Let E = {e1, e2, . . . , em}.
begin
T :=
for i = 1, 2, . . . , m do
begin
if T + ei does not contain a cycle
then T T + ei
end
Output T
end
15
16
f
v
17
Proof
(a) Lemma 2(a) implies that T + e has a
cycle C. Suppose that T + e contains another cycle
C 0 6= C. Let edge g C 0 \ C. T 0 = T + e g is
connected, has n 1 edges. But T 0 contains a cycle
C, contradictng Theorem 1.
(b) T + e f is connected and has n 1 edges.
Therefore it is a tree.
2
18
eT w(e).
1
-2
-2
0
2
2
2
-1
-1
-1
2
-1
2
4
4
2
19
Greedy Algorithm
Sort edges so that E = {e1, e2, . . . , em} where
w(e1) w(e2) w(em).
begin
T :=
for i = 1, 2, . . . , m do
begin
if T + ei does not contain a cycle
then T T + ei
end
Output T
end
Greedy always adds the maximum weight edge which
does not make a cycle with previously chosen edges.
20
1 i n 1.
(1)
21
Ci
PSfrag replacements
fj
22
(2)
1 + 2 + nk+1 = n
(3)
It follows from (2) and (3) that there exists t such that
t t .
(4)
[Otherwise
nk+1
X
i=1
nk+1
X
i=1
nk+1
X
(i 1)
i (n k + 1)
i=1
= k 1.
But (4) implies that the edges fj such that fj Ct
contain a cycle.
2
23
h
e
1
b
g
k
f
3
S = {1, 2, 3}
5
= {d, e, f }.
S:S
24
lacements
S
v
S
S
25
and if
A Bond B is a minimal cut-set. I.e. B = S : S
T : T B then B = T : T.
h
e
1
b
g
k
f
3
1 is a bond
S1 = {1, 2, 3}
B 1 = S1 : S
2 is not a bond
S2 = {2, 3, 4, 5} B2 = S2 : S
3 and B2 6= S3 : S
3 where S3 =
since B2 S3 : S
{1}.
26
27
A co-tree T of a connected graph G is the edge complement of a spanning tree of G i.e. T = E \ T for
some spanning tree T .
Theorem 6 Let T be a spanning tree of G and e T .
Then
28
Proof
(a) X T G \ X T which implies
that G \ X is connected. So X is not a bond.
(b)&(c) G \ (T + e) = T \ e contains exactly two
components and so by Theorem 5 T + e contains a
where S, S
are the 2 components of
bond B = S : S
T \ e.
f B e C(T, f )
T + f e is a tree
T + e f is a co-tree
proving (c)
29
Sfrag replacements
B = (S : S)
30
12
n=5
60
60
5
n=6
120
360
360
90
360
31
Contracting edges
If e = vw E, v 6= w then we can contract e to
get G e by (i) deleting e, (ii) identifying v, w i.e. make
them into a single new vertex.
1
1
b
g
e
g
5
a
f
c
f
2
G e is obtained by deleting e.
(G) is the number of spanning trees of G.
32
Proof
33
L=
4
lacements
L1 =
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
3
-1
-1
-1
-1
-1
3
Determinant L1 = 16
Pfuffers Correspondence
There is a 1-1 correspondence V between spanning
trees of KV (the complete graph with vertex set V )
and sequences V n2. Thus for n 2
(Kn) = nn2
Cayleys Formula.
3
11
8
7
14
13
6
1
12
15
10
6,4,5,14,2,6,11,14,8,5,11,4,2
36
s1
`1
Construction of 1
V
Inductively assume that for all |X| < n there is an
inverse function 1
X . (True for n = 2).
Now define 1
V by
1
1
(s
s
.
.
.
s
)
=
1
2
n2
V
V (s2 . . . sn2 ) plus edge s1 `1 ,
1
where `1 = min{s : s
/ s1, s2, . . . sn2} and V1 =
V {`1}.
Then
V (1
V (s1 s2 . . . sn2 )) =
= V (1
V (s2 . . . sn2 ) plus edge s1`1 )
1
= s1V1 (1
V (s2 . . . sn2 ))
1
= s1s2 . . . sn2.
Thus V has an inverse and the correspondence is
established.
38
n2
d1 1,d2 1,... ,dn 1 =
(n 2)!
.
(d1 1)!(d2 1)! (dn 1)!
Proof
From Pfuffers correspondence and Lemma
5 this is the number of sequences of length n 2 in
which 1 appears d1 1 times, 2 appears d2 1 times
and so on.
2
39