Binomial Theorem Calculator

Type a binomial such as (x + 2)^5 to expand it or to find a particular term.

A bracket of two terms to a whole power from 1 to 30, such as (x + 2)^5 or (2x - 1)^4.

Try

Result

You entered(x+2)3\left(x + 2\right)^{3}

x3+6x2+12x+8\displaystyle x^{3} + 6x^{2} + 12x + 8
Show the work
  1. Binomial theorem

    Write the bracket as (a+b)n(a + b)^n with a=xa = x, b=2b = 2 and n=3n = 3. The theorem gives every term of the expansion.

    Using (a+b)n=∑k=0n(nk)an−kbk(a + b)^n = \sum_{k=0}^{n}\binom{n}{k}a^{n-k}b^k

  2. General term

    The term with kk factors of bb is Tk+1T_{k+1}, for k=0,1,…,nk = 0, 1, \ldots, n.

    Tk+1=(nk) an−k bk=(3k)(x)3−k(2)k\begin{aligned} T_{k+1} &= \binom{n}{k}\,a^{n-k}\,b^{k} \\ &= \binom{3}{k}\left(x\right)^{3-k}\left(2\right)^{k} \end{aligned}
  3. Write out the terms

    Put k=0,1,…,3k = 0, 1, \ldots, 3 into the general term.

    (30)(x)3+(31)(x)2(2)+(32)(x)(2)2+(33)(2)3\binom{3}{0}\left(x\right)^{3} + \binom{3}{1}\left(x\right)^{2}\left(2\right) + \binom{3}{2}\left(x\right)\left(2\right)^{2} + \binom{3}{3}\left(2\right)^{3}
  4. Work out each term

    Multiply the binomial coefficient by the powers of aa and bb.

    T1=x3T2=6x2T3=12xT4=8\begin{gathered} T_{1} = x^{3} \\ T_{2} = 6x^{2} \\ T_{3} = 12x \\ T_{4} = 8 \end{gathered}
  5. Result

    The expansion is x3+6x2+12x+8x^{3} + 6x^{2} + 12x + 8.

    (x+2)3=x3+6x2+12x+8\left(x + 2\right)^{3} = x^{3} + 6x^{2} + 12x + 8

Worked examples