ArticleslgStudy

science

Binomial distribution

Binomial distribution is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Binomial distribution rather than just read about it. In short: In probability theory and statistics, the binomial distribution with parameters n and p is the discrete probability distribution of the number of successes in a sequence of n independent experiments, each asking a yes–no question, and each with its own Boolean-valued outcome: success (with probability p) or failure (with probability q = 1 − p). A single success/failure experiment is also called a Bernoulli trial or…

Binomial distribution — main illustration
Binomial distribution — illustration

Key takeaways

  • Binomial distribution belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Binomial distribution to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Binomial distribution from memory before moving on to harder problems.

Reference excerpt

In probability theory and statistics, the binomial distribution with parameters n and p is the discrete probability distribution of the number of successes in a sequence of n independent experiments, each asking a yes–no question, and each with its own Boolean-valued outcome: success (with probability p) or failure (with probability q = 1 − p). A single success/failure experiment is also called a Bernoulli trial or Bernoulli experiment, and a sequence of outcomes is called a Bernoulli process. For a single trial, that is, when n = 1, the binomial distribution is a Bernoulli distribution. The binomial distribution is the basis for the binomial test of statistical significance. The binomial distribution is frequently used to model the number of successes in a sample of size n drawn with replacement from a population of size N. If the sampling is carried out without replacement, the draws are not independent and so the resulting distribution is a hypergeometric distribution, not a binomial one. However, for N much larger than n, the binomial distribution remains a good approximation, and is widely used.

Definitions

Probability mass function If the random variable X follows the binomial distribution with parameters n∈ℕ (a natural number) and p ∈ [0, 1], we write X ~ B(n, p). The probability of getting exactly k successes in n independent Bernoulli trials (with the same rate p) is given by the probability mass function: f(k;n,p)=Pr⁡(X=k)=(nk)pk(1−p)n−k for k = 0, 1, 2, ..., n, where (nk)=n!k!(n−k)! is the binomial coefficient. The formula can be understood as follows: pk qn−k is the probability of obtaining the sequence of n independent Bernoulli trials in which k trials are "successes" and the remaining n − k trials are "failures". Since the trials are independent with probabilities remaining constant between them, any sequence of n trials with k successes (and n − k failures) has the same probability of being achieved (regardless of positions of successes within the sequence). There are (nk) such sequences, since the binomial coefficient (nk) counts the number of ways to choose the positions of the k successes among the n trials. The binomial distribution is concerned with the probability of obtaining any of these sequences, meaning the probability of obtaining one of them (pk qn−k) must be added (nk) times, hence ⁠Pr⁡(X=k)=(nk)pk(1−p)n−k⁠. In creating reference tables for binomial distribution probability, usually, the table is filled in up to ⁠n2⁠ values. This is because for ⁠k>n2⁠, the probability can be calculated by its complement as f(k;n,p)=f(n−k;n,1−p).

Example Suppose a biased coin comes up heads with probability 0.3 when tossed. The probability of seeing exactly 4 heads in 6 tosses is f(4;6,0.3)=(64)0.34(1−0.3)6−4=0.059535.

Cumulative distribution function The cumulative distribution function can be expressed as: F(k;n,p)=Pr⁡(X≤k)=∑i=0k(ni)pi(1−p)n−i for any integer k. It can also be represented in terms of the regularized incomplete beta function, as follows: F(k;n,p)=Pr⁡(X≤k)=I1−p(n−k,k+1)=(n−k)(nk)∫01−ptn−k−1(1−t)kdt, which is equivalent to the cumulative distribution functions of the beta distribution and of the F-distribution: F(k;n,p)=Fbeta-distribution(x=1−p;α=n−k,β=k+1) F(k;n,p)=FF-distribution(x=1−ppk+1n−k;d1=2(n−k),d2=2(k+1)). Some closed-form bounds for the cumulative distribution function are given below.

Properties

Expected value and variance If X ~ B(n, p), that is, X is a binomially distributed random variable, n being the total number of experiments and p the probability of each experiment yielding a successful result, then the expected value of X is: E⁡[X]=np. This follows from the linearity of the expected value along with the fact that X is the sum of n identical Bernoulli random variables, each with expected value p. In other words, if X1,…,Xn are identical (and independent) Bernoulli random variables with parameter p, then X = X1 + ... + Xn and E⁡[X]=E⁡[X1+⋯+Xn]=E⁡[X1]+⋯+E⁡[Xn]=p+⋯+p=np. The variance is: Var⁡(X)=npq=np(1−p). This similarly follows from the fact that the variance of a sum of independent random variables is the sum of the variances.

