Achievable logoAchievable logo
Praxis Core: Math (5733)
Sign in
Sign up
Purchase
Textbook
Practice exams
Support
How it works
Exam catalog
Mountain with a flag at the peak
Textbook
Introduction
1. Number and quantity
2. Data analysis, statistics, and probability
2.1 Understanding central tendencies
2.2 Understanding and representing data
2.3 Interpreting data
2.4 Interpreting scatterplots
2.5 Computing probabilities
3. Algebra and geometry
Wrapping up
Achievable logoAchievable logo
2.5 Computing probabilities
Achievable Praxis Core: Math (5733)
2. Data analysis, statistics, and probability
Our Praxis Core: Math course is currently in development and is a work-in-progress.

Computing probabilities

10 min read
Font
Discuss
Share
Feedback

In this section, you’ll learn how to compute the probability of simple events, work with unions of mutually exclusive and non-mutually exclusive events, calculate intersections for independent events, and read one-way and two-way tables to find joint, marginal, and conditional probabilities.

Definitions
Probability
The likelihood of an event occurring, expressed as a number between 0 (impossible) and 1 (certain).
Sample space
The complete set of all possible outcomes of an experiment or situation, often denoted by the symbol S. For example, rolling a fair die has the sample space S={1,2,3,4,5,6}.
Event
A subset of outcomes from the sample space that we are interested in.
Joint probability
The probability that two events A and B occur together, denoted

P(A∩B)=total number of outcomescount of outcomes in both A and B​.

Marginal probability
The probability of a single event ignoring any other variables, found by summing row or column totals in a two-way table and dividing by the grand total.
Conditional probability
The probability of event A given that event B has occurred, denoted

P(A∣B)=P(B)P(A∩B)​.

Mutually exclusive events
Events that cannot occur at the same time. For A and B,

P(A∪B)=P(A)+P(B).

Non-mutually exclusive events
Events that can occur together. For A and B,

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

Independent events
Events whose outcomes do not affect each other. For A and B,

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

Basic probability formula

Probability is a way to compare:

  • how many outcomes satisfy a condition (the event), to
  • how many outcomes are possible overall (the sample space).

So every probability question starts by identifying the sample space and the event of interest.

For any event E in a finite sample space,

P(E)=total number of possible outcomesnumber of favorable outcomes​.

This works because probability is a proportion. If an event occurs in half of all equally likely outcomes, its probability is 21​. If it occurs in one out of ten outcomes, its probability is 101​. Probabilities are always between 0 and 1, inclusive: 0 means the event cannot occur, and 1 means it must occur.

Many probability questions - especially on the Praxis - give information in tables instead of listing outcomes. The same proportion idea still applies; you just read the favorable count and the total count from the table.

Reading one-way tables

A one-way table organizes counts for a single categorical variable. Each entry is a count for one category, and the entire table represents the sample space.

To find a probability from a one-way table:

  • Compute the grand total by summing all counts in the table.
  • Identify the count corresponding to the event of interest.
  • Divide that category count by the grand total.

This is the basic probability formula in table form: the category count is the number of favorable outcomes, and the grand total is the number of possible outcomes.

Example: Marble colors A bag contains:

Color Count
Red 3
Blue 2
Green 5

What is P(green)?

(spoiler)

There are 5 green marbles out of 3+2+5=10 total, so

P(green)=105​=0.5.

Answer: 0.5

Reading two-way tables

A two-way table organizes counts for two categorical variables at the same time. Each cell shows how often a specific combination occurs. That lets you compute probabilities for single events and for relationships between events.

In a two-way table:

  • Rows typically represent categories of one variable.
  • Columns represent categories of a second variable.
  • Cell entries show joint counts.
  • Row and column totals summarize overall frequencies and form the basis for marginal probabilities.
  • The grand total represents the full sample space.

A generic two-way table looks like this:

