Euler Hall — free maths guides

Evaluate a binomial probability

A plain-language explanation of binomial probability. The idea in plain words, a worked example, and a check with the answers shown — part of the free Statistics guides.

Two shapes of question, two routes

Two binomial questions look alike and are computed differently:

Exactlykk. One term,(nk)pk(1−p)n−k\binom{n}{k}p^k(1-p)^{n-k}.

At mostkk, or at leastkk. A sum of terms, and usually one sum is much shorter than the other:

  • -P(X≤k)P(X\le k) — add the terms for00 tokk;
  • -P(X≥k)P(X\ge k) — add the terms forkk tonn, or better, compute1−P(X≤k−1)1-P(X\le k-1);
  • -P(X>k)P(X>k) —1−P(X≤k)1-P(X\le k).

The complement route matters practically: forkk near 0 you compute one term, forkk nearnn you compute one term, and only the middle of the distribution makes you add several. Getting the boundary right is where marks are lost — ≥k\ge k" and >k>k" differ by exactly the term atkk.

Reading the wording. "At least", "no fewer than", "or more" all include the stated value. "More than", "exceeds", "above" exclude it. There is no convention here; the words mean what they mean, and a table of them is worth writing on the exam paper before starting.

The cumulative distributionP(X≤k)P(X\le k) is what binomial tables print, which is why most textbook questions are designed to be read from a table rather than summed by hand.

Why the terms are not equally likely

The binomial mass function is not flat. It rises while the ratio of consecutive terms exceeds 1 and falls afterwards, and the ratio is P(X=k+1)P(X=k)=n−kk+1⋅p1−p.\frac{P(X=k+1)}{P(X=k)}=\frac{n-k}{k+1}\cdot\frac{p}{1-p}. So the peak sits nearnpnp, and the terms thin out towards both ends. That shape decides which computational route is cheapest: sums over the tails are short, sums over the middle are long.

It also gives a free check. Any answer for a probability concentrated near the mean but smaller than a tail term is suspect, and a cumulative probability that decreases askk grows is impossible. And a cumulative probability must move from near 0 atkk small to exactly 1 atk=nk=n — the endpointP(X≤n)=1P(X\le n)=1 is a quick sanity check that catches an exponent slip.

Worked example: four binomial questions at one law

X∼Bin⁡(5,0.4)X\sim\operatorname{Bin}(5,0.4).

Exactly 2.(52)(0.4)2(0.6)3=10(0.16)(0.216)=0.3456\binom52(0.4)^2(0.6)^3=10(0.16)(0.216)=0.3456.

At most 1.P(0)+P(1)=0.65+5(0.4)(0.6)4=0.07776+0.2592=0.33696P(0)+P(1)=0.6^5+5(0.4)(0.6)^4 = 0.07776+0.2592=0.33696.

At least 1.1−P(0)=1−0.07776=0.922241-P(0)=1-0.07776=0.92224.

At least 4.P(4)+P(5)=5(0.4)4(0.6)+0.45=0.0768+0.01024=0.08704P(4)+P(5)=5(0.4)^4(0.6)+0.4^5 = 0.0768+0.01024=0.08704.

Check. All four lie in[0,1][0,1]. Check the cumulative endpoints.P(X≤5)=1P(X\le5)=1, and the five terms0.07776,0.2592,0.3456,0.2304,0.0768,0.010240.07776, 0.2592, 0.3456, 0.2304, 0.0768, 0.01024 sum to0.999...0.999... — exactly 1 with exact arithmetic.

Check the boundary. "At least 1" excludes onlyX=0X=0; "at least 4" includes both 4 and 5. Read the word "least" as "including".

By the end you can
  • Evaluate P(X = k) for a binomial count
  • Evaluate a cumulative binomial probability by the shorter route
  • Read at-least and more-than wording correctly
Check yourself

X∼Bin⁡(5,0.5)X\sim\operatorname{Bin}(5,0.5). 1.P(X=2)P(X=2). 2.P(X≤1)P(X\le1). 3.P(X≥4)P(X\ge4).

Answers
  1. 1.(52)/32=10/32=0.3125\binom52/32=10/32=0.3125.
  2. 2.(1+5)/32=6/32=0.1875(1+5)/32=6/32=0.1875.
  3. 3.(5+1)/32=6/32=0.1875(5+1)/32=6/32=0.1875 — symmetric, becausep=0.5p=0.5.
Work out where to start — free, no accountAnswer six real questions — free, no account