Docsity

Absolute Value Function - Discrete Structures - Exam, Exams of Discrete Structures and Graph Theory

Toggle sidebar
bg1
Page 1
Discrete Structures - Fall 1994 Exam 2
1. Let f:R → R be the absolute value function f(x) = |x|, and E be the relation on R:
E = {(x,y) | x,y ∈ R and |x| = |y|}. Show that E is an Equivalence Relation.
2. Use Mathematical Induction to verify:
3. Rewrite 5 + 5(3) + 5(32) + 5(33) +...+ 5(3m) in summation form.
4. Calculate .
5. Let Σ = {0,1} be an alphabet and consider the functions H:Σn×Σn→Zn, d:Σn→Zn and
L:Σn→Zn defined, for any strings s,t in Σn as:
H(s,t) = the number of positions where s and t disagree (Hamming Distance Function),
d(s) = the number of 1’s in string s (Density Function),
L(s) = the number of characters in string s (Length Function).
Calculate: (a) H(10110111,11001101) (b) d(10100011) (c) L(θ)
6. Rewrite using the change of variables j = k + 1
7. Consider the sequence: si = si-1 + si-2 + si-3 with s0 = 1, s1 = 2, and s2 = 4. Use the Strong
Form of Mathematical Induction to prove that si < 3i, i > 3.
8. For any set A, let n(A) denote the cardinality of A. Fill in the blanks below with one
of <, <, =, >, or >, to make the statement correct.
(a) If f:A → B is a one-to-one function then n(A) ___ n(B).
(b) If f:A → B is an onto function then n(A) ___ n(B).
(c) If f:A → B is a bijective function then n(A) ___ n(B).
(d) If f:A → B is a onto function then f(A) ___ B.
9. Let f = {(1,4),(2,3),(3,1),(4,5),(6,7)} and g = {(1,5),(3,7),(4,9),(5,11),(7,13)} be functions.
(a) The domain of f = ___ (b) The image of g = ____ (c) g°f = ____
10. Let A = {1,2,3,4,5,6,7,8,9,10} and R be the relation of congruence modulo 3 on A; that is,
R = {(x,y) | x,y ∈ A and 3|(x - y)}.
(a) Draw the directed graph of R.
(b) Describe the partition induced on A by the equivalence relation R.
1
k1+
------------1
k
---–
⎝⎠
⎛⎞
k1=
12
∑
133 k–()
k1=
225
∑
10i
i0
=
n
∑10n1+1–
9
-------------------------------=
Docsity.com

Partial preview of the text

Download Absolute Value Function - Discrete Structures - Exam and more Exams Discrete Structures and Graph Theory in PDF only on Docsity!

Page 1

Discrete Structures - Fall 1994 Exam 2

1. Let f:R → R be the absolute value function f( x ) = | x |, and E be the relation on R:

E = {( x,y ) | x,y ∈ R and | x | = | y |}. Show that E is an Equivalence Relation.

2. Use Mathematical Induction to verify:

3. Rewrite 5 + 5(3) + 5(3 2 ) + 5(3 3 ) +...+ 5(3 m^ ) in summation form.

4. Calculate.

5. Let Σ = {0,1} be an alphabet and consider the functions H:Σn×Σn→Z n, d:Σn→Z n and

L:Σn→Z n defined, for any strings s,t in Σn^ as:

H(s,t) = the number of positions where s and t disagree (Hamming Distance Function), d(s) = the number of 1’s in string s (Density Function), L(s) = the number of characters in string s (Length Function). Calculate: (a) H(10110111,11001101) (b) d(10100011) (c) L(θ)

6. Rewrite using the change of variables j = k + 1 7. Consider the sequence: s (^) i = si-1 + s (^) i-2 + si-3 with s 0 = 1, s 1 = 2, and s 2 = 4. Use the Strong Form of Mathematical Induction to prove that si < 3i, i > 3. 8. For any set A, let n(A) denote the cardinality of A. Fill in the blanks below with one of < , <, = , >, or > , to make the statement correct.

(a) If f:A → B is a one-to-one function then n(A) ___ n(B).

(b) If f:A → B is an onto function then n(A) ___ n(B).

(c) If f:A → B is a bijective function then n(A) ___ n(B).

(d) If f:A → B is a onto function then f(A) ___ B.

9. Let f = {(1,4),(2,3),(3,1),(4,5),(6,7)} and g = {(1,5),(3,7),(4,9),(5,11),(7,13)} be functions.

(a) The domain of f = ___ (b) The image of g = ____ (c) g°f = ____

10. Let A = {1,2,3,4,5,6,7,8,9,10} and R be the relation of congruence modulo 3 on A; that is, R = {(x,y) | x,y ∈ A and 3|(x - y)}. (a) Draw the directed graph of R. (b) Describe the partition induced on A by the equivalence relation R.

1 k + 1

------------ 1 k ⎝⎛ –^ ---⎠⎞ k = 1

12

( 133 – k ) k = 1

225

i

i = 0

n

10 n^ +^1 – 1

= -------------------------------

Docsity.com