Achievable logoAchievable logo
AP Statistics
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Resources
Exam catalog
Mountain with a flag at the peak
Textbook
Introduction
1. One variable data
2. Two variable data
3. Data collection
4. Probability and random variables
4.1 Law of large numbers
4.2 Introduction to probability
4.3 Expected value, variance, and standard deviation
4.4 Binomial distribution
4.5 Geometric distribution
4.6 Cumulative probability distribution
5. Sampling distributions
6. Categorical data
7. Quantitative data
8. Chi-square
9. Linear regression
Wrapping up
Achievable logoAchievable logo
4.2 Introduction to probability
Achievable AP Statistics
4. Probability and random variables
Our AP Statistics course is currently in development and is a work-in-progress.

Introduction to probability

11 min read
Font
Discuss
Share
Feedback
Definitions
Probability
Measures how likely an event is to occur. It describes uncertainty using a number between 0 and 1:
  • A probability of 0 means the event will not occur.
  • A probability of 1 means the event will certainly occur.

We usually write the probability of an event A as P(A). In many basic situations (when all outcomes are equally likely), you can calculate it with:

P(A)=Total number of possible outcomesNumber of favorable outcomes​

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.

Definitions
Sample space
The set of all possible outcomes from a certain experiment.
Event
One outcome or a subset of outcomes from a probability experiment.
Compound event
An event that consists of two or more simple events.
Mutually exclusive events
Two or more events that cannot happen at the same time.
Independent events
Two or more events where the outcome of one does not impact the outcome of the other(s).
Dependent events
Two or more events where the outcome of one does impact the outcome of the other(s).

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 {1,2,3,4,5,6}. The sample space for flipping a coin is {heads,tails}.

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 4 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 3 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.

Non-negativity: For any event A, the probability of A is non-negative.

P(A)​≥0​

This makes sense because even an impossible event has probability 0, not less than 0.

Normalization: The probability of the sample space S is equal to 1.

P(S)​=1​

This is because the sample space includes every possible outcome. Something in the sample space must happen, so the probability that “one of the possible outcomes occurs” is certain, which is 1.

Additivity: For any two mutually exclusive events A and B, the probability of their union is the sum of their individual probabilities.

P(A∪B)​=P(A)+P(B)if A∩B=∅​

These axioms lead to several important properties worth keeping in mind as you work through problems:

Sidenote
Important notes!

P(A∪B)​=P(A)+P(B)−P(A∩B)​

This means the probability that at least one of A or B occurs equals the sum of their individual probabilities minus any overlap.

  • Two events A and B are independent if and only if:

P(A∩B)​=P(A)×P(B)​

  • Two events A and B are mutually exclusive if and only if:

P(A∩B)​=0​

  • Two events cannot be mutually exclusive if:

P(A)+P(B)​>1​

If they were mutually exclusive, P(A∪B)=P(A)+P(B), but P(A∪B) cannot exceed 1. So if the sum is greater than 1, there must be overlap.

  • If:

P(A)+P(B)​≤1​

it is not confirmed whether or not events A and B are mutually exclusive.

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 15 marbles in an urn: 5 are red, 3 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

P(Red)​=Total number of marblesNumber of red marbles​=155​=31​​

Part b.

A purple marble

Since there are 15 marbles total and 5 are red and 3 are blue, the remaining 7 must be purple.

P(Purple)​=Total number of marblesNumber of purple marbles​=157​​

Part c.

Any marble

P(Any marble)​=Total number of marblesTotal number of marbles​=1515​=1​

Part d.

A black marble

There are no black marbles in the urn, so this outcome is impossible.

P(Black)​=Total number of marblesNumber of black marbles​=150​=0​

Notice how the two extreme cases play out: drawing any marble at all gives a probability of 1 (certain to happen), while drawing a black marble gives 0 (impossible). For compound events, the formula changes depending on whether the events are independent or dependent.

Probability of compound events:

For independent events:

P(A∩B)=P(A)×P(B)

For dependent events:

P(A∩B)=P(A)×P(B∣A)

When cards are drawn with replacement, each draw is independent — the deck resets between draws. Let’s practice.

Practice problem

Example:

There are 52 cards in a standard deck. The suits are Hearts (♥), Diamonds (♦), Clubs (♣), and Spades (♠). The face values are number cards 2 through 10, 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 4 aces in a deck of 52 cards, the probability of drawing an ace on any single draw is 524​=131​. Because the card is replaced, this probability is the same for both draws.

P(Ace and Ace)​=P(Ace)×P(Ace)=131​×131​=1691​​

Part b.

Drawing a club, then a spade

