Probability Theory Masc467: Prof. Amina Saleh
Probability Theory Masc467: Prof. Amina Saleh
Amina Saleh
Probability Theory
MaSc467
Lectures notes prepared for
Level 6 students at
College of Computer Science and Information
Departments of:
Computer Sciences & Network and Communication Systems
Professor Dr. Amina A. Saleh & Dr. Hibato -Allah El-Bahnasawy
1
Revision
Revision Includes:
1. Sample space (discrete and
continuous),
2. Events,
3. Probability function, Axioms of
probability,
4. Conditional probabilities, and
Independent events.
Professor Dr. Amina A. Saleh & Dr. Hibato -Allah El-Bahnasawy
2
1. Sample Space
Definition:
Random experiment: An experiment is
said to be random if it can be
performed a large number of times
under the same conditions resulting in
one and only one unpredictable
outcome out of several possible
outcomes.
Professor Dr. Amina A. Saleh & Dr. Hibato -Allah El-Bahnasawy
3
2. Event
Quick Definition: A subset of the
sample space is called an event.
Events are denoted by capital
letters; A, B, C,
Or
A1, A2, A3,
Professor Dr. Amina A. Saleh & Dr. Hibato -Allah El-Bahnasawy
9
Event Continue
Facts about events:
S is a subset of itself, called a
certain event i.e.
The empty set is a subset of any
set, called impossible event, i.e.
Any event contains singleton
outcome is called simple event
Professor Dr. Amina A. Saleh & Dr. Hibato -Allah El-Bahnasawy
10
Event Continue
Various types of events
Equally likely events: if one of
them cannot be expected in
preference to the other
Composite events: the union of
two or more events.
The compound events: the
intersection between two or more
events
Professor Dr. Amina A. Saleh & Dr. Hibato -Allah El-Bahnasawy
11
Various types
of eventsContinue
Mutually exclusive (disjoint) events:
two events are called mutually
inclusive if the occurrence of one of
them prevents the occurrence of
the other.
Exhaustive events: the union of
them is equal to the sample space.
Professor Dr. Amina A. Saleh & Dr. Hibato -Allah El-Bahnasawy
12
Various types
of eventsContinue
Mutually exclusive and Exhaustive
events: n events are said to be
Mutually exclusive and Exhaustive
if they are pairwise mutually
exclusive and their union is equal
to the sample space
Professor Dr. Amina A. Saleh & Dr. Hibato -Allah El-Bahnasawy
13
Various types
of eventsContinue
Examples
1. A pair of dice is rolled. Two possible events
are rolling a number greater than 8 and
rolling an even number. Are these two
events mutually exclusive events?
2. A pair of dice is rolled. Two possible events
are rolling a number less than 5 and rolling
a number which is a multiple of 5. Are these
two events mutually exclusive?
14
3.
Various types
of eventsContinue
Event Space
A collection F of subsets of S satisfying the
following three rules:
(a) S
(b) if A
F;
F then Ac
; and
(c) if Aj
Event Space
Examples
Example 1
Let
Examples
Example 6
Let
and the two events of
interest:
Then an event space is
F=
=
}
Note:
Professor Dr. Amina A. Saleh & Dr. Hibato -Allah El-Bahnasawy
18
3.Probability Function
Definition:
Important Theorems*
Theorem 1
If is a empty set (that is an impossible event,
then
.
Note: If the probability of an event is zero, that
does not mean the event is empty (or impossible),
similarly if A is an event with probability 1, then it
does not mean A is the sample space S.
Example:
A die is loaded in such a way that the probability
of the face with j dots turning up is proportional to
j for j = 1, 2, ..., 6. What is the probability, in one roll
of the die, that an odd number of dots will turn
up? (Example 1.18. page 16)
Professor Dr. Amina A. Saleh & Dr. Hibato -Allah El-Bahnasawy
23
Examples
Example 1.19. page 20
If P(A) = 0.25 and P(B) = 0.8, then show that
0.05 P(A B) 0.25.
Example 1.20. page 21
Let A and B be events in a sample space S such that
P(A) = 1/2= P(B) and P(Ac Bc) = 1/3. Find P(A Bc).
Exercises
1. If a fair coin is tossed twice, what is the
probability of getting heads on both coin?
2. Discuss and criticize the following
Exercises Continue
4. Consider the experiment of spinning the
spinner shown below twice and note the area
on which the arrow stops. Find the probability
that the outcome of the two spins is:
a.) red both times
b.) white first, blue second
c.) white first, red second
d.) not blue both times
Professor Dr. Amina A. Saleh & Dr. Hibato -Allah El-Bahnasawy
27
4.
Conditional
probabilities
Definition
Let S be a sample space associated with a random
experiment. The conditional probability of an
event A, given that event B has occurred, is defined
by
provided P(B) > 0.
This conditional probability function P(A|B)
satisfies all three axioms of a probability function.
Reference: Sahoo page 28
Professor Dr. Amina A. Saleh & Dr. Hibato -Allah El-Bahnasawy
28
Independent Events
Definition*:
Two events A and B of a sample space S are called
independent if and only if
P(A B) = P(A) P(B).
P(A | B) = P(A) .
Example 2.5 page 32:
N(S)=10, N(A)= 4, N(B)= 5, N(A B)=2. Are A and B independent?
Answer: Yes (Why?)
*Reference: Sahoo page 33
Theorem 1:
If A and B are independent events. Then Ac and B
are independent. Similarly A and Bc are
independent. (show that Ac and Bc are
independent)
Theorem 2:
Two possible mutually exclusive events are always
dependent (that is not independent).
Theorem 3:
Two possible independent events are not mutually
exclusive. Reference: Sahoo page 33 - 35
Professor Dr. Amina A. Saleh & Dr. Hibato -Allah El-Bahnasawy
31
individual events
If the result of one event IS affected by the result of another event, the
events are said to be dependent.
If A and B are dependent events, the probability of both events occurring
is the product of the probability of the first event and the probability of the
second event once the first event has occurred.
Professor Dr. Amina A. Saleh & Dr. Hibato -Allah El-Bahnasawy
35
Bayes Theorem
Preliminary definitions and theorem:
Definition: Let S be a set and let P = {A1, A2 , Am}
be a collection of subsets of S. The collection P is
called a partition of S if
(a)
(b)
References
1. Sahoo, P. Probability and Mathematical
Statistics; 2008