The binomial theorem says (ax + b)^n is the sum of C(n, k)·(ax)^(n−k)·b^k for k from 0 to n. For (x + 1)^4 the coefficients are 1, 4, 6, 4, 1, row 4 of Pascal's triangle, so the expansion is x^4 + 4x^3 + 6x^2 + 4x + 1, and the coefficients sum to 2^4 = 16.
About this tool
Algebra students, teachers checking homework, and anyone setting up a probability count meet the same numbers: the binomial coefficients C(n, k). This page handles four jobs with them. Single term finds the r-th term of (ax + b)^n without writing the whole thing out. Full expansion lists every term with its working, so you can see where each sign and power comes from. Pascal's triangle prints rows up to row 30, with each row's sum, which is always a power of two. Multinomial gives the coefficient of a term like x^2·y·z in (x + y + z)^n, the version of the theorem for three or four variables. The integer coefficient limits keep every number exact: a and b run from −12 to 12 and the power up to 12. The tool does not cover fractional or negative powers, which need the infinite binomial series instead.
How to use it
Pick a job
Choose Single term, Full expansion, Pascal's triangle or Multinomial at the top.
Enter the brackets
For (ax + b)^n type a and b, then set the power n with the minus and plus buttons. Write (x − 2) as a = 1, b = −2.
Choose a term or row
Single term asks for the term number counted from the left; Pascal's triangle asks for the last row to print.
Read the working
The steps show the C(n, k) value and the powers used, and the table lists every term or row.
the term index, 0 to n; term number r has k = r − 1
C(n, k)
the binomial coefficient, entry k of Pascal's row n
Each binomial coefficient is built as a running product (n−k+1)/1 × (n−k+2)/2 … so no huge factorial is ever formed. A term's coefficient is C(n, k) times a to the power n−k times b to the power k; zero terms are dropped from the written expansion. Pascal's rows come from the same C(n, k) values and obey C(n, k) = C(n−1, k−1) + C(n−1, k). The multinomial coefficient n!/(k1!·k2!·k3!·k4!) is computed as a product of binomials, C(k1+k2, k2)·C(k1+k2+k3, k3)·…, which equals it exactly. Setting x = 1 gives (a + b)^n, the sum of all the coefficients, shown as a check.
Fractional or negative powers such as (1 + x)^(-1) need the infinite binomial series, not this finite expansion.
Brackets with symbolic coefficients like (2a + 3b) are outside its scope; it takes whole numbers for a and b.
Powers above 12 with large a or b would pass exact integer range, so they are blocked.
Common mistakes
Counting terms from k = 1: the first term has k = 0, so the third term uses C(n, 2).
Dropping the sign of b: in (x − 2)^3 the terms alternate, giving x^3 − 6x^2 + 12x − 8.
Forgetting to raise a as well: in (2x + 3)^5 each term carries 2^(n−k), not just x^(n−k).
Numbering Pascal's triangle from row 1: the single 1 at the top is row 0.
Frequently asked questions
What is the multinomial theorem formula?
(x1 + x2 + … + xm)^n equals the sum, over all exponent sets k1 + k2 + … + km = n, of n!/(k1!·k2!·…·km!) times x1^k1·x2^k2·…·xm^km. The fraction is the multinomial coefficient. With two variables it reduces to the binomial theorem, since n!/(k!(n−k)!) is C(n, k).
Can you show multinomial theorem examples?
In (x + y + z)^4 the coefficient of x^2·y·z is 4!/(2!·1!·1!) = 24/2 = 12. In (x + y + z)^3 the term xyz has 3!/(1!·1!·1!) = 6, while x^3 has 3!/3! = 1. Enter the three powers in Multinomial mode and the page returns the coefficient and the working.
What is the multinomial theorem used for in counting problems?
The coefficient counts arrangements with repeats. The word MISSISSIPPI has 11 letters: 1 M, 4 I, 4 S and 2 P, so it has 11!/(1!·4!·4!·2!) = 34,650 distinct orderings. It also counts ways to split n people into labeled groups of given sizes.
How do I get a binomial expansion with steps?
Choose Full expansion, enter a, b and n, and the table lists each k from 0 to n with C(n, k), the power of a and the power of b, followed by the finished term. For (x + 1)^4 the five rows give 1, 4, 6, 4 and 1.
Does binomial expansion work with negative or fractional powers?
Yes, but the result is an infinite series, valid only when |x| is less than 1: (1 + x)^p = 1 + px + p(p−1)x^2/2! + … For example (1 + x)^(−1) = 1 − x + x^2 − x^3 + … This page covers whole powers 0 to 12, where the series stops after n + 1 terms.
How do I find binomial coefficients on a TI-84?
Type n, press MATH, move to PRB, choose 3:nCr, then type k and press ENTER: 5 nCr 2 gives 10. Casio models have nCr under OPTN or SHIFT ÷. Single term mode here gives the same C(n, k) and also multiplies in the powers of a and b.
How is the binomial theorem used in probability?
The binomial distribution's chance of exactly k successes in n trials is C(n, k)·p^k·(1 − p)^(n−k), which is one term of (p + (1 − p))^n. With 5 fair coin flips, exactly 2 heads has probability C(5, 2)/32 = 10/32 = 0.3125.
Cite this tool
Using this tool in an assignment, article or report? Copy a citation, or a link for your website.