3rd Year Mathematics-Discrete Mathematics: 1 Graph Theory
3rd Year Mathematics-Discrete Mathematics: 1 Graph Theory
3rd Year Mathematics-Discrete Mathematics: 1 Graph Theory
Graph Theory
Theorem 1.1. Show that a simple graph with n vertices and m components can have at most
1
2 (n m)(n m + 1) edges.
Proof.
m
1
(ni 2
2
i=1
ni (ni 1)
.
2
ni )
i,j=1
i=j
whence
m
(ni 1)(nj 1)
n1 2 + n2 2 + ... + nm 2 2(n1 + n2 + ... + nm ) + m + 2
i,j=1
i=j
i=1
+
=
=
1
(n1 + n2 + .... + nm )2 (n1 + n2 + .... + nm )(m 1)
2
1
1 2
(m m) n
2
2
1 2
1
(n n) n(m 1) + (m2 m)
2
2
1
(n m)(n m + 1)
2