Probability
Probability
PRIVATUS NTARE
November 9, 2024
1
1 Introduction
Definition 1.1. Probability is the measure of likelihood that an event will occur.
2 Probability Concepts
The term probability can be defined in two major perspectives; the empirical and theoretical
concepts.
Sometimes it is difficult to obtain probabilities from the practical experiment. In this case we
can use the previous experiences to assign the probability to a given event under study. This
kind of probability is known as subjective probability.
Definition 2.1. An experiment is a planned operation carried out under controlled condi-
tions. eg flipping the fair coin twice.
We can simply say that the experiment is the process that, when performed results in one
and only one of many observations. These observations are called the outcome of experiment.
The collection of all outcomes for an experiment is called the sample space.
Definition 2.3. A sample space is the set consisting of all sample points.
It is denoted by S. Consider case of tossing the fair coin twice with H representing the
heads shown up and T representing the number of tails. In this case S is given by
S = {HH, HT, T H, T T }
2
Definition 2.4. A sample point is an individual element of the sample space.
It is denoted by e. From the above experiment e1 = {HH} , e2 = {HT }
n(E)
P (E) = (2)
n(S)
where n(E) and n(S) are the number of elements in E and S respectively.
CASE 2: Not Equally Likely Outcomes
In this case the probability of a given event E, can be obtained by adding the probabilities
of individual points in E.
The sample space for the experiments can be illustrated by using the Venn diagram or a
tree diagram. In a tree diagram each outcome is represented by the branch of tree. Both
tree and Venn diagram help us to understand the probability concepts by presenting them
visually.
Example 1.
Draw the tree diagram for the experiment of tossing a coin twice.
Solution
3
Example 2.
A football team has to play two matches to qualify for the second round. There is 0.7 chance
that it will win the first match an 0.8 chance of winning the second match. Fin the probability
that it will win
Solution Let
(a) If A is the event that a team wins only one match, then
A = {W1 L2 , L1 W2 }
P (A) =P (W1 )P (L2 ) + P (L1 )P (W2 )
P (A) =0.72 × 0.2 + 0.3 × 0.8 = 0.38
B = {W1 W2 , W1 L2 , L1 W2 }
P (B) =P (W1 )P (W2 ) + P (W1 )P (L2 ) + P (L1 )P (W2 )
P (B) =0.7 × 0.7 × 0.72 × 0.2 + 0.3 × 0.8 = 0.94
4
2.3 Axioms of Probabilities
Probability which gives the likelihood of occurence of an event, is denoted by P . The probability
that a simple event Ei will occur is denoted by P (Ei ), and the probability that a compound
event A will occur is denoted by P (A).
0 ≤ P (Ei ) ≤ 1
0 ≤ P (A) ≤ 1
An event that cannot occur has the zero probability ; such an event is called an impossi-
ble event.An event that is certain to occur has the probability equal to 1 is called sure
event. That is
2. The sum of the probabilities of all simple events (or final outcomes) for an
experiment is always 1
For an experiment,
P (H) + P (T ) = 1
P (A ∩ B)
This also is written as P (A|B) = .
P (B)
If A and B are independent, becomes P (A ∩ B) = P (A)P (B).
5
(c) Complement Rule
′
Let A denotes that an event A can not occur. Then ,
′
P (A ) = 1 − P (A). (5)
Suppose 100 students from CBE were asked whether they like or hate football. Table 2
gives a two-way classification of the responses of these 100 students.
Table 2 shows the distribution of 100 students based on two variables or characteristics:
gender (male or female) and opinion (in like or hate). Such a table is called a contingency
table. In Table 2, each box that contains a number is called a cell. Notice that there are
four cells. Each cell gives the frequency for two characteristics. For example, 15 students in
this group possess two characteristics: “male” and “in like of football.” We can interpret the
numbers in other cells the same way.
By adding the row totals and the column totals to Table 2, we write Table 3.
6
Suppose one student is selected at random from these 100 Students. This student may be
classified either on the basis of gender alone or on the basis of opinion. If only one character-
istic is considered at a time, the students selected can be a male, a female, Like, or hate. The
probability of each of these four characteristics or events is called marginal probability or
simple probability because they are not conditioned on another event.
P (A ∩ B)
P (A|B) = , P (B) ≥ 0, (6)
P (B)
Similarly,
P (B ∩ A)
P (B|A) = , P (A) ≥ 0, (7)
P (A)
Example 3. The probability that a regularly scheduled flight departs on time is P (B) = 0.83;
the probability that it arrives on time is P (A) = 0.82; and the probability that it departs and
arrives on time is P (B ∩ A) = 0.78.Find the probability that a plane:
Solution
7
(a) The probability that a plane arrives on time given that it departed on time is
P (A ∩ B) 0.78
P (A|B) = = = 0.94
P (B) 0.83
(b) The probability that a plane departed on time given that it has arrived on time is
P (B ∩ A) 0.78
P (B|A) = = = 0.95
P (A) 0.82
(c) The probability that a plane arrives on time, given that it did not depart on time. P (A|B ′ )
The notion of conditional probability provides the chance of re-evaluating the idea of
probability of an event in the light of additional information, that when you get a new
information about an event how you change your probability (opinion). The probability
P (A|B) is an updating of P (A) based on the knowledge that event B has occurred.
Definition 2.8. Joint Probability: The probability of the intersection of two events is called
their joint probability. The joint probability of two events A and B It is written as P (A ∩ B)
or P (AB)
The joint probability of two events is obtained by multiplying the marginal probability of one
event by the conditional probability of the second event. This rule is called the multiplication
rule.
Definition 2.9. Multiplication Rule to Find Joint Probability: The probability of the
intersection of two events A and B is given by
P (A ∩ B) = P (B)P (A|B).
Example 4. Table 4 gives the classification of CBE staffs by gender and degree.
If one of these staff member is selected at random for membership on the research committee,
what is the probability that this staff is
8
(c) a male and postgraduate?
Solution
Number of female 13
P (F ) = =
Total number of staffs 40
To calculate the probability P (G|F ), we know that F has already occurred. Consequently,
the staff selected is one of the 13 females. In the table, there are 4 graduates staffs among
13 female staff. Hence, the conditional probability of G given F is
4
P (G|F ) =
13
The joint probability of F and G is
13 4
P (F ∩ G) = P (F )P (G|F ) = = 0.1
40 13
The probability that a randomly selected staff is a female and graduate is 0.1
(b)
27 7
P (M ∩ G) = P (M )P (G|M ) = = 0.175
40 27
The probability that a randomly selected staff is a male and graduate is 0.175
(c)
27 20
P (M ∩ T ) = P (M )P (T |M ) = = 0.5
40 27
The probability that a randomly selected staff is a male and postgraduate is 0.5
(d)
13 9
P (F ∩ T ) = P (F )P (T |F ) = = 0.225
40 13
The probability that a randomly selected staff is a female and postgraduate is 0.225
Alternatively: Example 4 can be solved by using the tree diagram. All four joint
probabilities for this example are shown in Figure 2.
9
Figure 2: Tree diagram for joint probabilities.
Definition 2.10. Mutually Exclusive Events: Events that cannot occur together are said
to be mutually exclusive events.
This means that A and B do not share any outcomes and P (A ∩ B) = 0 and hence
A = {1, 2, 3, 4, 5}
B = {4, 5, 6, 7, 8}
C = {7, 9}
Solution
2
i. A ∩ B = {4, 5} , P (A ∩ B) = and is not equal to zero. Therefore, A and B are not
10
mutually exclusive.
ii. A and C do not have any numbers in common so P (A ∩ C) = 0. Therefore, A and C are
mutually exclusive.
10
2.8 Independent Versus Dependent Events
In the case of two independent events, the occurrence of one event does not change the
probability of the occurrence of the other event.
Definition 2.11. Two events are said to be independent if the occurrence of one does not
affect the probability of the occurrence of the other
Two events A and B are independent if the knowledge that one occurred does not affect the
chance the other occurs. Two events are independent if the following are true:
• P (A|B) = P (A)
• P (B|A) = P (B)
• P (A ∩ B) = P (A)P (B)
To show two events are independent, you must show only one of the above condition. If two
events are not independent, then we say that they are dependent. In probability notation,
the two events are dependent if either P (A|B) ̸= P (A) or P (B|A) ̸= P (B).
Example 6. Refer to the information on 100 students given in Table 3 in Subsection 2.6.1.
Are events “female (F )” and “Like (A)” independent?
Solution
Events F and A will be independent if P (F |A) = P (F ) Otherwise they will be dependent.
Using the information given in Table 3 we compute the following two probabilities:
4 40
P (F |A) = = 0.2105 and P (F ) = = 0.4
19 100
Because these two probabilities are not equal, the two events are dependent. Here, depen-
dence of events means that the respective percentages of males who like and hate football are
different from the respective percentages of females who are in like and hate football.
In this example, the dependence of A and F can also be proved by showing that the
probabilities P (A) ̸= P (A|F ).
Definition 2.12. The complement of event A, denoted by Ā is the event that includes all the
outcomes for an experiment that are not in A.
11
Because two complementary events, taken together, include all the outcomes for an experi-
ment and because the sum of the probabilities of all outcomes is 1, that gives
Simply, if we know the probability of an event, we can find the probability of its complementary
event by subtracting the given probability from 1.
Example 7. In a group of 200 BBA students, 400 have been cheated at least once in exams.
If one BBA student is randomly selected from this group, what are the two complementary
events for this experiment, and what are their probabilities?
Solution
The two complementary events for this experiment are
400 1600
P (A) = = 0.2 and P (Ā) = = 0.8
2000 2000
Also we can observe that the sum of these two probabilities P (A) + P (Ā) = 0.2 + 0.8 = 1 which
indicated that the two events are complementary.
2.10 EXERCISES
1. Explain the meaning of the intersection of two events. Give one example.
2. What is meant by the joint probability of two or more events? Give one example
3. CBE research team has 150 members. 75 of the members are lecturers. 47 of the members
are assistant lectures. The remainder are tutorial assistants. 40 of the lectures teach four
times a week. 30 of the assistant lectures teach four times a week. 10 of the tutorial
assistants teach four times a week. Suppose one member of the research team is chosen
randomly.
5. A fair, six-sided die is rolled. Describe the sample space S, identify each of the following
events with a subset of S and compute its probability (an outcome is the number of dots
that show up).
12
a. Event T = the outcome is two
b. Event A = the outcome is an even number.
c. Event B = the outcome is less than four.
d. The complement of A.
e. A GIVEN B
g. A AND B
h. A OR B
6. Suppose a study of speeding violations (SV) and drivers who use cell phones produced
the following fictional data:
SV No SV Total
Cell phone user 25 280
Not a Cell phone user 45 405
Total
7. 2000 randomly selected students were asked whether or not they have ever cheated on
the exams. The following table gives a two-way classification of the responses obtained.
Suppose one student is selected at random from these 2000 students. Find the probabil-
ities that
a. has never cheated on the exam and is a male
b. has cheated on the exam and is a female
c. Mention what other joint probabilities you can calculate for this table and then find
those. You may draw a tree diagram to find these probabilities.
8. In the box, there are 11 balls. Three balls are red (R) and eight balls are blue (B). Draw
two balls, one at a time, with replacement. Use a tree diagram to
a. calculate P(RR).
b. calculate P(RB OR BR)
c. calculate P(R on 1st draw AND B on 2nd draw).
d. calculate P(R on 2nd draw GIVEN B on 1st draw)
e. Repeat the above example with no replacement
13