Each suit contains 13 of the 52 cards, so the probability of drawing any specific suit is 5213​=41​.

P(Club and Spade)​=P(Club)×P(Spade)=41​×41​=161​​

Part c.

Drawing a king, then a queen

There are 4 kings and 4 queens in the deck, each with probability 524​=131​.

P(King and Queen)​=P(King)×P(Queen)=131​×131​=1691​​

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 52 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 3 aces remain in a deck of 51 cards, so the second probability is lower than the first.

P(Ace and Ace)​=P(Ace on first)×P(Ace on second∣Ace on first)=131​×513​=6633​=2211​​

Part b.

Drawing a club, then a spade

Removing a club doesn’t affect the number of spades, so all 13 spades remain in the 51-card deck for the second draw.

P(Club and Spade)​=P(Club on first)×P(Spade on second∣Club on first)=41​×5113​=20413​​

Part c.

Drawing a king, then a queen

Removing a king doesn’t affect the number of queens, so all 4 queens remain among the 51 remaining cards.

P(King and Queen)​=P(King on first)×P(Queen on second∣King on first)=131​×514​=6634​​

Another useful rule involves the negation of an event. Since all probabilities in a sample space must sum to 1, you can find the probability that something does not occur simply by subtracting from 1:

Since all the probabilities for all the events in the sample space must sum to 1 (as stated in axiom 2), you can find the probability of a negation by subtracting from 1:

P(A)+P(A′)=1

Where A is an event and A′ is the negation of the event.

Practice problem

Example:

The probability of drawing a red marble or a blue marble from one particular urn is 34%. What is the probability of drawing a marble that is neither blue nor red?

Solution:

(spoiler)

Since the negation (opposite) of drawing a blue or red marble is not drawing either of those colours:

P(drawing neither blue nor red)​=1−P(drawing blue or red)=1−0.34=0.66​

Thus, the probability of drawing a marble that is neither blue nor red is 66%.

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?

Bayes’ theorem is used to update a probability when you get new information. You start with an initial probability, observe evidence, and then compute a revised probability:

P(A∣B)=P(B)P(B∣A)⋅P(A)​

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 1% of the population. A test for the disease gives a positive result to 99% of people who actually have the disease, and gives a negative result to 95% of people who do not have the disease. If a person tests positive, what is the probability that they actually have the disease?

Solution:

(spoiler)

Let D represent the event that a person has the disease, and P represent the event that a person tests positive. From the given information:

P(D)P(Dc)P(P∣D)P(Pc∣Dc)P(P∣Dc)​=0.01=0.99=0.99=0.95=1−0.95=0.05​

Applying Bayes’ theorem to find P(D∣P):

P(D∣P)​=P(P)P(P∣D)⋅P(D)​=0.0594(0.99)(0.01)​≈0.1667​

Thus, the probability that someone who tested positive actually has the disease is only about 16.7%.

Probability basics

  • Measures likelihood of events, values between 0 (impossible) and 1 (certain)
  • P(A)=Total outcomesNumber of favorable outcomes​ (for equally likely outcomes)
  • P(A): probability of event A; sample space S contains all possible outcomes

Key definitions

  • Sample space: set of all possible outcomes
  • Event: one or more outcomes from the sample space
  • Compound event: combination of two or more simple events
  • Mutually exclusive events: cannot occur simultaneously (A∩B=∅)
  • Independent events: outcome of one does not affect the other
  • Dependent events: outcome of one affects the other

Axioms of probability

  • Non-negativity: P(A)≥0
  • Normalization: P(S)=1
  • Additivity: P(A∪B)=P(A)+P(B) if A and B are mutually exclusive

Important properties

  • P(A∪B)=P(A)+P(B)−P(A∩B) (general addition rule)
  • Independence: P(A∩B)=P(A)×P(B)
  • Mutual exclusivity: P(A∩B)=0
  • If P(A)+P(B)>1, A and B are not mutually exclusive

Basic probability examples

  • Probability of drawing a specific color marble: totalnumber of that color​
  • Probability of any marble: 1
  • Probability of impossible event: 0

Compound events

  • Independent: P(A∩B)=P(A)×P(B)
    • Example: drawing with replacement
  • Dependent: P(A∩B)=P(A)×P(B∣A)
    • Example: drawing without replacement

Probability of negation

  • P(A′)=1−P(A)
  • Probability of “not” an event equals one minus the probability of the event

Bayes’ theorem

  • Updates probability with new evidence: P(A∣B)=P(B)P(B∣A)P(A)​
  • Used for conditional probability calculations

