How can binomial coefficients count nonnegative integer solutions to an equation?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

In combinatorics, binomial coefficients are used to determine the number of nonnegative integer solutions to the equation x1+x2+…+xn=m.

This problem, which requires finding the number of ways to distribute a total sum m into n distinct variables where each xi≥0, is a classic enumeration task. As identified by the mathematician Abraham De Moivre, the number of such solutions is given by the binomial coefficient:

(m+n−1n−1) or (m+n−1m)

These coefficients represent the number of ways to choose a subset of a specific size from a larger set without regard to order. While the binomial theorem describes the expansion of powers of a sum of two variables, these coefficients serve as a fundamental tool for solving broader counting problems involving integers and distributions.12