Docsity

ECE 313: Sets, Events, Probability & Subsets - Fall 2009, University of Illinois, Assignments of Statistics

Toggle sidebar
bg1
University of Illinois Fall 2009
ECE 313: Problem Set 1
Sets, Events, Axioms of Probability and Their Consequences
Due: Wednesday September 2 at 4 p.m..
Reading: Ross Chapter 1, Sections 1-4; Chapter 2, Sections 1-5
Powerpoint Lecture Slides, Sets 1-6
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-8
Yes, the reading and noncredit exercises are the same as in Problem Set 0.
1. [Subsets of a finite set]
Let Ω denote a finite set containing the nelements ω1, ω2, . . . , ωn. The cardinality (more informally,
the size) of a subset A⊂Ω is the number of elements in A, and is denoted as |A|.
(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 kis the same as the total number of subsets of size 4 −k. Now explain why for nin general,
the total number of subsets of size kis the same as the total number of subsets of size n−k.
(d) Each subset Acorresponds to a n-bit vector (x1, x2, . . . , xn) where xi= 1 if ωi∈Aand xi= 0
if ωi/∈A. Writing A↔(x1, x2, . . . , 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↔(x1, x2, . . . , xn), B↔(y1, y2, . . . , yn), (A∪B)↔(z1, z2, . . . , zn)
and (A∩B)↔(w1, w2, . . . , 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
kis the total number of subsets of size kof a set Ω of size n.
i. Compute the numerical values of 4
0,4
1,4
2,4
3,and 4
0. 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: nis o dd,
and nis 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: nis odd, and nis even.
iv. Show that there are exactly 2n−1subsets whose size is an even number, and exactly 2n−1
subsets whose size is an odd number.
Hint: expand (1 −x)nusing the binomial theorem and then set x= 1.
pf2

Partial preview of the text

Download ECE 313: Sets, Events, Probability & Subsets - Fall 2009, University of Illinois and more Assignments Statistics in PDF only on Docsity!

University of Illinois Fall 2009

ECE 313: Problem Set 1

Sets, Events, Axioms of Probability and Their Consequences

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.

  1. [Subsets of a finite set] Let Ω denote a finite set containing the n elements ω 1 , ω 2 ,... , ωn. The cardinality (more informally, the size) of a subset A ⊂ Ω is the number of elements in A, and is denoted as |A|.

(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.

  1. [A problem on sampling without replacement] A bag contains n pairs of shoes in distinct styles and sizes. You pick two shoes at random from the bag. Note that this is sampling without replacement.

(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?

  1. [Unions and Intersections] An experiment consists of observing the contents of an 8-bit register. We assume that all 256 byte values are equally likely to be observed.

(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)?

  1. [New NCAA tournament rules: the Final Five instead of the Final Four!] Five basketball teams (call them A, B, C, D, and E) play a round-robin tournament in which each team plays each of the other four exactly once.

(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?

  1. [Drill in working with subsets] Find P (A ∪ (Bc^ ∪ Cc)c) in each of the following four cases:

(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.