Summary points

  • Probability quantifies uncertainty (0 to 1 scale)
  • Mutually exclusive: no overlap, can’t occur together
  • Independent: outcomes do not influence each other
  • Dependent: outcomes influence each other
  • Three axioms: non-negativity, normalization, additivity

Sign up for free to take 8 quiz questions on this topic

Previous
Next  | 4.3 Expected value, variance, and standard deviation
All rights reserved ©2016 - 2026 Achievable, Inc.

Introduction to probability

Definitions
Probability
Measures how likely an event is to occur. It describes uncertainty using a number between 0 and 1:
  • A probability of 0 means the event will not occur.
  • A probability of 1 means the event will certainly occur.

We usually write the probability of an event A as P(A). In many basic situations (when all outcomes are equally likely), you can calculate it with:

P(A)=Total number of possible outcomesNumber of favorable outcomes​

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.

Definitions
Sample space
The set of all possible outcomes from a certain experiment.
Event
One outcome or a subset of outcomes from a probability experiment.
Compound event
An event that consists of two or more simple events.
Mutually exclusive events
Two or more events that cannot happen at the same time.
Independent events
Two or more events where the outcome of one does not impact the outcome of the other(s).
Dependent events
Two or more events where the outcome of one does impact the outcome of the other(s).

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 {1,2,3,4,5,6}. The sample space for flipping a coin is {heads,tails}.

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 4 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 3 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.

Non-negativity: For any event A, the probability of A is non-negative.

P(A)​≥0​

This makes sense because even an impossible event has probability 0, not less than 0.

Normalization: The probability of the sample space S is equal to 1.

P(S)​=1​

This is because the sample space includes every possible outcome. Something in the sample space must happen, so the probability that “one of the possible outcomes occurs” is certain, which is 1.

Additivity: For any two mutually exclusive events A and B, the probability of their union is the sum of their individual probabilities.

P(A∪B)​=P(A)+P(B)if A∩B=∅​

These axioms lead to several important properties worth keeping in mind as you work through problems:

Sidenote
Important notes!

P(A∪B)​=P(A)+P(B)−P(A∩B)​

This means the probability that at least one of A or B occurs equals the sum of their individual probabilities minus any overlap.

  • Two events A and B are independent if and only if:

P(A∩B)​=P(A)×P(B)​

  • Two events A and B are mutually exclusive if and only if:

P(A∩B)​=0​

  • Two events cannot be mutually exclusive if:

P(A)+P(B)​>1​

If they were mutually exclusive, P(A∪B)=P(A)+P(B), but P(A∪B) cannot exceed 1. So if the sum is greater than 1, there must be overlap.

  • If:

P(A)+P(B)​≤1​

it is not confirmed whether or not events A and B are mutually exclusive.

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 15 marbles in an urn: 5 are red, 3 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

P(Red)​=Total number of marblesNumber of red marbles​=155​=31​​

Part b.

A purple marble

Since there are 15 marbles total and 5 are red and 3 are blue, the remaining 7 must be purple.

P(Purple)​=Total number of marblesNumber of purple marbles​=157​​

Part c.

Any marble

P(Any marble)​=Total number of marblesTotal number of marbles​=1515​=1​

Part d.

A black marble

There are no black marbles in the urn, so this outcome is impossible.

P(Black)​=Total number of marblesNumber of black marbles​=150​=0​

Notice how the two extreme cases play out: drawing any marble at all gives a probability of 1 (certain to happen), while drawing a black marble gives 0 (impossible). For compound events, the formula changes depending on whether the events are independent or dependent.

Probability of compound events:

For independent events:

P(A∩B)=P(A)×P(B)

For dependent events:

P(A∩B)=P(A)×P(B∣A)

When cards are drawn with replacement, each draw is independent — the deck resets between draws. Let’s practice.

Practice problem

Example:

There are 52 cards in a standard deck. The suits are Hearts (♥), Diamonds (♦), Clubs (♣), and Spades (♠). The face values are number cards 2 through 10, 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 4 aces in a deck of 52 cards, the probability of drawing an ace on any single draw is 524​=131​. Because the card is replaced, this probability is the same for both draws.

P(Ace and Ace)​=P(Ace)×P(Ace)=131​×131​=1691​​

Part b.

Drawing a club, then a spade

Each suit contains 13 of the 52 cards, so the probability of drawing any specific suit is 5213​=41​.

P(Club and Spade)​=P(Club)×P(Spade)=41​×41​=161​​

Part c.

Drawing a king, then a queen

There are 4 kings and 4 queens in the deck, each with probability 524​=131​.

P(King and Queen)​=P(King)×P(Queen)=131​×131​=1691​​

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 52 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 3 aces remain in a deck of 51 cards, so the second probability is lower than the first.