Event B Not B Total
Event A nAB​ nABˉ​ nA​
Not A nAˉB​ nAˉBˉ​ nAˉ​
Total nB​ nBˉ​ N

From this table, you can compute three different types of probabilities.

  • Joint probability measures the chance that both events occur together. Use one cell count divided by the grand total:

    P(A∩B)=NnAB​​.

  • Marginal probability measures the chance of a single event, ignoring the other variable. Use a row or column total divided by the grand total:

    P(A)=NnA​​,P(B)=NnB​​.

  • Conditional probability measures the chance of one event given that another event has occurred. Here, the “total possible outcomes” becomes the relevant row or column total:

    P(A∣B)=nB​nAB​​.

The main difference is what you treat as the sample space:

  • Joint probabilities use the entire table.
  • Marginal probabilities use the entire table but focus on one variable.
  • Conditional probabilities restrict attention to outcomes that satisfy the condition.

Example: Joint, marginal, and conditional probabilities A café records how customers pay (Cash, Card, or Mobile) across three days.

Day Cash Card Mobile
Monday 25 15 10
Tuesday 20 25 5
Wednesday 15 30 15

Sometimes a problem won’t provide totals. In that case, compute the row totals, column totals, and the grand total before finding probabilities.

First, compute the totals for each row, each column, and the grand total. The row totals and column totals both add to 160, so the table is consistent.

Day Cash Card Mobile Total
Monday 25 15 10 50
Tuesday 20 25 5 50
Wednesday 15 30 15 60
Total 60 70 30 160

The marginal probability of paying by card uses the column total for Card divided by the grand total:

P(Card)=16070​=0.4375

The joint probability of a customer paying in cash on Tuesday uses the Tuesday-Cash cell divided by the grand total:

P(Tuesday and Cash)=16020​=0.125

The conditional probability of paying with mobile given it is Wednesday restricts the sample space to the Wednesday row:

P(Mobile∣Wednesday)=6015​=0.25

Interpretation: About 43.75% of all customers pay by card overall (marginal).

The chance of randomly selecting a Tuesday cash transaction is 12.5% (joint).

If it is known to be Wednesday, there is a 25% chance the customer paid using mobile (conditional).

Answer: P(Card)=0.4375,P(Tuesday and Cash)=0.125,P(Mobile∣Wednesday)=0.25

After you can compute probabilities from sample spaces and tables, the next step is combining events. Here, it matters whether events can overlap and whether one event changes the probability of the other.

Unions and intersections of events

When you combine events, two common questions come up:

  • Are you finding the probability that at least one of two events occurs (a union)?
  • Or are you finding the probability that both events occur (an intersection)?

The correct rule depends on whether the events can occur together and whether they affect each other.

  • Union, mutually exclusive If two events cannot occur at the same time, there is no overlap. The probability that at least one occurs is the sum of their probabilities:

    P(A∪B)=P(A)+P(B).

  • Union, non-mutually exclusive If two events can occur together, adding P(A) and P(B) counts the overlap twice. Subtract P(A∩B) once to correct for that:

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

  • Intersection, independent If two events are independent, the occurrence of one does not change the probability of the other. Multiply their probabilities to get the probability both occur:

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

Example: Mutually exclusive union Two fair dice are rolled once. Let A = “sum is 2,” and B = “sum is 12.” What is P(A∪B)?

These two sums cannot occur at the same time, so the events are mutually exclusive.

>P(A)=361​,P(B)=361​

>P(A∪B)=361​+361​=362​=181​

Answer: 181​

Example: Non-mutually exclusive union You draw one card from a standard 52-card deck. Let A = “heart” and B = “king.” What is P(A∪B)?

These events are not mutually exclusive because the king of hearts is both a heart and a king.

  • P(A)=5213​
  • P(B)=524​
  • P(A∩B)=521​

>P(A∪B)=5213​+524​−521​=5216​=134​

Answer: 134​

