Download Spring 2001 MACM 201 Final Exam and more Exams Discrete Mathematics in PDF only on Docsity!
Macm 201 Spring 2001
Final exam
Name__________________________
Student Number__________________
Signature________________________
Each of the 22 questions counts 10 points. On most, but not all, you will receive 0, 5, or 10 points. Show your work, even if the question just asks for a number, in order to receive partial credit. On each question, please clearly indicate your final answer. Calculators are allowed, as is a single 8 1/2 x 11 page of notes (both sides). Please stop promptly at 11:30 am. Good luck!
3 8 13 18 Total
- For each n ≥ 1 , let S ( n ) = (^) a^1
∅≠{ a 1 ,L, a^ ∑ k }⊆^ {1,2,..., n } 1 a 2 a 3 L ak
, where the summation is
over all of the non-empty subsets { a 1 , a 2 , a 3 ,L, ak } of {1,2,3,…,n}. For example, when
n = 3, S (3) = 11 + 12 + 13 + (^11) ⋅ 2 + (^11) ⋅ 3 + (^21) ⋅ 3 + (^1) ⋅ 21 ⋅ 3. Show that for each n ≥ 1, if S ( n ) = n
then S ( n + 1) = n + 1. Your argument must work for an arbitrary n , not for just a particular value of n. (Note that since S (1) = 1 , it follows by induction that S ( n ) = n for all n ≥ 1.)
- Solve the recurrence relation ( a (^) n + 2 ) 2 − 5( a (^) n + 1 ) 2 + 4( a (^) n )^2 = 0 , n ≥ 0 , a 0 = 0 , a 1 = 3.
(Hint: Set b (^) n = ( a (^) n )^2 .) Circle your final answer.
- (a) Find the simplest form (this is defined below) for the generating function for the sequence {an}, where for each n • 0, an is the number of ways to distribute n (identical) oranges to 100 (distinct) children, where each child must receive at least two oranges. By the simplest form is meant an expression for an which does not contain any infinite summations. Circle your final answer.
(b) Find the number of ways that 500 (identical) oranges can be distributed among 100 (distinct) children, where each child must receive at least two oranges. Express your answer in terms of a binomial coefficient. Circle your final answer.
- Let D be the following relation on the set Z of all integers (positive, negative, and zero): for each pair of integers x and y, x D y if and only if x divides y. For example, 5D20, 2D(-4) and (-3)D12. Which two of the following statements are true? Note: exactly two are true. (Circle the true statements, and circle at most two!)
- D is symmetric and D is anti-symmetric.
- D is not symmetric and D is not antisymmetric.
- D is not symmetric and D is anti-symmetric.
- D is symmetric and D is not anti-symmetric.
- There exists at least one x in Z such that: (xDy is false for all y in Z).
- There exists at least one x in Z such that: (xDy is true for all y in Z).
- Let R be an equivalence relation on the set A. For each x in A, let [x] denote the equivalence class which contains x. That is, [x] is the set of all those elements z in A such that xRz. Assume that for a particular two elements x and y, we have [x] ∩ [y] ≠ ∅, that is, [x] ∩ [y] is not empty. Use the assumption that [x] ∩ [y] ≠ ∅ to prove that [x] = [y].
- Give an example of a simple graph which has exactly 100 vertices, exactly 2500 edges, and which has chromatic number 2.
- How many distinct simple graphs are there on the vertex set V = {1,2,3,4,5}? Circle your final answer. (We’re not interested in isomorphism here.)
- Let G be any simple connected graph which has exactly 8 vertices with odd degrees. What is the minimum number k such that there exist paths P 1 , P 2 , P 3 ,L, Pk in G such that each edge of G belongs to exactly one of these paths? Explain. (Your explanation has to apply to all possible simple graphs that satisfy the given condition.) Circle your final answer.
- (a) Show, by using a suitable corollary of Euler’s Formula, that the following graph is non-planar.
(b) Is the following graph planar? If so, draw it in the plane (with no edge crossings). If not, give a good reason. (The reason “I couldn’t draw it in the plane” is not a good reason!)
- There are 3 pairwise non-isomorphic trees on 5 vertices, namely:
How many pairwise non-isomorphic rooted trees are there on 5 vertices? (These rooted trees are not ordered. That is, the rooted trees
are isomorphic.) Circle your final answer.
- Let T be a full binary tree which has i internal vertices, l leaves, and n vertices altogether. Then we know that n = 2 i + 1. Explain why it follows that l = i + 1.
- Using the Merge Sort algorithm, how many comparisons are needed to merge the two sorted lists 4,6,7,8,9 and1,2,3,5? Circle your final answer.
- There are altogether 2^8 = 256 distinct Boolean functions F(x, y, z) on three Boolean variables. How many of these satisfy the identity F(x, y, z) = F(x+y, y+z, z+x) for all x, y, z? Your answer should be a number. Circle your final answer.