In elementary algebra, the binomial theorem (or binomial expansion) describes the algebraic expansion of powers of a binomial. According to the theorem, the power (x+y)n expands into a polynomial with terms of the form axkym, where the exponents k and m are nonnegative integers satisfying k+m=n and the coefficient a of each term is a specific positive integer depending on n and k. For example, for n=4, (x+y)4=x4+4x3y+6x2y2+4xy3+y4. The coefficient a in each term axkym is known as the binomial coefficient (nk) or (nm) (the two have the same value). These coefficients for varying n and k can be arranged to form Pascal's triangle. These numbers also occur in combinatorics, where (nk) gives the number of different combinations (i.e. subsets) of k elements that can be chosen from an n-element set. Therefore (nk) is usually pronounced as "n choose k".
Statement According to the theorem, the expansion of any nonnegative integer power n of the binomial x + y is a sum of the form (x+y)n=(n0)xny0+(n1)xn−1y1+(n2)xn−2y2+⋯+(nn)x0yn, where each (nk) is a positive integer known as a binomial coefficient, defined as (nk)=n!k!(n−k)!=n(n−1)(n−2)⋯(n−k+1)k(k−1)(k−2)⋯2⋅1. This formula is also referred to as the binomial formula or the binomial identity. Using summation notation, it can be written more concisely as (x+y)n=∑k=0n(nk)xn−kyk=∑k=0n(nk)xkyn−k. The final expression follows from the previous one by the symmetry of x and y in the first expression, and by comparison it follows that the sequence of binomial coefficients in the formula is symmetric, (nk)=(nn−k). A simple variant of the binomial formula is obtained by substituting 1 for y, so that it involves only a single variable. In this form, the formula reads (x+1)n=(n0)x0+(n1)x1+(n2)x2+⋯+(nn)xn=∑k=0n(nk)xk.)
Examples
The first few cases of the binomial theorem are: (x+y)0=1,(x+y)1=x+y,(x+y)2=x2+2xy+y2,(x+y)3=x3+3x2y+3xy2+y3,(x+y)4=x4+4x3y+6x2y2+4xy3+y4, In general, for the expansion of (x + y)n on the right side in the nth row (numbered so that the top row is the 0th row):
the exponents of x in the terms are n, n − 1, ..., 2, 1, 0 (the last term implicitly contains x0 = 1); the exponents of y in the terms are 0, 1, 2, ..., n − 1, n (the first term implicitly contains y0 = 1); the coefficients form the nth row of Pascal's triangle; before combining like terms, there are 2n terms xiyj in the expansion (not shown); after combining like terms, there are n + 1 terms, and their coefficients sum to 2n. An example illustrating the last two points: (x+y)3=xxx+xxy+xyx+xyy+yxx+yxy+yyx+yyy(23 terms)=x3+3x2y+3xy2+y3(3+1 terms) with 1+3+3+1=23. A simple example with a specific positive value of y: (x+2)3=x3+3x2(2)+3x(2)2+23=x3+6x2+12x+8. A simple example with a specific negative value of y: (x−2)3=x3−3x2(2)+3x(2)2−23=x3−6x2+12x−8.
Geometric explanation
For positive values of a and b, the binomial theorem with n = 2 is the geometrically evident fact that a square of side a + b can be cut into a square of side a, a square of side b, and two rectangles with sides a and b. With n = 3, the theorem states that a cube of side a + b can be cut into a cube of side a, a cube of side b, three a × a × b rectangular boxes, and three a × b × b rectangular boxes. In calculus, this picture also gives a geometric proof of the derivative (xn)′=nxn−1: if one sets a=x and b=Δx, interpreting b as an infinitesimal change in a, then this picture shows the infinitesimal change in the volume of an n-dimensional hypercube, (x+Δx)n, where the coefficient of the linear term (in Δx) is nxn−1, the area of the n faces, each of dimension n − 1: (x+Δx)n=xn+nxn−1Δx+(n2)xn−2(Δx)2+⋯. Substituting this into the definition of the derivative via a difference quotient and taking limits means that the higher order terms, (Δx)2 and higher, become negligible, and yields the formula (xn)′=nxn−1, interpreted as "the infinitesimal rate of change in volume of an n-cube as side length varies is the area of n of its (n − 1)-dimensional faces". If one integrates this picture, which corresponds to applying the fundamental theorem of calculus, one obtains Cavalieri's quadrature formula, the integral ∫xn−1dx=1nxn – see proof of Cavalieri's quadrature formula for details.
Binomial coefficients
The coefficients that appear in the binomial expansion are called binomial coefficients. These are usually written (nk), and pronounced "n choose k".
Formulas The coefficient of xn−kyk is given by the formula (nk)=n!k!(n−k)!, which is defined in terms of the factorial function n!. Equivalently, this formula can be written (nk)=n(n−1)⋯(n−k+1)k(k−1)⋯1=∏ℓ=1kn−ℓ+1ℓ=∏ℓ=0k−1n−ℓk−ℓ with k factors in both the numerator and denominator of the fraction. Although this formula involves a fraction, the binomial coefficient (nk) is actually an integer.
Combinatorial interpretation The binomial coefficient (nk) can be interpreted as the number of ways to choose k elements from an n-element set (a combination). This is related to binomials for the following reason: if we write (x + y)n as a product (x+y)(x+y)(x+y)⋯(x+y), then, according to the distributive law, there will be one term in the expansion for each choice of either x or y from each of the binomials of the product. For example, there will only be one term xn, corresponding to choosing x from each binomial. However, there will be several terms of the form xn−2y2, one for each way of choosing exactly two binomials to contribute a y. Therefore, after combining like terms, the coefficient of xn−2y2 will be equal to the number of ways to choose exactly 2 elements from an n-element set.
Proofs
Combinatorial proof Expanding (x + y)n yields the sum of the 2n products of the form e1e2 ... en where each ei is x or y. Rearranging factors shows that each product equals xn−kyk for some k between 0 and n. For a given k, the following are proved equal in succession:
the number of terms equal to xn−kyk in the expansion the number of n-character x,y strings having y in exactly k positions the number of k-element subsets of {1, 2, ..., n} (nk), either by definition, or by a short combinatorial argument if one is defining (nk) as n!k!(n−k)!. This proves the binomial theorem.
… excerpt ends here. Continue reading the full article.


