Network
Network
I Roads, railroads
I Telephone lines
I Fiber-optic cable
Darwin (DA)
Broome (BM)
Mount Isa (MI)
Mackay (MK)
Alice Springs(AS)
Adelaide (AD)
Perth Sydney (SY)
(PE)
Hobart (HO)
Darwin (DA)
Broome (BM)
Mount Isa (MI)
Mackay (MK)
Alice Springs(AS)
Brisbane (BR)
Uluru(UL)
Adelaide (AD)
Perth Sydney (SY)
(PE)
Hobart (HO)
Darwin (DA)
Broome (BM)
Mount Isa (MI)
Mackay (MK)
Alice Springs(AS)
Brisbane (BR)
Uluru(UL)
Adelaide (AD)
Perth Sydney (SY)
(PE)
Hobart (HO)
Broome (BM)
Mount Isa (MI)
Mackay (MK)
Alice Springs(AS)
Brisbane (BR)
Uluru(UL)
Adelaide (AD)
Perth Sydney (SY)
(PE)
Hobart (HO)
Broome (BM)
Mount Isa (MI)
Mackay (MK)
Alice Springs(AS)
Brisbane (BR)
Uluru(UL)
Adelaide (AD)
Perth Sydney (SY)
(PE)
Hobart (HO)
Just right
Darwin (DA)
Broome (BM)
Mount Isa (MI)
Mackay (MK)
Alice Springs(AS)
Brisbane (BR)
Uluru(UL)
Adelaide (AD)
Perth Sydney (SY)
(PE)
Hobart (HO)
Another possibility
Darwin (DA)
Broome (BM)
Mount Isa (MI)
Mackay (MK)
Alice Springs(AS)
Brisbane (BR)
Uluru(UL)
Adelaide (AD)
Perth Sydney (SY)
(PE)
Hobart (HO)
Broome (BM)
Mount Isa (MI)
Mackay (MK)
Alice Springs(AS)
Brisbane (BR)
Uluru(UL)
Adelaide (AD)
Perth Sydney (SY)
(PE)
Hobart (HO)
A spanning tree
Darwin (DA)
Broome (BM)
Mount Isa (MI)
Mackay (MK)
Alice Springs(AS)
Brisbane (BR)
Uluru(UL)
Adelaide (AD)
Perth Sydney (SY)
(PE)
Hobart (HO)
A spanning tree
Darwin (DA)
Broome (BM)
Mount Isa (MI)
Mackay (MK)
Alice Springs(AS)
Brisbane (BR)
Uluru(UL)
Adelaide (AD)
Perth Sydney (SY)
(PE)
(not connected)
Darwin (DA)
Broome (BM)
Mount Isa (MI)
Mackay (MK)
Alice Springs(AS)
Brisbane (BR)
Uluru(UL)
Adelaide (AD)
Perth Sydney (SY)
(PE)
Broome (BM)
Mount Isa (MI)
Mackay (MK)
Alice Springs(AS)
Brisbane (BR)
Uluru(UL)
Adelaide (AD)
Perth Sydney (SY)
(PE)
K2 1 2
1 1 1
K3
2 3 2 3 2 3
Spanning Trees in K4
1 2 1 2 1 2 1 2
3 4 3 4 3 4 3 4
1 2 1 2 1 2 1 2
3 4 3 4 3 4 3 4
1 2 1 2 1 2 1 2
3 4 3 4 3 4 3 4
1 2 1 2 1 2 1 2
3 4 3 4 3 4 3 4
Facts about Spanning Trees
M ≥N −1
M − N + 1 ≥ 0.
M ≥N −1
M − N + 1 ≥ 0.
bridge
Loops and Bridges
3 4
Counting Spanning Trees
Answer:
4 4 x 3 x 3 x 4 = 144.
3
Counting Spanning Trees
If the graph has circuits that overlap, it is trickier to count
spanning trees. For example:
1 2
3 4
Counting Spanning Trees
If the graph has circuits that overlap, it is trickier to count
spanning trees. For example:
1 2
3 4
1 2
3 4
1 2 1 2 1 2 1 2
3 4 3 4 3 4 3 4
1 2 1 2 1 2 1 2
3 4 3 4 3 4 3 4
1 2 1 2
10 ways to select three edges
3 4 3 4
Counting Spanning Trees
1 2 1 2 1 2 1 2
3 4 3 4 3 4 3 4
1 2 1 2 1 2 1 2
3 4 3 4 3 4 3 4
1 2 1 2
10 ways to select three edges
2 are not trees
3 4 3 4 Total: 8 spanning trees
The Number of Spanning Trees of KN
(Not in Tannenbaum!)
2 1
3 3
4 16
The Number of Spanning Trees of KN
Cayley’s Formula:
The number of spanning trees in KN is NN−2 .
Cayley’s Formula:
The number of spanning trees in KN is NN−2 .
spanning trees.