Introduction To Probability
Introduction To Probability
Introduction To Probability
Set,
subset,
intersection set,
union set,
complement set,
empty set,
universal set,
Venn diagrams
2.1.1 SET
A set, always denoted by a capital letter.
Therefore,
2.1.3 IDENTICAL SET
Two sets are identical if they contain the same elements, and
then we write
Example..
The union of two sets A and B (or more) is the set that
contains the elements that belong to A or B or both.
Example:
Let and
The union set of set A and B is
Venn Diagram representation of Union
Example..
Example:
Consider Ω = {1,2,3,4,5,6,7,8,9,10,11,12,13,14} and A = 2,3,4,6 .
𝐴 = {1,5,7,8,9,10,11,12,13,14}
2.2 Events
Keywords:
Random experiment,
sample space,
trial,
elementary event,
certain event,
impossible event,
independent events,
mutually exclusive events.
2.2.1 Random Experiments
A random experiment is a procedure whose outcome in a
particular performance ( i.e a trial ) cannot be predetermined.
But, we must be able to list the set of all possible outcomes of
the experiment.
Example:
• Tossing a coin
• Rolling a die,
• Recording the age of every second student met in the corridor for one
Monday morning.
2.2.2 Sample space (S)
The set of all possible outcomes of a random experiment is called the sample
space.
2.2.3 Trial
Each repetition of the procedure of a random experiment is called a trial.
Example:
We know that there is no die with a face labeled with a number greater than six. It becomes obvious
that it is impossible to observe a face labeled with number greater than six. In other words, such event
will not take place. This event is called an impossible event.
2.2.5 Impossible event and Certain event
Recall that and are subsets of a sample space
Therefore and are events.
Example:
Consider a “fake” coin (both faces are tails). The set of possible events consists of
one element only: tail. We are quite sure that every time we toss the coin, the
outcome turns to be a tail.
Theorem 1:
Let Then
Theorem 2:
Additional rule:
For any arbitrary events A and B,
Example
If the probabilities are respectively 0.86, 0.35 and 0.29 that a family selected at
random from a sample survey in a large metropolitan area will own a colour
television set, a black and white set or both kinds of sets.
What is the probability that such a family will own either kind of set?
A = {family owns colour television set}
B = {family owns black and white television set}
AB= {family owns both kinds of sets}
We want to find P(AB) :
Using Addition Rule P(AB) = P(A) + P(B) – P(AB)
If the probabilities are respectively 0.23, 0.24 and 0.38 that a car
stopped at a road block will have faulty brakes, badly worn tyres,
faulty brakes or badly worn tyres.
What is the probability that such a car will have both faulty brakes
and badly worn tyres?
Solution
• If there are elementary events in and each one has the same
probability of occurring, then the probability of each other and every
event must be
( )
= ( )
Class Example:
100 people bought tickets in a charity raffle. 60 of them bought the tickets
because they supported the charity. 75 bought the tickets because they
liked the prize. No one who neither supported the charity nor liked the prize
bought a ticket.
40
𝑃 𝑁𝑜𝑡 𝑠𝑢𝑝𝑝𝑜𝑟𝑡𝑖𝑛𝑔 𝑡ℎ𝑒 𝑐ℎ𝑎𝑟𝑖𝑡𝑦 = = 0.40
100
P (A B )
Example
If a delivery is chosen at random what is the
probability that the delivery is early.
(this is an example of marginal probability)
P (e a r ly ) P (E a r ly Jo n e s ) P (E a r ly S m ith ) P (E a r ly R o b in s o n )
20 10 0
P (E a r ly )=
300 300 300
30
300
Lesson 2
3.4 Conditional Probabilities
𝑷(𝑨∩𝑩)
𝑷(𝑨)
, provided
Example 1
4 1
P ( A)
12 3
This ball is then put aside.
You, woman with medical background, are one of 198 applicants for an
M.B.A programme of whom 81will be selected. You hear, along the
grapevine, on good authority that there were 70 applicants, of whom 38
were selected.
Assess your probability of being accepted before and after you receive
grapevine information.
Solutions
Exercise 1
Then,
Definition:
Two events A and B are independent if and only if
Example 4:
Suppose a study of speeding violations and drivers who use car phones
produced the following fictional data:
𝑃 𝐴 = = 0.4040
𝑃 𝐵 = = 0.0927
Therefore
1. A family has two dogs (Rex and Rover) and a cat called Garfield. None of them is fond of
the postman. If they are outside, the probability that Rex, Rover and Garfield will attack the
postman are 30%, 40% and 15%, respectively. Only one is outside at time, with probabilities
10%, 20% and 70%, respectively.
a) What is the probability that the postman will be attacked?
b) What is the probability that Garfield was the culprit?
Solution:
a) Let us define our events: Let 𝐴 = {𝑤𝑖𝑙𝑙 𝑎𝑡𝑡𝑎𝑐𝑘 𝑡ℎ𝑒 𝑝𝑜𝑠𝑡𝑚𝑎𝑛}
Let B = {𝑂𝑛𝑙𝑦 𝑜𝑛𝑒 𝑖𝑠 𝑜𝑢𝑡𝑠𝑖𝑑𝑒 𝑎𝑡 𝑡𝑖𝑚𝑒}
Since, we have defined our events 𝐴 and 𝐵. Now, which one is partitioned…Is it 𝐴 or 𝐵?
Recall, 𝟏 𝟐 𝒌 and
𝑃 𝐴 =? 𝑃 𝐴𝐵 = 15% = 0.15
𝑃(𝐵 ) 𝑃 𝐴𝐵 𝑃(𝐵 )𝑃 𝐴 𝐵
𝑃(𝐵 ) 0.1 0.3 𝟎. 𝟏 × 𝟎. 𝟑 = 𝟎. 𝟎𝟑 𝑃(𝐵 )𝑃 𝐴 𝐵
𝑃(𝐵 ) 0.2 0.4 𝟎. 𝟐 × 𝟎. 𝟒 = 𝟎. 𝟎𝟖 𝑃(𝐵 )𝑃 𝐴 𝐵
𝑃(𝐵 ) 0.7 0.15 𝟎. 𝟕.× 𝟎. 𝟏𝟓 = 𝟎. 𝟏𝟎𝟓 𝑃(𝐵 )𝑃 𝐴 𝐵
This the probability that the 𝑃 𝐴 = 0.215
postman was attacked
Bayes’ Theorem
Since, we want to find the probability “If the postman is attacked, what is the
probability that Garfield was the culprit?” ( We will make use of Bayes Theorem)
𝑃 𝐵 𝐴 =?
𝑃 𝐵 . 𝑃(𝐴|𝐵 )
𝑃 𝐵 𝐴 =
𝑃(𝐴)
Therefore, If the postman is attacked the probability that Garfield was the
culprit is 0.4884 or 48.84%
Exercise
A juice manufacturer has three machines, 1,2 and 3 for
manufacturing fruit juice, it is known that the machines
manufacture 25%, 35% and 40% of the total output respectively of
the outputs from machines 6%, 3% and 2% respectively are known
to be badly packed. If the packet of juice is chosen at random and
found to be badly packed, what is the probability that the packet
came from
a) Machine 1
b) Machine 2
c) Machine 3