Lecture5 Slides 1
Lecture5 Slides 1
Sample Space: The set of all possible outcomes of a random experiment is called the sample
space of the experiment. The sample space is denoted as S.
sample point: Each outcome in a sample space is called an element or a member of the sample
space, or simply a sample point. If the sample space has a finite number of elements, we may list
the members separated by commas and enclosed in braces.
• Flipping a coin once, S = {H, T}, where H and T correspond to heads and tails, respectively.
Event B: “H” appears. How many ways?
• Drawing (Picking) a card from a deck, S = {A♥, A♠, A♦, A♣, 2♥,…, K♣}.
Consider the situation of sampling until k defectives are observed. Suppose the experiment is to
sample items randomly until one defective item is observed. The sample space for this case is:
S = {D,ND,NND,NNND, . . . }.
If the experiment stopped after the third test. Define the event A!!!
Example 5.4: Given the sample space S = {t | t ≥ 0}, where t is the life in years of a certain
electronic component, then the event A that the component fails before the end of the
fifth year is the subset A = {t | 0 ≤ t < 5}.
PHM111s - Probability and Statistics
Different Types of Probability:
Subjective probability is based on a person’s own personal reasoning and judgment (Educated
guess)
1- Impossible event and denoted by the symbol φ, which contains no elements at all.
P(ϕ ) = 0.
2- Sure (certain)and denoted by the symbol S, which contains all elements.
P( S ) = 1.
Counting Methods:
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.
Ashraf, Samar
Ashraf, Mona
Mohamed, Samar
Mohamed
Mohamed, Mona
Hassan, Samar
Hassan, Mona
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:
(a) How many four digit numbers can be formed using only the digits 1, 2, 3, 4, 5 and 6?
(b) How many four digit numbers from (a) have no repeated digits?
(c) How many four digit numbers from (b) are greater than 5000?
(d) How many even four digit numbers from (b)?
Solution: (a) 6 * 6 * 6 * 6 = 1296.
(b) 6 * 5 * 4 * 3 = 360.
(c) 2 * 5* 4 * 3 = 120.
(d) 3 * 5 * 4 * 3 =180.
3- Permutations:
Definition: A permutation is a different arrangement of a set of objects.
Consider the three letters a, b, and c. The possible permutations are abc, acb, bac, bca, cab, and
cba. Thus, we see that there are 6 distinct arrangements.
n1n2n3 = (3)(2)(1) = 6 permutations
by Rule 2. In general, n distinct objects can be arranged in
n(n − 1)(n − 2) · · · (3)(2)(1) = n! ways.
Consider the number of permutations that are possible by taking two letters at a time from four.
These would be ab, ac, ad, ba, bc, bd, ca, cb, cd, da, db, and dc. Using Rule 1 again, we have two
positions to fill, with n1 = 4 choices for the first and then n2 = 3 choices for the second, for a total
of
n1n2 = (4)(3) = 12
permutations. In general, n distinct objects taken r at a time can be arranged in
n(n − 1)(n − 2) · · · (n − r + 1) ways.
PHM111s - Probability and Statistics
Theorem: The number of permutations of n distinct objects taken r at a time is
n!
P=
(n − r )!
n r
Example 5.16: How many ways can three letters be formed from the four letters A, B, C, and D?
Solution: The total number of ways is
4! 4!
P= = = (4)(3)(2)(1) = 24 .
(4 − 3)! 1!
4 3
A, B, C C, A, B
A, B, D C, A, D
A, C, D C, B, A
A, C, B C, B, D
A, D, B C, D, A
A, D, C C, D, B
B, A, C D, A, B
B, A, D D, A, C
B, C, A D, B, A
B, C, D D, B, C
B, D, A D, C, A
B, D, C D, C, B
4- Combinations:
Now consider the number of permutations that are possible by taking two letters at a time from
four. These would be ab, ac, ad, ba, bc, bd, ca, cb, cd, da, db, and dc.
From the previous data, we notice that selecting ab is different from selecting ba and so on…
If we want to select from the previous disregarding the order, the all possible choices are: ab,
ac, ad, bc, bd and cd and each choice of these choices is called “Combination”
Example 5.19: How many ways can three letters be formed from the four letters A, B, C, and D
disregarding the order?
Solution: The total number of ways is
4 4! 4!
=C3 =
4
= = (4) .
3 3!(4 − 3)! 3!1!
Example 6.2: A die is loaded in such a way that an even number is twice as likely to occur as an
odd number. If E is the event that a number less than 4 occurs on a single toss of the
die, find P(E).
Solution: The sample space is S = {1, 2, 3, 4, 5, 6}. We assign a probability of w to each odd
number and a probability of 2w to each even number. Since the sum of the probabilities
must be 1, we have 9w = 1 or w = 1/9. Hence, probabilities of 1/9 and 2/9 are assigned to
each odd and even number, respectively. Therefore,
1 2 1 4
E = {1, 2, 3} and P(E) = + + =
9 9 9 9
Example 6.5: In a poker hand consisting of 5 cards, find the probability of holding 2 aces and 3
jacks.