Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Sample Spaces
Definition
Chapter Outline:
2.1 Sample Spaces & Events
2.2 Interpretations of Probability
2.3 Addition Rules
2.4 Conditional Probability
2.5 Multiplication and Total Probability Rules
2.6 Independence
2.7 Bayes Theorem
2.8 Random Variable
Example 1
S 2 = {2, 4, 6}
If we interested only in prime number, the sample
space is
S3 = {2,3,5} .
Tree Diagrams
Sample spaces can also be described graphically with tree
diagrams.
When a sample space can be constructed in several steps
or stages, we can represent each of the n1 ways of
completing the first step as a branch of a tree.
Each of the ways of completing the second step can be
represented as n2 branches starting from the ends of the
original branches, and so forth.
Example 2
Example 3
S = {t t 0} ,
where t is the life in years of a certain washing
machine, then the event A that the washing
machine fails before the end of fifth year is the
subset
A = {t 0 t < 5}.
Figure 2.1 Tree diagram for three messages.
11/19/2015
Union
Complement
Mutually Exclusive
Venn Diagrams
Counting Techniques
Multiplication Rules
If an operation can be described as a sequence of k steps, and
if the number of ways of completing step 1 is n1, and
if the number of ways of completing step 2 is n2 for each way of
completing step 1, and
if the number of ways of completing step 3 is n3 for each way of
completing step 2, and so forth,
the total number of ways of completing the operation is
n1 n2 nk
Multiplication Rules
Ordered Samples
Example 4
n1 n2 n3 n4 = 2 4 3 5 = 120
different ways to order the parts.
n ( n 1) ( n r + 1) = Prn
r factors
11/19/2015
Permutation
Permutation
Example 5
when r = n, Prn = n !,
permutation;
Prn = n ( n 1) ( n 2 ) ( n r + 1) =
n!
( n r )!
Solutions:
P325 =
25!
( 25 3) !
25!
= ( 25 )( 24 )( 23) = 13,800
22!
Solution:
n!
n1 ! n2 ! n3 ! nr !
10!
= 12, 600
1!2!4!3!
Unordered Samples
Combinations
n
n!
=
r r !( n r ) !
Example 6
Solution:
10
10!
= 120
3=
3!(10 3) !
The number of ways of selecting 2 cartridges from 5 is
5
5!
= 10
2 =
2!( 5 2 ) !
Using the multiplication rule
11/19/2015
P ( A1 A2 ) = P ( A1 ) + P ( A2 )
Solution:
P(I ) =
25
53
(b)
Since 18 of the 53 students are civil or
electrical,
P (C E ) =
P ( A B ) = P ( A) + P ( B ) P ( A B ) .
P ( A B ) = P ( A) + P ( B )
18
53
P ( A B C ) = P ( A) + P ( B ) + P (C )
P ( A B) P ( A C ) P ( B C ) + P ( A B C ).
P ( A1 A2 An ) = P ( A1 ) + P ( A2 ) + + P ( An )
11/19/2015
Example 2
(e)
P ( A B C )
scratch
high
resistance low
(c) P ( A B )
Solution:
(a) P ( A B C ) = P ( A) + P ( B ) + P ( C ) = 0.9
(b) P ( A B C ) = 0
(c) P ( A B ) = 0
(d) P ( A B ) C = 0
shock resistance
high
low
70
9
16
5
P ( A B) =
70
= 0.70
100
(b)
P ( A B) =
70 + 9 + 16 95
=
= 0.95
100
100
(c)
P ( A B ) 0,
exclusive
Definition
denoted by P ( B A ) is defined by
P ( B A) =
P ( A B)
P ( A)
for P ( A ) > 0.
11/19/2015
Example 2
Solution:
(a) The probability that a plane arrive on time given that
it departed on time is
P ( A D) =
P ( D A)
P (D)
0.78
= 0.94
0.83
P ( D A) =
P ( D A) 0.78
=
= 0.95
P ( A)
0.82
Solution:
P (T L ) =
2.5 MULTIPLICATION
RULES
AND
TOTAL PROBABILITY
2.5 MULTIPLICATION
RULES
P (T L )
P ( L)
AND
0.008
= 0.08
0.1
TOTAL PROBABILITY
Multiplication Rule
If in an experiment the events A and B can both occur,then
P ( A B ) = P ( B A) P ( A) = P ( A B ) P ( B )
P ( B ) = P ( B E1 ) + P ( B E2 ) + + P ( B Ek )
= P ( B E1 ) P ( E1 ) + P ( B E2 ) P ( E2 ) + + P ( B Ek ) P ( Ek )
Example 1
2.5 MULTIPLICATION
RULES
Example 2
Solution:
AND
TOTAL PROBABILITY
P ( B ) = P ( B A ) + P ( B A ) = P ( B A ) P ( A ) + P ( B A) P ( A)
Solution:
P ( A B)
(b)
P ( A B )
(a)
(b)
2.6 INDEPENDENCE
Independence (two events)
Two events are independent if any one of the following is true:
(
(
)
)
(a) P A B = P ( A )
(b) P B A = P ( B )
(c) P ( A B ) = P ( A ) P ( B )
P ( F D ) = 0.01, P ( F W ) = 0.05,
P ( D ) = 0.9, P (W ) = 0.1
P ( F ) = P ( F D ) P ( D ) + P ( F W ) P (W )
= 0.01( 0.9 ) + 0.05 ( 0.1) = 0.014
11/19/2015
2.6 INDEPENDENCE
Example 1
Solution:
2.6 INDEPENDENCE
Independence (multiple events)
The events E1, E2, , En are independent if and only if for any
subset of these events Ei1 , Ei2 , , Eik ,
( ) ( )
( )
2.6 INDEPENDENCE
Example 2
Solution:
Let Box A: component 1, 2, 3, 4; Box B: component 5, and 6; and Box C:
component 7
2.5 MULTIPLICATION
RULES
AND
TOTAL PROBABILITY
Multiplication Rule
If in an experiment the events A and B can both occur,then
P ( A B ) = P ( B A) P ( A) = P ( A B ) P ( B )
P ( B ) = P ( B A ) + P ( B A ) = P ( B A ) P ( A ) + P ( B A) P ( A)
11/19/2015
2.5 MULTIPLICATION
RULES
AND
TOTAL PROBABILITY
2.5 MULTIPLICATION
RULES
Solution:
Let
F : the connectors fail
D : the connector is dry
W : the connector is wet
P ( B ) = P ( B E1 ) + P ( B E2 ) + + P ( B Ek )
= P ( B E1 ) P ( E1 ) + P ( B E2 ) P ( E2 ) + + P ( B Ek ) P ( Ek )
Solution:
(a)
P ( A B)
(a)
(b)
(b)
TOTAL PROBABILITY
Example 2
Example 1
AND
P ( A B )
P ( F D ) = 0.01, P ( F W ) = 0.05,
P ( D ) = 0.9, P (W ) = 0.1
P ( F ) = P ( F D ) P ( D ) + P ( F W ) P (W )
= 0.01( 0.9 ) + 0.05 ( 0.1) = 0.014
2.6 INDEPENDENCE
2.6 INDEPENDENCE
Example 1
Solution:
(
(
)
)
(a) P A B = P ( A )
(b) P B A = P ( B )
(c) P ( A B ) = P ( A ) P ( B )
2.6 INDEPENDENCE
2.6 INDEPENDENCE
Example 2
( ) ( )
( )
11/19/2015
Solution:
Let Box A: component 1, 2, 3, 4; Box B: component 5, and 6; and Box C:
component 7