Probability
Probability
Probability
PROBABILITY
Terms
• Random Experiment
• Trial
• Outcome
• Sample Space or Event Space
• Event
✓Simple Event
✓Compound Events
• Complement of an event
Random Experiment
Definitions continued
Ex 2: For the random experiment tossing of two die.
S={(1,1), (1,2),(1,3),(1,4),(1,5),(1,6),
(2,1),(2,2),(2,3),(2,4),(2,5),(2,6),
(3,1),(3,2),(3,3),(3,4),(3,5),(3,6),
(4,1),(4,2),(4,3),(4,4),(4,5),(4,6),
(5,1) ,(5,2) ,(5,3) ,(5,4) ,(5,5) ,(5,6),
(6,1), (6,2), (6,3), (6,4), (6,5), (6,6)}
P ( E ) = 1− P ( E )
If we know the probability of rain is 20% or 0.2
then the probability of the complement (no rain)
is 1 - 0.2 = 0.8 or 80%
De Morgan’s Rule :
1.) Ac U Bc=(A∩B)c 2.)Ac∩Bc =(AUB)c
=>P(AcUBc)=P((A∩B)c) =>P(Ac∩Bc)=P((AUB)c)
=>P(Ac UBc)=1-P(A∩B) =>P(Ac∩Bc)=1-P(AUB)
OR, P(Ac +Bc)=1-P(AB) =>P(AcBc) = 1-P(A+B)
ADDITION RULE/ Theorem of total
probability
For any two events E and F,
P(EF) = P(E) + P(F) - P(EF)
Let's look at a Venn Diagram to see why this is true:
If we count E
EE FF
and then count F,
This means E F =
Let's look at a Venn Diagram to see why this is true:
ans:=65/100
Ans.)Let A be the event that 'person selected
has M.Com' and B be the event that 'person
selected has MCA' . Then given
P(A)=15/100 and P(B)=25/100 and
P(AB) = P(A and B) = 5 /100
• P(Ac Bc)=P(neither A nor B)
• =1-P(A or B) by De Morgans rule
• =1-P(A+B)
• =1-[ P(A)+P(B)-P(AB) ] by theorem of total
ans:=65/100 probability
• Q.4)The probability that a contractor will get a
plumbing contract is 2/3 and the probability
that he will not get an electrical contract is
5/9. If the probability of getting at least one
contract is 4/5, what is the probability that he
will get both ?
• Ans)Let A be the event that “the contractor
will get a plumbing contract” and B be the
event that “he will get an electrical contract”.
• To find P(AB) =???
• Given P(A)=2/3 and P(Bc)=5/9
and P(at least one of A or B) =
P(A+B) = 4/5.
• Hence P(B)=1- P(Bc) = 1-(5/9)=4/9
• Using theorem of total probability,we get,
P(A+B) =P(A)+P(B) - P(AB)
=>P(AB) = P(A)+P(B) - P(A+B)
= 2/3 + 4/9 - 4/5
= 14/45
Conditional Probability
• The conditional probability of an event B
given that another event A has already
occured is P(B | A).
P (A B )
P (B | A ) =
P (A )
Theorem of Compound Probability:
• For any two events A and B the theorem
states:
P(BA)=P(B|A).P(A)
Statistically Independent Events
• Two events A and B are said to be statistically
independent or simply independent if occurence
of one (say A) does not affect and is not affected
by the occurence of the other event (say B).
• P(A∩B)=P(A).P(B) and hence by
conditional probability definition for independent
events we have
P(B | A) = P(B)
Important
• Q.5) The probability that a new marketing
approach will be successful is 0.6.The
probability that the expenditure for
developing the approach can be kept within
the original budget is 0.50. The probability
that both of these objectives will be
achieved is 0.30.What is the probability that
at least one of these objectives will be
achieved ?
Determine whether the two events are
independent or not.
• Ans) Let A be the event the new marketing
approach will be successful and
• B be the event that the expenditure for
developing the marketing approach can be kept
within the original budget.
• Given P(A)=0.6 and P(B)=0.50 and
P(A∩B)=0.30
• P(A+B)=P(A)+P(B)-P(A∩B)
=0.6+0.5-0.3=0.80
They are independent since P(A∩B)=0.30 and
P(A).P(B)=0.6x0.50=0.30
Odds for occurence of an Event
• Odds for occurence of an event A
=Odds in favour of event A
=P(A)/P(Ac)
for some : 0 ≤ 𝑘 ≤ 𝑛
– By having already known:
Question:
One jar is chosen at random and a ball is selected. If
the ball is red, what is the probability that it came
from the 2nd jar?
Example
• We will define the following events:
– J1 is the event that first jar is chosen
– J2 is the event that second jar is chosen
– J3 is the event that third jar is chosen
– R is the event that a red ball is selected
Finding our Probability:
Our original problem was:
One jar is chosen at random and a ball is selected. If the ball
is red, what is the probability that it came from the 2nd jar?
𝑃 𝐽2 ∩ 𝑅 𝑃 𝐽2 ∩ 𝑅
𝑃 𝐽2 |𝑅 = =
𝑃 𝑅 𝑃 𝐽1 ∩ 𝑅 + 𝑃 𝐽2 ∩ 𝑅 + 𝑃 𝐽3 ∩ 𝑅
𝑃 𝑅| 𝐽2 𝑃(𝐽2 )
=
𝑃 𝑅 | 𝐽1 𝑃(𝐽1 ) + 𝑃 𝑅 | 𝐽2 𝑃(𝐽2 ) + 𝑃 𝑅 | 𝐽3 𝑃(𝐽3 )
1 1 1
6∗3 18 12
= = = ≈ 0.17
3 1 1 1 4 1 1 1 4 71
∗ + ∗ + ∗ + +
8 3 6 3 9 3 8 18 27
Question 9
All tractors made by a company are produced on one
of three assembly lines, named Red, White, and
Blue. The chances that a tractor will not start when
it rolls off of a line are 6%, 11%, and 8% for lines
Red, White, and Blue, respectively. 48% of the
company’s tractors are made on the Red line and
31% are made on the Blue line.
(i)What fraction of the company’s tractors do not start
when they roll off of an assembly line?
(ii)What is the probability that a tractor came from the
red company given that it was defective?
Define Events
• Let R be the event that the tractor was made by the red
company
• Let W be the event that the tractor was made by the white
company
• Let B be the event that the tractor was made by the blue
company
• Let D be the event that the tractor won’t start
• (i) The fraction of the company’s tractors that do not start
when rolled off the assembly line? i.e., P(D)=?
• (ii)What is the probability that a tractor came from the red
company given that it was defective?
𝑃 𝑅∩𝐷
i.e., 𝑃 𝑅|𝐷 = =?
𝑃 𝐷
Extracting the Information
• In terms of probabilities for the events we’ve defined, this
what we know:
𝑃 𝑅 = 0.48, 𝑃 𝑊 = 0.21, 𝑃 𝐵 = 0.31,
𝑃 𝐷|𝑅 = 0.06, 𝑃 𝐷|𝑊 = 0.11, 𝑃 𝐷|𝐵 = 0.08
Now, since the event D can be partitioned into 3 mutually exclusive
and exhaustive events: 𝑃 𝐷 ∩ 𝑅 , 𝑃 𝐷 ∩ 𝑊 , 𝑎𝑛𝑑 𝑃 𝐷 ∩ 𝐵
∴ 𝑖 𝑃 𝐷 =𝑃 𝐷∩𝑅 +𝑃 𝐷∩𝑊 +𝑃 𝐷∩𝐵
=𝑃 𝐷 𝑅 𝑃 𝑅 +𝑃 𝐷 𝑊 𝑃 𝑊 +𝑃 𝐷 𝐵 𝑃 𝐵
= 0.06 ∗ 0.48 + 0.11 ∗ 0.21 + 0.08 ∗ 0.31 = 0.0767
Ans (i) 𝑃 𝐴 ∪ 𝐵 = 𝑃 𝐴 + 𝑃 𝐵 − 𝑃 𝐴 ∩ 𝐵 = 12 + 35 − 13 = 23
30
23 7
𝑖𝑖 𝑃 𝐴𝑐 ∩ 𝐵𝑐 = 𝑃( 𝐴 ∪ 𝐵 𝑐 ) = 1 − 𝑃 𝐴 ∪ 𝐵 = 1 − =
30 30
1 2
𝑖𝑖𝑖 𝑃 𝐴𝑐 ∪ 𝐵𝑐 = 𝑃 𝐴 ∩ 𝐵 𝑐 = 1−𝑃 𝐴∩𝐵 =1 − =
3 3
2
𝑖𝑣 𝑃 𝐵𝑐 = 1 − 𝑃 𝐵 =
5
1 1 1
𝑃 𝐴∩ 𝐵𝑐 =𝑃 𝐴 −𝑃 𝐴∩𝐵 = − =
2 3 6
1
𝑃 𝐴∩𝐵 3
𝑣 𝑃(𝐴/𝐵)= = 3 = 5/9
𝑃 𝐵
5
7
𝑃 𝐴𝑐 ∩𝐵𝑐 7
(vi) P Ac /𝐵𝑐 = = 30
2 =
P 𝐵𝑐 12
5
Problems of successive drawing
with or without replacement
Q6)
Q14)
Q15)
Q16)
Q17)
Q 18) One urn contains 2 white and 2 black balls, a second
urn contains 2 white and 4 black balls.
(i) If one ball is chosen from each urn, what is the probability
that they will be of the same colour?
(ii) If an urn is selected at random and one ball is drawn from
it, what is the probability that it will be a white ball?
Question 19:
• Medical case histories indicate that different illnesses
may produce identical symptoms. Suppose a
particular set of symptoms, say “H” occurs only when
one of the three illness : A,B, or C occurs, with
probabilities 0.01, 0.005 and 0.02 respectively. The
probability of developing the symptoms H, given an
illness A,B,C are 0.90, 0.95, 0.75 respectively.
Assuming that an ill person shows the symptom H,
what is the probability that a person has illness A ?
Hints:
• P(A)=0.01, P(B)=0.005 , P(C)=0.02
• P(H|A)=0.90
• P(H|B)=0.95
• P(H|C)=0.75
• P(A|H)= ?
𝑃(𝐻|𝐴). 𝑃(𝐴)
=
𝑃(𝐻|𝐴)𝑃(𝐴) + 𝑃(𝐻|𝐵)𝑃(𝐵) + 𝑃(𝐻|𝐶)𝑃(𝐶)
Ans= 0.313
Question 20:
• In a post office, 3 clerks are assigned to process an
incoming mail. The clerk A, processes 25% ,clerk B
processes 30% and clerk C 40% of the mail. Clerk A
has an error rate of 0.05, clerk B has an error rate of
0.04 and clerk C has error rate of 0.02. A mail is
selected at random from the day's output and is found
to have an error. The postmaster wants to know who
among the 3 clerks is most likely to be responsible for
the error.
Given
• P(A)=0.25
• P(B)=0.30
• P(C)=0.40
• P(E|A)=0.05
• P(E|B)=0.04
• P(E|C)=0.02
• HINT : Find which value is more : P(A|E) or
P(B|E) or P(C|E) applying Baye's theorem for each time.
The clerk corresponding to highest value has high probability
of error.
Answers
• P(A|E)=0.37
• P(B|E)=0.40
• P(C|E)=0.23
• Clerk B has highest chances of making an
error.
Question 21
• One card from a pack of 52 cards is lost. Two
cards are drawn from the pack and are found to
be of clubs suite. Find the probability that the
lost card is also of club suite.
• Let A be the event that the two cards drawn belong to
club suite.
Let B1,B2,B3,B4 be events that the lost card belong to
club, spade, heart and diamond suite respectively.
Required Probability= P(B1|A)=?
Calculate Probabilities
• P(B1)=P(B2)=P(B3)=P(B4)=13/52
• P(A|B1)=12C2/51C2
• P(A|B2)=P(A|B3)=P(A|B4)=13C2/51C2
• Required Probability
=P(B1|A)
=11/50
Please refer to pdf file
“Probability Practice”for more
sums to practice