Lecture Note 11
Lecture Note 11
e1 e6
1 e2 2
e3 e4 e5 e7
3 4
4
Example of Handshaking Theorem
• Draw a graph with 4 edges and 4 vertices , having degrees
1,2,3,4.
• Solution: No such graph exists. The sum of the degrees of
all the vertices should be equal to twice the number of
edges. Half of the sum of the degrees is 5, which is not
equal to actual number of edges required in the question
(4).
• (1+2+3+4)/2 = 5, 5 =/= 4.
5
Theorem: Every graph with n vertices and k edges has
at least n-k components
Proof:
– An n-vertex graph with no edges has n
components
– Each edge added reduces this by at most 1
– If k edges are added, then the number of
components is at least n - k
6
Theorem: Every graph with n vertices and k edges has
at least n-k components
• Examples: