Professional Documents
Culture Documents
Previous lecture
2
P (A B )
P (B | A )
P (A )
3
Note
P( A B)
P( A | B)
P( B)
P (A B ) P (A | B )P (B )
Similarly
P ( A B ) P ( B | A) P ( A)
Therfore
P ( A | B) P( B) P( B | A) P( A)
4
3
P (2 nd_ R ) .
8
3
P (2nd _ R 1st _ G ) .
8
5
3 15 21 3
P(2nd _ Re d ) .
28 56 56 8
3
P (2nd _ R 1st _ G ) .
7
6
Independent Events
Two events A and B are independent if the
occurrence of one does not affect the
probability of the other.
knowledge about one event does not
affect the probability of the other event.
Two events A and B are independent then
P(A|B) = P(A).
Two events which are not independent are
dependent.
7
Independent Events
independent events:
P (A B)
P (A | B ) P (A )
P (B )
P (A B ) P (A )P (B )
P (A B)
P (B | A) P (B)
P (A)
P (A B ) P (A )P (B )
8
Multiplication Rule
For any pair of events:
P(A ∩ B) = P(A) * P(B|A)
For any pair of independent events:
P(A ∩ B) = P(A) * P(B)
Two events A and B are said to be
independent events if one of the
following holds: P( A | B) P( A),
P( B | A) P( B),
P( A B) P( A) P( B)
9
Mutually exclusive
TWO EVENTS P( A B) 0
A and B P( A B) P( A) P(B)
INDEPENDENT
P(A B) P(A) P(B)
In general(Independent Events)
P( A1 An ) P( A1 ) P( A2 ) P( An )
10
Independent Events
for independent events A, B Show that A, B Also independent
p A B p A p B
Given
p A B p A p B
Required
p A B p A p A B
p A B p A p A p B
p A B p A 1 p B
p A B p A p B
11
Independent Events
for independent events A, B Show that
P( A B) P( A) P( A) P( B)
Given p A B P A P B
Required P( A B) P( A) P( A) P( B)
P( A B) P( A) P( B) P( A B)
P( A B) P( A) P( B) P A P B
P( A B) P( A) P( B) 1 P A
P( A B) P( A) P( B) P A
12
Independent Events
for independent events A, B Show that A ,B Also independent
Given p A B P A P B
Required
p A B P A P B
p A B p A B 1 p A B
p A B 1 P ( A) P ( B ) P A P B
p A B 1 P ( A) P ( B )(1 P A )
p A B 1 P ( A) 1 P ( B )
p A B P A P B
13
Independent Events
If A, B and C are mutually independent events,
each one has probability 0.6. Are ( A B ) & ( A C )
independent? Why?
P (A) P ( B ) P (C) 0.6
p A B p A p B 0.36
p A C p A p C 0.36
B A
0.096 0.144 0.096
p B C p B p C 0.36
0.216
p A B C p A p B p C 0.216 0.144
0.144
p A B p A p B p A p B 0.84
p A C 0.096 0.144 0.24
0.096 0.064
p (A B ) (A C ) 0.144 C
p A B p A C 0.84 0.24 0.2016 Dependent
14
P( A B) P( A) P( B) P A P B
P (A B ) 0.9 0.9 (0.9)2 0.99
If more than two devices(in parallel) the solution is difficult
15
0.9
P (A B ) 1 P (No_Operation)
B
P (A B ) 1 P A B No_Operation=all
devices failed
P (A B ) 1 P A P B
C
0.7
P (A B C ) 1 P A P B P C
p A B p A p B
P1
P4
B
A P2
P5
P3
19
P4
B
A P2
P5
P3
20
P flow 1 (1 P4 )(1 P5 )
P1
P4
B
A P2
P5
P3
21
P1
P4
B
A P2
P5
P3
22
P1
P4
B
A P2
P5
P3
23
0.2
A B
0.4 0.4 0.1
0.3
24
System 1 System 2
A B
A C
a b a b
C D B D
25
A B
A C
a b a b
C D B D
P ( F | B ) P ( B ) P ( F | B ) P( B )
P( B | F )
P( F ) 1 P( F )