n (x + y)n = ∑ C(n, k) xk yn-k (1) k=0
where n is a natural number and the C(n, k) are the binomial coefficients. This formula, and the triangular arrangement of the binomial coefficients, is often attributed to Blaise Pascal who described it in the 17th century. It was however known long before to Chinese mathematicians.
The cases n=2, n=3 and n=4 are the ones most commonly used:
Formula (1) is valid for all real or complex numbers x and y, and more generally for any elements x and y of a ring as long as xy = yx.
The formula can be generalized to non-integral powers by considering an infinite series:
∞ (x + y)r = ∑ C(r, k) xk yr-k (2) k=0
Here, r can be any real or complex number, and the sum will converge whenever the real or complex numbers x and y are "close together" in the sense that the absolute value |x/y| is less than one.
The geometric series is a special case of (2) where we chose y = 1 and r = -1.