Introduction to probability
Key concepts
Before working through problems, it’s important to understand the vocabulary used to describe probability experiments. These terms appear throughout this topic, so take a moment to review them carefully.
Here is what each of these concepts looks like in context.
Sample space
The sample space gives you a complete picture of everything that could possibly happen in an experiment. Identifying it first makes calculating probabilities much easier.
Example:
The sample space for rolling a six-sided die is . The sample space for flipping a coin is .
Event
An event is what you’re actually interested in measuring — it’s the specific outcome or group of outcomes you want to find the probability of.
Example:
Rolling higher than a on a six-sided die is an event. Rolling an even number on a six-sided die is another event.
Compound event
Compound events arise whenever an experiment involves more than one action or step. The probability of a compound event depends on whether those steps are independent or dependent.
Example:
Rolling a on a die and then flipping heads on a coin is a compound event. Drawing a king from a deck of cards, then rolling an odd number on a die, then drawing a blue marble from an urn is another compound event.
Mutually exclusive events
Recognizing mutually exclusive events matters because it changes how you calculate the probability of either one occurring — there’s no overlap to account for.
Example:
If homeroom starts at 8:00am and ends at 9:00am for every class at a school, then a student can’t be enrolled in two homerooms at once — that would create a time conflict. So the event “a student is in homeroom A” and the event “a student is in homeroom B” are mutually exclusive. Another example: drawing a card that is both red and a spade is impossible, since all spades are black.
Independent and dependent events
Whether events are independent or dependent affects which formula you use to calculate compound probabilities. The key question to ask is: does the first outcome change anything about the second?
Example:
Drawing two marbles from an urn with replacement creates independent events, because the first draw doesn’t change what’s in the urn for the second draw. Drawing two marbles without replacement creates dependent events — if you draw a red marble first and don’t replace it, there is now one fewer red marble available, making it less likely you’ll draw red again.
Axioms of probability
All of probability theory rests on three fundamental axioms. These aren’t things you need to prove — they’re starting assumptions from which everything else follows.
These axioms lead to several important properties worth keeping in mind as you work through problems:
Calculating probability
Let’s apply these ideas to real examples, starting with basic probability and then moving to compound events involving independent and dependent outcomes.
Practice problem
Example:
There are marbles in an urn: are red, are blue, and the rest are purple. If Ethan randomly draws a marble, find the probability that he draws each of the following.
Part a.
A red marble
Part b.
A purple marble
Since there are marbles total and are red and are blue, the remaining must be purple.
Part c.
Any marble
Part d.
A black marble
There are no black marbles in the urn, so this outcome is impossible.
Notice how the two extreme cases play out: drawing any marble at all gives a probability of (certain to happen), while drawing a black marble gives (impossible). For compound events, the formula changes depending on whether the events are independent or dependent.
When cards are drawn with replacement, each draw is independent — the deck resets between draws. Let’s practice.
Practice problem
Example:
There are cards in a standard deck. The suits are Hearts (♥), Diamonds (♦), Clubs (♣), and Spades (♠). The face values are number cards through , face cards Jack (J), Queen (Q), King (K), and Ace (A). Lucas randomly draws one card, puts it back, then draws again. Find the probability of
Part a.
Drawing aces both times
Since there are aces in a deck of cards, the probability of drawing an ace on any single draw is . Because the card is replaced, this probability is the same for both draws.
Part b.
Drawing a club, then a spade
Each suit contains of the cards, so the probability of drawing any specific suit is .
Part c.
Drawing a king, then a queen
There are kings and queens in the deck, each with probability .
When cards are drawn without replacement, the composition of the deck changes after each draw, making the events dependent. This affects the probability of each subsequent outcome.
Practice problem
Example:
Using the same standard deck of cards, Lucas now draws one card and throws it away before drawing again. Find the probability of: drawing aces both times, drawing a club then a spade, and drawing a king then a queen,
Part a.
Drawing aces both times
After drawing one ace, only aces remain in a deck of cards, so the second probability is lower than the first.
Part b.
Drawing a club, then a spade
Removing a club doesn’t affect the number of spades, so all spades remain in the -card deck for the second draw.
Part c.
Drawing a king, then a queen
Removing a king doesn’t affect the number of queens, so all queens remain among the remaining cards.
Another useful rule involves the negation of an event. Since all probabilities in a sample space must sum to , you can find the probability that something does not occur simply by subtracting from :
Practice problem
Example:
The probability of drawing a red marble or a blue marble from one particular urn is . What is the probability of drawing a marble that is neither blue nor red?
Solution:
Since the negation (opposite) of drawing a blue or red marble is not drawing either of those colours:
Thus, the probability of drawing a marble that is neither blue nor red is .
Bayes’ theorem
All of the probability rules so far assume you know the full situation upfront. Bayes’ theorem handles something different: what if you start with an initial probability, then receive new evidence, and need to update your estimate?
The result is often surprising — even a highly accurate test can have a low probability of being correct, depending on how rare the condition being tested for actually is:
Practice problem
Example:
A disease affects of the population. A test for the disease gives a positive result to of people who actually have the disease, and gives a negative result to of people who do not have the disease. If a person tests positive, what is the probability that they actually have the disease?
Solution:
Let represent the event that a person has the disease, and represent the event that a person tests positive. From the given information:
Applying Bayes’ theorem to find :
Thus, the probability that someone who tested positive actually has the disease is only about .