With and without replacement

When you draw multiple items from a finite set, decide whether the first draw changes the second. That depends on whether you put the item back.

  • With replacement means the item is returned before the next draw. The sample space stays the same, so the probabilities stay the same.

  • Without replacement means the item is not returned. The sample space shrinks, so the probabilities change after each draw.

Example: Without replacement A box contains 3 red and 2 blue balls (5 total). You draw two balls without replacement. What is the probability both are red?

On the first draw, there are 3 red balls out of 5 total:

>P(red1​)=53​.

After drawing a red ball and not replacing it, there are 2 red balls left out of 4 total:

>P(red2​∣red1​)=42​=21​.

Because both events must occur, multiply the probabilities:

>P(both red)=53​×21​=103​=0.3.

Answer: 0.3

Independent intersections

Sometimes one event has no effect on another. When events are independent, the probability that both occur is the product of their individual probabilities.

Example: Two-flip intersection What is the probability of flipping two heads in a row with a fair coin?

Each flip is independent, and the probability of heads on any single flip is 21​. Therefore,

>P(head then head)=21​×21​=41​=0.25.

Answer: 0.25

Example: Pair of cards Draw two cards without replacement. What is P(both face cards)?

There are 12 face cards in a 52-card deck. On the first draw,

>P(face1​)=5212​.

After drawing a face card and not replacing it, there are 11 face cards left out of 51 total cards:

>P(face2​∣face1​)=5111​.

Multiply to find the joint probability:

>5212​×5111​=2652132​≈0.0498.

Answer: ≈0.0498

  • Understand the sample space: list or visualize all possible outcomes before identifying events

  • Identify the events clearly before computing probabilities

  • Use one-way tables: category count divided by grand total

  • Use two-way tables: joint cell divided by grand total for joint probability; row or column sum divided by grand total for marginal probability

  • Distinguish between joint, marginal, and conditional probabilities:

    • Joint - both events occur
    • Marginal - overall or total proportions
    • Conditional - restricted to a given condition or category
  • Combine events: mutually exclusive add; non-mutually exclusive add and subtract overlap; independent multiply

  • Handle replacement: with replacement probabilities stay constant; without replacement adjust the denominator after each draw

  • Verify results: probabilities lie between 0 and 1 and unions/intersections make sense in context

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

All rights reserved ©2016 - 2026 Achievable, Inc.

Computing probabilities

In this section, you’ll learn how to compute the probability of simple events, work with unions of mutually exclusive and non-mutually exclusive events, calculate intersections for independent events, and read one-way and two-way tables to find joint, marginal, and conditional probabilities.

Definitions
Probability
The likelihood of an event occurring, expressed as a number between 0 (impossible) and 1 (certain).
Sample space
The complete set of all possible outcomes of an experiment or situation, often denoted by the symbol S. For example, rolling a fair die has the sample space S={1,2,3,4,5,6}.
Event
A subset of outcomes from the sample space that we are interested in.
Joint probability
The probability that two events A and B occur together, denoted

P(A∩B)=total number of outcomescount of outcomes in both A and B​.

Marginal probability
The probability of a single event ignoring any other variables, found by summing row or column totals in a two-way table and dividing by the grand total.
Conditional probability
The probability of event A given that event B has occurred, denoted

P(A∣B)=P(B)P(A∩B)​.

Mutually exclusive events
Events that cannot occur at the same time. For A and B,

P(A∪B)=P(A)+P(B).

Non-mutually exclusive events
Events that can occur together. For A and B,

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

Independent events
Events whose outcomes do not affect each other. For A and B,

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

Basic probability formula

Probability is a way to compare:

  • how many outcomes satisfy a condition (the event), to
  • how many outcomes are possible overall (the sample space).

So every probability question starts by identifying the sample space and the event of interest.

For any event E in a finite sample space,

P(E)=total number of possible outcomesnumber of favorable outcomes​.

