Tutorials › Statistical Theory I - Probability and Distribution Theory › Addition of Independent Binomial Variables

Joint Laws of Independent Variables · Tutorial 278 of 994

Addition of Independent Binomial Variables

See why a shared success probability makes binomial counts combine cleanly, and how to detect when unequal probabilities prevent the sum from being binomial.

Intermediate 9 min read

What You'll Learn

  • State the binomial addition theorem for independent variables with a common success probability.
  • Derive the theorem from the discrete convolution formula and Vandermonde’s identity.
  • Extend the addition rule to any finite collection of independent binomial variables.
  • Test whether a sum with unequal success probabilities can be binomial with the combined number of trials.
  • Identify the mistake in adding binomial trial counts when their success probabilities differ.

Why a Common Success Probability Matters

A binomial random variable counts successes across a fixed number of independent trials that share one success probability. When two groups of trials have the same success probability, combining their counts is equivalent to counting successes across all the trials at once. The important condition is not merely independence: the success probabilities must match.

The discrete convolution formula gives the distribution of a sum of independent discrete random variables. For binomial variables with a common success probability, the terms in that convolution share the same probability factor, and a binomial-coefficient identity combines the remaining terms. If the success probabilities differ, those factors no longer align.

Definition: \(X\sim\operatorname{Bin}(m,p)\) means that \(X\) counts successes in \(m\) independent Bernoulli trials, each with success probability \(p\). Here \(m\) is a nonnegative integer and \(0\leq p\leq1\), and $$ P(X=k)=\binom{m}{k}p^k(1-p)^{m-k},\qquad k=0,1,\ldots,m. $$ A factor with exponent zero is interpreted as \(1\), including \(0^0\) in this probability formula.

The Addition Theorem

Theorem (addition of independent binomial variables): If \(X\sim\operatorname{Bin}(m,p)\) and \(Y\sim\operatorname{Bin}(n,p)\) are independent, then $$ X+Y\sim\operatorname{Bin}(m+n,p). $$ More generally, if \(X_1,\ldots,X_r\) are independent and \(X_i\sim\operatorname{Bin}(n_i,p)\) for every \(i\), then $$ \sum_{i=1}^{r}X_i\sim\operatorname{Bin}\left(\sum_{i=1}^{r}n_i,p\right). $$

For the two-variable result, independence and the discrete convolution formula give, for \(k=0,\ldots,m+n\), $$ P(X+Y=k)=\sum_{i=\max(0,k-n)}^{\min(m,k)}P(X=i)P(Y=k-i). $$ Each term in this sum is $$ \binom{m}{i}\binom{n}{k-i}p^i(1-p)^{m-i}p^{k-i}(1-p)^{n-k+i} =\binom{m}{i}\binom{n}{k-i}p^k(1-p)^{m+n-k}. $$ For \(0<p<1\), the probability factors are the same for every term, so they can be taken outside the sum. The remaining identity is Vandermonde’s identity: $$ \sum_i\binom{m}{i}\binom{n}{k-i}=\binom{m+n}{k}. $$ To see why it holds, consider two disjoint groups containing \(m\) and \(n\) objects. The right side counts the ways to choose \(k\) objects from their combined \(m+n\) objects. If exactly \(i\) chosen objects come from the first group, there are \(\binom{m}{i}\binom{n}{k-i}\) such choices. Summing over all feasible \(i\) counts every selection exactly once. Therefore the convolution probability is \(\binom{m+n}{k}p^k(1-p)^{m+n-k}\), as required. If \(p=0\), both variables are zero with probability one; if \(p=1\), their sum is \(m+n\) with probability one. The result holds at those endpoints as well. \(\square\)

The finite-family result follows by applying the two-variable result repeatedly. First, \(X_1+X_2\sim\operatorname{Bin}(n_1+n_2,p)\). This sum is independent of \(X_3\), so adding \(X_3\) gives a binomial variable with \(n_1+n_2+n_3\) trials and probability \(p\). Continuing this argument gives the stated result for \(r\) variables.