Higher moments The first 6 central moments, defined as μc=E⁡[(X−E⁡[X])c], are given by μ1=0,μ2=np(1−p),μ3=np(1−p)(1−2p),μ4=np(1−p)[1+(3n−6)p(1−p)],μ5=np(1−p)(1−2p)[1+(10n−12)p(1−p)],μ6=np(1−p)[1−30p(1−p)[1−4p(1−p)]+5np(1−p)[5−26p(1−p)]+15n2p2(1−p)2]. The non-central moments satisfy E⁡[X]=np,E⁡[X2]=np(1−p)+n2p2, and in general E⁡[Xc]=∑k=0c{ck}nk_pk, where {ck} are the Stirling numbers of the second kind, and nk_=n(n−1)⋯(n−k+1) is the k-th falling power of n. A simple bound follows by bounding the Binomial moments via the higher Poisson moments: E⁡[Xc]≤[cln⁡(1+cnp)]c≤(np)cexp⁡(c22np). This shows that if c=O(np), then E⁡[Xc] is at most a constant factor away from E⁡[X]c. The moment-generating function is MX(t)=𝔼[etX]=(1−p+pet)n.

Mode Usually the mode of a binomial B(n, p) distribution is equal to ⌊(n+1)p⌋, where ⌊⋅⌋ is the floor function. However, when (n + 1)p is an integer and p is neither 0 nor 1, then the distribution has two modes: (n + 1)p and (n + 1)p − 1. When p is equal to 0 or 1, the mode will be 0 and n correspondingly. These cases can be summarized as follows: mode={⌊(n+1)p⌋if (n+1)p is 0 or a noninteger,(n+1)p and (n+1)p−1if (n+1)p∈{1,…,n},nif (n+1)p=n+1. Proof: Let f(k)=(nk)pkqn−k. For p=0 only f(0) has a nonzero value with f(0)=1. For p=1 we find f(n)=1 and f(k)=0 for k≠n. This proves that the mode is 0 for p=0 and n for p=1. Let 0<p<1. We find f(k+1)f(k)=(n−k)p(k+1)(1−p). From this follows k>(n+1)p−1⇒f(k+1)<f(k)k=(n+1)p−1⇒f(k+1)=f(k)k<(n+1)p−1⇒f(k+1)>f(k) So when (n+1)p−1 is an integer, then (n+1)p−1 and (n+1)p is a mode. In the case that (n+1)p−1∉ℤ, then only ⌊(n+1)p−1⌋+1=⌊(n+1)p⌋ is a mode.

Median In general, there is no single formula to find the median for a binomial distribution, and it may even be non-unique. However, several special results have been established:

… excerpt ends here. Continue reading the full article.

Illustrations

Binomial distribution illustration
Binomial distribution illustration
Binomial distribution illustration
Binomial distribution: Binomial distribution for .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}}p = 0.5with n and k as in Pascal's triangleThe probability that a ball in a Galton box with 8 layers (n = 8) ends up in the central bin (k = 4) is 70/256.
Binomial distribution for .mw-parser-output .texhtml{font-family:"Nimbus Roman No9 L","Times New Roman",Times,serif;font-size:118%;line-height:1;font-variant-numeric:lining-nums tabular-nums;font-kerning:none}.mw-parser-output .texhtml .texhtml{font-size:100%}.mw-parser-output .texhtml-big{font-size:165%}.mw-parser-output .mvar{font-style:italic}@media(min-width:420px){.mw-parser-output .texhtml{white-space:nowrap}}p = 0.5with n and k as in Pascal's triangleThe probability that a ball in a Galton box with 8 layers (n = 8) ends up in the central bin (k = 4) is 70/256.
Binomial distribution: Binomial probability mass function and normal probability density function approximation for n = 6 and p = 0.5
Binomial probability mass function and normal probability density function approximation for n = 6 and p = 0.5

Worked examples

Example 1 — a first encounter with Binomial distribution

Start with the simplest possible case. Write down what Binomial distribution claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Binomial distribution before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Binomial distribution ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Binomial distribution

In research
Binomial distribution appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Binomial distribution in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Binomial distribution is common in secondary-school and first-year university syllabi. It links to neighbouring topics Conjugate prior distributions, Discrete distributions, Exponential family distributions, so understanding it makes those chapters shorter.
In everyday life
Look for Binomial distribution outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Binomial distribution” →

How to study Binomial distribution in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Binomial distribution means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Binomial distribution out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Binomial distribution in simple terms?

In probability theory and statistics, the binomial distribution with parameters n and p is the discrete probability distribution of the number of successes in a sequence of n independent experiments, each asking a yes–no question, and each with its own Boolean-valued outcome: success (with probabil…

Why does Binomial distribution matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Binomial distribution?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Binomial distribution.

Tags

  • Conjugate prior distributions
  • Discrete distributions
  • Exponential family distributions
  • Factorial and binomial topics

Keep exploring