This works because probability is a proportion. If an event occurs in half of all equally likely outcomes, its probability is 21​. If it occurs in one out of ten outcomes, its probability is 101​. Probabilities are always between 0 and 1, inclusive: 0 means the event cannot occur, and 1 means it must occur.

Many probability questions - especially on the Praxis - give information in tables instead of listing outcomes. The same proportion idea still applies; you just read the favorable count and the total count from the table.

Reading one-way tables

A one-way table organizes counts for a single categorical variable. Each entry is a count for one category, and the entire table represents the sample space.

To find a probability from a one-way table:

  • Compute the grand total by summing all counts in the table.
  • Identify the count corresponding to the event of interest.
  • Divide that category count by the grand total.

This is the basic probability formula in table form: the category count is the number of favorable outcomes, and the grand total is the number of possible outcomes.

Example: Marble colors A bag contains:

Color Count
Red 3
Blue 2
Green 5

What is P(green)?

(spoiler)

There are 5 green marbles out of 3+2+5=10 total, so

P(green)=105​=0.5.

Answer: 0.5

Reading two-way tables

A two-way table organizes counts for two categorical variables at the same time. Each cell shows how often a specific combination occurs. That lets you compute probabilities for single events and for relationships between events.

In a two-way table:

  • Rows typically represent categories of one variable.
  • Columns represent categories of a second variable.
  • Cell entries show joint counts.
  • Row and column totals summarize overall frequencies and form the basis for marginal probabilities.
  • The grand total represents the full sample space.

A generic two-way table looks like this:

Event B Not B Total
Event A nAB​ nABˉ​ nA​
Not A nAˉB​ nAˉBˉ​ nAˉ​
Total nB​ nBˉ​ N

From this table, you can compute three different types of probabilities.

  • Joint probability measures the chance that both events occur together. Use one cell count divided by the grand total:

    P(A∩B)=NnAB​​.

  • Marginal probability measures the chance of a single event, ignoring the other variable. Use a row or column total divided by the grand total:

    P(A)=NnA​​,P(B)=NnB​​.

  • Conditional probability measures the chance of one event given that another event has occurred. Here, the “total possible outcomes” becomes the relevant row or column total:

    P(A∣B)=nB​nAB​​.

The main difference is what you treat as the sample space:

  • Joint probabilities use the entire table.
  • Marginal probabilities use the entire table but focus on one variable.
  • Conditional probabilities restrict attention to outcomes that satisfy the condition.

Example: Joint, marginal, and conditional probabilities A café records how customers pay (Cash, Card, or Mobile) across three days.

Day Cash Card Mobile
Monday 25 15 10
Tuesday 20 25 5
Wednesday 15 30 15

Sometimes a problem won’t provide totals. In that case, compute the row totals, column totals, and the grand total before finding probabilities.

First, compute the totals for each row, each column, and the grand total. The row totals and column totals both add to 160, so the table is consistent.

Day Cash Card Mobile Total
Monday 25 15 10 50
Tuesday 20 25 5 50
Wednesday 15 30 15 60
Total 60 70 30 160

The marginal probability of paying by card uses the column total for Card divided by the grand total:

P(Card)=16070​=0.4375

The joint probability of a customer paying in cash on Tuesday uses the Tuesday-Cash cell divided by the grand total:

P(Tuesday and Cash)=16020​=0.125

The conditional probability of paying with mobile given it is Wednesday restricts the sample space to the Wednesday row:

P(Mobile∣Wednesday)=6015​=0.25

Interpretation: About 43.75% of all customers pay by card overall (marginal).

The chance of randomly selecting a Tuesday cash transaction is 12.5% (joint).

If it is known to be Wednesday, there is a 25% chance the customer paid using mobile (conditional).

Answer: P(Card)=0.4375,P(Tuesday and Cash)=0.125,P(Mobile∣Wednesday)=0.25