Worked Example: Combining Two Clinical Trial Groups

Two independent groups of participants each receive a treatment. In the first group, 4 participants are observed; in the second, 6 are observed. Suppose every participant independently responds with probability \(0.3\). Let \(X\) and \(Y\) be the numbers of responses in the two groups. Then \(X\sim\operatorname{Bin}(4,0.3)\), \(Y\sim\operatorname{Bin}(6,0.3)\), and the groups are independent.

Both counts have the same success probability, so the theorem gives \(X+Y\sim\operatorname{Bin}(10,0.3)\). For example, the probability of exactly 3 responses across both groups is $$ P(X+Y=3)=\binom{10}{3}(0.3)^3(0.7)^7. $$ Here \(\binom{10}{3}=120\), \((0.3)^3=0.027\), and \((0.7)^7=0.0823543\). Thus $$ P(X+Y=3)=120(0.027)(0.0823543)\approx0.2668. $$ The combined count is based on 10 trials, not on adding the two success probabilities.

Worked Example: Checking One Convolution Probability

Let \(X\sim\operatorname{Bin}(2,0.4)\) and \(Y\sim\operatorname{Bin}(3,0.4)\) be independent. Calculate \(P(X+Y=2)\) directly from the convolution, then check it using the addition theorem.

The feasible pairs of counts summing to 2 are \((0,2)\), \((1,1)\), and \((2,0)\). From the two binomial probability functions, $$ P(X=0)=0.36,\quad P(X=1)=0.48,\quad P(X=2)=0.16, $$ and $$ P(Y=0)=0.216,\quad P(Y=1)=0.432,\quad P(Y=2)=0.288. $$ Independence therefore gives $$ \begin{aligned} P(X+Y=2) &=P(X=0)P(Y=2)+P(X=1)P(Y=1)+P(X=2)P(Y=0)\\ &=(0.36)(0.288)+(0.48)(0.432)+(0.16)(0.216)\\ &=0.10368+0.20736+0.03456\\ &=0.3456. \end{aligned} $$ The theorem instead gives \(X+Y\sim\operatorname{Bin}(5,0.4)\), so $$ P(X+Y=2)=\binom{5}{2}(0.4)^2(0.6)^3 =10(0.16)(0.216)=0.3456. $$ The direct calculation and the theorem agree.

What Changes When Probabilities Differ?

Suppose \(X\sim\operatorname{Bin}(m,p)\) and \(Y\sim\operatorname{Bin}(n,q)\) are independent, with different success probabilities. The convolution still computes the distribution of \(X+Y\), but the common factor used in the addition theorem is no longer available. In general, the sum is not binomial.

A variance comparison gives a precise test when asking whether this sum could be binomial with \(m+n\) trials. For independent variables, expectations add and variances add. A binomial variable with \(N\) trials and probability \(r\) has mean \(Nr\) and variance \(Nr(1-r)\).

Theorem: Suppose \(m,n>0\), \(X\sim\operatorname{Bin}(m,p)\), and \(Y\sim\operatorname{Bin}(n,q)\) are independent. If \(X+Y\sim\operatorname{Bin}(m+n,r)\) for some \(r\), then \(p=q=r\). Conversely, if \(p=q\), the addition theorem shows that the sum has this binomial distribution.

To prove the necessary condition, let \(N=m+n\). Additivity of expectation gives $$ Nr=E[X+Y]=mp+nq, \qquad\text{so}\qquad r=\frac{mp+nq}{N}. $$ Independence gives \(\operatorname{Var}(X+Y)=\operatorname{Var}(X)+\operatorname{Var}(Y)\), hence $$ \operatorname{Var}(X+Y)=mp(1-p)+nq(1-q). $$ If the sum is \(\operatorname{Bin}(N,r)\), its variance must also equal \(Nr(1-r)\). Subtracting the variance of the sum from this binomial variance yields $$ \begin{aligned} Nr(1-r)-\{mp(1-p)+nq(1-q)\} &=mp^2+nq^2-Nr^2\\ &=m(p-r)^2+n(q-r)^2. \end{aligned} $$ The last equality follows from \(Nr=mp+nq\): expanding the squares gives \(mp^2+nq^2-Nr^2\). The left side must be zero if the two variances are equal. Since \(m,n>0\) and both squares are nonnegative, this forces \(p=r\) and \(q=r\). Thus \(p=q=r\). The converse is the addition theorem. \(\square\)

