Docsity

Graph Theory Exam: MATH 3116 Section 001 - Test I, Exams of Mathematics

Toggle sidebar
bg1
Name: Test I Student ID:
Sample Test II.
The real test may have less questions and you will have about 80 minutes to answer them. The usage
of books or notes, or communicating with other students will not be allowed. You will have to give the
simplest possible answer and show all your work. Besides this sample test, review also your homework
problems!
1. Give all equivalent definitions of a tree (page 94, Theorem 1), and show that for a connected
graph being minimally connected and maximally circuit-free ((a) and (d)) are equivalent.
2. Explain why each tree must have at least one leaf. (Define also leafs.)
3. State the number of edges in a tree on nvertices and prove your formula using induction and
the statement in the previous question.
4. State and prove Euler’s formula for planar graphs.
5. Find a breadth-first search and a depth-first search spanning tree in the edge graph of the cube.
6. Explain how depth-first search may be used to find your way out of a maze.
7. Explain how search trees may be used to solve the missionaries and cannibals puzzle, and present
a solution to this puzzle.
8. Explain why Dijkstra’s algorithm finds the shortest path. Illustrate the algorithm by finding the
shortest path between sand tin Figure 1.
b
1
4 2
10c d
s a
3 1
1
2 0
t
Figure 1: Graph to exercise Dijkstra’s algorithm
9. Prove that Prim’s algorithm finds a minimum weight spanning tree.
10. (40 points) Using Kruskal’s algorithm find a minimum weight spanning tree for the graph shown
in Figure 2. List the edges of the tree in the order you included them during the algorithm.
11. Find a minimum cut and a maximum flow for the network shown in Figure 3. Show all your
work!
MATH 3116 Graph Theory Section 001
pf2

Partial preview of the text

Download Graph Theory Exam: MATH 3116 Section 001 - Test I and more Exams Mathematics in PDF only on Docsity!

Name: Test I Student ID:

Sample Test II.

The real test may have less questions and you will have about 80 minutes to answer them. The usage of books or notes, or communicating with other students will not be allowed. You will have to give the simplest possible answer and show all your work. Besides this sample test, review also your homework problems!

  1. Give all equivalent definitions of a tree (page 94, Theorem 1), and show that for a connected graph being minimally connected and maximally circuit-free ((a) and (d)) are equivalent.
  2. Explain why each tree must have at least one leaf. (Define also leafs.)
  3. State the number of edges in a tree on n vertices and prove your formula using induction and the statement in the previous question.
  4. State and prove Euler’s formula for planar graphs.
  5. Find a breadth-first search and a depth-first search spanning tree in the edge graph of the cube.
  6. Explain how depth-first search may be used to find your way out of a maze.
  7. Explain how search trees may be used to solve the missionaries and cannibals puzzle, and present a solution to this puzzle.
  8. Explain why Dijkstra’s algorithm finds the shortest path. Illustrate the algorithm by finding the shortest path between s and t in Figure 1. b

1 4 2

c d 10

s 3 a 1

1

2 0

t

Figure 1: Graph to exercise Dijkstra’s algorithm

  1. Prove that Prim’s algorithm finds a minimum weight spanning tree.
  2. (40 points) Using Kruskal’s algorithm find a minimum weight spanning tree for the graph shown in Figure 2. List the edges of the tree in the order you included them during the algorithm.
  3. Find a minimum cut and a maximum flow for the network shown in Figure 3. Show all your work!

MATH 3116 Graph Theory Section 001

Name: Test I Student ID:

r

r r

r

r r

^ @ @ @ @@ @@

@

@@

b c

f

4 e

a 5 d

Figure 2: Graph to exercise Kruskal’s algorithm

2

1

3

t

3

2 1

1

s 3 1

Figure 3: Network with source s and sink t

  1. Give an example of a maximal flow that is not maximum. Explain how finding an augmenting path in the slack picture can help correct mistakes.
  2. State Menger’s theorems and explain how network flows may be used to prove them. (See your notes and “messenger problems” in the book).
  3. Find a maximum matching and a minimum cover in the bipartite graph below by setting up and solving an appropriate network flow problem.
  4. State the K¨onig-Egerv´ary theorem on the maximum size matching in a bipartite graph.
  5. State Hall’s Marriage Theorem.
  6. Give an example of a maximal matching that is not maximum.

Good luck. G´abor Hetyei Last update: Tuesday, October 23, 2007

MATH 3116 Graph Theory Section 001