Sample space S. Events A and B subsets of S.
B | B̄ | ∑ | |
---|---|---|---|
A | ab | ab̄ | Ar |
Ā | āb | āb̄ | Ār |
∑ | Bc | B̄c | T |
Ex. Flip 4 coins. |S|=16
A=3 or more H |A|=5 P(A)=5/16=.3125
B=start w/T |B|=8 P(B)=8/16=.5
A∩B={THHH} P(A∩B)=1/16=.0625
|A∪B|=12 P(A∪B)=P(A)+P(B)-P(A∩B)=5/16+8/16-1/16=12/16=3/4=.75
P(A|B)=P(A∩B)/P(B)=1/16 / 8/16= 1/8=.125
P(B|A)=P(A∩B)/P(A)=1/16 / 5/16= 1/5=.2
Ex. Flip 4 coins. |S|=16
A=2 or more H |A|=11 P(A)=11/16=.6875
B=start w/T |B|=8 P(B)=8/16=.5
A∩B={THHH,THHT,THTH,TTHH} P(A∩B)=4/16=1/4=.25
|A∪B|=15 P(A∪B)=P(A)+P(B)-P(A∩B)=11/16+8/16-4/16=15/16=.9375
P(A|B)=P(A∩B)/P(B)=4/16 / 8/16= 1/2=.5
P(B|A)=P(A∩B)/P(A)=4/16 / 11/16= 4/11=.3636
Ex. Flip 4 coins. |S|=16
A=2 or more H |A|=11 P(A)=11/16=.6875
B=2 or more T |B|=11 P(B)=11/16=.6875
|A∩B|=6 P(A∩B)=6/16=3/8=.375
|A∪B|=15 P(A∪B)=P(A)+P(B)-P(A∩B)=11/16+11/16-6/16= 1
P(A|B)=P(A∩B)/P(B)=6/16 / 11/16= 6/11=.5454
P(B|A)=P(A∩B)/P(A)=6/16 / 11/16= 6/11=.5454