MATH1108 - Probability and Countingproblems - Complete
MATH1108 - Probability and Countingproblems - Complete
Proof:
1 = P(Ω) (A2)
= P(E ∪ E c )
= P(E ) + P(E c ), (A3)
so P(E c ) = 1 − P(E ).
(ii) P(∅) = 0.
Proof:
Set E = ∅ in (i) and recall that ∅c = Ω, to give
1 − P(∅) = P(Ω) = 1 by (A2),
hence P(∅) = 0.
(iii) P(E ) ≤ 1.
E ∪ F = E ∪ (F ∩ E c )
F = (E ∩ F ) ∪ (F ∩ E c )
Subtracting,
P(E ∪ F ) − P(F ) = P(E ) − P(E ∩ F )
and therefore
P(E ∪ F ) = P(E ) + P(F ) − P(E ∩ F ).
MATH1108: Probability & Statistics 1 University of Nottingham 5 / 22
Probability
(v) P(E ∪ F ) ≤ P(E ) + P(F ).
Proof:
By (A1), P(E ∩ F ) ≥ 0. Thus, from (iv)
(vi)
Proof:
See Exercise Sheet 1.
MATH1108: Probability & Statistics 1 University of Nottingham 6 / 22
Probability
Examples
#(E )
P(E ) =
N
where #(E ) denotes the number of elements in E .
Example:
1.Throw a die; Ω = {1, 2, 3, 4, 5, 6}.
N 1 × N2 × · · · × Nk
Example:
Suppose we flip three fair coins and roll two fair six-sided dice. Each
coin has two possible outcomes (heads and tails), and each die has
six possible outcomes {1, 2, 3, 4, 5, 6}. The total number of possible
outcomes of the three coins and two dice is thus given by multiplying
three 2’s and two 6’s, i.e.,
2 × 2 × 2 × 6 × 6 = 288
Example:
How many different ways of putting 4 distinct letters into 4 distinct
envelopes?
First fill the first envelope - 4 letters to choose from. For the second
envelope there are 3 letters to choose from, then 2 and 1 for the
third and fourth envelopes respectively.
So total number of ways is 4 × 3 × 2 × 1 = 4! = 24.
MATH1108: Probability & Statistics 1 University of Nottingham 14 / 22
Counting Problems
Suppose four friends go to the theatre and each leaves their coat in
the cloakroom. At the end of the play, the four coats are randomly
returned to the four friends. Here the total number of different ways
the coats can be returned is equal to 4 × 3 × 2 × 1.
Definition
If r is a positive integer then r -factorial written r ! is
r ! = r × (r − 1) × · · · × 3 × 2 × 1
with the convention 0! = 1.
Definition
A permutation of length r from n distinct objects is an ordered
arrangement of r of the objects.
The number of permutations of length r of n objects is
n n!
Pr = n(n − 1)(n − 2) . . . (n − r + 1) =
(n − r )!
E = {ticket number 1 wins 1st prize, ticket number 2 wins 2nd prize}.
#(E ) = 498, as 1st and 2nd prizes are fixed.
498 1
Thus P(E ) = 500×499×498
= 500×499
.
Definition
A combination of r objects from a collection of n distinct objects is
an unordered arrangement of r of the objects. The number of such
combinations is
n
n n Pr n!
Cr = = = .
r r! (n − r )!r !
Define E as the event that the committee has 3 men and 2 women.
Then,
6 9
#(E ) = × = 20 × 36 = 720.
3 2
Thus
6
9
#(E ) 3 240
P(E ) = = 2 =
15 .
#(Ω) 5
1001
Example
Straight = 5 consecutive cards, not all of same suit (eg 4H, 5C, 6D,
7D, 8H.)
But cards cannot all be same suit, so subtract 4 choices (all H, all C,
all D or all S). Thus
Thus,
#(E ) 10(45 − 4)
P(E ) = = 52
≈ 0.0039.
#(Ω) 5