Probability: introduction (CSCI 2824, Spring 2015)Topic covered:
(Sections 6.1 and 6.2 of the book) Probability: definitionWe often encounter questions like, “what is the probability that I get two cards of the same suit from a standard deck?”, “what is the probability that I get two 6's from rolling a pair of fair dices?”. What exactly do these questions mean? Let's try to understand the notion of probability through a simple example. Example 1Suppose that from a standard deck of 52 playing cards, Alicia draws one card (without replacement) and then John draws another. We are interested in the cards that they draw.
Knowing these two facts, we define the probability of Alicia and John having cards from the same suit to be the ratio: Here we made the implicit assumption that all the outcomes are equally likely. For the most part, in this course we are going to assume that in any experiment, all the outcomes are equally likely. Probability in terms of sample space and eventsIn general, we can think of drawing cards, throwing dice, picking a bit string of length 10, etc, as experiments. In any experiment,
Given an experiment with a sample space of equally likely outcomes and an event , the probability of the event (meaning the probability that happens) is defined as Basic rulesNaturally, in any experiment with sample space , In this course, we deal only with discrete probability (i.e., there are only finitely many possible outcomes). In particular, an event happens with probability 1 if and only if it always happens; an event happens with probability 0 if and only if it never happens. Complement ruleComplement rule
For any event , Example 2Given a group of 20 people born in 1995, what is the probability that at least two of them are born on the same day, assuming that all the birthdays are equally likely? Answer
We can use the complement rule.
Mutual exclusiveness and sum ruleMutual exclusive events
Two events and from the same sample space are said to be mutually exclusive/disjoint if they cannot both happen. (It means that and , as sets, are disjoint, i.e., they have empty intersection.) Example 3
If two events are mutually exclusive, then the probability that at least one of them happens is the sum of the probability of the individual events. Sum rule
If two events and from the same sample space are mutually exclusive, then In general, if the two events are not mutually exclusive, we can still say something about the probability of either or happening, using the inclusion-exclusion principle. Inclusion-exclusion principle
If two events and are from the same sample space, then Example 4Suppose we draw 3 cards from a standard deck without order or replacement. What is the probability that either all three cards are faces (i.e., J, Q, K) or all three cards are from the same suit? Answer
|