Professional Documents
Culture Documents
2 Introduction to Probability
Experiment:
Any process which outcomes is not known in advance in certainty but all the
possible outcomes can be specified
Sample Space:
A set/collection of all outcomes of an experiment and each outcome is an element
of the sample space
Event:
A set/collection of specific outcomes of an experiment.
Example:
Experiment – Rolling a balanced dice (the outcomes are not known in advance)
Sample Space, S – The possible outcomes of rolling a dice are the numbers 1, 2,
3, 4, 5, 6.
Therefore, S = {1, 2, 3, 4, 5, 6}
a) Union,
All outcomes that belong to A alone, B alone or both A and B.
▪ AB=BA
▪ A=A
▪ A B = B ; if A B
b) Intersection,
All outcomes that belong to both A and B
▪ AB=BA
▪ A=
▪ A B = A ; if A B
1
STA416
c) Complement,
All outcomes in the sample space, S, which do not belong to A
▪ (A) = A
▪ A A = S
▪ A A =
▪ A B = (A B)
▪ A B = (A B)
* Universal set – a set that contains all the elements in sample space
* Empty set – a set without any elements
Probability of an Event
n( A)
P ( A) = : where,
n( S )
n( A B )
P( A B) =
n( S )
Multiplication Rule
This rule is used to find the number of possible outcomes for an experiment that
consist of at least two stages.
Theorem 2.1
If an operation can be performed in n 1 ways, and if for each of these, there is
second operation can be performed in n 2 ways, then the 2 operations can be
performed together in n 1 n 2 ways.
2
STA416
Example 1:
Ali wants to go to town C from town A passing through town B. Suppose there
are 3 different routes from town A to town B and 2 different routes from town B
to town C. How many different routes can Ali take?
Theorem 2.2
If an operation can be performed in n 1 ways and if for each of these, a second
operation can be performed in n 2 ways, and for each of the first two, a third
operation can be performed in n 3 ways, and so forth, the sequence of k operations
can be performed in n 1 . n 2 . n 3 …..n k ways.
Example 2:
John is going to assemble his computer by himself. He has the choice of ordering
chips from two brands, a hard drive from four, memory card from three and
accessory bundle from five local stores. In how many different ways he can order
the part?
Permutation
This method is used to find the number of different ways arranging/ordering a
number of objects.
Theorem 2.3
The number of permutation of n distinct objects is n!
Example 3:
Suppose an original set A is given as A = {2, 4, 5}. How many 3-digit numbers
can possibly be formed from set A if:
i. each digit can be used more than once
ii. each digit can be used only once.
Theorem 2.4
The number of Permutation of n distinct objects taken r at a time is ( r n )
n n!
Pr=
(n − r )!
Example 4:
How many permutations of 3 different digits are there, chosen from the ten digits
0 to 9 inclusive?
3
STA416
Example 5:
A special type of password consists of four different letters of the alphabet,
where each letter is used only once. How many different possible passwords are
there?
Theorem 2.5
The no. of permutation of n distinct objects arranged in a circle is (n-1)!
Example 6:
In how many ways can 7 people be arranged in a circular table?
Theorem 2.6
The no. of distinct permutations of n things of which n 1 are of one kind (alike),
n!
n 2 of a second kind,………….,n k of a k th kind is .
n1!n2!..........nk !
Example 7:
How many ways can be alphabets in the “STATISTICS” be arranged?
Combination
This method is used to find the number of ways of selecting r objects from n
objects without regard to orders.
Theorem 2.7
4
STA416
Example 8:
6 people are to be chosen for a new committee from 8 males and 8 females. How
many different ways can the committee be chosen if,
a) there are no restrictions on who is chosen,
b) there must be equal males and females on the committee
c) the current chairperson must be re-elected to the committee?
d) there must be at least 4 females on the committee
Additive Rule
Mutually Exclusive, P(A B)=0 Non Mutually Exclusive, P(A B)≠0
P(A B) = P(A) + P(B) P(A B) = P(A) + P(B) – P(A B)
Example 9:
Roll a balanced dice!
S = {1, 2, 3, 4, 5, 6}
SOLUTION EXAMPLE 9
5
STA416
If A and B are any two events of in a sample space S and P(A)≠0, the conditional
probability of B given A is
P( A B)
P ( B / A) =
P ( A)
Independent Events
Suppose A and B are any 2 events of an experiment, A and B are independent if
the occurrence or nonoccurrence of either one does not affect the probability of
occurrence of the other.
Theorem 2.10
If A and B are independent, then A and B’ are also independent.
Multiplicative Rule
Dependent Independent
P(A B)= P(A)·P(B/A) = P(B)·P(A/B) P(A B) = P(A).P(B)
Example 10:
The table below shows the distribution of 100 students in a college.
Let G be the event that the student is a first year student and H be the event that
the student is female. If the student is chosen at random, find:
i) P(G)
ii) P(H G)
iii) P(H / G’)
6
STA416
iv) P(H’ G)
Example 11:
Two events R and T are defined in a sample space S. It was given that P(R)= 0.35,
P(T) = 0.28 and P(R T) = 0.06. Find:
i. P(R T)
ii. P(R T’)
iii. P(R’ T’)
iv. Are R’ and T’ independent events? Why?
Suppose A1, A2 and A3 are three mutually exclusive and exhaustive events that
partitions of a sample space, S
A1
A1 B
A2 B
A2
B
A3 B
A3
Therefore,
P(B) = P[ (A1 B) (A2 B) (A3 B) ]
Since (A1 B), (A2 B) and (A3 B) are disjoint events,
In general, if k events A1, A2, A3, ….., Ak form partitions of S, then for any event
B in S,
7
STA416
P(A1/B) = P(A1 B)
P(B)
= P(A1 B)
P(Ai)P(B/Ai)
In general, if k events, if k events A1, A2, A3, ….., Ak form partitions of S, then
for any event B in S,
P(Ai/B) = P(Ai B) . ; for i = 1, 2, 3, ……., k
P(Ai)P(B/Ai)
or
P(Ai/B) = P(Ai B). ; for i = 1, 2, 3, ……., k
P(B)
Properties:
Column 1 Column 2 Column 3
P(A1) + P(A2) P(B/A1) + P(B’/A1) = 1 P(A1B) + P(A2B) + P(A3B) = P(B)
+ P(A3) = 1 P(B/A2) + P(B’/A2) = 1
8
STA416
Example 12:
Company A produces bulbs. The bulbs are manufactured at 3 different factories,
F1, F2 and F3 with respective proportions of 50%, 30% and 20%. Records show
that the proportions of defective bulbs produced at F1, F2 and F3 are 3%, 2% and
1% respectively. Suppose one bulb is selected at random and it found to be
defective, what is the probability that it is produced by F2?