Probability
Probability
Introduction:
During his lecture in 1929, Bertrand Russel said, "Probability is the most
important concept in modern science, especially as nobody has the slightest
notion what it means.” Most people have some vague ideas about what
probability of an event means.
Definition of probability:
A probability is a measure of the chance that event occurs, and also defined
as (the chance of an event occurring)
1- A review of Sets
A set can be defined as a collection of things that are called the elements of
the set. Sets are generally denoted by capital letters as: A, B, C,...
1
Notice:
Tabular method:
Rule method:
The content of the set is specified using a rule. This representation is more
convenient when the set is large. For example:
A set G is said to be empty, if it has no elements. It is also called null set and
it is denoted by ∅.
A finite set is either empty set or has elements that can be counted, with the
counting process terminating. If a set is not finite it is called infinite.
2
1.6 Subset:
If two sets A and B have no common elements, then they are called disjoint
or mutually exclusive.
The set of all elements under consideration is called the universal set,
denoted 𝑆. All sets (of the situation considered) are subsets of 𝑆. If we have a
set 𝑆 with n elements, then there are 2n subsets.
In case of rolling die, the universal set is 𝑆= {1, 2, 3, 4, 5, 6} and the number
of subsets is 26 64 subsets.
Example 1.1
3
Solution:
2- Set Operations
4
Union
Intersection
Set of all elements which belong to both A and B and is denoted by A∩B.
Difference
Complement
The set composed of all members in 𝑆 and not in A is the complement of A
and denoted Ac or . Thus
5
Where,
Example 1.2
6
Example 1.3
Solution:
i. ∅
ii. ∅
iii.
3- Random experiments
7
4- Sample space
Example 1.4:
Find the sample of space of the following experiments, Toss one coin, two
coins, roll a die and answer true/false question.
Solution:
A tree diagram
Types of events
Example 1.5:
If we throw a die, then the sample space, S = {1, 2, 3, 4, 5, 6}. Now the
event of 2 appearing on the die is simple and is given by E = {2}.
Example 1.6:
Events
Head
Possible Outcome:
Tail
Event: Head
2- Impossible event
It is event that never occurs, whatever the result of experiment is the empty
set Ø contains no elements
9
Example 1.7
If the sample space (S) contains all elements, it is known as a sure event. It
is also defined a set of all results (element) in a sample space
Example 1.8
4- Compound event
If there is more than one element of the sample space in the set representing
an event, then this event is called a compound event.
Example 1.9
10
Example 1.10
If we roll a dice, the possible outcomes are as in Figure below,
1
2
Possible Outcome: 3
4
5
6
5- Complementary event
It is denoted by Ac and defined as the set of all outcomes in the space that do
not belong to A. It is also defined as an event which consists in the negation
of another event is called complementary event.
In case of throwing a die, ‘even face’ and ‘odd face’ are complementary to
each other. “Multiple of 3” ant “Not multiple of 3” are complementary
events of each other.
Not happening of the event A is called the complementary event of the event
A. It is denoted by Ac.
Note: that complementary event of certain event is an impossible event and
vice versa.
11
6- Mutually exclusive (disjoint) events
B
A D
12
Probability of event:
If A is any event, the probability of event is defined as,
Number of elemens in A
P( A)
Total nuber of elements in S
Example 1.13
What is the probability of drawing a red ball as shown in Figure below?
Solution:
( )
Example 1.14
If three coins are tossed, find the sample of space and probability of getting
three heads and three tails.
Solution:
Number of elemens in A 2
P (three heads and three tails ) 0.25
Total nuber of elements in S 8
13
Example 1.15
There are 20 bags, 5 are black bags, 10 are blue bags and 5 are yellow bags.
What is the probability for picking randomly a yellow bag?
Solution:
Number of events of yellow bags 5
P ( yellow bags ) 0.25
Total nuber of elements 20
P (A) ≥ 0
P(S) = 1
Axiom 3. For any number of mutually exclusive events A1, A2, …, in the
class C,
14
15
Example 1.16
Solution:
1-
1 2 3 4 5 6
1 (1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
2 (2,1) (2,2) (2,3) (2,4) (2,5) (2,6)
3 (3,1) (3,2) (3,3) (3,4) (3,5) (3,6)
4 (4,1) (4,2) (4,3) (4,4) (4,5) (4,6)
5 (5,1) (5,2) (5,3) (5,4) (5,5) (5,6)
6 (6,1) (6,2) (6,3) (6,4) (6,5) (6,6)
( )
𝑆
2. Probability of Ac {no 6}
( ) ( )
1 2 3 4 5 6
1 (1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
2 (2,1) (2,2) (2,3) (2,4) (2,5) (2,6)
3 (3,1) (3,2) (3,3) (3,4) (3,5) (3,6)
B
4 (4,1) (4,2) (4,3) (4,4) (4,5) (4,6)
5 (5,1) (5,2) (5,3) (5,4) (5,5) (5,6)
6 (6,1) (6,2) (6,3) (6,4) (6,5) (6,6)
A
( ∪ ) ( ) ( ) ( )
16
Example 1.17
1 2 3 4 5 6
1 (1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
2 (2,1) (2,2) (2,3) (2,4) (2,5) (2,6)
3 (3,1) (3,2) (3,3) (3,4) (3,5) (3,6)
D
4 (4,1) (4,2) (4,3) (4,4) (4,5) (4,6)
5 (5,1) (5,2) (5,3) (5,4) (5,5) (5,6)
6 (6,1) (6,2) (6,3) (6,4) (6,5) (6,6)
( ) ( )
( ) ( ) ( )
Example 1.18
If P (A) = 0.7, P (B) = 0.2 and P (A∩B) = 0.6, Determine the following
probabilities:
( )
( )
Solution:
P( AC ) 1 P( A ) 1 0.7 0.3
17