Mathematics · Stochastics

Binomial Distribution

The binomial distribution gives the probability of exactly k successes in n independent trials with success probability p.

AdvancedExam-relevant

Free · no credit card · in your study plan in 2 minutes

Formula

LaTeX: P(X = k) = \binom{n}{k} \cdot p^{k} \cdot (1-p)^{n-k}
Probabilities dimensionless, between 0 and 1
Bar chart of the binomial distribution for n equal 10 and p equal 0.5; the probabilities P(X=k) form a symmetric bell shape peaking at k equal 5.kP012345678910
Binomial distribution for n = 10 and p = 0.5: symmetric about the expected value μ = n·p = 5.

Variables & units – Binomial Distribution

SymbolMeaningUnit
nNumber of independent trialsdimensionless
kNumber of successes (0 ≤ k ≤ n)dimensionless
pSuccess probability per trialdimensionless
(n über k)Binomial coefficient, number of arrangements of the successesdimensionless

Derivation & background – Binomial Distribution

Jacob Bernoulli studied chains of identical yes/no trials in the Ars conjectandi (1713). Requirements: fixed number of trials n, only two outcomes, constant p, independent trials (Bernoulli chain). Key values: E(X) = n·p and σ = √(n·p·(1−p)). For large n the binomial distribution approaches the normal distribution (Laplace condition σ > 3).

Exam blueprint

Validity range

Applies to Bernoulli chains: a fixed number n of independent trials with exactly two outcomes and constant p. Only approximately valid when drawing without replacement.

Derivation steps

Path rule for one success path times the number of possible paths.

  1. 1One fixed path with k successes and n − k failures has probability pᵏ·(1−p)ⁿ⁻ᵏ.
  2. 2There are (n choose k) such paths; adding them gives the formula.

Rearrangements

Expected value

Mean number of successes of a Bernoulli chain.

Standard deviation

Basis of the sigma rules and prediction intervals.

At least one success

Via the complement: not a single success.

Task variant

A marksman hits with p = 0.8. How likely are exactly 4 hits in 5 shots?

P(X = 4) = C(5,4)·0.8⁴·0.2¹ = 5·0.4096·0.2 = 0.4096, about 41%.

How likely is at least one six in 10 die rolls?

Complement: no six, P = (5/6)¹⁰ ≈ 0.1615. So P(X ≥ 1) = 1 − 0.1615 ≈ 0.838, about 84%.

Common mistakes

Dropping the binomial coefficient (n choose k).

pᵏ(1−p)ⁿ⁻ᵏ is only ONE path; the arrangements count too.

Computing "at least k" as P(X = k).

P(X ≥ k) = 1 − P(X ≤ k − 1) using the cumulative distribution.

Using the binomial distribution when drawing without replacement.

Then p changes from draw to draw; correct is the hypergeometric distribution, approximately binomial for large populations.

Swapping p and 1 − p.

p belongs to the exponent k of the successes.

Exam context

  • Exam classic: success counts, "at least/at most" questions and prediction intervals.

These mistakes cost points in real exams. The set drills them until they stick.

Formula cluster

Core stochastics

Binomial distribution, expected value and standard deviation form the exam triangle of stochastics.

Worked example

10 coin tosses (n = 10, p = 0.5), exactly 3 heads: P(X = 3) = C(10,3)·0.5³·0.5⁷ = 120·0.5¹⁰ = 120/1024 ≈ 0.117, about 11.7%.

Applications

Quality control (defect rates), success-count exam problems, multiple-choice guessing, sampling models, hypothesis tests

Quanta exam set

Curated exam set for "Binomial Distribution":

Question (front)

Which formula describes Binomial Distribution?

Answer in your set

Question (front)

How do you rearrange P(X=k) = (n über k)·pᵏ·(1−p)ⁿ⁻ᵏ for Expected value?

Answer in your set

Question (front)

Which common mistake happens with Binomial Distribution?

Answer in your set

+ 7 more cards: units, variables, derivation, example, exam task

These 10 cards are ready. One click and they sit in your deck, FSRS schedules the reviews until exam day.

Scientific sources

Common notations & search queries

P(X=k)=(n über k)*p^k*(1-p)^(n-k)Binomialverteilung FormelBernoulli FormelBernoulli-Kettebinomialverteiltkumulierte Binomialverteilungbinomial distribution formulan über k

Related formulas

More Mathematics formulas

Frequently asked questions about Binomial Distribution