After you can compute probabilities from sample spaces and tables, the next step is combining events. Here, it matters whether events can overlap and whether one event changes the probability of the other.

Unions and intersections of events

When you combine events, two common questions come up:

  • Are you finding the probability that at least one of two events occurs (a union)?
  • Or are you finding the probability that both events occur (an intersection)?

The correct rule depends on whether the events can occur together and whether they affect each other.

  • Union, mutually exclusive If two events cannot occur at the same time, there is no overlap. The probability that at least one occurs is the sum of their probabilities:

    P(A∪B)=P(A)+P(B).

  • Union, non-mutually exclusive If two events can occur together, adding P(A) and P(B) counts the overlap twice. Subtract P(A∩B) once to correct for that:

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

  • Intersection, independent If two events are independent, the occurrence of one does not change the probability of the other. Multiply their probabilities to get the probability both occur:

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

Example: Mutually exclusive union Two fair dice are rolled once. Let A = “sum is 2,” and B = “sum is 12.” What is P(A∪B)?

These two sums cannot occur at the same time, so the events are mutually exclusive.

>P(A)=361​,P(B)=361​

>P(A∪B)=361​+361​=362​=181​

Answer: 181​

Example: Non-mutually exclusive union You draw one card from a standard 52-card deck. Let A = “heart” and B = “king.” What is P(A∪B)?

These events are not mutually exclusive because the king of hearts is both a heart and a king.

  • P(A)=5213​
  • P(B)=524​
  • P(A∩B)=521​

>P(A∪B)=5213​+524​−521​=5216​=134​

Answer: 134​

With and without replacement

When you draw multiple items from a finite set, decide whether the first draw changes the second. That depends on whether you put the item back.

  • With replacement means the item is returned before the next draw. The sample space stays the same, so the probabilities stay the same.

  • Without replacement means the item is not returned. The sample space shrinks, so the probabilities change after each draw.

Example: Without replacement A box contains 3 red and 2 blue balls (5 total). You draw two balls without replacement. What is the probability both are red?

On the first draw, there are 3 red balls out of 5 total:

>P(red1​)=53​.

After drawing a red ball and not replacing it, there are 2 red balls left out of 4 total:

>P(red2​∣red1​)=42​=21​.

Because both events must occur, multiply the probabilities:

>P(both red)=53​×21​=103​=0.3.

Answer: 0.3

Independent intersections

Sometimes one event has no effect on another. When events are independent, the probability that both occur is the product of their individual probabilities.

Example: Two-flip intersection What is the probability of flipping two heads in a row with a fair coin?

Each flip is independent, and the probability of heads on any single flip is 21​. Therefore,

>P(head then head)=21​×21​=41​=0.25.

Answer: 0.25

Example: Pair of cards Draw two cards without replacement. What is P(both face cards)?

There are 12 face cards in a 52-card deck. On the first draw,

>P(face1​)=5212​.

After drawing a face card and not replacing it, there are 11 face cards left out of 51 total cards:

>P(face2​∣face1​)=5111​.

Multiply to find the joint probability:

>5212​×5111​=2652132​≈0.0498.

Answer: ≈0.0498

Key points
  • Understand the sample space: list or visualize all possible outcomes before identifying events

  • Identify the events clearly before computing probabilities

  • Use one-way tables: category count divided by grand total

  • Use two-way tables: joint cell divided by grand total for joint probability; row or column sum divided by grand total for marginal probability

  • Distinguish between joint, marginal, and conditional probabilities:

    • Joint - both events occur
    • Marginal - overall or total proportions
    • Conditional - restricted to a given condition or category
  • Combine events: mutually exclusive add; non-mutually exclusive add and subtract overlap; independent multiply

  • Handle replacement: with replacement probabilities stay constant; without replacement adjust the denominator after each draw

  • Verify results: probabilities lie between 0 and 1 and unions/intersections make sense in context