Professional Documents
Culture Documents
Denition
A sample space, denoted S , is the collection of all outcomes when
an experiment is performed.
Denition
A sample space, denoted S , is the collection of all outcomes when
an experiment is performed.
I Example 1: Toss a coin two times
Denition
A sample space, denoted S , is the collection of all outcomes when
an experiment is performed.
I Example 1: Toss a coin two times
S
= {HH , HT , TH , TT }
Denition
A sample space, denoted S , is the collection of all outcomes when
an experiment is performed.
I Example 1: Toss a coin two times
S
I
= {HH , HT , TH , TT }
Denition
A sample space, denoted S , is the collection of all outcomes when
an experiment is performed.
I Example 1: Toss a coin two times
S
I
= {HH , HT , TH , TT }
= {H , TH , TTH , TTTH , . . .}
Events
I
Denition
An event is a set of outcomes form the sample space. The events
are usually denoted A, B , C , . . .. If we regard S as a set, then an
event is a subset of S .
Events
I
Denition
An event is a set of outcomes form the sample space. The events
are usually denoted A, B , C , . . .. If we regard S as a set, then an
event is a subset of S .
I Union and intersection of events
I
Events
I
Denition
An event is a set of outcomes form the sample space. The events
are usually denoted A, B , C , . . .. If we regard S as a set, then an
event is a subset of S .
I Union and intersection of events
I
Events
I
Denition
An event is a set of outcomes form the sample space. The events
are usually denoted A, B , C , . . .. If we regard S as a set, then an
event is a subset of S .
I Union and intersection of events
I
Events
I
Events
I
Events
I
Denition
A set of events A1 , A2 , A3 , . . . is mutually exclusive if and only if
Ai
Aj = ,
6= j
(1)
Denition
A set of events A1 , A2 , A3 , . . . is mutually exclusive if and only if
Ai
Aj = ,
6= j
(1)
Denition
A set of events A1 , A2 , A3 , . . . is exhaustive if
A1
A2 A3 . . . = S
(2)
Denition
A set of events A1 , A2 , A3 , . . . is mutually exclusive if and only if
Ai
6= j
(1)
Denition
A set of events A1 , A2 , A3 , . . . is exhaustive if
A1
Aj = ,
A2 A3 . . . = S
(2)
Denition
A set of events A1 , A2 , A3 , . . . is mutually exclusive and exhaustive
(called also partition) if (1) and (2) are both satised.
Probability Axioms
I
Axiom
A probability, denoted P is an application, P : S [0, 1],
satisfying:
I
P ()
= 0,
P (S )
= 1, and
Probability Axioms
I
Axiom
A probability, denoted P is an application, P : S [0, 1],
satisfying:
I
I
P () = 0, P (S ) = 1, and
for every set A1 , A2 , A3P
, . . . of mutually exclusive events,
P (A1 A2 A3 . . .)
P (Ai )
Probability Axioms
I
Axiom
A probability, denoted P is an application, P : S [0, 1],
satisfying:
I
I
P () = 0, P (S ) = 1, and
for every set A1 , A2 , A3P
, . . . of mutually exclusive events,
P (A1 A2 A3 . . .)
P (Ai )
Property
(basic rules of probability)
I
(union rule) P (A B )
= P (A) + P (B ) P (A B )
Probability Axioms
I
Axiom
A probability, denoted P is an application, P : S [0, 1],
satisfying:
I
I
P () = 0, P (S ) = 1, and
for every set A1 , A2 , A3P
, . . . of mutually exclusive events,
P (A1 A2 A3 . . .)
P (Ai )
Property
(basic rules of probability)
I
(union rule) P (A B )
= P (A) + P (B ) P (A B )
= 1 P (A)
Example
P (A \ B )
= P (A) P (A B )
Example
P (A \ B )
Proof.
= P (A) P (A B )
P ( A)
Example
P (A \ B )
= P (A) P (A B )
Proof.
P ( A)
Exercise
Let A, B and C be three events, show that
P (A B
C) =
P (A)+ P (B )+ P (C ) P (A B ) P (A C ) P (B C )+ P (A B C )
I Inclusion-Exclusion formula:
n
X
i ,j ,k =1
A2 . . . An ) =
P ( Ai
n
X
i =1
P (Ai )
n
X
i ,j =1
P (Ai
Aj ) +
Aj Ak ) + . . . + (1)n1 P (A1 A2 . . . An )
1.3 - Counting
I
Denition
A selection of k objects out of n objects without replacement and
without order is called combination, denoted Cnk , and dened
by: Cnk = k !(nn! k )! (Binomial coecient)
1.3 - Counting
I
Denition
A selection of k objects out of n objects without replacement and
without order is called combination, denoted Cnk , and dened
by: Cnk = k !(nn! k )! (Binomial coecient)
Denition
A selection of k objects out of n objects without replacement and
with order is called permutation, denoted k Pn , and dened
by: k Pn = (nn!k )!
1.3 - Counting
I
Denition
A selection of k objects out of n objects without replacement and
without order is called combination, denoted Cnk , and dened
by: Cnk = k !(nn! k )! (Binomial coecient)
Denition
A selection of k objects out of n objects without replacement and
with order is called permutation, denoted k Pn , and dened
by: k Pn = (nn!k )!
a) In how many dierent ways can a group of 2 persons be
formed if 5 persons are available ?
1.3 - Counting
I
Denition
A selection of k objects out of n objects without replacement and
without order is called combination, denoted Cnk , and dened
by: Cnk = k !(nn! k )! (Binomial coecient)
Denition
A selection of k objects out of n objects without replacement and
with order is called permutation, denoted k Pn , and dened
by: k Pn = (nn!k )!
a) In how many dierent ways can a group of 2 persons be
formed if 5 persons are available ?
C52
1.3 - Counting
I
Denition
A selection of k objects out of n objects without replacement and
without order is called combination, denoted Cnk , and dened
by: Cnk = k !(nn! k )! (Binomial coecient)
Denition
A selection of k objects out of n objects without replacement and
with order is called permutation, denoted k Pn , and dened
by: k Pn = (nn!k )!
a) In how many dierent ways can a group of 2 persons be
formed if 5 persons are available ?
C52
1.3 - Counting
I
Denition
A selection of k objects out of n objects without replacement and
without order is called combination, denoted Cnk , and dened
by: Cnk = k !(nn! k )! (Binomial coecient)
Denition
A selection of k objects out of n objects without replacement and
with order is called permutation, denoted k Pn , and dened
by: k Pn = (nn!k )!
a) In how many dierent ways can a group of 2 persons be
formed if 5 persons are available ?
C52
Property
The number of permutations of n distinct objects is n!
Property
The number of permutations of n distinct objects is n!
Property
Property
The number of permutations of n distinct objects is n!
Property
Property
The number of permutations of n distinct objects is n!
Property
C52
C73
Property
The number of permutations of n distinct objects is n!
Property
C52
C73
b) In how many ways can this be done if one man and one
woman refuse to be together in the team ?
Property
The number of permutations of n distinct objects is n!
Property
C52
C73
b) In how many ways can this be done if one man and one
woman refuse to be together in the team ?
C52
Property
The number of permutations of n objects, from which n1 are the
same, n2 are the same, ..., and nk are the same
(n1 + n2 + . . . + nk = n) is
n!
n1 ! n2 ! . . . nk !
(Multinomial coecient)
Property
The number of permutations of n objects, from which n1 are the
same, n2 are the same, ..., and nk are the same
(n1 + n2 + . . . + nk = n) is
n!
n1 ! n2 ! . . . nk !
(Multinomial coecient)
Proof.
There are Cnn1 choices for the rst n1 objects, and Cnn2 n1 choices
for the n2 objects, ..., and Cnnn1 n2 ...n 1 choices for the nk
objects. By the basic counting rule, the total number of choices is
k
Cnn1
n!
n1 ! n2 ! . . . nk !
Property
The number of permutations of n objects, from which n1 are the
same, n2 are the same, ..., and nk are the same
(n1 + n2 + . . . + nk = n) is
n!
n1 ! n2 ! . . . nk !
(Multinomial coecient)
Proof.
There are Cnn1 choices for the rst n1 objects, and Cnn2 n1 choices
for the n2 objects, ..., and Cnnn1 n2 ...n 1 choices for the nk
objects. By the basic counting rule, the total number of choices is
k
Cnn1
n!
n1 ! n2 ! . . . nk !
Exercises
Exercises
Exercises
Exercises
Exercises
Exercises
5 C5 =
C10
5
15!
5!5!5!
Exercises
5 C5 =
C10
5
15!
5!5!5!
Exercises
5 C5 =
C10
5
15!
5!5!5!
Denition
Let A and B be two events with P (B ) > 0. The conditional
probability of A given B , denoted by P (A|B ), is dened by
P (A|B )
B)
= PP(A(
B)
Denition
Let A and B be two events with P (B ) > 0. The conditional
probability of A given B , denoted by P (A|B ), is dened by
P (A|B )
B)
= PP(A(
B)
Example
5 cards are drawn at random and without replacement from a deck
of 52 playing cards. Find the probability that all 5 cards are spades
if at least 3 cards are spades.
Denition
Let A and B be two events with P (B ) > 0. The conditional
probability of A given B , denoted by P (A|B ), is dened by
P (A|B )
B)
= PP(A(
B)
Example
5 cards are drawn at random and without replacement from a deck
of 52 playing cards. Find the probability that all 5 cards are spades
if at least 3 cards are spades.
- Let A={event all 5 cards are spades}, and B ={event at least
3 cards are spades}
Denition
Let A and B be two events with P (B ) > 0. The conditional
probability of A given B , denoted by P (A|B ), is dened by
P (A|B )
B)
= PP(A(
B)
Example
5 cards are drawn at random and without replacement from a deck
of 52 playing cards. Find the probability that all 5 cards are spades
if at least 3 cards are spades.
- Let A={event all 5 cards are spades}, and B ={event at least
3 cards are spades}
P (A|B )
P (A B )
P (B )
P ( A)
P (B )
5
C13
3 C2 + C4
C13
39
13
1 + C5
C39
13
Proposition
The conditional probability P (|B ) is itself a probability.
Proposition
The conditional probability P (|B ) is itself a probability.
Proof:
I
P (|B )
P ( B )
P (B )
P ()
P (B )
=0
Proposition
The conditional probability P (|B ) is itself a probability.
Proof:
I
P (|B )
P (S |B )
P ( B )
P (B )
P (S B )
P (B )
=
=
P ()
P (B )
P (B )
P (B )
=0
=1
Proposition
The conditional probability P (|B ) is itself a probability.
Proof:
P ( B )
P ()
=0
P (|B )
P (S |B )
P (B )
P (S B )
P (B )
=
=
P (B )
P (B )
P (B )
=1
A2 A3 . . .) B )
P (B )
P ((A1 B ) (A2 B ) (A3 B ) . . .)
=
P (B )
P (A1 B )
P (A2 B )
P (A3 B )
+
+
+ ...
=
P (B )
P (B )
P (B )
= P (A1 |B ) + P (A2 |B ) + P (A3 |B ) + . . .
P (A1
A2 A3 . . . |B ) =
P ((A1
- P (A B |C ) = P (A|C ) + P (B |C ) P (A B |C )
- P (A B |C ) = P (A|C ) + P (B |C ) P (A B |C )
- P (D |A) = 1 P (D |A) and not 1 P (D |A) !!!
Property
(Multiplication rule)
I
P (A B )
Property
(Multiplication rule)
I
P (A B )
P (A1
P (An
Property
(Multiplication rule)
I
P (A B )
P (A1
P (An
Property
(Multiplication rule)
I
P (A B )
P (A1
P (An
Property
(Multiplication rule)
I
P (A B )
P (A1
P (An
= P (A) P (B |A)
Property
(Multiplication rule)
I
P (A B )
P (A1
P (An
= P (A) P (B |A)
C5 C4
8
= 13 9 39
C52
43
1.5 - Independence
I
Example
A fair coin is tossed twice. Let
A ={rst toss is head}, B ={second toss is head}
1.5 - Independence
I
Example
A fair coin is tossed twice. Let
A ={rst toss is head}, B ={second toss is head}
= {TH , HH }
1.5 - Independence
I
Example
A fair coin is tossed twice. Let
A ={rst toss is head}, B ={second toss is head}
= {TH , HH }
- P (B ) = 1/2
1.5 - Independence
I
Example
A fair coin is tossed twice. Let
A ={rst toss is head}, B ={second toss is head}
= {TH , HH }
- P (B ) = 1/2
- P (B |A) = P P(B(A)A) =
1/4
2/4
= 1/2 = P (B )
1.5 - Independence
I
Example
A fair coin is tossed twice. Let
A ={rst toss is head}, B ={second toss is head}
= {TH , HH }
- P (B ) = 1/2
- P (B |A) = P P(B(A)A) =
I
1/4
2/4
= 1/2 = P (B )
Denition
Two events A and B are independent if and only if P (A|B ) = P (A)
or P (B |A) = P (B ).
Proposition
Two events A and B are independent if and only if
P (A B )
= P ( A) P ( B )
Proposition
Two events A and B are independent if and only if
P (A B )
= P ( A) P ( B )
Proposition
Two events A and B are independent if and only if
P (A B )
= P ( A) P ( B )
Property
If A and B are independent, then so are
b) A and B
a) A and B
c) A
and B
Proposition
Two events A and B are independent if and only if
P (A B )
= P ( A) P ( B )
Property
If A and B are independent, then so are
b) A and B
c) A and B
a) A and B
Proof: a) P (B |A) = 1 P (B |A) = 1 P (B ) = P (B )
Proposition
If n events A1 , A2 , . . . , An are mutually independent, then
P (A1
Proposition
If n events A1 , A2 , . . . , An are mutually independent, then
P (A1
Example
Three men A, B and C re on target. The probability of hitting is
0.9, 0.8, and 0.7 respectively. Find the probability that all three
men hit the target.
Proposition
If n events A1 , A2 , . . . , An are mutually independent, then
P (A1
Example
Three men A, B and C re on target. The probability of hitting is
0.9, 0.8, and 0.7 respectively. Find the probability that all three
men hit the target.
- Let A ={person A hits the target}, B ={person B hits the
target} and C ={person C hits the target}
Proposition
If n events A1 , A2 , . . . , An are mutually independent, then
P (A1
Example
Three men A, B and C re on target. The probability of hitting is
0.9, 0.8, and 0.7 respectively. Find the probability that all three
men hit the target.
- Let A ={person A hits the target}, B ={person B hits the
target} and C ={person C hits the target}
- P (A B C ) = P (A).P (B ).P (C ) = 0.9 0.8 0.7 = 0.504
Proposition
If n events A1 , A2 , . . . , An are mutually independent, then
P (A1
Example
Three men A, B and C re on target. The probability of hitting is
0.9, 0.8, and 0.7 respectively. Find the probability that all three
men hit the target.
- Let A ={person A hits the target}, B ={person B hits the
target} and C ={person C hits the target}
- P (A B C ) = P (A).P (B ).P (C ) = 0.9 0.8 0.7 = 0.504
I Find the probability that exactly one of them hit the target.
Proposition
If n events A1 , A2 , . . . , An are mutually independent, then
P (A1
Example
Three men A, B and C re on target. The probability of hitting is
0.9, 0.8, and 0.7 respectively. Find the probability that all three
men hit the target.
- Let A ={person A hits the target}, B ={person B hits the
target} and C ={person C hits the target}
- P (A B C ) = P (A).P (B ).P (C ) = 0.9 0.8 0.7 = 0.504
I Find the probability that exactly one of them hit the target.
- P (A B C ) + P (A B C ) + P (A B C ) =
0.9 0.2 0.3 + 0.1 0.8 0.3 + 0.1 + 0.2 0.7 = 0.056
Example
A fair coin is tossed twice. Let
A1 ={rst toss is head}, A2 ={second toss is head}, A3 ={the two
tosses show up the same face}
Example
A fair coin is tossed twice. Let
A1 ={rst toss is head}, A2 ={second toss is head}, A3 ={the two
tosses show up the same face}
= P (A2 ) = P (A3 ) = 21 , and
1
1
P (A1 A2 A3 ) = P (A1 A2 ) = 4 6= 8 =
P (A1 )P (A2 )P (A3 ), hence A1 , A2 , A3 are not mutually
P (A1 )
independent.
But P (A1 A2 ) =
1
4 = P (A1 )P (A2 ),
1
P (A2 A1 ) = 4 = P (A2 )P (A3 ).
1
P (A1 A2 ) = 4 = P (A1 )P (A3 )
A3 ) =
A3 ) =
hence A1 , A2 , A3 are independent two by two.
P ( A2
P (A1
Exercises
Exercises
Exercises
Exercises
Proposition
P (B )
n
X
i =1
P (Ai )P (B |Ai )
Proposition
P (B )
n
X
i =1
P (Ai )P (B |Ai )
Proof:
- P (B ) = P (B S ) = P (B (A1 A2 . . . An ))
Proposition
P (B )
n
X
i =1
P (Ai )P (B |Ai )
Proof:
- P (B ) = P (B S ) = P (B (A1 A2 . . . An ))
= P ((B A1 ) (B A2 ) . . . (B An ))
Proposition
P (B )
n
X
i =1
P (Ai )P (B |Ai )
Proof:
- P (B ) = P (B S ) = P (B (A1 A2 . . . An ))
= P ((B A1 ) (B A2 ) . . . (B An ))
= P (B A1 ) + P (B A2 ) + . . . + P (B An )
Proposition
P (B )
n
X
i =1
P (Ai )P (B |Ai )
Proof:
- P (B ) = P (B S ) = P (B (A1 A2 . . . An ))
= P ((B A1 ) (B A2 ) . . . (B An ))
= P (B A1 ) + P (B A2 ) + . . . + P (B An )
= P (B |A1 )P (A1 ) + P (B |A2 )P (A2 ) + . . . + P (B |An )P (An )
Proposition
P (B |Ai )P (Ai )
= n
X
i =1
P (Ai )P (B |Ai )
Proposition
P (B |Ai )P (Ai )
= n
X
i =1
Proof: P (Ai |B ) =
P (Ai
B)
P (B )
P (Ai )P (B |Ai )
Proposition
P (B |Ai )P (Ai )
= n
X
i =1
Proof: P (Ai |B ) =
P (Ai
P (Ai )P (B |Ai )
B)
P (B )
= P (B |PA(B)P) (A )
i
Proposition
P (B |Ai )P (Ai )
= n
X
i =1
Proof: P (Ai |B ) =
P (Ai
P (Ai )P (B |Ai )
B)
P (B )
= P (B |PA(B)P) (A )
= n P (B |A )P (A )
X
P (B |Ai )P (Ai )
i =1
i
Example
(Urn model)
Example
(Urn model)
Example
(Urn model)
=
P (B |B3 )P (B3 )
Example
(Urn model)
=
P (B |B3 )P (B3 )
1
3
1 C43
3
28
section 1.2 : 8
section 1.6 : 9, 13