




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





Student Name and ID Number MATH 3012 Final Exam, May 4, 2006, WTT
b. How many ternary words of length 23 with eight 0’s, nine 1’s and six 2’s?
c. Let tn denote the number of ternary strings that do not have a 1 followed immediately by a 2. Find (but do not solve) a linear recurrence equation satisfied by tn.
b. x 1 + x 2 + x 3 + x 4 = 40, all xi ≥ 0.
c. x 1 + x 2 + x 3 + x 4 ≤ 40, all xi ≥ 0.
20
8
17
1 5
10
15
12
24 16
11
25
(^29)
19
13
14
23
22
3
4
18
21
6
7
a. Find the set of minimal elements of this poset.
b. How many elements of are incomparable with the point labeled 12?
c. Explain why { 3 , 16 , 17 } is not a maximal antichain.
d. For each x, let height(x) denote the maximum size of a chain having x as its greatest element. Writing directly on the diagram, label each point with the integer representing its height.
e. Find the height h of this poset
f. Find a chain of h points.
a b
c d
e
f
g
h
i
k j l
Use the Greedy Algorithm and alphabetic order to find an euler circuit in the graph above. Your answer should be given as a sequence of partial circuits starting with the trivial circuit (a).
23
58
49
29
32
64 34
34
37
(^38 )
(^42 )
48
48
b c a^38
d
e
f
h
g
In the space below, list in order the edges which make up a minimum weight spanning tree using, respectively Kruskal’s Algorithm (avoid cycles) and Prim’s Algorithm (build tree). For Prim, use vertex a as the root.
Kruskal’s Algorithm Prim’s Algorithm
1 2
3 4
5
6
7
8
9
10
a. Show that this graph is hamiltonian by listing the vertices in an order which forms a cycle of size 10.
b. Explain why this graph has neither an euler circuit nor an euler path.
84, 60
17, 17
63, 25
43, 43 39, 9
78, 43 30, 30
7, 7 24 7 90, 66 59, 31
5, 5
24, 24
30, 5
25 11
16 0
(^31 8) 43, 17
6, 6 28, 22 52 34
27 20 38, 5 18, 7
A
B
C
D
E
F
G H
I
J
37 7
a. What is the current value of the flow?
b. What is the capacity of the cut V = {S, A, C, I, E, G, H} ∪ {B, D, F, J, T }.
c. Carry out the labeling algorithm, using the pseudo-alphabetic order on the vertices and list below the labels which will be given to the vertices.
d. Use your work in part c to find an augmenting path and make the appropriate changes directly on the diagram.
e. Carry out the labeling algorithm a second time on the updated flow. It should halt without the sink being labeled. Find a cut whose capacity is equal to the value of the flow.
a
b c
d
e
f
a‘ (^) b‘ c‘ d‘ e‘^ f‘
a“ (^) b“ c“ d“ e“ f“
In the figure above, we show a poset and the bipartite graph associated with it. The darkened edges form a maximum matching in the graph. Find the minimum chain partition determined by this matching.