Probability, Chapter I
Probability, Chapter I
CHAPTER ONE
INTRODUCTION
1.1. Deterministic and non-deterministic models
1.2. Review of set theory: sets, union, intersection, complementation, De-Morgan’s rules
1.3. Random experiments, sample space and events
1.4. Finite sample spaces and equally likely outcomes
1.5. Counting techniques
1.6. Definitions of probability
1.7. Derived theorems of probability
c) Yi=AXi+ei where ei is the error term (or random component) associated with the ith
observation.
1.2. Review of set theory: sets, union, intersection, complementation, De-Morgan’s rules
An object that belongs to a particular set is called an element. Sets are usually denoted by capital
letters (A, B, C etc). On the other hand, elements of sets are usually denoted by small letters (a,
b, c etc).
Examples: The set of students in a class; the set of even numbers; the set of possible outcomes
of an experiment; etc.
Note: If X belongs to set A we write X ∈ A, and if X does not belong to set A we write X ∉ A
Universal set (U): Universal set is the collection of all objects under consideration. Universal set
for a given discussion is fixed and pre-determined.
Example: * The set of real numbers can be seen to be universal set of numbers.
* Consider an experiment of rolling a balanced die. Then, the set of all possible
outcomes of this experiment can be considered as the universal set. U={1,2,3,4,5,6}
Example: In the experiment of tossing two dice at the same time, define A to be a set whose
elements are pairs of outcomes from the two dice with sum greater than 20. Obviously, the set A
is empty set because the maximum possible sum is 12, which is attained when both the outcomes
are 6.
/ c
a. Complement: For any set A, the complement of A denoted by A /, or A c or Ā is given by
{X ∈ U/ X∉A}
Note: U/ = φ ; φ/ = U ; ( A/ )/ = A
b. Union: Given two sets A and B, the union of A and B denoted by A∪ B is the set of all
elements, which belong to set A or B, or both.
A∪B ={ X: X ∈ A ∨ X∈ B}; here the logical connective ∨ (OR) is used in its inclusive sense.
n
A1 ∪A2∪ … ∪An = UA i = { X ∈ U : X ∈ Ai for at least one i between 1 and n}
i =1
c. Intersection: For any two sets A and B the intersection of A and B is defined to be the set of
all elements that occur in both set A and also set B. Symbolically, we write
A ∩ B ={ X ∈ U / X ∈ A ∧ X∈B}
n
A1 ∩ A2 ∩ … ∩ An = I Ai = { X ∈ U : X ∈ Ai for all i between 1 and n}
i =1
Sets with no intersection are called disjoint sets. A and B are disjoint if A ∩ B = φ.
I. Commutative law
i) A∪ B = B∪ A, and
ii) A ∩ B = B ∩ A
i) A∪ (B ∪ C) = (A ∪ B) ∪ C, and
ii) A ∩ (B ∩ C) = (A ∩ B) ∩ C
i) A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C),
More generally,
⎛ ⎞
U (A I )
n n
A I ⎜⎜ U B i ⎟⎟ = B i , and
⎝ i=1 ⎠ i=1
⎛ ⎞
I (A U )
n n
A U ⎜⎜ I B i ⎟⎟ = Bi
⎝ i=1 ⎠ i=1
More generally,
' '
⎛ n ⎞ n
' ⎛ n ⎞ n
'
⎜⎜ U Ai ⎟⎟ = I Ai , and ⎜⎜ I Ai ⎟⎟ = U Ai
⎝ i =1 ⎠ i =1 ⎝ i =1 ⎠ i =1
Introduction
Perhaps the concept of sample space and events may be considered as the corner stones for the
whole discussion in probability. The concept of probability can never be addressed without
furnishing the idea of sample space and events. The good news is that one can easily grasp the
concept of sample space and events provided there is a clear understanding of universal set and
subsets, which are elementary concepts in set theory. We have a perfect analogy. The concepts of
universal set and subsets in the theory of sets directly correspond, respectively, to the concepts
sample space and events when it comes to the theory of probability.
1. Random Experiment: It is an experiment that can be repeated any number of times under
similar conditions and it is possible to enumerate the total number of outcomes with out
predicting an individual out come. Random experiments are associated with probability
models. As the experiment is repeated a large number of time a certain patterns appear.
i) For the experiment of flipping a coin the possible outcomes are either Head (H) or
Tail (T). Hence, the sample space will be S ={H, T }
ii) For the experiment of rolling a die the possible outcomes are the six sides of the die
that are numbered from 1 to 6. Thus, the sample space will be S={1,2,3,4,5,6}
iii) Toss a coin twice and observe the face up. The sample space of this experiment is S
={HH, HT, TH, TT }. What would be the sample space if you were to toss three
times?
iv) For the experiment of drawing a card from a deck of cards the following sets can be
possible sample spaces.
S={Heart, Spider, Diamond, Flower}
As the last case of the above example indicates it is possible to have more than one sample space
for a given random experiment. Hence, we can state the following remark.
9 Countably infinite sample space: if there is a one-to-one mapping between the elements
of S and the natural numbers;
• S={0, 1, 2, 3, …}
• S={ … -3, -2, -1, 0, 1, 2, 3, …}
9 Uncountable sample space: if there are an infinite number of elements in S and there is
not a one-to-one mapping between the elements and the natural numbers.
• S=(0, ∞)
• S=(–∞, ∞)
• S={(x, y): 0≤ x≤ 1; y>0}
Examples:
¾ In the experiment of flipping a die we can define an event E1=Heads shows up={H}
¾ In the experiment of rolling a die we can define an event C2=The number is odd {1,3,5}
¾ In tossing a coin twice we can define an event D1=At least one head occurs={HH, TT,
TH}
Note:
9 If S has n members, then there are exactly 2n subsets or events.
9 Recall that any set is the subset of itself. Accordingly, the sample space S by itself is an
event called a sure event or certain event.
9 An event occurs if any one of its elements turns out to be the outcome of the experiment.
9 Empty set (φ) is called an impossible event.
9 Any event which consists of a single outcome in the sample space is called an
elementary or simple event whereas events which consist of more than one outcome are
called compound events.
4. Mutually Exclusive events: Two events A and B are said to be mutually exclusive if they
cannot occur simultaneously (together) or A ∩ B = φ
5. Independent Events: Two events are said to be independent if the occurrence of one does
not affect probability of the other occurring.
6. Dependent Events: Two events are dependent if the first event affects the outcome or
occurrence of the second event in a way the probability is changed.
7. Combination of events
) A∪ A/ = S
) A∩ A/= φ
Exercise 2: Let A, B and C be three events associated with an experiment. Describe the
following in symbols.
a) AUBUC b) B ∩ A′ ∩ C ′ c) ( A ∩ B ′ ∩ C ′) ∪ ( B ∩ A′ ∩ C ′) ∪ (C ∩ B ′ ∩ A′)
d) ( A ∩ B ∩ C ′) ∪ ( B ∩ A′ ∩ C ) ∪ (C ∩ B ′ ∩ A)
e) (( A ∩ B ) ∪ C ) ∪ ( A ∩ C ) ∪ B ) ∪ (C ∩ B ) ∪ A))
f) ( A ∩ B ∩ C ) ′ = A′ ∪ B ′ ∪ C ′ g) ( A′ ∩ B ′ ∩ C ′)
Let event E describe the situation where either event E1 or event E2 will occur.
The number of times event E will occur can be given by the expression:
n(E) = n(E1) + n(E2)
where
n(E) = Number of outcomes of event E
n(E1) = Number of outcomes of event E1
n(E2) = Number of outcomes of event E2
In general, if there are K procedures and the procedure can be performed in ways,
1, 2, … . , , then the number of ways in which we may perform procedure 1 or 2 or….. or
procedure k is given by . ∑ , assuming no procedures may be
performed together.
Example 1: Suppose that we are planning a trip and deciding between bus and train
transportation. If there are three bus routes and two train routes. How many different routes are
available for the trip?
Solution: Let A= {an event for bus transportation}, B= {an event for train transportation}.
Then, we have 3 and 2; assuming that we are going to use only one route, by the
addition rule we have 3 2 5 different possible routes are available for the trip.
Example 2: Consider a set of numbers S = {-4, -2, 1, 3, 5, 6, 7, 8, 9, 10}
Let the events E1, E2 and E3 be defined as:
E = choosing a negative or an odd number from S;
E1= choosing a negative number from S;
E2 = choosing an odd number from S.
Find n(E).
Solution:
E1 and E2 are mutually exclusive events (i.e. no common outcomes).
n(E) = n(E1) + n(E2)
=2+5
=7
Example 2
In how many ways can a number be chosen from 1 to 22 such that it is a multiple of 3 or 8?
Solution:
Here, E1 = multiples of 3:
E1 = {3, 6, 9,12, 15, 18, 21}
n(E1) = 7
E2 = multiples of 8:
E2 = {8, 16}
n(E2) = 2
Events E1 and E2 are mutually exclusive.
n(E) = n(E1) + n(E2) = 7 + 2 = 9
II. The Multiplication Rule
If there are K procedures and the procedure can be performed in ways, 1, 2, … . , , then
the procedure consisting of procedure 1 followed by procedure 2,…, followed by procedure k
may be performed in … ∏ ways.
Example 1: Suppose that there are three different types of meal for lunch and four different
types of soft drinks. How many choices of meal and soft drinks can be made?
Solution: 3 4 hence 3 4 12 different choices of meal and soft
drinks can be made.
Example 2: How many two digit numerals can be written by choosing the ten’s digit from
A={1,3,5,7,9} and the units digit from B= {2,4,6,8}
Solution: The Selection Consists of two steps where the 1st can be made in 5 different ways for
the ten’s digits and for each of these the 2nd can be made in 4 different ways for the units digit,
Hence the whole selection one after the other can be made in 5 x 4 different ways. i.e. there are
20 two digit numerals
i.e. = 5 and =4
Example 3: The digits 0, 1, 2, 3, and 4 are to be used in 4 digit identification card. How many
different cards are possible if
a) Repetitions are permitted.
b) Repetitions are not permitted.
Solution:
a) There are four steps
1st digit 2nd digit 3rd digit 4th digit
5 5 5 5
III. Permutation
An arrangement of n objects in a specified order is called permutation of the objects.
Permutation Rules:
1. The number of permutations of distinct objects taken all together is n!
Where ! 1 2 , … , 2 1. Note that: 0! 1
2. The arrangement of objects in a specified order using objects at a time is called the
Combination Rule
The number of combinations of r objects selected from n objects is denoted by nСr or and is
given by the formula:
!
! !
Example 1: In how many ways can a committee of 5 people be chosen out of 9 people?
Ans: 126 ways
Example 2: Among 15 clocks there are two defectives .In how many ways can an inspector
chose three of the clocks for inspection so that:
a) There is no restriction.
b) None of the defective clock is included.
c) Only one of the defective clocks is included.
d) Two of the defective clock is included.
Ans: 455, 286, 156, and 13 ways, respectively.
Example 3: A delegation of four students is selected each year from a college to attend the ESA
meeting.
a. In haw many ways can the delegation be chosen if there are 12 eligible students?
b. In how many ways if two of the eligible students will not attend the meeting together?
c. In how many ways if two of the eligible students are married and will only attend the
meeting together?
Some remarks
1. When we select objects from distinct once, we have objects unselected and
hence there are as many ways of selecting from as there are not selected objects.
Thus
a.
b.
2. Binomial Coefficients
⎛n⎞
The quantity ⎜⎜ ⎟⎟ is also known as a binomial coefficient because it is the coefficient of the term
⎝r ⎠
an-r br in the expansion of the expression (a + b)n.
Binomial Theorem
n
⎛ n ⎞ r n −r
For any two real numbers a and b and any positive integer n we have (a + b)n
= ∑ ⎜⎜ ⎟⎟a b
r =0 ⎝ r ⎠
Special cases
n
⎛n⎞ n
⎛n⎞
1. (a + 1) n = ∑ ⎜⎜ ⎟⎟a r 2. (1 - a) n = ∑ ⎜⎜ ⎟⎟(−a) r
r =0 ⎝ r ⎠ r =0 ⎝ r ⎠
n
⎛n⎞ n
⎛n⎞
3. (1 + 1) n = ∑ ⎜⎜ ⎟⎟ = 2 n 4. (1 - 1) = ∑ ⎜⎜ ⎟⎟(−1) r = 0
n
r =0 ⎝ r ⎠ r =0 ⎝ r ⎠
1.5.Definitions of probability
In any random experiment there is always uncertainty as to whether a particular event will or will
not occur. Thus, if is an event associated with an experiment we cannot state with certainty
that an event will occur or will not occur. Hence, it becomes very important to try to associate
a number with the event A which will measure how likely is the event will occur in the defined
sample space. This leads to the theory of probability in which we are going to consider the
quantitative measure of uncertainty.
There are four different conceptual approaches to study probability theory. These are:
9 The classical approach.
9 The frequencies approach.
9 The subjective approach.
9 The axiomatic approach.
A. The classical approach
This approach is used when:
) All outcomes are equally likely and mutually exclusive.
) Total number of outcome is finite, say N.
Definition: If a random experiment with N equally likely outcomes is conducted and out of these
NA outcomes are favorable to the event A, then the probability that event A occur denoted P (A)
is defined as:
. outcomes are favorable to the event A
Total nuber outcomes
Example 1: A fair die is tossed once. What is the probability of getting
a) Number 4?
b) An odd number?
0.00001825
lim
Example 1: If records show that 60 out of 100,000 bulbs produced are defective. What is the
probability of a newly produced bulb to be defective?
60
lim 0.0006
100,000
Limitations of frequencies approach:
9 If repeated trials are not possible we cannot use this approach
9 The limit as N approaches to infinitive has no clear meaning (How large is large??)
, ….
The axiomatic approach does not give us ways of computing probabilities but rather it states
certain axioms that a probability of an event should satisfy.
P (A∪ φ) = P(A)
P(φ) = 0
Proof: S=A∪ A/
P (A/) = 1- P(A)
Theorem: If A and B are any two events then P (A∪ B) = P (A) + P (B) – P (A ∩ B)
Proof: A∪ B = A∪ (A/ ∩ B)
And B = (A ∩ B) ∪ (A/ ∩ B)
Proof: Let A ∪ B = D
P(D ∪ C) = P (A ∪ B ∪ C )
Proof: B = A∪ (A/ ∩ B)
Since P (A/ ∩ B) ≥ 0
P(A) ≤ P(B)
P(A) + P (B) - 2P (A ∩ B)
Examples
P (A ∪ B) = P (A) + P (B) – P (A ∩ B)
Since P (A ∩ B) ≥ 0
P (A ∪ B) ≤ P (A) + P (B)
Solution:
= 1-[x +y –z]
=1 – x –y + z
Solution
P (A ∪ B) = P(A) + P(B) =3/4 + ¼ = 6/4 =3/2
Solution
P( S) ≥ P(A ∪ B) =P(A) + P(B)- P(A ∩ B)
1 ≥ x – a + 1-b –P(A ∩ B)
1 – a – b- P(A ∩ B) ≤ 0
1 – a – b ≤ P(A ∩ B)
P(A ∩ B) ≥ 1-a-b