When is a random variable binomially distributed?+

The experiment must be a Bernoulli chain, meaning four conditions hold: there is a fixed number n of trials; each trial has exactly two outcomes (success/failure); the success probability p is the same in every trial; the trials are independent. The random variable X then counts the successes. Classic examples: coin tosses, rolling a die for a specific number, guessing on multiple choice. Drawing without replacement, such as lots from an urn, is critical: there p changes from draw to draw, and the hypergeometric distribution is exactly responsible. But if the population is very large compared to the sample, p barely changes and the binomial distribution is a good approximation; this is exactly how many exam tasks argue.

How do I compute P(X = k) concretely?+

Insert n, k and p into P(X = k) = (n choose k)·pᵏ·(1−p)ⁿ⁻ᵏ. The binomial coefficient (n choose k) counts in how many ways the k successes can be distributed over the n positions; pᵏ·(1−p)ⁿ⁻ᵏ is the probability of one such path. Example: 10 coin tosses, exactly 3 heads: (10 choose 3) = 120, so P(X = 3) = 120·0.5³·0.5⁷ = 120·0.5¹⁰ = 120/1024 ≈ 0.117. On a calculator the function binompdf(n, p, k) or BinomialPD does this. Make sure to assign p and k correctly: p belongs to the exponent of the successes, 1 − p to the failures, and both exponents must add up to n.

How do I handle "at least" and "at most" tasks?+

First translate the words into inequalities. "At most k successes" means P(X ≤ k), which the cumulative distribution function (binomcdf) gives directly. "At least k successes" means P(X ≥ k) = 1 − P(X ≤ k − 1); the detour via the complement is needed because tables and calculators only know "≤". Careful at the edges: "more than k" means P(X ≥ k + 1), "fewer than k" means P(X ≤ k − 1). The most popular special case is "at least one success": P(X ≥ 1) = 1 − P(X = 0) = 1 − (1−p)ⁿ. Example: at least one six in 10 die rolls: 1 − (5/6)¹⁰ ≈ 1 − 0.162 = 0.838. Writing the inequality down before computing prevents the frequent off-by-one errors.

What are the expected value and standard deviation of the binomial distribution?+

For a binomially distributed random variable the short formulas E(X) = μ = n·p and σ = √(n·p·(1−p)) hold. Example: n = 100 tosses of a fair coin give μ = 50 and σ = √(100·0.5·0.5) = 5. The expected value is the long-run average number of successes, the standard deviation measures the typical deviation from it. Together they carry the sigma rules: about 68% of outcomes lie in [μ − σ; μ + σ], about 95% in [μ − 2σ; μ + 2σ], provided the Laplace condition σ > 3 is met. In the example this means: with about 95% probability between 40 and 60 heads occur. Such prediction intervals are a standard component of final exams.

What is the difference between the binomial and the normal distribution?+

The binomial distribution is discrete: it assigns individual probabilities to the integer success counts k = 0, 1, ..., n and fits counting experiments. The normal distribution is continuous: it describes quantities like measurements via a density function, and probabilities are areas under the bell curve. The bridge: for large n the histogram of the binomial distribution itself looks like a bell curve, and it may be approximated by a normal distribution with the same μ = np and σ = √(np(1−p)); as a rule of thumb one requires σ > 3 (Laplace condition). This approximation underlies the sigma rules of stochastics. So in the exam you count discretely with the binomial distribution and use normal-distribution logic for interval statements.

Retain Binomial Distribution for exams

Create a curated FSRS exam set for P(X=k) = (n über k)·pᵏ·(1−p)ⁿ⁻ᵏ: formula recall, variables, derivation, rearrangement, worked example, common mistakes and exam context.

Free · curated formula set · LaTeX · FSRS spaced repetition

How do you calculate with Binomial Distribution?

Here is how to work through a typical Binomial Distribution (P(X=k) = (n über k)·pᵏ·(1−p)ⁿ⁻ᵏ) task step by step:

  1. 1

    Task

    A marksman hits with p = 0.8. How likely are exactly 4 hits in 5 shots?

    Solution path

    P(X = 4) = C(5,4)·0.8⁴·0.2¹ = 5·0.4096·0.2 = 0.4096, about 41%.

  2. 2

    Task

    How likely is at least one six in 10 die rolls?

    Solution path

    Complement: no six, P = (5/6)¹⁰ ≈ 0.1615. So P(X ≥ 1) = 1 − 0.1615 ≈ 0.838, about 84%.