P(Ace and Ace)​=P(Ace on first)×P(Ace on second∣Ace on first)=131​×513​=6633​=2211​​

Part b.

Drawing a club, then a spade

Removing a club doesn’t affect the number of spades, so all 13 spades remain in the 51-card deck for the second draw.

P(Club and Spade)​=P(Club on first)×P(Spade on second∣Club on first)=41​×5113​=20413​​

Part c.

Drawing a king, then a queen

Removing a king doesn’t affect the number of queens, so all 4 queens remain among the 51 remaining cards.

P(King and Queen)​=P(King on first)×P(Queen on second∣King on first)=131​×514​=6634​​

Another useful rule involves the negation of an event. Since all probabilities in a sample space must sum to 1, you can find the probability that something does not occur simply by subtracting from 1:

Since all the probabilities for all the events in the sample space must sum to 1 (as stated in axiom 2), you can find the probability of a negation by subtracting from 1:

P(A)+P(A′)=1

Where A is an event and A′ is the negation of the event.

Practice problem

Example:

The probability of drawing a red marble or a blue marble from one particular urn is 34%. What is the probability of drawing a marble that is neither blue nor red?

Solution:

(spoiler)

Since the negation (opposite) of drawing a blue or red marble is not drawing either of those colours:

P(drawing neither blue nor red)​=1−P(drawing blue or red)=1−0.34=0.66​

Thus, the probability of drawing a marble that is neither blue nor red is 66%.

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?

Bayes’ theorem is used to update a probability when you get new information. You start with an initial probability, observe evidence, and then compute a revised probability:

P(A∣B)=P(B)P(B∣A)⋅P(A)​

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 1% of the population. A test for the disease gives a positive result to 99% of people who actually have the disease, and gives a negative result to 95% of people who do not have the disease. If a person tests positive, what is the probability that they actually have the disease?

Solution:

(spoiler)

Let D represent the event that a person has the disease, and P represent the event that a person tests positive. From the given information:

P(D)P(Dc)P(P∣D)P(Pc∣Dc)P(P∣Dc)​=0.01=0.99=0.99=0.95=1−0.95=0.05​

Applying Bayes’ theorem to find P(D∣P):

P(D∣P)​=P(P)P(P∣D)⋅P(D)​=0.0594(0.99)(0.01)​≈0.1667​

Thus, the probability that someone who tested positive actually has the disease is only about 16.7%.

Key points

Probability basics

  • Measures likelihood of events, values between 0 (impossible) and 1 (certain)
  • P(A)=Total outcomesNumber of favorable outcomes​ (for equally likely outcomes)
  • P(A): probability of event A; sample space S contains all possible outcomes

Key definitions

  • Sample space: set of all possible outcomes
  • Event: one or more outcomes from the sample space
  • Compound event: combination of two or more simple events
  • Mutually exclusive events: cannot occur simultaneously (A∩B=∅)
  • Independent events: outcome of one does not affect the other
  • Dependent events: outcome of one affects the other

Axioms of probability

  • Non-negativity: P(A)≥0
  • Normalization: P(S)=1
  • Additivity: P(A∪B)=P(A)+P(B) if A and B are mutually exclusive

Important properties

  • P(A∪B)=P(A)+P(B)−P(A∩B) (general addition rule)
  • Independence: P(A∩B)=P(A)×P(B)
  • Mutual exclusivity: P(A∩B)=0
  • If P(A)+P(B)>1, A and B are not mutually exclusive

Basic probability examples

  • Probability of drawing a specific color marble: totalnumber of that color​
  • Probability of any marble: 1
  • Probability of impossible event: 0

Compound events

  • Independent: P(A∩B)=P(A)×P(B)
    • Example: drawing with replacement
  • Dependent: P(A∩B)=P(A)×P(B∣A)
    • Example: drawing without replacement

Probability of negation

  • P(A′)=1−P(A)
  • Probability of “not” an event equals one minus the probability of the event

Bayes’ theorem

  • Updates probability with new evidence: P(A∣B)=P(B)P(B∣A)P(A)​
  • Used for conditional probability calculations

Summary points

  • Probability quantifies uncertainty (0 to 1 scale)
  • Mutually exclusive: no overlap, can’t occur together
  • Independent: outcomes do not influence each other
  • Dependent: outcomes influence each other
  • Three axioms: non-negativity, normalization, additivity

More from Probability and random variables

  • Law of large numbers
  • Expected value, variance, and standard deviation
  • Binomial distribution
  • Geometric distribution
  • Cumulative probability distribution