CodesJava

Easy learning with example program codes

Probability of ‘not’, ‘and’, ‘or’ events

Probability: probability of ‘not’, ‘and’ and ‘or’ events

General addition rule applies to any additional events. You can use it for both disjoint events and non-disjoint events where two events are mutually exclusive. This means that if 1 event is true, the other must be false. Therefore, P(A and B), i.e. the probability of both the events to occur and be true will always equal 0.

P(A or B) = P(A) + P(B) – P(A and B)

However, if the events are disjoint or mutually exclusive, then P(A U B) is 0. Therefore, in this case P(A or B) = P(A) + P(B) – 0 (i.e. This is our addition rule for disjoint events)

What is the probability of randomly picking out an ace or a heart from a deck of 52 playing cards?

Answer: There are 4 aces in the deck and 13 cards of hearts. However, 1 card has both ace and heart on it. Add the two quantities separately we would end up counting that same card twice. Therefore, we need to used the addition rule to avoid counting cards double.

Therefore, we need to subtract those overlaps with one disjoint event.

P(aces or hearts) = P(aces) + P(hearts) – P(aces and hearts)

= 4/52 (the 4 aces) + 13/52 (the 13 hearts) – 1/52 (the Ace of Hearts)

= 16/52

The conditional probability of A to occur given that B occurs certainly is the probability that both A and B occur, divided by the probability that B occurs in the first place.

In some cases, the occurrence of one event has no effect on the outcome of another. These events are called independent. For example, rolling an unbiased dice or tossing a coin is an independent event. Mathematically, A and B are independent if P(A|B) = P(A)

If A and B are mutually exclusive events, then the probability that at least one of the two (equivalent to one or the other or both) will happen is P(AUB) = P(A) + P(B)

If A and B could both occur, then the probability that at least one of the two happens is P(AUB) = P(A) + P(B) – P(A∩B)

KeywordUnion/ OrIntersection/And
OperationAddMultiply
Set NotationAUBAB (or A∩B)
General RuleP(AUB) = P(A) + P(B) – P(AB)P(AB) = P(A|B)P(B) = P(B|A)P(A)
Special Case, RuleMutually Exclusive,

P(AUB) = P(A) + P(B)

Independent,

P(AB) = P(A) P(B)

For an event A, A’ is the complement of A; A’ is everything in S that is not in A, P(A’ ) = 1 – P(A)

 

 

Please follow and like us:
error
Posted in A2   









Copyright © 2019 CodesJava DMCA.com Protection Status