You are on page 1of 37

CLO- 2

PROBABILITY LAST WEEK


AND EXPERIMENTS, SAMPLE SPACES
PROBABILITY OUTCOMES, EVENTS
DISTRIBUTIONS

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Probability of an Event
Equally likely and biased Events
Venn Diagram
CLO- 2
Intersection and union of Events
PROBABILITY
Independent and dependent Events
AND
Sampling with and without
PROBABILITY Replacement
DISTRIBUTIONS Permutation and Combinations

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Random Experiments. Sample Spaces and Events

Statisticians use the word experiment to describe any process that generates a
set of data. A simple example of a statistical experiment is the tossing of a coin.

The set of all possible outcomes of a statistical experiment is called the sample
space and is represented by the symbol S.

An event is a subset of a sample space.

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Unions, Intersections, Complements of
Events
The complement of an event A The intersection of two
with respect to S is the subset events A and B, denoted by
of all elements of S that are not the symbol A ∩ B, is the
in A. We denote the event containing all
complement of A by the symbol elements that are common
A. to A and B.

The union of the two events


Two events A and B are
A and B, denoted by the
mutually exclusive, or
symbol A∪B, is the event
disjoint, if A ∩ B = φ, that is,
containing all the elements
if A and B have no elements
that belong to A or B or
in common.
both.

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


An experiment consists of tossing a die and then
flipping a coin once if the number on the die is even.
If the number on the die is odd, the coin is flipped
twice. Using the notation 4H, for example, to denote
the outcome that the die comes up 4 and then the
Practice coin comes up heads, and 3HT to denote the
outcome that the die comes up 3 followed by a
Problems head and then a tail on the coin, construct a tree
diagram to show the 18 elements of the sample
space S.

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Two jurors are selected from 4
alternates to serve at a murder trial.
Practice Using the notation A1A3, for
example, to denote the simple
Problems event that alternates 1 and 3 are
selected, list the 6 elements of the
sample space S.

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Practice Problems

Two jurors are selected from 4 alternates to serve at a murder


trial. Using the notation A1A3, for example, to denote the simple
event that alternates 1 and 3 are selected, list the 6 elements of
the sample space S.

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


An engineering firm is hired to determine if certain
waterways in Virginia are safe for fishing. Samples
are taken from three rivers.
(a) List the elements of a sample space S, using the
Practice letters F for safe to fish and N for not safe to fish.

Problems (b) List the elements of S corresponding to event E that


at least two of the rivers are safe for fishing.
(c) Define an event that has as its elements the points
{FFF,NFF,FFN,NFN}.

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Practice Problems
An engineering firm is hired to determine if certain waterways in Virginia are safe for
fishing. Samples are taken from three rivers.
(a) List the elements of a sample space S, using the letters F for safe to fish and N for not
safe to fish.
(b) List the elements of S corresponding to event E that at least two of the rivers are safe for
fishing.
(c) Define an event that has as its elements the points
{FFF,NFF,FFN,NFN}.

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


2.11 The resumes of two male applicants for a college teaching position in chemistry
are placed in the same file as the resumes of two female applicants. Two positions
become available, and the first, at the rank of assistant professor, is filled by
selecting one of the four applicants at random. The second position, at the rank of
instructor, is then filled by selecting at random one of the remaining three
applicants. Using the notation M2F1, for example, to denote the simple event that
the first position is filled by the second male applicant and the second position is
then filled by the first female
applicant,
(a) list the elements of a sample space S;

Practice (b) list the elements of S corresponding to event A that the position of assistant
professor is filled by a male applicant;
Problems (c) list the elements of S corresponding to event B that exactly one of the two
positions is filled by a male applicant;
(d) list the elements of S corresponding to event C that neither position is filled by a
male applicant;
(e) list the elements of S corresponding to the event A ∩ B;
(f) list the elements of S corresponding to the event A ∪ C;
(g) construct a Venn diagram to illustrate the intersections and unions of the events
A, B, and C.

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


If the sample space S of an experiment consists of
finitely many outcomes (points) that are equally
likely, then the probability

Probability of an Number of points in A


Event P(A)= of an event A =
Number of points in S

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Example 2.3: Suppose that three items are selected at
random from a manufacturing process. Each item is
inspected and classified defective, D, or nondefective,
N. To list the elements of the sample space providing
Practice the most information, we construct the tree diagram of
Figure 2.2. Now, the various paths along the branches of
Problems the tree give the distinct sample points. Starting with
the first path, we get the sample point DDD, indicating
the possibility that all three items inspected are
defective.

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE
3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE
Probability
E X A M P L E 1 Fair Die
In rolling a fair die once, what is the probability of A of obtaining a 5 or a 6? The probability of B:
“Even number”?
A coin is tossed twice. What is the probability that at least 1 head occurs?

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Probability

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


• Example: A pair of fair dice is tossed. Find the
probability of getting
(a) a total of 8
(b) at most a total of 5.

• Example 2.25: A die is loaded in such a way


that an even number is twice as likely to occur
PROBABILITY as an odd number. If E is the event that a
PROBLEMS number less than 4 occurs on a single toss of
the die, find P(E).

• Example 2.26: In Example 2.25, let A be the


event that an even number turns up and let B
be the event that a number divisible by 3
occurs. Find P(A ∪ B) and P(A ∩ B).

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE

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

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.

3/5/2023
Theorem 2.7: If A and B are two events, then

P(A ∪ B) = P(A) + P(B) − P(A ∩ B).

Additive Corollary 2.1: If A and B are mutually exclusive, then

P(A ∪ B) = P(A) + P(B).

Rules Corollary 2.2: If A1, A2, . . . , An are mutually exclusive, then

