Graph Theory Assignment
Graph Theory Assignment
November 7, 2015
Miliyon T.*
Addis Ababa University
Department of Mathematics
[email protected]
*
Typeset in LATEX
b) Kn ,
c) Pn ,
d) Cn
2. Given a graph G of order n, and size m, a vertex v V (G), and an edge e E(G),
determine the order and size of
a) G v,
b) G e,
c) G
b) 3, 3, 3, 2, 2
c) 3, 3, 2, 2, 2
d) 3, 3, 3, 3, 2
e) 4, 3, 3, 2, 2
5. a) Find the adjacency and incident matrix of G = (V, E), where V = {1, 2, 3, 4, 5} and
E = {12, 13, 23, 24, 34, 35, 45}.
b) Find the adjacency matrix for
a) 5 ,
b) K5 ,
c) C5 ,
d) P5
6. Let G = (V, E), where V = {x, y, z, u} and E = {xy, xz, xu, zu}. Draw all the subgraphs
of G up to isomorphism(all non isomorphic).
7. Find two non isomorphic graph of order 5, which are of the same degree.
8. Which of the following graphs are isomorphic?
Figure 1: Isomorphism
9. Let A be a set and B be a finite collection of subsets of A. Then the intersection graph
I(B) is the graph whose vertex set is B, and two vertices are adjacent if they are disjoint.
a) Let A = {1, 2, 3, 4, 5, 6} and B = {{1, 2}, {2, 4}, {1, 2, 3}, {3, 4, 5}, {5, 6}}
Use diagram to show what G = I(B) would look like.
b) Let G0 = (V, E), where V = {1, 2, 3, 4} and E = {12, 23, 34, 41}. Let Si be a set
consisting of the vertex i and the edges incident with i. For instance, S3 = {3, 23, 34}
Let
S=
4
[
i=1
Dr. Yirgalem T.
Si
and
B = {Si |i = 1, 2, 3, 4}
10. A graph has order 13 and 3 components. Prove that one of its components has at least 5
vertices.
11. If G is a simple graph of order n having exactly two components which are complete graph
themselves. What is the minimum and maximum possible size of G(in terms of n)?
12. Given the graphs you see below, determine the smallest number of vertices that have to be
removed from G to disconnect G(which vertices)?
Figure 2: Disconnect
13. Let G = (V, E), where V = {1, 2, . . . , 15}, and two vertices i and j are adjacent iff greatest
common divisor gcd(i, j) 6= 1.
a) Draw G,
b) The hypercube Qn ,
c) Kn
d) Kn,m
e) Cn
f) Pn
Leonhard Euler (1707-1783) a prolific Swiss mathematician. In 1735, Euler presented a solution to the problem
known as the Seven Bridges of K
onigsberge, which made him the father of graph theory.
17. Which of the following diagram could be drawn without lifting your pen from the paper
and without repeating any line?
Join operator
Disjoint Union operator +
4
A forest is simply an acyclic graph(A disconnected graph whose components are tree).
3
27. Find a matching , a maximum matching or a perfect matching or explain why it does not
exist in the following graph.
Figure 5: Matching
28. Is there a job for each of the applicant in {A, B, C, D, E} if the jobs are a, b, c, d and e(in
G below)?
Figure 6: Applicant-Job
29. A connected plane graph of order n is 4-regular and has 10 faces(regions). What is the
value of n?
30. For which values of n is Kn planar?
31. For which values of n and m is Kn,m planar?
32. For a graph G below
Figure 7: Dual
Draw the dual of G and show that
X
deg(faces) = 2|E|
all faces
2 Solutions
[Answers]
1. For #1 look the table below
G
|G|
kGk
(G)
(G)
a
n
n
0
0
0
b
Kn
n
n(n1)
2
n1
n1
c
Pn
n
n1
1
2
d
Cn
n
n
2
2
Table 1: Question 1
2. Given that |G| = n and kGk = m
G
|G|
kGk
a
Gv
n1
m deg(v)
b
Ge
n
m1
c
G
n
kKn k kGk =
n(n1)
2
Table 2: Question 2
3. Let G be a regular graph of odd degree. Denote that odd degree by d(odd). We wand to
show |G| is even.
Suppose not(i.e. |G| is odd). For simplicity denote |G| = k(odd).
As G is regular every v V (G) is of degree d(which is odd) and we have k vertices. Thus
X
deg(v) = |{z}
d |{z}
k = odd number
vV (G)
odd
odd
Notice that both d and k are odd, then their product(which is by definition the sum of
degrees in G) must be odd. But from Handshaking lemma we know that such thing(the
sum of degree in any graph being odd) will never happen(ever!). Hence a contradiction!
our assumption was incorrect.
|G| is even.
4. The necessary and sufficient condition for any sequence of numbers to be graphic given
by the following fact.
Theorem 2.1. 5 A non-increasing sequence of non-negative integers d1 , d2 , . . . , dn is
graphical iff its sum is even and for k = 1, 2, . . . , n
k
X
i=1
di k(k 1) +
n
X
min{di , n}
i=k+1
Miliyon T.
This result is due to Hungarian mathematicians Erd
os and Gallai
(1)
(a) 5, 3, 2, 2, 2 n = 5.
For k = 1
1
X
di = 5 1(1 1) +
5
X
i=1
min{di , 1}
i=2
0 + (1 + 1 + 1 + 1)
4
54
(d) 3, 3, 3, 3, 2
(e) 4, 3, 3, 2, 2
1
2
3
4
5
1
0
1
1
0
0
2
1
0
1
1
0
3
1
1
0
1
1
4
0
1
1
0
1
5
0
0
1
1
0
f
0
0
1
0
1
g
0
1
0
1
0
0
1
AG =
1
0
0
1
0
1
1
0
1
1
0
1
1
0
1
1
0
1
0
0
1
0
1
0
MG =
1
0
0
1
1
0
0
0
0
1
1
0
0
0
0
1
1
0
0
0
0
1
1
1
2
3
4
5
a
1
0
1
0
0
b
1
1
0
0
0
c
0
1
1
0
0
d
0
0
1
1
0
e
0
0
0
1
1
(b)
i) The adjacency matrix for 5 is
(0)55 ,
0
1
1
1
1
0
1
1
1
1
1
0
1
1
1
1
1
0
1
1
1
1
0
1
0
1
0
0
0
1
0
1
0
0
0
1
0
1
0
0
1
0
0
0
0
0
1
0
1
0
1
1
0
0
1
0
1
1
0
1
0
0
0
1
0
1
0
0
0
1
0
1
1
0
1
0
6. Let G = (V, E), where V = {x, y, z, u} and E = {xy, xz, xu, zu}. Which can be drawn
7. G1 and G2 below are one such example. Hence G1 and G2 are non-isomorphic order 5
G3
= K3,3
10
,
K3,3
= G5
G3
(since isomorphism is an equivalence relation)
= G5
9. (a)
(b)
n n2
2
2
2
n2
,
2
for n even.
for n odd.
11
12. Removing just one vertex d results disconnection in both graph (a) and (b).
13. (a)
(1) diam(peterson) = 2
(2) diam(Qn ) = n
(3) diam(Kn ) = 1
12
1,
(4) diam(Kn,m ) =
2,
n
(5) diam(Cn ) =
2
(6) diam(Pn ) = n 1
for n = m = 1
otherwise.
15. None of them are Hamiltonian. None of them are Eulerian except (iii).
16. Let G be a regular graph with even order and odd size.
|G| = m-even.
kGk = n-odd.
Since G is regular the degree of each vertex is the same, say k.
WTS:- k is odd, hence non Eulerian follows.
Now
X
deg(v) = k |{z}
m = 2kGk = 2 |{z}
n
vV (G)
even
odd
m
= |{z}
n
k
2
(2)
odd
+
+
Since m is even, m
2 Z , and we know that k Z .
From (2), we have the product of two integers resulting an odd number n.
Thus both k and m
2 must be odd. Hence the degree of each vertex in G is odd.
Therefore, G is not Eulerian.
17. Lets put vertices on the drawings and imagine as they are graphs.
There is an Euler tour in (i) and (iii) since every vertex is of even degree.
Thus, the drawings in (i) and (iii) can be drawn without lifting ones pen from the paper
and without repeating any line. (ii) also can be drawn in the same manner since there is
an Euler trail that starts at a and ends at b(vise versa).
13
For m = 2,
(b) The above G1 and G2 cant be Hamiltonian. Because removing the indicated vertices
in red will result the number of component that exceed the number of vertices, which
weve just removed. i.e. For G1 , take S = {a}
|(G1 S)| = 2 |S| = 1
For G2 , take S = {a, b}
|(G2 S)| = 3 2 = |S|
(c) The degree sequence of G1 is; 1, 4, 4, 4, 4, 5 and
The degree sequence of G2 is; 5, 5, 3, 3, 2, 2
(d) NO! Its impossible(Because of Chvatals Theorem).
19. The minimum number of edges in a simple graph of order n 2 that guarantee Hamiltonian
is
n1
+2
2
20. n 2, n 2, . . . , n 2, n 1, 1 is the degree of non-Hamiltonian simple graph with n
|
{z
}
(n2) times
vertices and n1
+ 1 edges.
2
21. 4, 3, 3, 3, 2, 1, 1, 1, 1, 1, 1, 1 is the degree sequence of the given tree.
14
22. The sequence 7, 2, 2, 1, 1, 1, 1, 1, 1, 1 is the degree sequence of tree because we have found
one. Look at the tree below
3, 3, 1, 2, 4, 4, 2, 5, 5 is the corresponding pr
ufer sequence.
(b) We have assumed V = {1, 2, . . . , 11}
For the pr
ufer code 4, 5, 7, 2, 1, 1, 6, 6, 7, the corresponding tree is
25. m 1 edges.
15
26. (a) There has to be two vertices of degree one in a tree of order n 2. (b) The maximum
possible number of pendant vertices in a tree of order n is n 1.
27. (a) M = {1a, 2b, 3d, 4c}
28. It is a matter of finding a perfect matching in G. But Halls Theorem tells us it is impossible
to find such matching. Take S = {A, B, D}. Thus N (S) = {c, d}
|N (S)| = 2, |S| = 3 |N (S)| < |S|
Therefore, there is no job for each of the applicants.
29. Given G is 4-regular planar graph of order n and f = 10.
From Euler formula we have
V +f e=2
(3)
deg(v) = 4V = 2e
vV (G)
This implies
e = 2V
16
(4)
deg(fi ) = 3 + 4 + 3 + 3 + 4 + 3
i=1
= 20
= 2(10) = 2|E|
Therefore,
X
deg(face) = 2|E|
all faces
17