Lecture 4
Lecture 4
4 Conditional Probability
2.5 Independence Of Events
Example 1.
Many communication systems can be modeled in the following
way. First, the user inputs a 0 or a 1 into the system, and a
corresponding signal is transmitted. Second, the receiver makes a
decision about what was the input to the system, based on the
signal it received. Suppose that the user sends 0s with probability
1 − p and 1s with probability p, and suppose that the receiver
makes random decision errors with probability . For i=0,1, let Ai
be the event input was i, and let Bi be the event receiver decision
was i. Find the probabilities P [Ai ∩ Bi ].
n
X
P [A] = P [A|Bi ]P [Bi ]
i=1
Example 2.
An urn contains two black balls and three white balls. Two balls
are selected at random from the urn without replacement and the
sequence of colors is noted. Find the probability of the event W2
i.e (the second ball is white).
P[B1] P[W1]
Example 3.
In the binary communication system in Example 1, find which
input is more probable given that the receiver has output a 1.
Assume that, a priori, the input is equally likely to be 0 or 1.
Example 4.
A computer manufacturer uses chips from three sources. Chips
from sources A, B, and C are defective with probabilities .005,
.001, and .010, respectively. If a randomly selected chip is found to
be defective, find the probability that the manufacturer was A;
that the manufacturer was C. Assume that the proportions of chips
from A, B, and C are 0.5, 0.1, and 0.4,respectively.
Independence Of Events
Example 5.
A ball is selected from an urn containing two black balls, numbered
1 and 2 and two white balls, numbered 3 and 4. Let the events A,
B and C be defined as follows:
A = {(1, b), (2, b)}, ”black ball selected”,
B = {(2, b), (4, w)}, ”even-numbered ball selected”,
C = {(3, w), (4, w)} ”number of ball is greater than two”.
Are events A and B independent? Are events A and C
independent?
Example 6.
Two numbers x and y are selected at random between zero and
one. Let the events A, B, and C be defined as follows:
A = {x > 0.5}, B = {y > 0.5}, and C = {x > y}
Are the events A and B independent? Are A and C independent?
Independence Of Events
What conditions should three events A, B, and C satisfy in order
for them to be independent?
First, they should be pairwise independent,that is,
P [A ∩ B] = P [A]P [B], P [A ∩ C] = P [A]P [C]
and P [B ∩ C] = P [B]P [C]
In addition, knowledge of the joint occurrence of any two, say
A and B, should not affect the probability of the third,that is,
P [A ∩ B ∩ C] = P [A ∩ B]P [C] = P [A]P [B]P [C]
where we have used the fact that A and B are pairwise
independent. Thus we conclude that three events A, B, and C
are independent if the probability of the intersection of any
pair or triplet of events is equal to the product of the
probabilities of the individual events.
In order for a set of n events to be independent, the
probability of an event should be unchanged when we are
given the joint occurrence of any subset of the other events.
Dr. Bakhtiar Ali 11/12
2.4 Conditional Probability
2.5 Independence Of Events
Example 7 (2.34).
Suppose a fair coin is tossed three times and we observe the
resulting sequence of heads and tails. Find the probability of the
elementary events.