Lecture 2
Lecture 2
Part I
Probability
is simply how likely an event is to happen.
Outcomes
3. Define and illustrate the different probability
rules and solve for the probability of different
statistical data
Probability
Probability
The probability of something which is certain to
happen is 1.
For example, the probability of
flipping a coin and it being
The probability of something which is impossible to
heads is ½, because there is 1
happen is 0.
way of getting a head and the
total number of possible
outcomes is 2 (a head or tail). The probability of something not happening is 1
We write P(heads) = ½ . minus the probability that it will happen.
Introduction
Experiment
Outcome
Sample Space
Event
-is a process of investigation from which results are observed or
Experiment recorded.
Head Head
Head Tail
Outcomes
Tail Head
Tail Tail
Outcome - possible result of an experiment
1
2 Outcomes
3
- it is the set of all possible outcomes for a probability
Sample Space experiment or activity . It is usually denoted by the letter S .
Head Head
Head Tail
Sample
Tail Head
Space
Tail Tail
- it is the set of all possible outcomes for a probability
Sample Space experiment or activity . It is usually denoted by the letter S .
Sample
1 2 3 4 5 6 Space
Event - is the subset of all outcomes or sample space of an experiment.
S={1,2,3,4,5,6}
E= {1,2}
{1} Event
{1,2,3}
Event - is the subset of all outcomes or sample space of an experiment.
S= {1,2,3,4,5,6}
S= {2,4,6}
S= {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}
S= {1,3,5,7,9,11,13,15}
2.1 Sample Space and Relationships among Events
Sample space is the set of all possible outcomes or results of a random experiment. Sample space
is represented by letter S. Each outcome in the sample space is called an element of that set. An
event is the subset of this sample space and it is represented by letter E. This can be illustrated in
a Venn Diagram.
In Figure 2.1, the sample space is represented by the rectangle and the events by the circles
inside the rectangle.
A∩B
S
A B
Sample Space
S= {1,2,3,4,5,6,7} 6 3
2
A= {1, 2, 5, 6}
1 5 4
B= {2, 3, 4, 5}
7
A∩B = {2,5}
Operations with Events
II. Mutually Exclusive Events
Null space – is a subset of the
We can say that an event is mutually exclusive if sample space that contains no
they have no elements in common. elements and is denoted by the
symbol ∅ . It is also called empty
Two events A and B cannot occur at the same time. space.
Where we can
see A∩B =∅
A. Learning Task/Seatwork
1. Find the intersection of events And B and draw a Venn Diagram in each item.
S= {2,3,4,5,6,7,8,9,10,11,12} S
A B
A = { 2,4,6,8,10,12}
2 8 11
B = { 8,9,10,11,12} 10
4 12
7 6 9
In notation A∩B = {8,10,12} 3 5
A. Learning Task/Seatwork
3. Find the intersection of events And B and draw a Venn Diagram in each item.
S
A B
A = { 2,4,6,8,10,12,14} 13 10 3
2
B = { 3,6,9,12,15} 8 6 9
1
4 12
7 14 15
In notation A∩B = {6,12} 11 5
Operations with Events
III. Union of Events
The set by combining the elements of two events.
A∪ B S
A B
Sample Space
S= {1,2,3,4,5,6,7} 6 3
2
A= {1,2,5,6}
1 5 4
B= {2,3,4,5}
7
A∪B = {1,2,3,4,5,6}
Operations with Events
IV. Complement of an Event
The complement of an event A with respect to S is the set of all
elements of S that are not in A and is denoted by A’.
Example: Consider the sample space S = {dog, cow, bird, snake,
pig}
S = { 85,86,87,88,89,90,91,92,93,94,95,96,97,98} S
A B
A = { 86, 88, 90, 92, 94, 96, 98} 86 91
92
B = { 91, 92, 93, 94, 95, 96, 97, 98} 85 94 93
88
96 95
87 98
90 97
A∪B = {86, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98} 89
B. Learning Task/Seatwork
2. Find the union of events And B and draw a Venn Diagram in each item.
Sample Space = {counting numbers less than 16 }
A = { event that a number is an odd number }
B = { event that the number is divisible by 3 }
S = { 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15} S
A B
A = { 1,3,5,7,9,11,13,15} 1
3
B = { 3,6,9,12,15} 2
9 6
7
4 15
11
5 13 12
8
A∪B = {1,3,5,6,7,9,11,12,13,15} 10
14
1. From the adjoining figure list the elements of the following sets:
(a) ξ {a, b, c, d, e, f, g, h, i, j}
A∩B=∅
(A ∩ B) ∪ (B ∩ C) B–A=∅
A∩B
A∩B A∩B∩C
Use the adjoining figure to find the following sets:
(a) A ∪ B {a, b, c, d, j, k}
(b) B ∩ C ∅
(c) C - A {h, i, q}
(d) A - B {a, b, c}
(e) (B - C) ∪ A {a, b, c, d, j, k}
(f) (C ∩ B) ∪ A {a, b, c, d}
(g) (A ∪ B) ∩ C ∅
(i) (A ∪ B) - C {a, b, c, d, j, k}
Sample space and events play important roles in probability. Once we have sample space
and event, we can easily find the probability of that event. We have following formula to
find the probability of an event.
Probability of an event
P (E) or P (E)
Where,
n (S) represents number of elements in a sample space of an experiment;
n (E) represents a number of elements in the event set; and
P (E) represents the probability of an event.
P (E)
P (E)
𝟏 𝟑 𝟏
Fraction
𝟐 𝟒 𝟒
Percentage 50 % 75 % 25 % 100 %
Examples: P (E)
N (S) = 1
P (E) = or 0.167 or 16.7%
N (E) = 6
N (S) = 1 P (E) =
N (E) = 6 or 0.167 or 16.7%
Examples: P (E)
1 2 3 4 5 6 N (S) = 3
N (E) = 6
1 2 3 4 5 6 N (S) = 4
6 x 6 = 36 N (E) = 36
1 2 3 4 5 6
P (E) = =
1 1 2 3 4 5 6
2 2 4 6 8 10 12
3 3 6 9 12 15 18
4 4 8 12 16 20 24
5 5 10 15 20 25 30
6 6 12 18 24 30 36
5. A card is drawn from a well shuffled deck of cards. Find the probability of
drawing:
a.) a KING b.) a HEART c.) a FACE CARD d.) not a KING
N (S) = 4
N (E) = 52
P (E) = =
5. A card is drawn from a well shuffled deck of cards. Find the probability of
drawing:
a.) a KING b.) a HEART c.) a FACE CARD d.) not a KING
N (S) = 13
N (E) = 52
P (E) = =
5. A card is drawn from a well shuffled deck of cards. Find the probability of
drawing:
a.) a KING b.) a HEART c.) a FACE CARD d.) not a KING
N (S) = 12
N (E) = 52
P (E) = =
5. A card is drawn from a well shuffled deck of cards. Find the probability of
drawing:
a.) a KING b.) a HEART c.) a FACE CARD d.) not a KING
N (S) = 48
N (E) = 52
P (E) = =
6. A committee of two/ pair is to be chosen at random from a group of 5 students
consisting of 3 boys and 2 girls. What is the probability that a committee;
B1 , B2 , B3 G1 , G2
a.) of two boys will be b.) of two girls will be c.) consisting of 1 boy and
chosen? chosen? 1 girl will be chosen?
P = permutation
n = total number of objects
r = number of objects selected n object to
choose from
Suppose 10 horses run a race; how many different ways could 1 st place , 2nd place and 3rd
place occur?
Permutation
10P3 = 10 9 8 = 720
10P3 =
10P3 =
Permutation
20P2 = 20 19 = 380
20P2 =
20P2 =
Where:
The total number
•n – the total number of elements in a set
of combinations of
•k – the number of selected objects (the order of the
‘n objects’ taken
objects is not important)
‘r’ at a time.
•! – factorial
Suppose 10 horses run a race; you would like to know in how many ways 3 horses can
finish in first,second,third in any order?
Combination
10C3 =
10C3 =
10C3 =
Combination
10C6 =
10C6 =
10C6 =
Permutation Combination
1 AB 1
2 BA
3P2 = AC 3C2 =
3 2
4 CA
3P2 = 5 BC 3C2 =
3
6 CB
3P2 = 3! 3C2 =
3P2 = 6
3C2 =
1. How many ways can you arrange all the letters in the
word “MATH”?
FCP 4 3 2 1 = 24
Permutation
4P4 =
4P4 =
4P4 = 4!
2. In how many ways can you arrange 2 of the letters in
the word “MATH”?
FCP 4 3 = 12
Permutation
4P2 =
4P2 =
4P2 =
4P2 = 12
3. Eight runners are running a race . In how many ways
can a gold, silver, bronze medal be awarded?
FCP 8 7 6 = 336
Permutation
8P3 =
8P3 =
8P3 =
8P3 = 336
4. Twenty basketball players form teams of 5 players.
Each player can play any position. How many teams of 5
can be formed?
Combination
20C5 =
20C5 =
Two events are mutually exclusive or disjoint if they The probability that Events A or B occur is the
cannot occur at the same time. probability of the union of A and B. The probability
of the union of Events A and B is denoted by P(A ∪
The probability that Event A occurs, given that Event B B).
has occurred, is called a conditional probability. The
conditional probability of Event A, given Event B, is If the occurrence of Event A changes the
denoted by the symbol P (A|B). probability of Event B, then Events A and B are
dependent. On the other hand, if the occurrence of
The complement of an event is the event not occurring. Event A does not change the probability of Event
The probability that Event A will not occur is denoted by B, then Events A and B are independent.
P (A').
S A B
The probability of A U B
is that A occur or B occur
or A and B occur
Example:
What is the probability of a standard die roll being 1 or 6?
𝑃(𝐴 ∪ 𝐵)=𝑃(𝐴)
+𝑃(𝐵)
𝑃(𝐴 ∪ 𝐵)= +
𝑃(𝐴 ∪ 𝐵)=
Rule 2: If events A and B are not mutually exclusive events, then:
S A B
What is the probability of a standard die roll being even or prime?
Solution:
Let F = the event that the student checks out fiction;
Let N = the event that the student checks out non-fiction.
Rule 2: When two events are dependent, the probability of both occurring is: 𝑃( 𝐴 ∩
𝐵)=𝑃(𝐴)𝑃(𝐵|𝐴)
*Dependent - Two outcomes are said to be dependent if knowing that one of the outcomes has
occurred affects the probability that the other occurs
*Conditional Probability - an event B in relationship to an event A is the probability that event B
occurs after event A has already occurred. The probability is denoted by 𝑃( 𝐵| 𝐴).
Two coins are flipped. What is the probability they both land heads up?
Solution:
Let A = the event that the first marble is black;
and let B = the event that the second marble is black.
Solution:
Let A = First card which is a queen
Let B = Second card which is also a queen
We require P (A ∩ B). Notice that these events are dependent because the probability that the
second card is a queen depends on whether or not the first card is a queen.
P (A ∩ B) = P (A) P (B|A)
P (A) = 1/13 and P (B|A) = 3/51
P (A ∩ B) = (1/13) (3/51) = 1/221 = 0.004525
Rule of Subtraction
Calculating probability “ atleast one” scenarios
𝑃(𝐴)+ 𝑃(𝐴′) =1
𝑃(𝐴)=1−𝑃(𝐴′)
The probability that event A will occur is equal to 1 minus the probability that event A
will not occur. 𝑃(𝐴)=1−𝑃(𝐴′)
Example 1.The probability of Bill not graduating in college is 0.8. What is the probability
that Bill will graduate from college?
Solution: 𝑃(𝐴)=1−0.8=𝟎.𝟐
REFERENCES:
Montgomery, D. C. et al. (2003). Applied Statistics and
Probability for Engineers 3rd Edition. USA. John Wiley & Sons,
Inc.
Walpole, R. E. et al. (2016). Probability & Statistics for Engineers
& Scientists 9th Edition. England. Pearson Education Limited
https://math.tutorvista.com/statistics/sample-space-and-
events.html
https://stattrek.com/probability/probability-rules.aspx
https://www.ck12.org/book/CK-12-Probability-and-Statistics-
Advanced-Second-Edition/section/3.6/
- END -