





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
A comprehensive set of exercises related to graph theory, covering fundamental concepts such as vertex degrees, directed multigraphs, bipartite graphs, adjacency lists and matrices, graph isomorphism, connectedness, euler circuits and paths, and hamilton circuits. Each exercise includes a clear statement of the problem and a detailed solution, providing students with a valuable resource for understanding and applying graph theory principles.
Typology: Schemes and Mind Maps
1 / 9
This page cannot be seen from the preview
Don't miss anything!
Ans:
deg(a) = deg(i) = 3 deg(b) = deg(h) = 2 deg(c) = deg(g) = 4 deg(d) = 0 deg(e) = 6 2 ݁ൌ 2 ݃݁݀ ൌ 12 ሺݒሻ ൌ 24 ௩∈
deg(a) = deg(b) = 4 deg(c) = deg(d) = deg(e) = 6
2 ݁ൌ 2 ݃݁݀ ൌ 13 ሺݒሻ ൌ 26 ௩∈
Ans:
ି݃݁݀ ሺ ܽሻ ൌ 6, ି݃݁݀ ሺ ܾሻ ൌ 4, ି݃݁݀ ሺ ܿሻ ൌ 2, ି݃݁݀ ݀ሺ ሻ ൌ 1,
௩∈
௩∈
Ans: Not bipartite graph Yes; V 1 { a, b, d, e } and V 2 { c, f }
Ans: Adjacency List for a simple Graph Vertex Adjacent vertices a b c d
a, b, c, d d a, b b, c, d
Adjacency List for a simple Graph Vertex Adjacent vertices a b c d e
b, d a, c, d, e b, c a, e c, e
Ans:
a. b. Similarly as part a.
a. b.
Ans: a.
݁ଵ ݁ଶ ݁ଷ ݁ସ ݁ହ ݁ (^) ଼݁݁ ݁ଽ^ ଵ 1 1 1 0 1 0 0 0 0 0 0 0 0 0 1 1 0 0 0
b. Similarly as part a.
Ans:
Yes; with f(u 1 ) = v 1 , f(u 2 ) = v 4 , f(u 3 ) = v 2 , f(u 4 ) = v 5 , and f(u 5 ) = v 3.
ܷൌ ۏ
ێ ێ ێ
ۍ^011001 11
(^0 1 0 1 ) 1 1
1 1
1 0
0 1
1 ے
ۑ ۑ ۑ
ې ܸൌ ۏ
ێ ێ ێ
ۍ^011001 11
(^0 1 0 1 ) 1 1
1 1
1 0
0 1
1 ے
ۑ ۑ ۑ
ې
Yes; with u 1 , u 2 , u 3 , u 4 , and u 5. v 1 , v 5 , v 2 , v 3 , and v 4.
Yes; with f(u 1 ) = v 1 , f(u 2 ) = v 4 , f(u 3 ) = v 3 , f(u 4 ) = v 2 , and f(u 5 ) = v 5.
Ans: Connected Not connected (disjoint)
a. b. c.
Ans: a. The graph has exactly 2 vertices of odd degree c and f , then it has no Euler circuit, but has Euler path. One possible such path is f, a, e, f, b, a, d, b, c, d, e, c. b. Similarly as part a. c. Because all the vertices are of even degree, the graph has an Euler circuit. Try yourself to find one of these possible circuit.
Ans: Yes. For example, there exists an Euler circuit such as A, D, A, B, D, C, A.
Necessary and sufficient conditions for Euler paths and circuits in directed graphs are
A directed multigraph having no isolated vertices has an Euler circuit if and only if the graph is weakly connected and the in-degree and out-degree of each vertex are equal.
A directed multigraph having no isolated vertices has an Euler path but not an Euler circuit if and only if the graph is weakly connected and the in-degree and out-degree of each vertex are equal for all but two vertices, one that has in-degree one larger than its out-degree and the other that has out-degree one larger than its in-degree.
Then, none of the above graphs has Euler circuit but still we can draw the graph in a continuous motion without lifting the pencil or retracing part of it if there is an Euler path.
a. No Euler path exists, since the graph has 3 vertices of different in-degree and out- degree; namely a , b , and d.
b. Yes there exists Euler path, since the graph has 2 vertices of different in-degree and out-degree but satisfy the conditions; namely a , and e. one of possible paths is { a, d, b, c, b, a, e, d, e, b, e, c, e }