Probability

See also: numbers, Permutations and Combinations

Independent and Mutually exclusive events

Two events are independent if the outcome of one doesn't affect the outcome of the other. Otherwise they are dependent.

Examples

For two independent events, A and B, the probability of both occuring together, P(A and B), is the product of the probability of each event.

P(A and B) = P(AB) = P(A) × P(B)

For example, when tossing a fair coin twice, the probability of getting a 'Head' on the first and then getting a 'Tail' on the second is

P(H and T) = P(H) × P(T)

P(H and T) = 0.5 × 0.5

P(H and T) = 0.25


Two events are mutually exclusive if they cannot occur at the same time.

Examples

For two mutually exclusive events, A and B, the probability of either one occuring, P(A or B), is the sum of the probability of each event.

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

For example, when choosing a ball at random from a bag containing 3 blue balls, 2 green bals, and 5 red balls, the probability of getting a blue or red ball is

P(Blue or Red) = P(Blue) + P(Red)

P(Blue or Red) = 3/10 + 5/10

P(Blue or Red) = 8/10 = 0.8

For non mutually exclusive events the probability of either one or both occuring is

P(A or B) = P(A) + P(B) - P(AB)

where P(AB) is the probability of eventA and event B happening at the same time.

For example, when drawing a card from a deck of 52 playing cards, the probability of getting a red card or a King is

P(Red or King) = P(Red) + P(King) - P(RedKing)

P(Red or King) = 26/52 + 4/52 - 2/52

P(Red or King) = 28/52 = 7/13

This is so because a card can either be red, king, or both (i.e. red king). So that's why we need to subtract the probability of a card being both red and king because it has already been accounted for in the probability of the card being red and the probability of the card being king.

Previous:
Complement of an event
Next:
Conditional Probability

See also: numbers, Permutations and Combinations