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+1x)6\left(x + \frac{1}{x}\right)^{6}

20\displaystyle 20
Show the work
  1. Binomial theorem

    Write the bracket as (a+b)n(a + b)^n with a=xa = x, b=1xb = \frac{1}{x} and n=6n = 6. 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=(6k)(x)6−k(1x)k\begin{aligned} T_{k+1} &= \binom{n}{k}\,a^{n-k}\,b^{k} \\ &= \binom{6}{k}\left(x\right)^{6-k}\left(\frac{1}{x}\right)^{k} \end{aligned}
  3. Find k

    The power of xx in Tk+1T_{k+1} is 1(6−k)+−1k1(6 - k) + -1k; set it equal to 00 to find the term with no x (the independent term).

    1(6−k)+−1k=0  ⇒  k=3\begin{aligned} 1(6 - k) + -1k &= 0 \;\Rightarrow\; k \\ &= 3 \end{aligned}
  4. Term T_4

    Put k=3k = 3 into the general term.

    (63)(x)3(1x)3=20\binom{6}{3}\left(x\right)^{3}\left(\frac{1}{x}\right)^{3} = 20
  5. Result

    The independent term is 2020.

Worked examples