






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!







open book
SOLUTIONS
Your Name (2 pts for legibly PRINTING your name)
Problem Points Score your name 2 1 23 2 20 3 25 4 25 5 30 6 30 7 20 8 25
Total 200
SUGGESTION: Do the EASIEST problems first!
HINT: Some of the solution methods involve highschool
math as well as new methods from this class.
(^1) An example of the Reasonable Person Principle: A reasonable student expects to lose a lot of credit for neglecting to EXPLAIN an answer. Omit explanations at your own risk.
Mon 16 Dec 02 CS W3203 Discrete Math
1 (23 pts). Consider the following recurrence system:
a 0 = 0 ; a 1 = 1 ; an = 4 an โ 2 + 1 1a (2). Calculate a 2 , a 3 , a 4 , and a 5.
SOL : a 2 = 4 a 0 + 1 = 4 โ 0 + 1 = 1 a 3 = 4 a 1 + 1 = 4 โ 1 + 1 = 5 a 4 = 4 a 2 + 1 = 4 โ 1 + 1 = 5 a 5 = 4 a 3 + 1 = 4 โ 5 + 1 = 21
1b (21). Find a closed form for an.
SOL 1 (by special forms):
Homogenous Particular a^ หn โ 4 aหn โ 2 = 0 aหn โ 4 a หn โ 2 = 1
r 2 โ 4 = 0 try aหn = D
a หn = B โ 2 n^ + C D โ 4 D = 1 ; D = โ (^13)
SOL 2 by gen fcns on next page
Mon 16 Dec 02 CS W3203 Discrete Math
2 (20 pts). Consider this binary relation on {1, 2, 3, 4}: R = (^) {( 2 , 1 ), ( 2 , 3 ), ( 2 , 4 ), ( 3 , 3 ), ( 4 , 3 )}
2a (5). Represent R as a matrix.
2b (5). Represent R as a digraph.
SOL: 1 2
2c (10). Calculate the relation R 2.
SOL : R 2 = (^) { ( 2 , 3 ), ( 3 , 3 ), ( 4 , 3 ) }
Mon 16 Dec 02 CS W3203 Discrete Math
3a (10 pts). Give an example of a relation R on the set
S ={ a , b, c, d}
such that R is both an equivalence relation and a partial ordering. SOL : R ={( a , a), ( b , b), ( c , c), ( d , d)}
3b (15 pts). Prove that there is only one such relation R. Proof: Let Q be any eq rel on S that is also a p.o. Q Reflexiveโ (^) (โ x โ S)[( x , x) โ Q]. โด R โ Q. Now suppose that( x , y) โ Q. Symmetry โ( y, x) โ Q. But then anti โ symmetryโ x = y. โด Q โ R.
โด R = Q.
Mon 16 Dec 02 CS W3203 Discrete Math
5 (30 pts). Consider the following three graphs:
G H J
5a (10). Decide whether G and H are isomorphic. Explain.
SOL (many ways): NO. (1) diameter: diam (G) = 2; diam(J) = 3. (2) girth: girth (G) = 5; H has 4-cycles. (3) G is vertex-transitive; H is not.
5b (10). Decide whether G and J are isomorphic. Explain.
SOL (many ways): NO. (1) diameter: diam (G) = 2; diam(J) = 3. (2) girth: girth (G) = 5; J has 4-cycles. (3) chromatic number: ฯ(G) = 3; ฯ(J) = 2 (bipartite).
5c (10). Decide whether H and J are isomorphic. Explain.
SOL (many ways): NO. but NOT due to diameter or girth. (1) chromatic number: ฯ(H) = 3; ฯ(J) = 2 (bipartite). (2) In J, but not in H, every edge lies in a 4-cycle. (3) radius(H) = 2; radius(J) = 3.
Mon 16 Dec 02 CS W3203 Discrete Math
6a (15). Mark two edges in the following graph such that it remains nonplanar after both are deleted. Prove your answer.
SOL: Draw subdivided K3,3-subgraph as above, with two unused edges.
6b (15). Let G be the edge-complement of a 10-vertex, 3-regular simple graph. Prove that G is non-planar.
PROOF: Graph G must be 6-regular. Thus, it has 30 edges. The Euler polyhedral equation V-E+F = 2 implies that 10-30+F = 2. Thus, |F| = 22. However, the edge-face inequality 2E โฅ 3F implies that 60 = 2โข30 โฅ 3โข22 = 66, a contradiction!
Mon 16 Dec 02 CS W3203 Discrete Math
8 (25 pts). A bowl contains 50 fair coins {with p(H) = 0.5} and 50 standard loaded coins {with p(H) = 0.8}. A coin is drawn at random.
8a (10). The coin is tossed once. What is the probability of the outcome H?
= pr (H | Fair) โ pr ( Fair ) + pr (H | Loaded)pr ( Loaded ) = 0. 5 โ 0. 5 + 0. 8 โ 0. 5 = 0. 65
8b (15). If the outcome of the toss is H, what is the probability that the coin selected was loaded?
SOL : pr (^) (L oaded | H) =
or
Mon 16 Dec 02 CS W3203 Discrete Math