Basic Discrete Mathematics - Practice Questions for Exam | MATH 213, Exams of Discrete Mathematics

Material Type: Exam; Class: Basic Discrete Mathematics; Subject: Mathematics; University: University of Illinois - Urbana-Champaign; Term: Fall 2006;

Typology: Exams

Pre 2010

Uploaded on 03/10/2009

koofers-user-z8e-2
koofers-user-z8e-2 ๐Ÿ‡บ๐Ÿ‡ธ

4

(1)

8 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Math 213 โ€“ Practice exercises
September 20
Practice test 1
(1) Write the power set of {โˆ…,1,{1}}. Is {1}an element of this power set?
(2) Consider the function f:Nโ†’Ngiven by
f(n) = n2+n.
Is finjective? What is the range (image) of f? Justify your answers.
(3) Let A={(m, n)โˆˆNร—N|m+n= 6}, let B={(m, n)โˆˆNร—N|m, n โ‰ค5 and m-n is even }
and C={(m, m)|mโˆˆN}. Find Aโˆ’C,Bโˆ’Cand (ATB)โˆ’C.
(4) Let aand nbe natural numbers and aโ‰คn. Use induction on nto prove the following equality:
n
X
i=a
i=(n+a)(nโˆ’a+ 1)
2.
(5) Let {an}nโ‰ฅ1be an arithmetic sequence such that a3= 8 and a7= 20. Find the general term
anof the sequence. Then compute
24
X
n=3
an.
(6) Compute the double sum: P4
i=1 P2
j=0(iโˆ’2j).
(7) Find the least integer nsuch that f(x) is O(xn) for
f(x) = x3โˆ’99x2+x2(log x)4.
(8) Let a > 1, b > 1 be two real numbers. Show that loga(x4+ 7x1+ 1) = ฮ˜(logbx).
(9) Use the insertion sort algorithm to sort 2,4,1,5,3.
1
pf2

Partial preview of the text

Download Basic Discrete Mathematics - Practice Questions for Exam | MATH 213 and more Exams Discrete Mathematics in PDF only on Docsity!

Math 213 โ€“ Practice exercises

September 20

Practice test 1

(1) Write the power set of {โˆ…, 1 , { 1 }}. Is { 1 } an element of this power set? (2) Consider the function f : N โ†’ N given by f (n) = n^2 + n. Is f injective? What is the range (image) of f? Justify your answers. (3) Let A = {(m, n) โˆˆ N ร— N|m + n = 6}, let B = {(m, n) โˆˆ N ร— N|m, n โ‰ค 5 and m-n is even } and C = {(m, m)|m โˆˆ N}. Find A โˆ’ C, B โˆ’ C and (A

B) โˆ’ C.

(4) Let a and n be natural numbers and a โ‰ค n. Use induction on n to prove the following equality: โˆ‘^ n

i=a

i =

(n + a)(n โˆ’ a + 1) 2

(5) Let {an}nโ‰ฅ 1 be an arithmetic sequence such that a 3 = 8 and a 7 = 20. Find the general term an of the sequence. Then compute โˆ‘^24

n=

an.

(6) Compute the double sum:

i=

j=0(i^ โˆ’^2 j). (7) Find the least integer n such that f (x) is O(xn) for f (x) = x^3 โˆ’ 99 x^2 + x^2 (log x)^4. (8) Let a > 1, b > 1 be two real numbers. Show that loga(x^4 + 7x^1 + 1) = ฮ˜(logb x). (9) Use the insertion sort algorithm to sort 2, 4 , 1 , 5 , 3.

1

Practice test 2

(1) Let A, B, C be three subsets of an universal set U such that 1100011010 is the bit string of A, 1011001000 is the bit string of B, 1010100101 is the bit string of C. Find the bit strings of A

B

C and (A

B)

C.

(2) Consider the function f : N โ†’ Z given by

f (n) = (โˆ’1)nb

n + 1 2

c.

Is f injective? Is it surjective? Justify your answers. (3) Let A = {x โˆˆ N| 3 โ‰ค x โ‰ค 21 , xโˆ’ 3 2 โˆˆ N}. Let B = {x โˆˆ N| 5 โ‰ค x โ‰ค 25 , |x โˆ’ 8 | โ‰ค 3 }, and C = {x โˆˆ N|x^2 โ‰ค 20 }. Find (A

C) โˆ’ B and A โˆ’ (B

C).

(4) Let a and n be natural numbers and a โ‰ค n. Let r 6 = 1. Use induction on n to prove the following equality: โˆ‘^ n

k=a

rk^ =

rn+1^ โˆ’ ra r โˆ’ 1

(5) Let {an}nโ‰ฅ 0 be a geometric sequence such that a 1 = โˆ’3 and a 6 = 96. Find the general term an of the sequence. Then compute โˆ‘^12

n=

an.

(6) Compute the double sum:

i=

j=1(i^ โˆ’^ 1)j. (7) Find the least integer n such that f (x) is O(xn) for f (x) = x(x โˆ’ 1)(x โˆ’ 2) log(x + 1). (8) Use the bubble sort algorithm to sort 2, 4 , 1 , 5 , 3.