Docsity

Discrete Structures Exam 2 - Fall 2000, Exams of Discrete Structures and Graph Theory

Toggle sidebar
bg1
Page 1
Discrete Structures - Fall 2000 - Exam 2
Symbols: N denotes the Natural Numbers, Z denotes the Integers, Q denotes the Rational
Numbers, and R denotes the Real Numbers.
1. (20 pts.) Circle T if the statement is true or F if the statement is false.
T F If A is a non-empty set, then AƗA is the largest Equivalence Relation on A.
TFIf c is a real number, and {sk} and {tk} are sequences of real numbers, then
.
T F The Equivalence Relation induced by the partition {{1,3,5,7},{2,6,8},{4}} of
{1,2,3,4,5,6,7,8} has 8 elements.
T F There cannot exist an ONTO mapping from {1,2,3,4} to {1,2,3}.
TFIf f:A → B is a function, then |A| = | f (A)|.
TFIf f:A → B and g:B → C are functions, then (g ° f ) āˆ’1 = (f āˆ’1 ° g āˆ’1).
TFIf n is a positive integer, 1 + Ļ€ + Ļ€2 + ... + Ļ€(nāˆ’1) = (Ļ€n āˆ’ 1).
T F The Weak and Strong Forms of Mathematical Induction are equivalent.
T F If H is the Hamming distance function, d is the density function, and 0 is the
all-zero string, then H(s,0) = d(s) for all binary strings, s.
TF|N| = |Q|.
2. Rewrite: as a summation from 6 to 16.
3. Let R = {(a,b) | a,b ∈ {1,2,3,4,5} and (a2 + b2) is prime}. Graph R.
4. Do 1 of the following 2 induction proofs:
Prove: .
or
Prove: If si is a recursively generated sequence given by si = si-1 + si-2,
with s0 = āˆ’5 and s1 = 5, then si is divisible by 5 for all i > 1.
5. Show that (g ° f ) āˆ’1 = (f āˆ’1 ° g āˆ’1) for the functions on {1,2,3,4,5} given by:
f = {(1,3),(2,2),(3,5),(4,1),(5,4)} and g = {(1,2),(2,3),(3,4),(4,5),(5,1)}.
6. Find the Domain and Image of the function f = {(d,3),(i,12),(s,2),(c,5),(r,3),(e,2),(t,1)}.
Domain = { } Image = { }
7. Let R be the relation R = {(a,b) | a,b ∈ Z and a ≔ b mod 5}.
(a) Show R is an equivalence relation on Z. (b) Describe the partition of Z induced by R.
8. Prove: For all a,b ∈ R, the function f :R → R given by f(x) = 15x + 13 is a bijection (1-1
and onto).
csktk
+()
k0=
n
āˆ‘cs
k
k0=
n
āˆ‘
āŽāŽ 
āŽœāŽŸ
āŽœāŽŸ
āŽ›āŽž
tk
k0=
n
āˆ‘
āŽāŽ 
āŽœāŽŸ
āŽœāŽŸ
āŽ›āŽž
+=
1
12ā‹…
---------- 2
23ā‹…
---------- 4
34ā‹…
---------- 8
45ā‹…
---------- 16
56ā‹…
---------- …1024
11 12ā‹…
----------------++++++
12ā‹…23ā‹…34⋅…nn 1+()++++ nn 1+()n2+()
3
--------------------------------------=
Docsity.com

Partial preview of the text

Download Discrete Structures Exam 2 - Fall 2000 and more Exams Discrete Structures and Graph Theory in PDF only on Docsity!

Page 1

Discrete Structures - Fall 2000 - Exam 2

Symbols: N denotes the Natural Numbers, Z denotes the Integers, Q denotes the Rational Numbers, and R denotes the Real Numbers.

  1. (20 pts.) Circle T if the statement is true or F if the statement is false. T F If A is a non-empty set, then AƗA is the largest Equivalence Relation on A.

T F If c is a real number, and { sk } and { t (^) k } are sequences of real numbers, then

.

T F The Equivalence Relation induced by the partition {{1,3,5,7},{2,6,8},{4}} of {1,2,3,4,5,6,7,8} has 8 elements.

T F There cannot exist an ONTO mapping from {1,2,3,4} to {1,2,3}.

T F If f :A → B is a function, then |A| = | f (A)|.

T F If f :A → B and g :B → C are functions, then ( g ° f ) āˆ’^1 = ( f āˆ’^1 ° g āˆ’^1 ).

T F If n is a positive integer, 1 + Ļ€ + Ļ€^2 + ... + Ļ€( n āˆ’1)^ = (Ļ€ n^ āˆ’ 1).

T F The Weak and Strong Forms of Mathematical Induction are equivalent.

T F If H is the Hamming distance function, d is the density function, and 0 is the all-zero string, then H( s ,0) = d( s ) for all binary strings, s.

T F | N | = | Q |.

  1. Rewrite: as a summation from 6 to 16.
  2. Let R = {( a,b ) | a,b ∈ {1,2,3,4,5} and ( a 2 + b 2 ) is prime}. Graph R.
  3. Do 1 of the following 2 induction proofs: Prove:. or Prove: If s (^) i is a recursively generated sequence given by s (^) i = s (^) i- 1 + s (^) i- 2 , with s 0 = āˆ’5 and s 1 = 5, then s (^) i is divisible by 5 for all i > 1.
  4. Show that ( g ° f ) āˆ’^1 = ( f āˆ’^1 ° g āˆ’^1 ) for the functions on {1,2,3,4,5} given by: f = {(1,3),(2,2),(3,5),(4,1),(5,4)} and g = {(1,2),(2,3),(3,4),(4,5),(5,1)}.
  5. Find the Domain and Image of the function f = {( d ,3),( i ,12),( s ,2),( c ,5),( r ,3),( e ,2),( t ,1)}. Domain = { } Image = { }
  6. Let R be the relation R = {( a,b ) | a,b ∈ Z and a ≔ b mod 5}. (a) Show R is an equivalence relation on Z. (b) Describe the partition of Z induced by R.
  7. Prove: For all a,b ∈ R, the function f : R → R given by f(x) = 15 x + 13 is a bijection (1- and onto).

( cs (^) k + t (^) k ) k = 0

n

āˆ‘ c^ s^ k

k = 0

n

āŽ āŽ 

āŽœ āŽŸ

āŽœ āŽŸ

āŽ› āŽž t (^) k k = 0

n

āŽ āŽ 

āŽœ āŽŸ

āŽœ āŽŸ

āŽ› āŽž = +

1 1 ā‹… 2

---------- 2 2 ā‹… 3

---------- 4 3 ā‹… 4

---------- 8 4 ā‹… 5

---------- 16 5 ā‹… 6

---------- … 1024 11 ā‹… 12


1 ā‹… 2 + 2 ā‹… 3 + 3 ā‹… 4 + … + n n ( + 1 ) n n (^^ +^1 )^ (^ n^ +^2 ) 3

Docsity.com