Skip to main content

Binomial Random Variable in AP Statistics

In AP Statistics, a binomial random variable X is a discrete random variable that counts the number of successes in a fixed number n of independent trials. Each trial has only two outcomes (success or failure) and the same probability of success p.

This definition is part of Fiveable's AP Statistics review, which also has guided practice questions.

Verified for the 2027 AP Statistics exam•Last updated October 2026•Fiveable Content Team

What is Binomial Random Variable?

A binomial random variable is a counter. You run the same chance process a fixed number of times, and X tells you how many times you got a "success." Each single run is a Bernoulli trial, which has exactly two outcomes, success or failure. So a binomial random variable is basically a stack of Bernoulli trials with a tally at the end. Because X can only be whole numbers from 0 to n, it's a discrete random variable.

To call X binomial, the setting has to pass four checks. The usual memory trick is BINS:

  • Binary: each trial is a success or a failure.
  • Independent: one trial's outcome doesn't change another's.
  • Number: the number of trials, n, is fixed in advance.
  • Same probability: the success probability p is the same on every trial.

Once those hold, X is described completely by two parameters, n and p, written X ~ Bin(n, p). The probability of exactly k successes is P(X = k) = C(n, k)·p^k·(1 − p)^(n − k). The mean is μ = np and the standard deviation is σ = √(np(1 − p)).

Why Binomial Random Variable matters in AP® Statistics

This term lives in Topic 2.10, The Binomial Distribution, which is where AP Stats turns general probability rules into a reusable model. The binomial random variable is the thing being counted. The binomial distribution is the list of probabilities for every possible count. If you can spot when a situation is binomial, you get the formula, the mean, and the standard deviation without building a probability table from scratch. That skill comes back throughout the course. Counting successes in a sample is the same idea that later supports reasoning about sample proportions, so getting comfortable with n, p, np, and √(np(1 − p)) here pays off well beyond this one topic.

Keep studying AP® Statistics Unit 4

How Binomial Random Variable connects across the course

Bernoulli Trial (Topic 2.10)

A Bernoulli trial is one coin flip. A binomial random variable is what you get when you flip that coin n times and count the heads. Every binomial setting is just repeated Bernoulli trials with the same p.

Binomial Distribution (Topic 2.10)

The random variable X is the count. The binomial distribution is the full set of probabilities for X = 0, 1, 2, ..., n. Think of X as the question ("how many successes?") and the distribution as every possible answer with its probability attached.

Simulation and Relative Frequency (Probability & Random Variables)

You can estimate a binomial distribution by simulating it many times and tracking how often each count shows up. If 500 simulated runs of Bin(15, 0.4) give P(X = 6) ≈ 0.22, that's an estimate of the true probability. More repetitions push it closer to the theoretical value.

Linear Transformations of Random Variables (Probability & Random Variables)

If Y = a + bX, the mean shifts and scales but the standard deviation only scales. For X ~ Bin(20, 0.4), Y = 2X − 10 has mean 2(8) − 10 = 6 and standard deviation 2·√4.8. Notice that Y isn't a count of successes anymore, so Y itself isn't binomial.

Is Binomial Random Variable on the AP® Statistics exam?

Expect this term in multiple-choice questions and in probability parts of free-response questions. No released FRQ has used the phrase verbatim, but binomial settings are a standard way the exam tests probability. Here's what you'll be asked to do:

  • Justify that a setting is binomial. Check BINS in context. When sampling without replacement, note that the sample is less than 10% of the population so independence is reasonable.
  • Name the parameters. Write X ~ Bin(n, p) and define X in words ("X = the number of ...").
  • Calculate probabilities. Find P(X = k), or cumulative ones like P(X ≥ 3), using the formula or a calculator. "At least" and "at most" wording is where points get lost.
  • Find and interpret the mean and SD. Use μ = np and σ = √(np(1 − p)), then interpret in context ("on average, about ___ successes").
  • Design or read simulations. Questions show a random number setup like "values ≤ 0.7 are successes" for Bin(15, 0.7) and ask what's wrong or what a result means. They also give simulated counts, such as 800 repetitions of Bin(20, 0.25), and ask you to estimate a probability from relative frequencies.
  • Transform X. Stems like Y = 2X − 10 test whether you know how means and standard deviations change under linear transformations.

Binomial Random Variable vs Geometric Random Variable

Both use independent trials with the same success probability p, but they count different things. A binomial random variable fixes the number of trials (n) and counts the successes. A geometric random variable has no fixed n. It counts the trials until the first success. Quick test: if the problem tells you how many trials happen, it's binomial. If it asks how long until something happens, it's geometric.

Key things to remember about Binomial Random Variable

  • A binomial random variable counts the number of successes in a fixed number of independent trials that all have the same probability of success.

  • Use BINS to check the conditions: binary outcomes, independent trials, a fixed number of trials, and the same success probability each time.

  • A binomial random variable is fully described by its two parameters, n and p, and is written X ~ Bin(n, p).

  • The mean of a binomial random variable is np and its standard deviation is the square root of np(1 − p).

  • When sampling without replacement, the 10% condition lets you treat the trials as roughly independent.

  • Simulated results only estimate binomial probabilities, and the estimates get closer to the true values as the number of repetitions grows.

Frequently asked questions about Binomial Random Variable

What is a binomial random variable in AP Stats?

It's a discrete random variable that counts successes in n independent trials, each with the same success probability p. For example, X = the number of made free throws in 10 shots by a 70% shooter is Bin(10, 0.7).

Is every situation with two outcomes binomial?

No. Two outcomes only covers the B in BINS. You also need independent trials, a fixed number of trials, and the same p every time. Drawing cards without replacement from a small deck, for instance, breaks independence.

How is a binomial random variable different from a geometric random variable?

A binomial random variable fixes the number of trials and counts successes. A geometric random variable counts how many trials it takes to get the first success. "How many of the 20 are defective?" is binomial, and "how many until the first defective?" is geometric.

What is the mean and standard deviation of a binomial random variable?

The mean is μ = np and the standard deviation is σ = √(np(1 − p)). For X ~ Bin(20, 0.4), that gives a mean of 8 successes and a standard deviation of √4.8, or about 2.19.

If Y = 2X − 10 and X is binomial, is Y binomial too?

No. Y is a linear transformation of X, not a count of successes, so it isn't binomial. You can still find its mean and SD. For X ~ Bin(20, 0.4), Y has mean 2(8) − 10 = 6 and standard deviation 2√4.8, or about 4.38.