Services
Discover
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Mathematics
Study Set
Discrete Mathematics with Applications
Exam 10: Graphs and Trees
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Question 1
Essay
Draw a directed graph with the following adjacency matrix:
Question 2
Essay
Consider the following weighted graph:
\text { Consider the following weighted graph: }
Consider the following weighted graph:
(a) Use Kruskal's algorithm to find a minimum spanning tree for the graph, and indicate the order in which edges are added to form the tree. (b) Use Prim's algorithm starting with vertex a to find a minimum spanning tree for the graph, and indicate the order in which edges are added to form the tree. (c) Use Dijkstra's algorithm to find the shortest path from a to
Question 3
Essay
Determine whether each of the following graphs has an Euler circuit. If it does have an Euler circuit, find such a circuit. If it does not have an Euler circuit, explain why you can be 100% sure that it does not.
Question 4
Essay
Find the following matrix product:
[
2
0
0
1
3
2
]
[
1
3
0
2
4
2
]
\left[ \begin{array} { l l } 2 & 0 \\0 & 1 \\3 & 2\end{array} \right] \left[ \begin{array} { l l l } 1 & 3 & 0 \\2 & 4 & 2\end{array} \right]
2
0
3
0
1
2
[
1
2
3
4
0
2
]
Question 5
Essay
Determine whether each of the following graphs has a Hamiltonian circuit. If it does have an Hamiltonian circuit, find such a circuit. If it does not have an Hamiltonian circuit, explain why you can be 100% sure that it does not.
Question 6
Essay
a. Prove that having n vertices, where n is a positive integer, is an invariant for graph isomorphism. b. Prove that having a vertex of degree 3 is an invariant for graph isomorphism.
Question 7
Essay
A certain connected graph has 68 vertices and 72 edges. Does it have a circuit? Explain.
Question 8
Essay
Consider the adjacency matrix for a graph that is shown below. Answer the following questions by examining the matrix and its powers only, not by drawing the graph. Show your work in a way that makes your reasoning clear.
(a) How many walks of length 2 are there from
v
1
v _ { 1 }
v
1
to
v
2
v _ { 2 }
v
2
? (b) How many walks of length 2 are there from
v
1
v _ { 1 }
v
1
to
v
3
v _ { 3 }
v
3
? (c) How many walks of length 2 are there from
v
2
v _ { 2 }
v
2
to
v
2
v _ { 2 }
v
2
?
Question 9
Essay
Either draw a graph with the given specification or explain why no such graph exists. (a) full binary tree with 16 vertices of which 6 are internal vertices (b) binary tree, height 3, 9 vertices (c) binary tree, height 4, 18 terminal vertices