Binomial Distribution
How do independent Bernoulli trials combine to form the full combinatorial probability landscape of the Binomial distribution?
How this lesson unfolds.
Begin with How does varying the number of successes x from 0 to n trace out the complete probability distribution for fixed n and p? The sequence then connects Parameter Identification: Extracting n, p, and x from Reality and builds toward Applied Mastery: Calculating E-Commerce Website Purchases.
How does varying the number of successes x from 0 to n trace out the complete probability distribution for fixed n and p?
Instead of asking about a single outcome, we sweep through every possibility from total failure (x=0) to total success (x=n), revealing the entire probability landscape.
- $$P(X=x) = \binom{n}{x} p^x (1-p)^{n-x}, \quad x \in \{0, 1, \dots, n\}$$
- Learning goalConstruct and interpret probability distribution tables and histograms for Binomial random variables.
- Helpful foundationsBernoulli distribution · Combinations formula · Discrete distributions · Foundations of the Theory of Probability (Andrey Kolmogorov, 1933) · An Essay towards solving a Problem in the Doctrine of Chances (Thomas Bayes, 1763)
- Common trapThe most probable outcome does not have probability 1; mass spreads across outcomes.
- Next connectionIdentify parameters n, p, and x in practical problem descriptions.
More context & mechanics
For a fixed number of trials n and success probability p, the random variable X ~ Binomial(n, p) can take any integer value in 0, 1, ..., n. Evaluating P(X=x) = C(n, x) p^x (1-p)^(n-x) for each x constructs the full discrete spectrum. In an experiment with n=12 subjects and p=0.70 survival probability, the probability of 0 survivors is infinitesimal (0.0000005), while the peak clusters around the expected value np = 12(0.70) = 8.4.
In pharmaceutical clinical trials (such as FDA Phase II drug safety evaluations), biostatisticians plot the full binomial curve to compute confidence bounds and determine whether 8 or more surviving subjects in a cohort of 12 demonstrates statistically significant drug efficacy.
The Binomial theorem itself dates back to Persian mathematician Al-Karaji (10th century) and Blaise Pascal (1653). Jacob Bernoulli united the combinatorial expansion with probability theory, proving that the sum of the probabilities ∑_(x=0)^n C(n, x) p^x (1-p)^(n-x) = (p + (1-p))^n = 1^n = 1.
Think of the 'Probability Mountain': The probabilities rise from x=0, reach a summit at x ≈ np, and descend down to x=n.
How do you translate a real-world word problem into the canonical parameters n, p, and x of the Binomial distribution?
Think of n as the budget of attempts, p as the difficulty rating of each attempt, and x as your exact target score.
- $$n \in \mathbb{N}^+, \quad p \in [0, 1], \quad x \in \{0, 1, \dots, n\}, \quad q = 1 - p$$
- Learning goalDeconstruct real-world experimental scenarios into exact Binomial parameters (n, p, x, q).
- Helpful foundationsBasic probability · Problem statement interpretation · Foundations of the Theory of Probability (Andrey Kolmogorov, 1933) · An Essay towards solving a Problem in the Doctrine of Chances (Thomas Bayes, 1763)
- Common trapKeep x (observed successes) distinct from n (total trials); trial probability p must remain constant.
- Next connectionDerive why Binomial expectation equals np using indicator variables.
More context & mechanics
Before calculating, one must rigorously map narrative text to mathematical symbols. In a medical study where a treatment is administered to 12 animals, n = 12 is the fixed number of independent trials. If each animal has an independent 70% chance of survival, p = 0.70 (and failure probability q = 1 - p = 0.30). If the researcher asks for the probability that exactly 8 animals survive, x = 8 is the evaluated value of the random variable.
In aerospace engineering, rocket redundancy requires identifying n redundant thrusters, p reliability per thruster, and x minimum operational thrusters needed to avoid catastrophic mission failure. In software testing, n automated test suites with flake rate p are analyzed to predict the probability of x flaky false alarms.
Abraham de Moivre (1667–1754), a French Huguenot refugee in London, pioneered parameterization of binomial problems while consulting for high-stakes gamblers and insurance underwriters at Slaughter's Coffee House, later discovering the normal approximation to the binomial in 1733.
The 'Triad Checklist': n = 'How many attempts?', p = 'Chance per attempt?', x = 'Target successes?'. Verify 0 ≤ x ≤ n and 0 ≤ p ≤ 1.
Why is the expected value of a Binomial distribution simply np, and why does this hold even without complex combinatorial summations?
If each coin flip gives you an average of 0.5 heads, ten coin flips give you 10 times 0.5 = 5 heads. Averages simply accumulate across trials.
- $$E[X] = \sum_{i=1}^n E[X_i] = np$$
- $$By the Linearity of Expectation, the mean of the sum is the sum of the means: E[X] = E[\sum X_i] = \sum E[X_i] = n \times p = np.$$
- Learning goalProve that E[X] = np using the linearity of expectation over indicator Bernoulli variables.
- Helpful foundationsLinearity of expectation · Bernoulli expected value · Summation notation · Foundations of the Theory of Probability (Andrey Kolmogorov, 1933) · An Essay towards solving a Problem in the Doctrine of Chances (Thomas Bayes, 1763)
- Common trapLinearity of expectation holds unconditionally, never requiring independence between component trials.
- Next connectionDerive formula exponents from the multiplication rule for independent events.
More context & mechanics
Computing E[X] directly from the definition requires evaluating ∑_(x=0)^n x C(n, x) p^x (1-p)^(n-x), which requires algebraic differentiation of binomial series. However, recognizing that X = X₁ + X₂ + ... + Xₙ where each Xᵢ ~ Bernoulli(p) allows us to invoke Linearity of Expectation: E[X] = E[∑_(i=1)^n Xᵢ] = ∑_(i=1)^n E[Xᵢ]. Since each Bernoulli trial has mean E[Xᵢ] = p, adding n of them yields exactly np. No tedious algebra required!
In customer success operations, if a SaaS company sends 10,000 marketing emails with an open probability p = 0.04, the expected number of opens is immediately np = 10,000(0.04) = 400. In semiconductor fabrication, inspecting 500 microchips on a wafer with defect probability 0.02 yields an expected defect count of 10 chips.
The concept of expected value originated with Dutch scientist Christiaan Huygens in his 1657 treatise De Ratiociniis in Ludo Aleae ('On Reasoning in Games of Chance'). Huygens formulated expectation as the fair price of a gamble, which naturally scales proportionally with the number of games played.
Mnemonic: 'n times p, easy as can be'. Total expected successes = Total opportunities (n) × Probability per opportunity (p).
Why do exponents p^x and (1-p)^(n-x) appear in the binomial formula?
Multiplying a number by itself x times creates an exponent: p × p × ... × p = p^x. Exponents are just shorthand for repeated independent events.
- $$P(\text{Sequence}) = p^x (1-p)^{n-x}$$
- Learning goalExplain exponential terms in probability using the multiplication rule for independent events.
- Helpful foundationsMultiplication rule of probability · Statistical independence · Rules of exponents
- Common trapThe term p^x(1-p)^(n-x) gives the probability of a single sequence, not all sequences.
- Next connectionMultiply sequence probability by total sequence arrangements to complete the PMF.
More context & mechanics
By definition of statistical independence, P(A ∩ B) = P(A)P(B). Consider one specific sequence of n trials containing x successes (S) and (n-x) failures (F), such as SSFS...F. The probability of this exact sequence is: P(S₁) × P(S₂) × P(F₃) × P(S₄) ṡ = p × p × (1-p) × p ṡ By commutative multiplication, all x factors of p group together into p^x, and all (n-x) factors of (1-p) group together into (1-p)^(n-x). Thus, every single valid sequence with x successes has identical probability p^x (1-p)^(n-x).
In computer networking, if a router transmits 5 consecutive packets over a link with 99% success rate (p=0.99), the probability that all 5 arrive intact is 0.99⁵ ≈ 0.951. If one fails, the probability of that specific order (e.g. SSSSF) is 0.99⁴ × 0.01¹.
René Descartes revolutionized mathematics in 1637 by introducing modern superscript exponential notation (x², x³). Probability theorists quickly adopted it to represent the rapid decay of joint probabilities in long runs of dice rolls.
Rule of Exponents: 'Successes get power x, Failures get power n - x'. The exponents must always sum to the total number of trials: x + (n - x) = n.
How does the seemingly complex Binomial formula break down into three intuitive, modular building blocks?
Do not memorize a monolithic equation. See it as three team members: the Organizer who counts paths C(n, x), the Winner who pays p^x, and the Loser who pays (1-p)^(n-x).
- $$P(X=x) = \binom{n}{x} p^x (1-p)^{n-x}$$
- Learning goalDecompose the Binomial PMF into arrangements, success probabilities, and failure probabilities.
- Helpful foundationsCombinations · Multiplication rule · Disjoint event addition
- Common trapOmitting C(n, x) calculates only one sequence instead of summing all orderings.
- Next connectionAdd independent trial variances to derive total variance np(1-p).
More context & mechanics
The Binomial formula P(X=x) = C(n, x) p^x (1-p)^(n-x) is built from three modular components:
- C(n, x) (Combinatorics): Counts the number of distinct arrangements/orderings in which x successes can occur across n trials.
- p^x (Success Probability): Multiplies the probability of each of the x required successes.
- (1-p)^(n-x) (Failure Probability): Multiplies the probability of the remaining (n-x) required failures.
Because all C(n, x) sequences are mutually exclusive, the total probability is the sum of their individual probabilities, which equals C(n, x) × p^x (1-p)^(n-x).
In reliability engineering for cloud server clusters, if 3 out of 5 server nodes must be active for a quorum consensus (e.g. Raft or Paxos algorithm), we count the C(5, 3) = 10 ways the 3 active servers can be selected, multiplied by p³ (1-p)².
Blaise Pascal published his Traité du triangle arithmétique in 1655, laying out the combinations triangle that provides the first factor C(n, x). Isaac Newton expanded it in 1665 to arbitrary exponents, and Bernoulli unified it with probability.
Mnemonic: 'Choose, Win, Lose'. C(n, x) = Choose where; p^x = Win x times; (1-p)^(n-x) = Lose the rest.
Why does the variance of n independent Bernoulli trials sum directly to np(1-p)?
Independent random shocks don't cancel each other out; their uncertainties accumulate. Each trial contributes p(1-p) of uncertainty to the total system.
- $$\text{Var}(X) = \sum_{i=1}^n \text{Var}(X_i) = np(1-p)$$
- $$Because the trials are mutually independent, all covariance terms vanish, allowing the variance of the sum to equal the sum of the variances: Var(X) = \sum Var(X_i) = np(1-p).$$
- Learning goalDerive Binomial variance and standard deviation using independence and additive variance.
- Helpful foundationsBernoulli variance · Covariance and independence · Properties of variance
- Common trapVariances add for independent variables, but standard deviations do not add directly.
- Next connectionSynthesize mean, variance, and shape into a unified Binomial mental model.
More context & mechanics
For any collection of random variables, Var(∑ Xᵢ) = ∑ Var(Xᵢ) + 2 ∑_(i < j) Cov(Xᵢ, Xⱼ). When trials are independent, the covariance between any two distinct trials Xᵢ and Xⱼ is strictly zero. Therefore, the variance of the sum is simply the sum of individual variances. For each Bernoulli trial, Var(Xᵢ) = p(1-p). Summing over n identical trials gives Var(X) = ∑_(i=1)^n p(1-p) = np(1-p). The standard deviation is SD(X) = √(np(1-p)), scaling with √(n).
In algorithmic trading and quantitative finance, portfolio risk from n independent binary asset defaults scales with √(n), allowing diversification to reduce relative volatility (SD/Mean = √(np(1-p)) / np ∝ 1/√(n)). In quality control (Six Sigma), control charts use 3σ limits where σ = √(np(1-p)) to detect manufacturing drift.
Siméon Denis Poisson and Carl Friedrich Gauss in the early 19th century formalized the additive property of variances for independent errors, which led to Gauss's proof of the Gauss-Markov theorem and the foundation of least squares estimation.
Formula Hook: 'Variance of one is p(1-p); variance of n is n times that'. Maximum uncertainty occurs at fair odds p = 0.5, where p(1-p) = 0.25.
What qualitative insights about center, spread, and symmetry can we instantly read from the parameters n and p?
Parameters aren't just formula inputs—they are geometric knobs: n stretches the axis, p slides the center left or right, and p=0.5 produces perfect bilateral symmetry.
- $$\mu = np, \quad \sigma = \sqrt{np(1-p)}, \quad \text{Skewness} = \frac{1-2p}{\sqrt{np(1-p)}}$$
- $$The Binomial distribution is centered at mean \mu = np, has spread \sigma = \sqrt{np(1-p)}, and becomes symmetric and bell-shaped when np \ge 10 and n(1-p) \ge 10.$$
- Learning goalEvaluate Binomial center, spread, shape, and conditions for normal approximation.
- Helpful foundationsBinomial mean and variance · Skewness basics · Normal approximation
- Common trapBinomial distributions are symmetric only when p = 0.5 or when n is large.
- Next connectionContrast the scope of Bernoulli (one trial) with Binomial (many trials) side-by-side.
More context & mechanics
A distribution is fully understood through its three geometric features:
- Center: The expected value μ = np marks the balance point and the mode (most probable count, differing by at most 1).
- Spread: σ = √(np(1-p)) dictates how widely outcomes disperse around μ. Spread is maximized when p = 0.5 and contracts to zero as p approaches 0 or 1.
- Shape: When p = 0.5, the distribution is perfectly symmetric (skewness = 0). When p < 0.5, it is right-skewed; when p > 0.5, it is left-skewed. By the de Moivre-Laplace Central Limit Theorem, as n grows large, the discrete binomial distribution converges smoothly to a continuous Gaussian curve N(np, np(1-p)).
In polling and election forecasting, a sample of n=1000 voters with p=0.50 has margin of error ≈ 2σ / n = 2√(1000(0.25)) / 1000 ≈ 3.16%, which is the ubiquitous 'plus or minus 3%' cited on news broadcasts.
Abraham de Moivre published the first normal curve approximation to the binomial in The Doctrine of Chances (1738) to save gamblers from calculating thousands of binomial terms by hand.
The CSS Rule: Center = np, Spread = √(np(1-p)), Shape = Bell-curve if np, n(1-p) ≥ 10.
How does the fundamental question change when transitioning from a single Bernoulli trial to the Binomial distribution?
Bernoulli is a binary switch; Binomial is a digital counter that tallies how many switches were flipped to ON.
- $$X = \sum_{i=1}^n B_i, \quad B_i \stackrel{\text{iid}}{\sim} \text{Bernoulli}(p) \implies X \sim \text{Binomial}(n, p)$$
- Learning goalDistinguish between individual-level Bernoulli indicators and cohort-level Binomial counting variables.
- Helpful foundationsBernoulli distribution · Discrete random variables
- Common trapConfusing Bernoulli support 0, 1 with Binomial support 0, 1, ṡ, n.
- Next connectionExamine how combinations C(n, x) count distinct arrangements.
More context & mechanics
The contrast between Bernoulli and Binomial is the fundamental distinction between an individual event and an aggregate population:
- Bernoulli(p): Support is 0, 1. Number of trials n = 1. Variance is p(1-p). It captures whether a specific event occurs.
- Binomial(n, p): Support is 0, 1, ..., n. Number of trials n > 1. Variance is np(1-p). It captures the frequency of event occurrence across a cohort.
Every Binomial problem is built from Bernoulli atoms, but the Binomial introduces combinatorics because order no longer matters—only the total count matters.
In healthcare epidemiology, whether Patient #42 contracts influenza is Bernoulli; how many citizens in a metropolitan county of 100,000 contract influenza is Binomial. Hospital capacity planning is driven by the Binomial tail probability P(X > capacity).
This conceptual leap was formalised by Jacob Bernoulli when trying to solve the problem of estimating unknown population proportions from empirical tallies, moving beyond games of dice to societal statistics.
Mental Hook: 'One vs. Many'. Bernoulli is 1 trial (values: 0 or 1). Binomial is n trials (values: 0 to n).
Why does the combination symbol C(n, x) appear in the binomial formula, and what physical arrangements does it count?
If you have 5 slots and 2 gold medals, there are 10 different ways to place the medals in the slots: (1,2), (1,3), ..., (4,5). C(5, 2) = 10.
- $$\binom{n}{x} = \frac{n!}{x!(n-x)!}$$
- Learning goalCompute combinatorial coefficients C(n, x) for distinct arrangements of successes in trials.
- Helpful foundationsFactorials · Permutations and combinations
- Common trapUse combinations rather than permutations; order among identical success trials does not matter.
- Next connectionSynthesize combinations with success and failure probabilities into the full PMF.
More context & mechanics
Suppose we run n = 5 trials and observe exactly x = 2 successes. The successes could occur on the first two trials (SSFFF), the first and third (SFSFF), or the last two (FFFSS). Each distinct sequence is an independent pathway to getting 2 total successes.
How many such pathways exist? We must choose x positions out of n without regard to order. The formula is: C(n, x) = (n!) / (x!(n-x)!). For n = 5 and x = 2, C(5, 2) = (5 × 4) / (2 × 1) = 10 distinct arrangements.
In cryptography and lottery design, C(n, x) determines the total keyspace or winning ticket combinations. In genomics, C(n, x) counts the number of ways x specific nucleotide mutations can be arranged across an n-base gene sequence.
Indian mathematician Pingala (c. 300 BCE) first described combinatorial coefficients in the Chandaḥśāstra. In Europe, Blaise Pascal popularized their properties in his celebrated 1654 correspondence with Pierre de Fermat, solving the Problem of Points.
Combinations Shortcut: C(n, x) = (n × (n-1) ṡ (x factors)) / (x × (x-1) ṡ 1). For example, C(5, 2) = (5 × 4) / (2 × 1) = 10.
How does breaking down a sequence of 7 trials reveal that the binomial formula is simply repeated Bernoulli logic?
Think of a tree diagram: every branch splits into 1 or 0 with probabilities p and 1-p. The binomial formula simply sums up all paths that arrive at the exact same final success count.
- $$P(X=x) = \binom{n}{x} p^x (1-p)^{n-x}$$
- Learning goalSynthesize Bernoulli tree branches into the Binomial PMF using mutually exclusive path addition.
- Helpful foundationsProbability tree diagrams · Axioms of probability · Bernoulli trials
- Common trapAll paths with x successes share the identical probability p^x(1-p)^(n-x).
- Next connectionAssemble the components into the formal Binomial probability formula.
More context & mechanics
Consider n = 7 trials. What is the probability of obtaining exactly x successes? Step 1: Any specific sequence of x successes and (7-x) failures has probability p^x (1-p)^(7-x) by Bernoulli independence. Step 2: There are C(7, x) distinct branches on the probability tree that terminate with exactly x successes. Step 3: Since these branches represent mutually exclusive events, probability axiom 3 mandates that we add their probabilities together. Adding C(7, x) identical probabilities yields C(7, x) p^x (1-p)^(7-x).
In telecommunications, when an optical fiber sends 7-bit packets with bit error rate p, error-correcting codes (such as Hamming codes) calculate the exact probability of 1-bit or 2-bit errors to ensure guaranteed data recovery.
The conceptual tree diagram of probability was first formalized by Dutch scientist Christiaan Huygens and later systematically drawn by Jacob Bernoulli to prove the equivalence of combinatorial path counting and algebraic expansion.
The Synthesis Slogan: 'Count the branches, multiply by branch probability'. Total = (Number of paths) × (Weight of each path).
How do the three independent actions—choosing positions, making them succeed, and making the rest fail—multiply into a unified law?
Step 1: Reserve the chairs (C(n, x)). Step 2: Fill them with successes (p^x). Step 3: Fill the remaining chairs with failures ((1-p)^(n-x)).
- $$P(X=x) = \binom{n}{x} p^x (1-p)^{n-x}, \quad x \in \{0, 1, \dots, n\}$$
- Learning goalExecute the complete step-by-step derivation of the Binomial PMF from first principles.
- Helpful foundationsBinomial components · Independence · Combinatorics
- Common trapThe failure term (1-p)^(n-x) is required to enforce exactly x successes, not at least x.
- Next connectionDecode the operational meaning of each symbol in the formula.
More context & mechanics
To construct the probability of exactly x successes in n trials from first principles:
- Phase 1: Combinatorial Selection: Choose which x of the n trial slots will contain successes. There are C(n, x) ways to select these slots.
- Phase 2: Success Enforcement: Each of the chosen x trials must independently result in success. By multiplication of independent probabilities, this occurs with probability p × p ṡ = p^x.
- Phase 3: Failure Enforcement: The remaining (n - x) trials must independently result in failure. This occurs with probability (1-p) × (1-p) ṡ = (1-p)^(n-x).
Multiplying these three terms completes the derivation.
In battery pack manufacturing for electric vehicles (Tesla, Rivian), an array of n=4680 cylindrical cells must maintain at most x defective cells. Engineers compute quality yields using this exact multi-phase formulation.
Jacob Bernoulli published this complete derivation in Ars Conjectandi (1713), establishing it as the first fully rigorous discrete distribution in the history of science.
Three-Stage Pipeline: 'Select the Slots, Fill with Success, Fill with Failure'. C(n, x) · p^x · (1-p)^(n-x).
What specific physical meaning is represented by each symbol P, X, x, n, p, and (1-p)?
Do not view mathematical formulas as intimidating hieroglyphics. Each symbol is a character in a drama about uncertainty and counting.
- $$P(X = x) \iff P(\{\omega : X(\omega) = x\})$$
- Learning goalRead, translate, and explain the mathematical notation of the Binomial PMF symbol by symbol.
- Helpful foundationsRandom variable notation · Functions in mathematics
- Common trapCapital X denotes the random variable; lowercase x denotes a specific realized value.
- Next connectionReview the unified single-page reference sheet of the Binomial distribution.
More context & mechanics
Let us dissect every glyph in P(X = x) = C(n, x) p^x (1-p)^(n-x):
- P: The probability function, mapping an event to a real number in [0, 1].
- X: Capital X is the random variable—the unperformed experiment's outcome counter.
- = x: Lowercase x is a specific integer constant (e.g. 3) we are testing.
- C(n, x): The combinatorial factor counting the number of distinct winning trajectories.
- p^x: The joint probability of accumulating x successes.
- (1-p)^(n-x): The joint probability of accumulating (n-x) failures.
In statistical programming (R, Python `scipy.stats.binom.pmf(k, n, p)`), the function arguments directly map to these symbols: `k` for x, `n` for n, and `p` for p.
The standard convention of using capital letters (X, Y) for random variables and lowercase letters (x, y) for their observed values was popularized by Jerzy Neyman in the 1930s.
Symbol Key: Big X is the question ('How many?'), Small x is the target ('Exactly 3!').
What are the universal boundary conditions, domains, and properties of the Binomial distribution in a single reference view?
This is your permanent reference card: everything you need to calculate probabilities, expectations, and bounds for any binomial phenomenon.
- $$E[X] = np, \quad \text{Var}(X) = np(1-p), \quad P(X=x) = \binom{n}{x} p^x (1-p)^{n-x}$$
- $$The Binomial distribution is governed by two parameters n \in \mathbb{N}^+ and p \in [0, 1], with support x \in {0, 1, ..., n}, mean np, and variance np(1-p).$$
- Learning goalSummarize the complete parameter space, support, PMF, moments, and mode of the Binomial distribution.
- Helpful foundationsBinomial PMF · Expected value · Variance
- Common trapEvaluating > n or < 0 is invalid; support is strictly bounded.
- Next connectionSolve a complete real-world e-commerce website conversion problem from start to finish.
More context & mechanics
Here is the complete mathematical specification of the Binomial distribution:
- Parameters: n ∈ 1, 2, 3, ṡ (number of trials), p ∈ [0, 1] (probability of success per trial).
- Support: x ∈ 0, 1, 2, ṡ, n.
- PMF: P(X=x) = C(n, x) p^x (1-p)^(n-x).
- CDF: F(x) = P(X ≤ x) = ∑_(k=0)^(⌊ x ⌋) C(n, k) p^k (1-p)^(n-k) = I_(1-p)(n-x, x+1) (regularized incomplete beta function).
- Mean: E[X] = np.
- Variance: Var(X) = np(1-p).
- Mode: ⌊ (n+1)p ⌋ (or both m and m-1 if (n+1)p is an integer).
Engineers and data scientists keep this profile memorized to instantly perform back-of-the-envelope calculations during system architecture reviews, capacity sizing, and A/B test power analysis.
This canonical table form was codified in 20th-century statistical handbooks, such as Abramowitz and Stegun's Handbook of Mathematical Functions (1964).
Master Profile: Trials n, Chance p, Mean np, Var np(1-p). Support stops at n.
If 10 visitors arrive at a website, each with a 20% purchase probability, what is the exact probability that exactly 3 make a purchase?
Break the problem into three simple arithmetic steps: calculate arrangements (120), winning probability (0.008), and losing probability (0.2097), then multiply.
- $$P(X=3) = \binom{10}{3} (0.20)^3 (0.80)^7 \approx 0.2013$$
- $$Identify n=10, p=0.20, x=3, compute combinations \binom{10}{3}=120, and multiply by 0.20^3 \times 0.80^7 to obtain approximately 0.2013 (20.13%).$$
- Learning goalApply the Binomial PMF to solve multi-step conversion problems with numerical precision.
- Helpful foundationsBinomial PMF formula · Combinations calculation · Powers and exponents
- Common trapMaintain full decimal precision during intermediate powers to prevent compound rounding error.
- Next connectionTransition to the Geometric distribution to model trials until first success.
More context & mechanics
Let us execute the calculation step by step:
- Identify parameters: n = 10 visitors, p = 0.20 (conversion rate), 1 - p = 0.80 (non-buyers), x = 3 target buyers.
- Calculate combinations: C(10, 3) = (10 × 9 × 8) / (3 × 2 × 1) = 120 distinct ways to select which 3 visitors buy.
- Calculate success power: p³ = 0.20³ = 0.008.
- Calculate failure power: (1-p)^(10-3) = 0.80⁷ ≈ 0.2097152.
- Multiply together: P(X = 3) = 120 × 0.008 × 0.2097152 = 0.201326592 ≈ 20.13%.
In digital marketing, conversion optimization teams use this exact calculation to evaluate whether observing 3 conversions out of 10 ad clicks is consistent with baseline performance or indicates a high-performing landing page variant.
This type of practical commercial probability problem was popularized by Thomas Bayes in his posthumous 1763 essay, laying the groundwork for inverse probability and Bayesian inference.
Calculation Flow: '120 ways × (0.2)³ × (0.8)⁷ ≈ 0.201'. Notice that the expected buyers is np = 10(0.2) = 2, so 3 buyers is slightly above the mean.