Post · 12 min read· pp. 104–121

1.5.0 End of Chapter Problems


Problem

Suppose that the universal set SS is defined as S={1,2,⋯ ,10}S=\{1,2,\cdots,10\} and A={1,2,3}A=\{1,2,3\}, B={X∈S:2≤X≤7}B=\{X \in S : 2 \leq X \leq 7\}, and C={7,8,9,10}C= \{7,8,9,10\}.

  1. Find A∪BA \cup B.
  2. Find (A∪C)−B\left(A \cup C\right)-B.
  3. Find Aˉ∪(B−C)\bar{A} \cup \left(B-C\right).
  4. Do A,B,A,B, and CC form a partition of SS?

Problem

When working with real numbers, our universal set is R\mathbb{R}. Find each of the following sets.

  1. [6,8]∪[2,7)[6,8] \cup [2,7)
  2. [6,8]∩[2,7)[6,8] \cap [2,7)
  3. [0,1]c[0,1]^{c}
  4. [6,8]−(2,7)[6,8] - (2,7)

Problem

For each of the following Venn diagrams, write the set denoted by the shaded area.

  1. 3a

  2. 3b

  3. 3c

  4. 3d


Problem

A coin is tossed twice. Let SS be the set of all possible pairs that can be observed, i.e., S={H,T}×{H,T}={(H,H),(H,T),(T,H),(T,T)}.S=\{H,T\} \times \{H,T\}=\{(H,H),(H,T),(T,H),(T,T)\}. Write the following sets by listing their elements.

  1. AA: The first coin toss results in head.
  2. BB: At least one tail is observed.
  3. CC: The two coin tosses result in different outcomes.

Problem *

Let A={1,2,⋯ ,100}A=\{1,2,\cdots,100\}. For any i∈Ni \in \mathbb{N}, Define AiA_i as the set of numbers in AA that are divisible by ii. For example:

A2={2,4,6,⋯ ,100},A_2=\{2,4,6,\cdots,100\},
A3={3,6,9,⋯ ,99}.A_3=\{3,6,9, \cdots, 99\}.

  1. Find ∣A2∣|A_2|,∣A3∣|A_3|,∣A4∣|A_4|,∣A5∣|A_5|.
  2. Find ∣A2∪A3∪A5∣|A_2 \cup A_3 \cup A_5|.

Problem

Suppose that A1A_1, A2A_2, A3A_3 form a partition of the universal set SS. Let BB be an arbitrary set. Assume that we know

∣B∩A1∣=10,|B \cap A_1|=10,
∣B∩A2∣=20,|B \cap A_2|=20,
∣B∩A3∣=15.|B \cap A_3|=15.
Find ∣B∣|B|.


Problem

Determine whether each of the following sets is countable or uncountable.

  1. A={1,2,⋯ ,1010}A=\{1,2,\cdots,10^{10}\}
  2. B={a+b2∣a,b∈Q}B=\{a+b\sqrt{2}|\quad a,b \in \mathbb{Q}\}
  3. C={(x,y)∈R2∣x2+y2≤1}C=\{(x,y) \in \mathbb{R}^2 |\quad x^2+y^2 \leq 1\}.

Problem *

Let An=[0,n−1n)={x∈R∣0≤x<n−1n}A_n=\left[0,\frac{n-1}{n}\right)=\{x \in \mathbb{R}|\quad 0 \leq x < \frac{n-1}{n}\}, for n=2,3,⋯n=2,3,\cdots. Define

A=⋃n=1∞An=A1∪A2∪A3⋯A=\bigcup_{n=1}^{\infty}A_n= A_1 \cup A_2 \cup A_3 \cdots
Find AA.


Problem *

Let An=[0,1n)={x∈R∣0≤x<1n}A_n=[0,\frac{1}{n})=\{x \in \mathbb{R}|\quad 0 \leq x < \frac{1}{n}\} for n=1,2,⋯n=1,2,\cdots. Define

A=⋂n=1∞An=A1∩A2∩⋯A=\bigcap_{n=1}^{\infty}A_n=A_1 \cap A_2 \cap \cdots
Find AA.


Problem *

In this problem our goal is to show that sets that are not in the form of intervals may also be uncountable. In particular, consider the set AA defined as the set of all subsets of N\mathbb{N}:

A={B:B⊂N}.A=\{B: B \subset \mathbb{N}\}.
We usually denote this set by A=2NA=2^\mathbb{N}.

  1. Show that $2^\mathbb{N}$ is in one-to-one correspondence with the set of all (infinite) binary sequences:
    C={b1,b2,b3,⋯∣bi∈{0,1}}.C=\{b_1,b_2,b_3,\cdots|\quad b_i \in \{0,1\}\}.
  2. Show that CC is in one-to-one correspondence with [0,1][0,1].

From (a) and (b) we conclude that the set $2^\mathbb{N}$ is uncountable.


Problem **

Show the set [0,1)[0,1) is uncountable. That is you can never provide a list in the form of {a1,a2,a3,⋯ }\{a_1,a_2,a_3,\cdots\} that contains all the elements in [0,1)[0,1).


Problem

Recall that

{H,T}3\{H,T\}^3={H,T}×{H,T}×{H,T}= \{H,T\} \times \{H,T\} \times \{H,T\}
={(H,H,H),(H,H,T),⋯ ,(T,T,T)}= \{(H,H,H),(H,H,T),\cdots,(T,T,T)\}.

Consider the following function

f:{H,T}3⟶N∪{0},f: \{H,T\}^3 \longrightarrow \mathbb{N} \cup \{0\},
defined as
f(x)=the number of H’s in x.f(x)=\text{the number of H's in $x$}.
For example,
f(HTH)=2.f(HTH)=2.

  1. Determine the domain and co-domain for ff.
  2. Find range of ff:Range(ff).
  3. If we know f(x)=2f(x)=2, what can we say about xx?

Problem

Two teams AA and BB play a soccer match, and we are interested in the winner. The sample space can be defined as

S={a,b,d},S=\{a,b,d\},
where aa shows the outcome that AA wins, bb shows the outcome that BB wins, and dd shows the outcome that they draw. Suppose we know that: (1) the probability that AA wins is P(a)=P({a})=0.5P(a)=P(\{a\})=0.5; (2) the probability of a draw is P(d)=P({d})=0.25P(d)=P(\{d\})=0.25.

  1. Find the probability that BB wins.
  2. Find the probability that BB wins or a draw occurs.

Problem *

Let AA and BB be two events such that

P(A)=0.4,P(B)=0.7,P(A∪B)=0.9P(A)=0.4, P(B)=0.7, P(A \cup B)=0.9

  1. Find P(A∩B)P(A \cap B).
  2. Find P(Ac∩B)P(A^c \cap B).
  3. Find P(A−B)P(A-B).
  4. Find P(Ac−B)P(A^c - B).
  5. Find P(Ac∪B)P(A^c \cup B).
  6. Find P(A∩(B∪Ac))P(A \cap (B \cup A^c)).

Problem *

I roll a fair die twice and obtain two numbers: X1=X_1= result of the first roll, X2=X_2= result of the second roll.

  1. Find the probability that X2=4X_2=4.
  2. Find the probability that X1+X2=7X_1+X_2=7.
  3. Find the probability that X1≠2X_1 \neq 2 and $ X_2 \geq 4$.

Problem

Consider a random experiment with a sample space

S={1,2,3,⋯ }.S=\{1,2,3,\cdots\}.
Suppose that we know:
P(k)=P({k})=c3k,fork=1,2,⋯ ,P(k)=P(\{k\})=\frac{c}{3^k}, \quad \textrm{for} \quad k=1,2,\cdots,
where cc is a constant number.

  1. Find cc.
  2. Find P({2,4,6})P(\{2,4,6\}).
  3. Find P({3,4,5,⋯ })P(\{3,4,5,\cdots\}).

Problem

Four teams A,B,C,A,B,C, and DD compete in a tournament, and exactly one of them will win the tournament. Teams AA and BB have the same chance of winning the tournament. Team CC is twice as likely to win the tournament as team DD. The probability that either team AA or team CC wins the tournament is $0.6$. Find the probabilities of each team winning the tournament.


Problem

Let TT be the time needed to complete a job at a certain factory. By using the historical data, we know that \begin{equation} P(T \leq t)= \left{ \begin{array} {ccc} \frac{1}{16}t^2 & \mbox{for} & 0 \leq t\leq 4\ 1 & \mbox{for} & t \geq 4 \end{array}\right. \end{equation}

  1. Find the probability that the job is completed in less than one hour, i.e., find P(T≤1)P(T \leq 1).
  2. Find the probability that the job needs more than 2 hours.
  3. Find the probability that $1 \leq T \leq 3$.

Problem *

You choose a point (A,B)(A,B) uniformly at random in the unit square {(x,y):x,y∈[0,1]}\{(x,y): x,y \in [0,1] \}. 19 What is the probability that the equation

AX2+X+B=0AX^2+X+B=0
has real solutions?


Problem ** (continuity of probability)

  1. Let A1,A2,A3,⋯A_1, A_2, A_3, \cdots be a sequence of increasing events, that is

    A1⊂A2⊂A3⊂⋯A_1 \subset A_2 \subset A_3 \subset \cdots
    Show that
    P(⋃i=1∞Ai)=lim⁡n→∞P(An)P\left(\bigcup_{i=1}^{\infty}A_i\right)=\lim_{n\rightarrow \infty}P(A_n)

  2. Using part(a), show that if A1,A2,⋯A_1,A_2,\cdots is a decreasing sequence of events, i.e.,

    A1⊃A2⊃A3⊃⋯A_1 \supset A_2 \supset A_3 \supset \cdots
    Then
    P(⋂i=1∞Ai)=lim⁡n→∞P(An).P\left(\bigcap_{i=1}^{\infty}A_i\right)=\lim_{n\rightarrow \infty}P(A_n).


Problem ** (continuity of probability)

For any sequence of events A1,A2,A3,⋯A_1,A_2,A_3,\cdots, prove

P(⋃i=1∞Ai)=lim⁡n→∞P(⋃i=1nAi),P\left(\bigcup_{i=1}^{\infty}A_i \right)=\lim_{n\rightarrow\infty}P\left(\bigcup_{i=1}^{n}A_i \right),
P(⋂i=1∞Ai)=lim⁡n→∞P(⋂i=1nAi).P\left(\bigcap_{i=1}^{\infty}A_i \right)=\lim_{n\rightarrow\infty}P\left(\bigcap_{i=1}^{n}A_i \right).


Problem

Suppose that, of all the customers at a coffee shop,

  • $70%$ purchase a cup of coffee;
  • $40%$ purchase a piece of cake;
  • $20%$ purchase both a cup of coffee and a piece of cake.

Given that a randomly chosen customer has purchased a piece of cake, what is the probability that he/she has also purchased a cup of coffee?


Problem

Let A,BA,B, and CC be three events with probabilities given below: 23

  1. Find P(A∣B)P(A|B).
  2. Find P(C∣B)P(C|B).
  3. Find P(B∣A∪C)P(B|A \cup C).
  4. Find P(B∣A,C)=P(B∣A∩C)P(B|A,C)=P(B|A \cap C).

Problem

A real number XX is selected uniformly at random in the continuous interval [0,10][0,10]. (For example, XX could be $3.87$.)

  1. Find P(2≤X≤5)P\left(2 \leq X \leq 5\right).
  2. Find P(X≤2∣X≤5)P\left(X \leq 2| X \leq 5\right).
  3. Find P(3≤X≤8∣X≥4)P\left(3 \leq X \leq 8| X \geq 4\right).

Problem

A professor thinks students who live on campus are more likely to get AAs in the probability course. To check this theory, the professor combines the data from the past few years:

  1. $600$ students have taken the course,
  2. $120$ students have gotten AAs,
  3. $200$ students lived on campus,
  4. $80$ students lived off campus and got AAs.

Does this data suggest that "getting an AA" and "living on campus" are dependent or independent?


Problem

I roll a die nn times, n∈Nn \in \mathbb{N}. Find the probability that numbers $1$ and $6$ are both observed at least once.


Problem

Consider a communication system. At any given time, the communication channel is in good condition with probability $0.8$, and is in bad condition with probability $0.2$. An error occurs in a transmission with probability $0.1$ if the channel is in good condition, and with probability $0.3$ if the channel is in bad condition. Let GG be the event that the channel is in good condition and EE be the event that there is an error in transmission.

  1. Complete the following tree diagram: 27a
  2. Using the tree find P(E)P(E).
  3. Using the tree find P(G∣Ec).P(G|E^c).

Problem *

In a factory there are $100$ units of a certain product, $5$ of which are defective. We pick three units from the 100 units at random. What is the probability that exactly one of them is defective?


Problem Reliability

Real-life systems often are composed of several components. For example, a system may consist of two components that are connected in parallel as shown in Figure 1.28. When the system's components are connected in parallel, the system works if at least one of the components is functional. The components might also be connected in series as shown in Figure 1.28. When the system's components are connected in series, the system works if all of the components are functional.

Parallel Series

Fig.1.28 - In left figure, Components C1C_1 and C2C_2 are connected in parallel. The system is functional if at least one of the C1C_1 and C2C_2 is functional. In right figure, Components C1C_1 and C2C_2 are connected in series. The system is functional only if both C1C_1 and C2C_2 are functional.

For each of the following systems, find the probability that the system is functional. Assume that component kk is functional with probability PkP_k independent of other components.

  1. 29a

  2. 29b

  3. 29c

  4. 29d

  5. 29e


Problem

You choose a point (X,Y)(X,Y) uniformly at random in the unit square

S={(x,y)∈R2:0≤x≤1,0≤y≤1}.S=\{(x,y) \in \mathbb{R}^2: 0 \leq x \leq 1, 0 \leq y \leq 1\}.
Let AA be the event {(x,y)∈S:∣x−y∣≤12}\{(x,y) \in S:|x-y| \leq \frac{1}{2}\} and BB be the event {(x,y)∈S:y≥x}\{(x,y) \in S: y\geq x\}.

  1. Show sets AA and BB in the x-y plane.
  2. Find P(A)P(A) and P(B)P(B).
  3. Are AA and BB independent?

Problem

One way to design a spam filter is to look at the words in an email. In particular, some words are more frequent in spam emails. Suppose that we have the following information:

  • $50%$ of emails are spam;
  • $1%$ of spam emails contain the word "refinance";
  • $0.001%$ of non-spam emails contain the word "refinance".

Suppose that an email is checked and found to contain the word "refinance". What is the probability that the email is spam?


Problem *

You would like to go from point AA to point BB in Figure 1.28. There are 5 bridges on different branches of the river as shown in Figure 1.29.

Bridge

Fig.1.29 - Problem 32.

Bridge ii is open with probability PiP_i, i=1,2,3,4,5i=1,2,3,4,5. Let AA be the event that there is a path from AA to BB and let BkB_k be the event that kthk^{th} bridge is open.

  1. Find P(A)P(A).
  2. Find P(B3∣A)P(B_3|A).

Problem * (The Monty Hall Problem)

You are in a game show, and the host gives you the choice of three doors. Behind one door is a car and behind the others are goats. You pick a door, say Door $1$. The host who knows what is behind the doors opens a different door and reveals a goat (the host can always open such a door because there is only one door behind which is a car). The host then asks you: "Do you want to switch?" The question is, is it to your advantage to switch your choice?

Monte Hall


Problem

I toss a fair die twice, and obtain two numbers XX and YY. Let AA be the event that X=2X=2, BB be the event that X+Y=7X+Y=7, and CC be the event that Y=3Y=3.

  1. Are AA and BB independent?
  2. Are AA and CC independent?
  3. Are BB and CC independent?
  4. Are AA, BB, and CC are independent?

Problem *

You and I play the following game: I toss a coin repeatedly. The coin is unfair and P(H)=pP(H)=p. The game ends the first time that two consecutive heads (HH) or two consecutive tails (TT) are observed. I win if (HH) is observed and you win if (TT) is observed. Given that I won the game, find the probability that the first coin toss resulted in head?


Problem *

A box contains two coins: a regular coin and one fake two-headed coin (P(H)=1). I choose a coin at random and toss it nn times. If the first nn coin tosses result in heads, what is the probability that the (n+1)th(n+1)^{th} coin toss will also result in heads?


Problem *

A family has nn children, n≥2n \geq 2. We ask the father: "Do you have at least one daughter?" He responds "Yes!" Given this extra information, what is the probability that all nn children are girls? In other words, what is the probability that all of their children are girls, given that at least one of them is a girl?


Problem *

A family has nn children, n≥2n\geq 2. We ask from the father, "Do you have at least one daughter named Lilia?" He replies, "Yes!" What is the probability that all of their children are girls? In other words, we want to find the probability that all nn children are girls, given that the family has at least one daughter named Lilia. Here you can assume that if a child is a girl, her name will be Lilia with probability α≪1\alpha \ll 1 independently from other children's names. If the child is a boy, his name will not be Lilia.


Problem *

A family has nn children. We pick one of them at random and find out that she is a girl. What is the probability that all their children are girls?