When \(0<p,q<1\), the sum has positive probability at every integer from 0 to \(m+n\). Consequently, if its distribution is binomial at all, the binomial trial count must be \(m+n\), since that is the largest possible value in its support. The theorem then shows that the probabilities must match. Boundary cases with probabilities 0 or 1 can produce degenerate or shifted sums, so a claim about a binomial form with a different trial count requires checking those cases separately.

Worked Example: Unequal Probabilities Do Not Combine as a Binomial

Let \(X\sim\operatorname{Bin}(1,0.2)\) and \(Y\sim\operatorname{Bin}(1,0.7)\) be independent. Their sum can be 0, 1, or 2. Direct multiplication gives $$ P(X+Y=0)=(0.8)(0.3)=0.24, $$ $$ P(X+Y=2)=(0.2)(0.7)=0.14, $$ and $$ P(X+Y=1)=(0.2)(0.3)+(0.8)(0.7)=0.06+0.56=0.62. $$ These probabilities sum to \(0.24+0.62+0.14=1\).

If the sum were \(\operatorname{Bin}(2,r)\), its mean would be \(2r\). But \(E[X+Y]=0.2+0.7=0.9\), so the only possible value would be \(r=0.45\). That candidate binomial distribution would have $$ P(X+Y=0)=(0.55)^2=0.3025,\quad P(X+Y=1)=2(0.45)(0.55)=0.495,\quad P(X+Y=2)=(0.45)^2=0.2025. $$ These do not match the actual probabilities. The variance test gives the same conclusion: the actual variance is \(0.2(0.8)+0.7(0.3)=0.37\), whereas \(\operatorname{Bin}(2,0.45)\) has variance \(2(0.45)(0.55)=0.495\).

A Common Mistake and Why the Rule Matters

Incorrect reasoning: “The variables are independent binomial counts, so their sum must be binomial with the trial counts added.” Independence is necessary for the addition theorem, but it does not make different success probabilities equal. In the unequal-probability example, adding the trial counts would suggest a \(\operatorname{Bin}(2,r)\) law, but the mean pins down \(r=0.45\) and the resulting probabilities are wrong.

Correction: Check both independence and a common success probability before applying the theorem. If the probabilities differ, use the discrete convolution formula to calculate the sum’s probabilities, or use expectations and variances to rule out a proposed binomial model. In applications, groups can be combined under the theorem when their trials share the same response probability; matching only the total number of trials is not enough.

The addition theorem is useful because it replaces a sum of separate counts with one simpler distribution while preserving the exact law. Its conditions also clarify what the model assumes: each counted trial is independent, and every trial has the same probability of success. If a study combines groups with genuinely different response probabilities, using one binomial distribution without checking those assumptions can misstate probabilities of the total count.

Check Your Understanding

Try these questions using the theorem, convolution, and variance comparison.

  1. If independent \(X\sim\operatorname{Bin}(7,0.25)\) and \(Y\sim\operatorname{Bin}(5,0.25)\), what is the distribution of \(X+Y\)?
  2. For the variables in Question 1, write the expression for \(P(X+Y=4)\) using the resulting binomial distribution.
  3. Independent variables have distributions \(\operatorname{Bin}(3,0.2)\) and \(\operatorname{Bin}(4,0.6)\). What candidate success probability would a \(\operatorname{Bin}(7,r)\) sum need to have, based on its mean?
  4. Why does independence alone not justify applying the binomial addition theorem?
  5. For two independent binomial variables with positive trial counts, what does the variance comparison imply if their sum is \(\operatorname{Bin}(m+n,r)\)?