Docsity

Discrete Math Final Exam Fall 2002, Exams of Discrete Mathematics

Toggle sidebar
bg1
DISCRETE MATH1 W3203 FINAL EXAM
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.
Final Exam, Fall 2002 Professor J. L. Gross
Mon 16 Dec 02 CS W3203 Discrete Math
W3203FXsol.F02 1 of 10 12/8/02
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Discrete Math Final Exam Fall 2002 and more Exams Discrete Mathematics in PDF only on Docsity!

DISCRETE MATH^1 W3203 FINAL EXAM

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)

a 0 = 0 = B โ‹… 20 + C ( โˆ’ 2 )^0 โˆ’ 13 B + C = 13

a 1 = 1 = B โ‹… 21 + C (โˆ’ 2 )^1 โˆ’ 13 2 B โˆ’ 2 C = 43

B = 12

C = โˆ’ 16

an = 2 n^ โˆ’^1 โˆ’ 13 โ‹… ( โˆ’ 2 )n^ โˆ’ 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.

SOL :

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?

SOL : pr (H ) = pr (H โˆง Fair) + pr (H โˆง Loaded)

= 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) =

pr (L oaded โˆง H)

pr (H )

or

Mon 16 Dec 02 CS W3203 Discrete Math