




























































































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!





























































































A Friendly Introduction for Electrical and Computer Engineers
(Solutions to the odd-numbered problems)
Comments on this Student Solutions Manual
(a) An outcome specifies whether the connection speed is high (h), medium (m), or low (l) speed, and whether the signal is a mouse click (c) or a tweet (t). The sample space is
S = {ht, hc, mt, mc, lt, lc}. (1)
(b) The event that the wi-fi connection is medium speed is A 1 = {mt, mc}.
(c) The event that a signal is a mouse click is A 2 = {hc, mc, lc}.
(d) The event that a connection is either high speed or low speed is A 3 = {ht, hc, lt, lc}.
(e) Since A 1 ∩A 2 = {mc} and is not empty, A 1 , A 2 , and A 3 are not mutually exclusive.
(f) Since
A 1 ∪ A 2 ∪ A 3 = {ht, hc, mt, mc, lt, lc} = S, (2)
the collection A 1 , A 2 , A 3 is collectively exhaustive.
The sample space is
S = {A♣,... , K♣, A♦,... , K♦, A♥,... , K♥, A♠,... , K♠}. (1)
The event H that the first card is a heart is the set
H = {A♥,... , K♥}. (2)
The event H has 13 outcomes, corresponding to the 13 hearts in a deck.
Of course, there are many answers to this problem. Here are four partitions.
(a) A and B mutually exclusive and collectively exhaustive imply P[A] + P[B] = 1. Since P[A] = 3 P[B], we have P[B] = 1/4.
(b) Since P[A ∪ B] = P[A], we see that B ⊆ A. This implies P[A ∩ B] = P[B]. Since P[A ∩ B] = 0, then P[B] = 0.
(c) Since it’s always true that P[A ∪ B] = P[A] + P[B] − P[AB], we have that P[A] + P[B] − P[AB] = P[A] − P[B]. (1) This implies 2 P[B] = P[AB]. However, since AB ⊂ B, we can conclude that 2 P[B] = P[AB] ≤ P[B]. This implies P[B] = 0.
A reasonable probability model that is consistent with the notion of a shuffled deck is that each card in the deck is equally likely to be the first card. Let Hi denote the event that the first card drawn is the ith heart where the first heart is the ace, the second heart is the deuce and so on. In that case, P[Hi] = 1/ 52 for 1 ≤ i ≤ 13. The event H that the first card is a heart can be written as the mutually exclusive union
H = H 1 ∪ H 2 ∪ · · · ∪ H 13. (1)
Using Theorem 1.1, we have
i=
P [Hi] = 13/ 52. (2)
This is the answer you would expect since 13 out of 52 cards are hearts. The point to keep in mind is that this is not just the common sense answer but is the result of a probability model for a shuffled deck and the axioms of probability.
Let si equal the outcome of the student’s quiz. The sample space is then composed of all the possible grades that she can receive.
S = { 0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 }. (1)
Since each of the 11 possible outcomes is equally likely, the probability of receiving a grade of i, for each i = 0, 1 ,... , 10 is P[si] = 1/11. The probability that the student gets an A is the probability that she gets a score of 9 or higher. That is
P [Grade of A] = P [9] + P [10] = 1/11 + 1/11 = 2/ 11. (2)
The probability of failing requires the student to get a grade less than 4.
P [Failing] = P [3] + P [2] + P [1] + P [0] = 1/11 + 1/11 + 1/11 + 1/11 = 4/ 11. (3)
Specifically, we will use Theorem 1.4(c) which states that for any events A and B,
P [A ∪ B] = P [A] + P [B] − P [A ∩ B]. (1)
To prove the union bound by induction, we first prove the theorem for the case of n = 2 events. In this case, by Theorem 1.4(c),
P [A 1 ∪ A 2 ] = P [A 1 ] + P [A 2 ] − P [A 1 ∩ A 2 ]. (2)
By the first axiom of probability, P[A 1 ∩ A 2 ] ≥ 0. Thus,
P [A 1 ∪ A 2 ] ≤ P [A 1 ] + P [A 2 ]. (3)
which proves the union bound for the case n = 2.Now we make our induction hypothesis that the union-bound holds for any collection of n − 1 subsets. In this case, given subsets A 1 ,... , An, we define
A = A 1 ∪ A 2 ∪ · · · ∪ An− 1 , B = An. (4)
By our induction hypothesis,
P [A] = P [A 1 ∪ A 2 ∪ · · · ∪ An− 1 ] ≤ P [A 1 ] + · · · + P [An− 1 ]. (5)
This permits us to write
P [A 1 ∪ · · · ∪ An] = P [A ∪ B] ≤ P [A] + P [B] (by the union bound for n = 2) = P [A 1 ∪ · · · ∪ An− 1 ] + P [An] ≤ P [A 1 ] + · · · P [An− 1 ] + P [An] (6)
which completes the inductive proof.
(b) The probability of one handoff is P[H 1 ] = P[H 1 B] + P[H 1 L] = 0.2. The probability that a call with one handoff will be long is
(c) The probability a call is long is P[L] = 1 − P[B] = 0.4. The probability that a long call will have one or more handoffs is
Since the 2 of clubs is an even numbered card, C 2 ⊂ E so that P[C 2 E] = P[C 2 ] = 1/3. Since P[E] = 2/3,
The probability that an even numbered card is picked given that the 2 is picked is
The first generation consists of two plants each with genotype yg or gy. They are crossed to produce the following second generation genotypes, S = {yy, yg, gy, gg}. Each genotype is just as likely as any other so the probabil- ity of each genotype is consequently 1/4. A pea plant has yellow seeds if it
possesses at least one dominant y gene. The set of pea plants with yellow seeds is
Y = {yy, yg, gy}. (1)
So the probability of a pea plant with yellow seeds is
P [Y ] = P [yy] + P [yg] + P [gy] = 3/ 4. (2)
The sample outcomes can be written ijk where the first card drawn is i, the second is j and the third is k. The sample space is
S = { 234 , 243 , 324 , 342 , 423 , 432 }. (1)
and each of the six outcomes has probability 1/6. The events E 1 , E 2 , E 3 , O 1 , O 2 , O 3 are
E 1 = { 234 , 243 , 423 , 432 } , O 1 = { 324 , 342 } , (2) E 2 = { 243 , 324 , 342 , 423 } , O 2 = { 234 , 432 } , (3) E 3 = { 234 , 324 , 342 , 432 } , O 3 = { 243 , 423 }. (4)
(a) The conditional probability the second card is even given that the first card is even is
(b) The conditional probability the first card is even given that the second card is even is
(a) For convenience, let pi = P[F Hi] and qi = P[V Hi]. Using this short- hand, the six unknowns p 0 , p 1 , p 2 , q 0 , q 1 , q 2 fill the table as
H 0 H 1 H 2 F p 0 p 1 p 2 V q 0 q 1 q 2
However, we are given a number of facts:
p 0 + q 0 = 1/ 3 , p 1 + q 1 = 1/ 3 , (2) p 2 + q 2 = 1/ 3 , p 0 + p 1 + p 2 = 5/ 12. (3)
Other facts, such as q 0 + q 1 + q 2 = 7/12, can be derived from these facts. Thus, we have four equations and six unknowns, choosing p 0 and p 1 will specify the other unknowns. Unfortunately, arbitrary choices for either p 0 or p 1 will lead to negative values for the other probabilities. In terms of p 0 and p 1 , the other unknowns are
q 0 = 1/ 3 − p 0 , p 2 = 5/ 12 − (p 0 + p 1 ), (4) q 1 = 1/ 3 − p 1 , q 2 = p 0 + p 1 − 1 / 12. (5)
Because the probabilities must be nonnegative, we see that
0 ≤ p 0 ≤ 1 / 3 , (6) 0 ≤ p 1 ≤ 1 / 3 , (7) 1 / 12 ≤ p 0 + p 1 ≤ 5 / 12. (8)
Although there are an infinite number of solutions, three possible solu- tions are:
p 0 = 1/ 3 , p 1 = 1/ 12 , p 2 = 0, (9) q 0 = 0, q 1 = 1/ 4 , q 2 = 1/ 3. (10)
and
p 0 = 1/ 4 , p 1 = 1/ 12 , p 2 = 1/ 12 , (11) q 0 = 1/ 12 , q 1 = 3/ 12 , q 2 = 3/ 12. (12)
and
p 0 = 0, p 1 = 1/ 12 , p 2 = 1/ 3 , (13) q 0 = 1/ 3 , q 1 = 3/ 12 , q 2 = 0. (14)
(b) In terms of the pi, qi notation, the new facts are p 0 = 1/4 and q 1 = 1/6. These extra facts uniquely specify the probabilities. In this case,
p 0 = 1/ 4 , p 1 = 1/ 6 , p 2 = 0, (15) q 0 = 1/ 12 , q 1 = 1/ 6 , q 2 = 1/ 3. (16)
This problems asks whether A and B can be independent events yet satisfy A = B? By definition, events A and B are independent if and only if P[AB] = P[A] P[B]. We can see that if A = B, that is they are the same set, then
P [AB] = P [AA] = P [A] = P [B]. (1)
Thus, for A and B to be the same set and also independent,
P [A] = P [AB] = P [A] P [B] = (P [A])^2. (2)
There are two ways that this requirement can be satisfied:
(a) Since A ∩ B = ∅, P[A ∩ B] = 0. To find P[B], we can write
P [A ∪ B] = P [A] + P [B] − P [A ∩ B] (1) or 5 /8 = 3/8 + P [B] − 0. (2)
Thus, P[B] = 1/4. Since A is a subset of Bc, P[A ∩ Bc] = P[A] = 3/8. Furthermore, since A is a subset of Bc, P[A ∪ Bc] = P[Bc] = 3/4.
(b) The events A and B are dependent because
P [AB] = 0 6 = 3/32 = P [A] P [B]. (3)
For a sample space S = { 1 , 2 , 3 , 4 } with equiprobable outcomes, consider the events
A 1 = { 1 , 2 } A 2 = { 2 , 3 } A 3 = { 3 , 1 }. (1)
Each event Ai has probability 1/2. Moreover, each pair of events is indepen- dent since
P [A 1 A 2 ] = P [A 2 A 3 ] = P [A 3 A 1 ] = 1/ 4. (2)
However, the three events A 1 , A 2 , A 3 are not independent since
P [A 1 A 2 A 3 ] = 0 6 = P [A 1 ] P [A 2 ] P [A 3 ]. (3)
(a) For any events A and B, we can write the law of total probability in the form of
P [A] = P [AB] + P [ABc]. (1)
Since A and B are independent, P[AB] = P[A] P[B]. This implies
P [ABc] = P [A] − P [A] P [B] = P [A] (1 − P [B]) = P [A] P [Bc]. (2)
Thus A and Bc^ are independent.
(b) Proving that Ac^ and B are independent is not really necessary. Since A and B are arbitrary labels, it is really the same claim as in part (a). That is, simply reversing the labels of A and B proves the claim. Alter- natively, one can construct exactly the same proof as in part (a) with the labels A and B reversed.
(c) To prove that Ac^ and Bc^ are independent, we apply the result of part (a) to the sets A and Bc. Since we know from part (a) that A and Bc^ are independent, part (b) says that Ac^ and Bc^ are independent.
A AB B
AC C BC
In the Venn diagram at right, assume the sample space has area 1 corresponding to probability 1. As drawn, A, B, and C each have area 1/3 and thus probability 1/3. The three way intersection ABC has zero probability, implying A, B, and C are not mutually independent since
P [ABC] = 0 6 = P [A] P [B] P [C]. (1)
A sequential sample space for this experiment is
1 / (^4) H 1 XXXX 3 / 4 XX^ T 1
^1 /^4 ^ H^2 3 / 4 T^2
XXX^1 /^4 H 2 XXX (^) T 3 / 4 2
(a) From the tree, we observe
P [H 2 ] = P [H 1 H 2 ] + P [T 1 H 2 ] = 1/ 4. (1) This implies
P [H 1 |H 2 ] =
(b) The probability that the first flip is heads and the second flip is tails is P[H 1 T 2 ] = 3/16.
Let Gi and Bi denote events indicating whether free throw i was good (Gi) or bad (Bi). The tree for the free throw experiment is
1 / (^2) G^1
HH HH HH (^) B 1 / (^21)
3 / (^4) G 2 XXXX 1 / 4 XX^ B 2
1 / (^4) G 2 XXXX 3 / 4 XX^ B 2
The game goes into overtime if exactly one free throw is made. This event has probability
P [O] = P [G 1 B 2 ] + P [B 1 G 2 ] = 1/8 + 1/8 = 1/ 4. (1)
The P[− |H ] is the probability that a person who has HIV tests negative for the disease. This is referred to as a false-negative result. The case where a person who does not have HIV but tests positive for the disease, is called a false-positive result and has probability P[+|Hc]. Since the test is correct 99% of the time,
P [−|H] = P [+|Hc] = 0. 01. (1)
Now the probability that a person who has tested positive for HIV actually has the disease is
P [+, H] + P [+, Hc]
We can use Bayes’ formula to evaluate these joint probabilities.
P [+|H] P [H] + P [+|Hc] P [Hc]
=
Thus, even though the test is correct 99% of the time, the probability that a random person who tests positive actually has HIV is less than 0.02. The reason this probability is so low is that the a priori probability that a person has HIV is very small.
The tree for this experiment is