Professional Documents
Culture Documents
P(E)=n(E) /n(s)=4/8=1/2
Example: A coin is thrown 3 times .what is the probability that atleast one head is
obtained?
Solution: Sample space = [HHH, HHT, HTH, THH, TTH, THT, HTT, TTT]
Total number of ways = 2 × 2 × 2 = 8. Fav. Cases = 7
P (A) = 7/8 or P (of getting at least one head) = 1 – P (no head)⇒ 1 – (1/8) = 7/8
Example: What is the probability of getting a sum of 7 when two dice are thrown?
Solution: Probability math - Total number of ways = 6 × 6 = 36 ways. Favorable
cases = (1, 6) (6, 1) (2, 5) (5, 2) (3, 4) (4, 3) --- 6 ways. P (A) = 6/36 = 1/6
Example: Two cards are drawn from the pack of 52 cards. Find the probability
that both are diamonds or both are kings.
Solution: Total no. of ways = 52C2
Case I: Both are diamonds = 13C2
Case II: Both are kings = 4C2
P (both are diamonds or both are kings) = (13C2 + 4C2 ) / 52C2
Activity:
1. Three dice are rolled together. What is the probability as getting at least one
'4'?
2. A problem is given to three persons P, Q, R whose respective chances of
solving it are 2/7, 4/7, 4/9 respectively. What is the probability that the
problem is solved?
So let us explore this via an example. Say two coins are tossed, you must find the
probability of the following events.
i. Here let A be event when at least one head turns up, So A = {HT, TH, TT} ;
n(A) = 3 ; P (A) = n(A)/n(S) = 3/4
ii. Here A is the event where no heads turn up, so A= {TT} ; n(A) = 1 ; P (A)
= n(A)n(S) = 1/4
iii. Here A is the event when at the most one tails turns up, so A = {HH, TH,
HT} ; n(A) = 3 ; P (A) = n(A)n(S) = ¾
Example: One integer is chosen from 1,2,3…100. What is the probability that it
is neither divisible by 4 nor divisible by 6?
Note:
The entire sample space S and the empty set are events since they are subsets of
S. is sometimes is called the impossible event.
Since an event is a set, we can combine events to form new events using the various
set operations.
i) A B is the event that occurs if and only if A occurs or B occurs (or both).
occur simultaneously.
Example
1. When we toss a coin, either head or tail can be up, but both cannot be up at a
time, hence the outcome of getting a head (H) and tail (T) are mutually
exclusive events.
2. When we throw a die the outcome of getting 1, 2, 3,…, 6 are mutually exclusive
events.
The probability of an event
In this section, we will restrict ourselves to experiment that have finitely many,
equally likely outcomes.
Definitions of probability mathematically definitions of probability
The probability of an event E, which is a subset of a finite sample space S of
E
equally outcomes, is denoted by P(E ) is defined as P( E )
S
Example: If at least one child in a family of three children is a boy, what is the
probability that all three are boys?
Solution: The sample space is S= {BBB, BBG, BGB, GBB, GGB, GBG, BGG}
where B represents a boy and G represents a girl.
Hence S 7 and since E is the event that all the three are boys, E 1 .
E 1
Therefore P( E ) P( BBB ) .
S 7
three to solve the problem simultaneously, the probability that the exactly one
of them will solve it.
6. A committee of 4 students is selected at random from a group consisting of 8
boys and 4 girls. Given that there is at least one girl in the committee, find the
probability that there are exactly 2 girls in the committee.
Statistical or empirical definitions of probability
m
If in n trials, an event E happen m times, then P( E ) lim ( ) i.e. the limit of the
n n
number of times E occurs divided by the number of times the experiment is
performed.
ii) P(S)=1
iii) P( Ei ) P( Ei ) whenever, E1 , E 2 ,… are disjoint events which is to say that
i 1 i 1
Ei E j whenever i j .
Theorems on probabilities
Theorem: Prove the probability of an impossible event is zero, i.e. P( ) 0
Proof: Impossible event contains no sample point. The sample space S and the
impossible event are mutually exclusive events.
Thus, S S
P(S ) P(S )
P( A' ) 1 P( A)
13 4 1 4
52 52 52 13
Example: A card is drawn randomly from a deck of ordinary playing cards. You
win $10 if the card is a spade or an ace. What is the probability that you will win
the game?
Solution: Let S = the event that the card is a spade; and let A = the event that the
card is an ace. We know the following:
Activity
1. An urn contains 6 red marbles and 4 black marbles. Two marbles are
drawn with replacement from the urn. What is the probability that both of the
marbles are black?
2. Suppose we have the following information:
i) There is a 60 percent chance that it will rain today.
ii) There is a 50 percent chance that it will rain tomorrow.
iii) There is a 30 percent chance that it does not rain either day.
3. A number is selected from the first 20 natural numbers. Find the probability
that it would be divisible by 3 or 7?
4. If P(C) = 5/13, P(D) = 7/13 and P(C∩D) = 3/13, evaluate P(C|D).
5. Suppose box A contains 4 green and 5 black coins and box B contains 6 green
and 3 black coins. A coin is chosen at random from the box A and placed in
box B. Finally, a coin is chosen at random from among those now in box B.
What is the probability a blue coin was transferred from box A to box B given
that the coin chosen from box B is green?
Example: A box contains 4 bad and 6 good tubes. Two are drawn out from the box
at a time. One is tested and found to be good. What is the probability that the other
one is also good?
Solution: Let A be the event that one tube is good and B be the event that the other
tube is good.
P( A B) 1 3 5
P( B \ A)
P( A) 35 9
Activity:
1. An unbiased coin is tossed twice. If A is the event: both head or tail have
occurred and B is the event: at most one tail is observed, find P(A) , P(B) ,
P( A \ B) and P( B \ A) .
P( A B)
This implies P( A B) P( B) . P( A \ B) and P( B \ A) , with P( A) 0 gives
P( A)
P( A B) P( A) . P( B \ A)
0.4125
Answer: When we say two events are independent of each other, we mean that the
probability that one event will occur in no way will impact the probability of the
other event that is taking place. For instance, two independent events will be when
you are rolling a dice and flipping a coin.
Theorem: For two events A and B such that P(A) ≠ 0, P(B) ≠ 0. If A is independent
of B, then B is independent of A.
So B is also independent of A.
Theorem: If A and B are independent events, then the events A and B’ are also
independent.
Proof: The events A and B are independent, so, P(A ∩ B) = P(A) P(B).
From the Venn diagram, we see that the events A ∩ B and A ∩ B’ are mutually
exclusive and together they form the event A.
A = ( A ∩ B) ∪ (A ∩ B’).
Also, P(A) = P[(A ∩ B) ∪ (A ∩ B’)].
or, P(A) = P(A ∩ B) + P(A ∩ B’).
or, P(A) = P(A) P(B) + P(A ∩ B’)
or, P(A inter B’) = P(A) − P(A) P(B) = P(A) (1 – P(B)) = P(A) P(B’)
Example: The events A and B are independent with P( A) 0.5 and P( B) 0.8 .
Find the probability that neither of the event occurs.
Solution: Since A and B are independent events we have
P( A B) P( A) . P( B) 0.4
Thus the probability that neither of the events occur is P( A'B' ) P(( A B)' )
1 P( A B) 1 [ P( A) P( B) P( A B)]
2 3
Now P( A ) . P( B) 2 3.1 2 1 3 P( A B)
Hence
P( A B) P( A) . P( B) , thus A and B are independent events.
Activity:
1. If two events A and B are such that P(A′)=0.3,P(B)=0.5 and P(A∩B)=0.3
then P(B/A∪B)equal to
2. Let A and B be two events such that ( ) ( )
( ) , then P(A/B) is equal to
3. consider the following events for a family with children:
A {children of both sexes}, B {at most one boy}
C (6,5)(1 2) 6 (1 2) 0
15 64 6 64 1 64
11 32
n
And note that C (n, k ) p k q nk ( p q) n 1 , that is, the sum of the probabilities
k 0
that there are k successes with n independent Bernoulli trials, for k 0,1, 2, ..., n
equals to 1.
Activity:
X (TTT ) 0
Activity:
Note that when the sample space S has n elements S {x1 , x2 , ... , xn } ,
E ( X ) i 1 P( xi ). X ( xi )
n
Remark:
We are concerned only with random variable with finite expected values here.
Example: A fair coin is tossed three times. Let S be the sample space of the eight
possible outcomes, let X be the random variable that assigns to an outcome the
number of heads in this outcome. What is the expected value of X ?
Solution: In example above we listed the values of X for the eight possible out
comes when a coin is tossed three times. Since the coin is fair and the events are
independent, the probability of each outcome is 1 8 .
Consequently,
E (X ) 1 8[ X ( HHH ) X (HHT ) X (HTH ) X (THH ) X (TTH )
1 8[3 2 2 2 1 1 1 0] 12 8 3 2
Activity:
1. What is the expected value of the sum of the numbers of that appear when a
pair of fair dice is rolled?
2. What is the expected value of the numbers of successes when n Bernoulli
trials are performed, where P is the probability of successes on each trial?
3. A fair die is rolled repeatedly until a six is obtained. Let X denote the
number of rolls required. Find the probability that P(X≤2).
b) E(aX b) aE( X ) b
Proof:
a) the first result follows directly from the definition of expected value, since
E ( X Y ) P(t ).[ X (t ) Y (t )]
tS
E ( X ) E (Y )
P(t ).(aX (t ) b)
tS
aP(t ). X (t ) bP(t )
tS
a P(t ). X (t ) b P(t )
tS tS
aE ( X ) b , since, P(t ) 1 .
tS
The case with n random variables follows easily using mathematical induction
from the case of two random variables which is proved in part (a) above, or we
can prove as follow.
E ( X 1 X 2 .... X n ) P(t ).[ X 1 X 2 ... X n ](t )
tS
The above theorem can be useful for computing expected values, since many
random variables are sums of simpler random variables.
Example: Using the above theorem, find the expected values of the sum of the
numbers that appear when a pair of dice is rolled.
Solution: Let X 1 and X 2 be the random variables with X 1 (i, j) i and X 2 (i, j ) j so
that X 1 is the number appearing on the first die and X 2 is the number appearing on
the second die. Now we see that
6
E ( X 1 ) P(t ). X 1 (t )
t 1
21 6 7 2
Now the sum of two numbers that appear when the two dice are rolled is the sum
X 1 X 2 . Thus by the above theorem, the expected value of the sum is
E( X 1 X 2 ) E( X 1 ) E( X 2 ) 7 2 7 2 7
Activity:
Using the above theorem show that the expected value of the number of successes
when n Bernoulli trials are proved, where P is the probability of successes on
each trial, is equal to nP .
We have already discussed independent events. We will now define what it
means for two random variables to be independent.
2.7.3. Independent Random Variables
Definition: The random variable X and Y on a sample space S are independent if
P[ X (t ) r1 and Y (t ) r2 ] = P[ X (t ) r1 ]. P[Y (t ) r2 ] or in words, if the probability that
Example: Are the random variables X 1 and X 2 from the above Example 2.7.3.5
independent?
Solution: Let S {1, 2, 3, 4, 5, 6} , and let i S and j S . Since there are 36 possible
outcomes when the pair of dice is rolled and each is equally likely, we have
P[ X 1 (t ) i and X 2 (t ) j ] 1 36 . Furthermore, P[ X 1 (t ) i] 1 6 and P[ X 2 (t ) 1 6] ,
independent.
Example: Show that the random variables X 1 and X X 1 X 2 , where X 1 and X 2 are
defined in Example2.7.3.5 are not independent.
Solution: Note that P[ X 1 (t ) 1 and X (t ) 12] 0 , since X 1 (t ) 1 means the number
of appearing on the first die is 1, which implies that the sum of the numbers on the
two dice equal 12. On the other hand, P[ X 1 (t ) 1] 1 6 and P[ X (t ) 12] 1 36 .
Hence P[ X 1 (t ) 1 and X (t ) 12] P[ X 1 (t ) 1].P[ X (t ) 12] . This counter example
shows that X 1 and X 2 are not independent.
Theorem: If X and Y are independent variables on a sample space S , then
E( X .Y ) E( X ).E(Y ) , that is, the expected values of the product of two independent
r1X ( S ), r2 Y ( S )
r1r2 .P[ X (t ) r1 and Y (t ) r2 ]
r1X ( S ), r2 Y ( S )
r1r2 .P[ X (t ) r1 ].P[Y (t ) r2 ]
( r .P[ X (t ) r ]) . ( r .P[Y (t ) r ] )
1
r1X ( S )
1
r2 Y ( S )
2 2
E ( X ).E (Y ) .
15.A fire coin tossed four times. Find a) the sample space b) the probability they
are all heads if the first two tosses results in head.
16.Wheather records show that the probability of high barometric pressure is 0.82
and the probability of rain and high barometric pressure is 0.20. What is the
probability of rain given high barometric pressure.
17.Let two fair dice be rolled. If the sum of 7 is obtained, find the probability that
at least one of the dice shows 2.
18.In a single throw of two dice find the probability of having 8 or 11.
19.A bag contains blue and red balls. Two balls are drawn randomly without
replacement. The probability of selecting a blue and then a red ball is 0.2. The