problem_set_1_sol
problem_set_1_sol
problem_set_1_sol
Solution :
P[A] 0.2 , P[B] 0.35 , P[C] 0.625 and P[D] 0.375
(a) P[A B] 0
P[A B] P [A ] P [B ] 0.55
P[A BC ] P [A ] 0.2
P[A BC ] P [BC ] 1 0.35 0.65
(b) P[A]P[B] 0.07 P[A B] 0
(c) P[C D] P[C].P[D] 0.234
P[C DC ] P [C ] P[C D 0.391
P[CC DC ] 1 P[C D] 1 ( P [C ] P [ D ] P[C D]) 0.234
(d) P[CC ].P[D C ] (1 0.625)(1 0.375) 0.234 P[CC D C ]
then CC and DC are independent.
Problem(2)
Prove that:
P[AUBUC] = P[A] + P[B] + P[C] − P[A ∩ B] − P[A ∩ C] − P[B ∩ C] + P[A ∩ B ∩ C]
Solution :
let D B C A D A (B C) (A B) (A C)
P(A D) P(A B) P(A C)-P(A B C)........(1)
P (D ) P (B ) P (C ) P (B C ).............(2)
P (A B C ) P (A D ) P (A ) P (D ) P (A D )
from (1),(2)
P (A ) P (B ) P (C ) P (B C ) P(A B) P(A C)-P(A B C )
P (A ) P (B ) P (C ) P (B C ) P(A B)-P(A C) P(A B C)
Problem(3)
A box contains 7 red, 3 white balls. If a ball is drawn from the box a ball of the other color is then put into
the box.
(a) Find the probability that the second ball is red?
(b) If both balls were of the same color what is the probability that they were both white?
Solution :
(a )
P [ R 2] P [ R 1R 2] P [W 1R 2]
66
(7 / 10)(6 / 10) (3 / 10)(8 / 10)
100
(b )
48
P [same ] P [R 1R 2] P [W 1W 2]
100
6
P [W 1W 2]
100
6
Pr ob 100 1
48 8
100
Problem(4)
Find P(B/A) if:
(a) A is subset of B?
(b) A and B are mutually exclusive?
Solution :
P [BA ] P [A ]
(a ) P [B / A ] 1
P [A ] P [A ]
P [ ] 0
(b ) P [B / A ] 0
P [A ] P [A ]
Problem(5)
In a certain colleague 25% of students failed in math, 15% failed in chemistry, 10% failed in both. A student
is selected randomly.
(a) If he failed in chemistry what is the probability that he failed in math ?
(b) If he failed in math what is the probability that he failed in chemistry?
(c) Find probability that he failed in chemistry or math ?
Solution :
P [MC ] 0.1 2
(a ) P [M / C ]
P [C ] 0.15 3
P [MC ] 0.1 2
(b ) P [C / M ]
P [M ] 0.25 5
(c ) P [M C ] P [M ] P [C ] P [M C ] 0.25 0.5 0.1 0.3
Problem(6)
Suppose that X and Y are events and P[X]=0.4,P[Y]=0.6 , find P[X|Y] in the following cases:
(a) X and Y are independent.
(b) X and Y are mutually exclusive.
(c) X is subset of Y
(d) Y is subset of X
Solution :
P [X Y ] P [X ]P [Y ]
(a) P [X /Y ] P [ X ] 0.4
P [Y ] P [Y ]
P [X Y ] 0
(b) P [X /Y ] 0
P [Y ] P [Y ]
P [X Y ] P [X ] 0.4
(c) P [X /Y ] 2/3
P [Y ] P [Y ] 0.6
P [X Y ] P [Y ]
(d) P [X /Y ] 1
P [Y ] P [Y ]
Problem(7)
Consider the binary communication channel shown in Fig. The channel input symbol X may assume the
state 0 or the state 1, and, similarly, the channel output symbol Y may assume either the state 0 or the state 1.
Because of the channel noise, an input 0 may convert to an output 1 and vice versa. The channel is
characterized by the channel transition probabilities 𝑝𝑜 , 𝑞𝑜, 𝑝1 𝑎𝑛𝑑 𝑞1 defined by:
where 𝑥𝑜 and 𝑥1 denote the events (X = 0) and (X = 1), respectively, and 𝑦𝑜 and 𝑦1 denote the events (Y =
0) and (Y = 1), respectively.
Note that 𝑝𝑜 + 𝑞𝑜 = 1 , 𝑝1 + 𝑞1 = 1
Let 𝑃(𝑥𝑜 ) = 0.5 , 𝑝𝑜 = 0.1 , and 𝑝1 = 0.2
Solution
To simplify our solution we can do that by making tree diagram for our experiment:
(a) P yo = 𝑃 x o yo + 𝑃 x1 yo = 0.45 + 0.1 = 0.55
𝑃 x 1 .𝑦1 0.4
(c) 𝑃 x1 |𝑦1 = = = 0.889
𝑃 𝑦1 0.45