

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


University of Illinois Fall 2009
Due: Wednesday September 2 at 4 p.m.. Reading: Ross Chapter 1, Sections 1-4; Chapter 2, Sections 1- Powerpoint Lecture Slides, Sets 1- Noncredit Exercises: Chapter 1: Problems 1-5, 7, 9; Theoretical Exercises 4, 8, 13; Self-Test Problems 1-15. Chapter 2: Problems 3, 4, 9, 10, 11-14; Theoretical Exercises 1-3, 6, 7, 10, 11, 12, 16, 19, 20; Self-Test Problems 1-
Yes, the reading and noncredit exercises are the same as in Problem Set 0.
(a) Let n = 4. List all the subsets of Ω in increasing order of size. How many subsets are there? How many of these subsets are non-empty subsets? (b) If you listed only 14 or 15 subsets in part (a), please re-do part (a), and this time, include the empty set ∅ and/or Ω as subsets of Ω. (c) In your answer to part (a) or (b), verify that for each k, 0 ≤ k ≤ 4, the total number of subsets of size k is the same as the total number of subsets of size 4 − k. Now explain why for n in general, the total number of subsets of size k is the same as the total number of subsets of size n − k. (d) Each subset A corresponds to a n-bit vector (x 1 , x 2 ,... , xn) where xi = 1 if ωi ∈ A and xi = 0 if ωi ∈/ A. Writing A ↔ (x 1 , x 2 ,... , xn) emphasizes the one-to-one correspondence: each subset defines a unique n-bit vector, and each n-bit vector defines a unique subset, e.g. with n = 4, we have that {ω 1 , ω 3 } ↔ (1, 0 , 1 , 0). i. What n-bit vectors correspond to Ω and to ∅? What n-bit vector corresponds to Ac? ii. If A ↔ (x 1 , x 2 ,... , xn), B ↔ (y 1 , y 2 ,... , yn), (A ∪ B) ↔ (z 1 , z 2 ,... , zn) and (A ∩ B) ↔ (w 1 , w 2 ,... , wn), express the zi’s and wi’s in terms of the xi’s and yi’s. Hint: you may need the logical operators ∨ and ∧ that you may have encountered in ECE 290. iii. How many different n-bit vectors are there? How many different subsets are there of Ω? iv. “They correspond to the nonempty subsets of Ω” Respond as if you are on JeopardyTM: What is the question to which this statement is the answer? How many subsets of Ω are non-empty?
(e) One definition of
n k
is the total number of subsets of size k of a set Ω of size n.
i. Compute the numerical values of
, and
. Do the numbers match up with your answers to part (a) or (b)?
ii. The total number of subsets whose size is an even number can be expressed as
n 0
n 2
What is the last term in this series? Be careful to distinguish between the cases: n is odd, and n is even. iii. Write a similar expression for the total number of subsets whose size is an odd number while continuing to be careful to distinguish between the cases: n is odd, and n is even. iv. Show that there are exactly 2n−^1 subsets whose size is an even number, and exactly 2n−^1 subsets whose size is an odd number. Hint: expand (1 − x)n^ using the binomial theorem and then set x = 1.
(a) What is the probability that you get a pair of shoes? (b) What is the probability of getting one left shoe and one right shoe?
Suppose now that n ≥ 2 and that you choose 3 shoes at random from the bag.
(c) What is the probability that you have a pair of shoes among the three that you have picked? (d) What is the probability that you picked at least one left shoe and at least one right shoe?
(a) Let A denote the event that the least significant bit (LSB) is a ONE. What is P (A)? (b) Let B denote the event that the register contains 5 ONEs and 3 ZEROes. What is P (B)? (c) What is P (A ∪ B)? What is P (A ∩ B)? What is the probability that exactly one of the two events A and B occurs, i.e. what is P (A ⊕ B)?
(a) How many basketball games are there in this tournament? More generally, how many games would there be in an n-team round-robin tournament? (b) Now suppose that each game is equally likely to end in a win for either team, and so the 2M possible outcomes of the M games all have the same probability 2−M^. i. What is the probability that some team wins all four of its games? ii. What is the probability that some team loses all four of its games? iii. What is the probability that one team wins all four of its games and another loses all four of its games? iv. What is the probability that one team wins all four of its games and another loses all four of its games and the remaining teams have identical 2-2 records?
(a) A, B, and C are disjoint (mutually exclusive) events and P (A) = 1/3. (b) P (A) = 2P (B ∩ C) = 4P (A ∩ B ∩ C) = 1/2. (c) P (A) = 1/ 2 , P (B ∩ C) = 1/3, and P (A ∩ C) = 0. (d) P (Ac^ ∩ (Bc^ ∪ Cc)) = 0.6.