P(A1 ∪ A2 ∪ · · · ∪ An) = P(A1) + P(A2) + · · · + P(An).

Corollary 2.3: If A1, A2, . . . , An is a partition of sample space S, then

P(A1 ∪ A2 ∪ · · · ∪ An) = P(A1) + P(A2) + · · · + P(An) = P(S) = 1.

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Theorem 2.8: For three events A, B, and
C,

Additive P(A ∪ B ∪ C) = P(A) + P(B) + P(C)− P(A ∩


Rules B) − P(A ∩ C) − P(B ∩ C) + P(A ∩ B ∩ C).

Example 2.30: What is the probability of


getting a total of 7 or 11 or 8 when a pair
of fair dice is tossed?

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Example 2.31: If the probabilities
are, respectively, 0.09, 0.15, 0.21,
and 0.23 that a person purchasing
a new automobile will choose the
Probability: color green, white, red, or blue,
Additive Rules what is the probability that a
given buyer will purchase a new
automobile that comes in one of
those colors?

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Counting Sample Spaces
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 n1n2 ways.

Example 2.14: 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.

Example 2.15: If a 22-member club needs to elect a chair and a treasurer,


how many different ways can these two to be elected?

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Counting Sample Spaces
Rule 2: If an operation can be performed in n1 ways, and if for each of these a
second operation can be performed in n2 ways, and for each of the first two a
third operation can be performed in n3 ways, and so forth, then the sequence
of k operations can be performed in n1n2 · · · nk ways.
Example 2.16: 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
Example 2.17: How many even four-digit numbers can be formed from
the digits 0, 1, 2, 5, 6, and 9 if each digit can be used only once?

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Counting Sample Spaces
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 n1n2 ways.

Example 2.14: 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.

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Counting Sample Spaces
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 n1n2 ways.

Example 2.15: If a 22-member club needs to elect a chair and a treasurer, how many
different ways can these two to be elected?

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Counting Sample Spaces
Rule 2: If an operation can be performed in n1 ways, and if for each of these a second operation can
be performed in n2 ways, and for each of the first two a third operation can be performed in n3 ways,
and so forth, then the sequence of k operations can be performed in n1n2 · · · nk ways.
Example 2.16: 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

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Counting Sample Spaces
Rule 2: If an operation can be performed in n1 ways, and if for each of these a second operation can
be performed in n2 ways, and for each of the first two a third operation can be performed in n3 ways,
and so forth, then the sequence of k operations can be performed in n1n2 · · · nk ways.
Example 2.17: How many even four-digit numbers can be formed from the digits 0, 1, 2, 5, 6, and
9 if each digit can be used only once?

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE
A permutation is an arrangement of all or
part of a set of objects.

Permutations
Example 2.18: 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?

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Permutations
A permutation is an arrangement of all or part of a set of objects.

Example 2.19: A president and a treasurer are to be chosen from a student


club consisting of 50 people. How many different choices of officers are
possible if
(a) there are no restrictions;
(b) A will serve only if he is president;
(c) B and C will serve together or not at all;
(d) D and E will not serve together?

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Permutations
A permutation is an arrangement of all or part of a set of objects.

Example 2.19: A president and a treasurer are to be chosen from a student club consisting of 50
people. How many different choices of officers are possible if
(a) there are no restrictions;
(b) A will serve only if he is president;
(c) B and C will serve together or not at all;
(d) D and E will not serve together?

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Theorem 2.2:The number of permutations
of n objects is n!.
Theorem 2.2:The number of permutations
of n distinct objects taken r at a time is
n!
Permutations nPr =(n − r)!

and
Combinations Theorem 2.3: The number of permutations
of n objects arranged in a circle is (n − 1)!.

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Permutations and Combinations
Theorem 2.2:The number of permutations of n objects is n!.
Theorem 2.2:The number of permutations of n distinct objects taken r at a time is
n!
P =
n r (n − r)!

Theorem 2.3: The number of permutations of n objects arranged in a circle is (n − 1)!.

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Permutations and Combinations
Theorem 2.4: The number of distinct permutations of n things of which n1 are of one kind, n2 of
a second kind, . . . , nk of a kth kind is
n!
n1!n2! · · · nk!

Example 2.20: In a college football training session, the defensive coordinator needs to have 10
players standing in a row. Among these 10 players, there are 1 freshman, 2 sophomores, 4
juniors, and 3 seniors. How many different ways can they be arranged in a row if only their class
level will be distinguished?

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Theorems
The number of ways of partitioning a set of n objects into r cells with n1 elements in the first cell, n2
elements in the second, and so forth, is
𝑛 n!
n1, n2, . . . , nr =
n1!n2! · · · nr!

where n1 + n2 + · · · + nr = n.
{(a, e, i, o), (u)}
Example 2.21: In how many ways can 7 graduate students be assigned to 1 triple and 2 double hotel
rooms during a conference?

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Theorem 2.6
The number of combinations of n distinct objects taken r at a time is
𝑛 n!
=
𝑟 r!(n − r)!

Example 2.22: A young boy asks his mother to get 5 Game-BoyTM cartridges from his collection
of 10 arcade and 5 sports games. How many ways are there that his mother can get 3 arcade
and 2 sports games?
Example 2.23: How many different letter arrangements can be made from the letters in the
word STATISTICS?

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE


Exercise 2.32 Walpole
In how many ways can 6 people be lined up to get on
a bus? (b) If 3 specific persons, among 6, insist on
following each other, how many ways are possible?
(c) If 2 specific persons, among 6, refuse to follow
each other, how many ways are possible?

3/5/2023 PROBABILITY AND STATISTICS FOR ENGINEERS AND SCIENTISTS BY WALPOLE

You might also like