Topic - 2 Probability-ES 13
Topic - 2 Probability-ES 13
PROBABILITY
◉ The strand of mathematics looking at
the chance of events occurring.
◉ The chance that a given event will
occur.
2
EXPERIMENT
◉ Is the process by which an observation (or measurement) is
obtained.
Example: Recording a test grade, Measuring daily rainfall,
Flipping a coin and observing the face that appears. Possible
outcomes: Head, Tail, Tossing a die: Possible Outcomes: 1, 2, 3,
4,5,6
Each experiment may result in an outcome, which is
called an Event and is denoted by capital letter.
3
SAMPLE SPACE
◉ A set in which all of the possible
outcomes of a statistical experiment are
represented as points. It is also
represented by the symbol S.
4
Example
◉ The sample space when a coin is flipped is S ={H,T}
◉ The sample space of tossing a dice is S ={1,2,3,4,5,6}
5
ELEMENTS
◉ Amember of an object in a set
◉ Anitem or term contained within a
set of items or terms.
6
EVENT
◉ Is an occurrence or the possibility of
an occurrence that is being investigated.
◉ It is a set of outcomes from a given experiment.
◉ AnEvent is a subset of a sample space.
7
Example
◉ If Ais the event that an odd number comes out in a single toss
of a dice, then A={1,3,5} is a subset of the sample space
S ={1,2,3,4,5,6}
or if Ais the event that at least one head comes out in flipping
a coin twice, then A ={HH, HT, TH} is a subset of the sample
space S ={HH, HT, TH, TT}
8
SUBSET
◉ A subset of a given set is a collection of
thingsthat belong to the original set.
◉ A set whose members are part of a
bigger set.
9
COMPLEMENT
◉ The complement of an event A with respect
to the sample space S is the set of all
elements of S that are not in event A. We
denote the complement of A by the symbol
A'.
10
Example
◉ Let R be the event that a red card is selected from an ordinary
deck of 52 playing cards, and let S be the entire deck. Then R’
is the event that the card selected from the deck is not a red
card but a black card.
◉ Consider the sample space S ={book, cell phone, mp3, paper,
stationery, laptop}.
Let A={book, stationery, laptop, paper}.
Then, the complement of A, A’ ={cell phone, mp3}.
11
INTERSECTION
◉ The intersection of two events A and B,
denoted by the symbol AB is the event
containing all elements that are common to
Aand B.
12
Example
◉ Let E be the event that a person selected at random in a
classroom is majoring in engineering, and let F be the event
that the person is female. Then E ∩F is the event of all female
engineeringstudentsin the classroom.
13
14
Two events A and B are mutually
exclusive events if AB =, that is Aand
B have no elements in common.
Ex. In the die-tossing experiment, if
A={1,2,3} and B ={4,5,6}, then A ∩ 𝐵 = ∅
15
The union of the two events A and B,
denoted by the symbol A𝖴B, is the event
containing all the elements that belong to
A or B or both.
A∩B∩C = region 1,
(A𝖴B)∩C’ = regions 2,
6, and 7
17
EXERCISES:
1. List the elements of each of the sample spaces
(a) the set of integers between 1and 50divisible by 8;
(b) the set S ={x|x2 +4x−5=0};
(c) the set of outcomes when a coin is tossed until a tail
or three heads appear;
(d) the set S ={x|xisa continent};
(e) the set S ={x|2x−4≥0and x<1}.
18
19
20
21
22
23
RESULTS:
24
2. An experiment consists of choosing a number
from 0 to 9 at random. Let A be the event of
choosing an even number and B be the event of
choosing an odd number. Let C be the event of
choosing the number 2, 3, 4 or 5 and D be the
event of choosing 1, 6, or 7. List the elements of
the sets corresponding to the following:
Sample space S, A, B, C, D, AC, C', AB ,
(SC)', ABD'
25
Solution:
S = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}
A = even numbers {0, 2, 4, 6, 8}
B = odd numbers {1, 3, 5, 7, 9}
C = {2, 3, 4, 5}
D = {1, 6, 4, 7}
AC (SC)'
{0, 2, 3, 4, 5, 6, 7, 8} {0, 1, 6, 7, 8, 9}
C’ ABD'
{0, 1, 6, 7, 8 ,9} {ø}
AB
{ø}
26
Counting Rules Useful in Probability
28
Counting Sample Points - The fundamental principle of counting,
often referred to as the multiplication rule
◉ Rule 1. If an operation can be performed in n1 ways, and if for each
of these ways a second operation can be performed in n2 ways, then
the two operations can be performed together in 𝑛1 𝑛2 ways.
Ex1. How many sample points are there in the sample space
when a pair of dice is thrown once?
The first die can land face-up in any one of n1 =6 ways. For
each of these 6 ways, the second die can also land face-up in n2 =6
ways. Therefore, the pair of dice can land in n1n2 =(6)(6) =36 possible
ways.
29
Ex.2. A developer of a new subdivision offers
prospective home buyers a choice of Tudor, rustic,
colonial, and traditional exterior styling in ranch, two-
story, and split-level floor plans. In how many different
ways can a buyer order one of these homes?
30
Ex.2.
31
Example 3.
32
Rule 2. If an operation can be performed in 𝑛1 ways, and if
for each of these a second operation can be performed in
𝑛2 ways, and for each of the first two a third operation can
be performed in 𝑛3 ways, and so forth, then the sequence
of k operations can be performed in 𝑛1 𝑛2 … 𝑛𝑘 ways.
Ex1. Sam is going to assemble a computer by himself.
He has the choice of chips from two brands, a hard drive from
four, memory from three, and an accessory bundle from five
local stores. How many different ways can Sam order the
parts?
33
Solution:
n1n2n3n4n5 = (2)(4)(3)(5)
= 120 different ways to order parts.
34
PERMUTATION
◉ is an arrangement of all or part of a set of objects.
35
Theorems:
◉ For any non-negative integer n, n!, called “n
factorial,” is defined as n!=n(n−1)···(2)(1), with
special case 0! =1.
36
Now consider the number of permutations that are
possible by taking two letters at a time from abcd.
These would be ab, ac, ad, ba, bc, bd, ca, cb, cd, da,
db, and dc.
In general, n distinct objects taken r at a time can be
arranged in n(n−1)(n−2)···(n−r +1) ways. We represent
this product by the symbol
Theorem 2. The number of permutations of n distinct
objects taken r at a time is n𝑃 = 𝑛
! !
𝑛−𝑟
37
Example
1. In one year, three awards (research, teaching, and service)
will be given to a class of 25 graduate students in a statistics
department. If each student can receive at most one award,
how many possible selections are there?
38
Theorem 3. The number of permutations of n
objects arranged in a circle is (n−1)!.
We see that there are 5 ways to partition a set of 4 elements into two
subsets, or cells, containing 4elements in the first cell and 1element in
the second.
41
◉ Theorem 5. The number of ways of partitioning a set of n
objects into r cells with n1 elements in the first cell, n2
elementsin the second, and so forth, is
𝑛 𝑛!
𝑛1 , 𝑛2 , … , 𝑛𝑟 = 𝑛1 ! 𝑛2 ! … 𝑛 !
42
43
In many problems, we are interested in the number of ways of
selecting r objects from n without regard to order. These selections
are called combinations. A combination is actually a partition with
two cells, the one cell containing the r objects selected and the other
cell containing the (n−r) objects that are left. The number of such
combinations, denoted by
𝑛 𝑛 = 𝑛!
𝑟, 𝑛 − 𝑟 𝑜𝑟 𝑟 𝑟! (𝑛 − 𝑟)!
44
Example
◉ Ayoung boy asks his mother to get 5picture card from his collections of
10flower picture cards and 5sports picture cards. How many are there
that his mother can get 3flower and 2sports picture cards?
45
Exercises:
1.If an experiment consists of throwing a die and then drawing
a letter at random from the English alphabet, how many points
are there in the sample space?
2.How many ways are there to select 3 candidates from 8
equally qualified recent graduates for openings in an
accounting firm?
46
EXERCISE 1.
47
EXERCISE 2.
Answer:
Step-by-step explanation:
First, we provide the given facts
3 candidates
8 possible candidates
This equation will make use of
the permutation formula. This is the
formula for the number of possible
combinations of r objects from a set of n
objects, regardless of order.
In this case,
r=3
n=8
Therefore, the accounting firm can have 336 possible combinations to get 3
candidates from an 8-man pool of qualified recent graduates.
48
49
Probability of an Event, P[Event]
◉ Postulates of
Probability: 0
P[Event] 1
P [impossible event] =
0 P[sure event] =1
The sum of the probabilities for all simple events in S
is equal to 1.
50
The probability of an event A is the sum of the weights of all
sample points in A.Therefore,
51
Example 1: A coin is tossed twice. What is the probability that at least
1head occurs?
Answer: S ={HH, HT, TH, TT}
P (A) =3/4
52
◉ Rule 3.
If an experiment can result in any one of N
different equally likely outcomes, and if exactly n
of these outcomes correspond to event A, then
the probability of event Ais
𝑛
𝑃 𝐴 =
𝑁
53
Example
◉ In a poker hand consisting of 5cards, find the probability of holding 2aces and 3
jacks.
Solution: The number of ways of being dealt 2aces from 5cards is
5 5!
= = 10
2 2! 3!
The number of ways of being dealt 3jacks from 5cards is
5 5!
= = 10
3 3!2!
By the multiplication rule (Rule 2.1), there are n=(10)(10) =100hands with 2aces and 3
jacks. The total number of 5-card poker hands, all of which are equally likely, is
52 = 52! = 2,598,960 therefore P(E)= 10 (10) = 3.85𝑋10−5
5 5!47! 2,598,960
54
Additive Rules
Theorem 6. If Aand Bare two events, then
P(A𝖴 B) =P(A) +P(B) −P(A∩ B).
Corollary 1: If Aand Bare mutually exclusive, then
P(A𝖴 B) =P(A) +P(B).
Corollary 2: If A1,A2,…, An are mutually exclusive, then
P(A1 𝖴 A2 𝖴 ··· 𝖴 An) =P(A1) +P(A2) +···+P(An).
Corollary 3: If A1, A2,…, An is a partition of sample space S,
then
P(A1UA2U…U An ) =P(A1) +P(A2) +···+P(An) =P(S) =1.
55
Theorem 7.
For three events A, B, and C,
WhatisP(A𝖴 B 𝖴 C) equal to?
=P(A) +P(B) +P(C)−P(A∩ B) −
P(A∩ C) −P(B∩ C) +P(A∩ B∩ C).
56
Example
57
Theorem 8.
If A and A’ are
complementary events, then
P(A) +P(A’) =1.
58
Examples
1. If the probabilities that an automobile mechanic
will service 3, 4, 5, 6, 7, or 8or more cars on any given
workday are, respectively, 0.12, 0.19, 0.28, 0.24, 0.10,
and 0.07, what is the probability that he will service
at least 5cars on his next day at work?
59
60
61
62
63
Exercises:
1.In a high school graduating class of 100 students, 54 studied
mathematics, 69 studied history, and 35 studied both
mathematics and history. If one of these students is selected
at random, find the probability that
(a) the student took mathematics or history;
(b) the student did not take either of these subjects;
(c) the student took history but not mathematics.
64
or 0.88
65
or 0.12
or 0.34
66
2.In a poker hand consisting of 5 cards,
find the probability of holding
(a) 3aces;
(b) 4hearts and 1club.
67
68
69
Thank you
for Any questions?
LISTENING!
(+63936 980 2144 @kristophersir [email protected]
70