Docsity

Cardinality - Discrete Math - Quiz, Exercises of Discrete Mathematics

Partial preview of the text

Download Cardinality - Discrete Math - Quiz and more Exercises Discrete Mathematics in PDF only on Docsity!

Prof. S. Brick Math 267

Fall โ€™03 Discrete Math; Final section 101

Print your name:

Directions: Show all of your work, and explain your reasoning.

  1. Prove by induction that a finite set of cardinality n has 2n^ subsets.
  2. Find the transitive closure of the relation {(a, 7), (7, y), (y, x), (7, 12)}.
  1. Give a combinatorial proof of C(n + 1, k + 1) = C(n, k) + C(n, k + 1). (A proof which involves formulas or algebra is not worth any points here.)
  2. Find the generating function of the recurrence relation given by โ€œa 0 = 2, a 1 = 1 and an = 3anโˆ’ 1 โˆ’ anโˆ’ 2 for n โ‰ฅ 2โ€. The first 4 terms followed by a โ€œ+.. .โ€ suffices.
  1. Give a recursive definition for a function that returns the maximum value of nonempty lists of numbers.
  2. Give an inductive definition of the set

{ x โˆˆ N | floor(x/3) is odd

}

  1. Give a description in English of the language L = {a, b}โˆ—^ โˆ’ {b}โˆ—. Be concise.
  1. Prove that any choice of ten nonempty strings over {a, b, c} contain at least two strings that start with the same letter and end with the same letter.
  2. A binary string of length 4 is chosen at random. Find the probability it has same number of 0โ€™s as 1โ€™s.