Binomial Expansion Part1

From StpmWiki

Jump to: navigation, search

Contents

Notes

Compared to many other subtopics, binomial expansion can be considered a good prospect to score in STPM, as questions don't usually run too far from the standard questions usually asked. That said, there are many pitfalls if we are not careful. Good understanding of the methods are essential, as well as developing systematic work flows to minimize careless mistakes.

Learning Objectives (Syllabus)

  • expand {\left(a+b \right)}^{n} where n \, is a positive integer
  • expand {\left(1+x \right)}^{n} where n \, is a rational number and \left|x \right|<1
  • use the binomial expansions for approximation

Prior Knowledge

  • Strong basics in index is a MUST in this topic
  • Sequence
  • Surds, factorials, inequalities are required in a few places
  • As with all subtopics in chapter 3, ability to recognize pattern is essential

Binomial Coefficient

\binom{n}{r} =\frac{n!}{\left(n-r\right)!r!} where n,r \,are positive integers and 0\leq r\leq n

  • Note that this is the same definition as {}^{n}{C}_{r} \, used in probability. In fact we will use the {}^{n}{C}_{r} \, function in the calculator to find the value of \binom{n}{r}.

Examples:

  • \binom{10}{3} =\frac{10!}{7!3!}
  • To find it's value, however, we just need to use calculator and don't need to write out the working \binom{10}{3} = 120

Important values

  • \binom{n}{0} =\frac{n!}{\left(n-0\right)!0!} =\frac{n!}{n!1}=1
  • \binom{n}{1} =\frac{n!}{\left(n-1\right)!1!} =\frac{n\left(n-1\right)!}{\left(n-1\right)!}=n
  • \binom{n}{n-1} =\frac{n!}{\left[n-\left(n-1\right)\right]!\left(n-1\right)!} =\frac{n\left(n-1\right)!}{1!\left(n-1\right)!}=n
  • \binom{n}{n} =\frac{n!}{\left(n-n\right)!n!} =\frac{n!}{0!n!}=1

In other words

  • \binom{n}{0}=\binom{n}{n}=1 For example, \binom{5}{0}=1, \binom{5}{5}=1
  • \binom{n}{1}=\binom{n}{n-1}=n For example, \binom{5}{1}=5,\binom{5}{4}=5, so we don't actually need to use calculator for these values.

Expansion for positive integer n

{\left(a+b \right)}^{n} ={a}^{n}+\binom{n}{1}{a}^{n-1}b+\binom{n}{2}{a}^{n-2}{b}^{2}+\dots+\binom{n}{n-1}a{b}^{n-1}+{b}^{n}

Got it? Let's see it step by step

    • Start with {a}^{n} \,
    • The next term, first we write \binom{n}{1}
      • and then we write a \, again, but then its' degree decreases by one, so it becomes {a}^{n-1} \,
      • and we introduce b \,, its' degree starting from one
      • so we have \binom{n}{1}{a}^{n-1}b
    • After that, the coefficient becomes \binom{n}{2} (increase r \, by one)
      • degree of a \, decrease again, becoming {a}^{n-2}\,
      • degree of b \,, meanwhile increases by one, thus becoming {b}^{2} \,
      • so we have \binom{n}{2}{a}^{n-2}{b}^{2}
    • Try writing out the next term \binom{n}{3}{a}^{n-3}{b}^{3}
    • And the next \binom{n}{4}{a}^{n-4}{b}^{4}
    • In other words r \, keep on increasing, towards n \, , remember \binom{n}{n}=1
      • degree of a \, keep on decreasing, towards 0 \,
      • degree of b \, keep on increasing, towards n \,
    • Thus, the very last term will be {b}^{n} \,
    • The second last term will be \binom{n}{n-1}a{b}^{n-1}

Examples

  • {\left(a+b \right)}^{5}
    • Start with {a}^{5} \,
    • The next term \binom{5}{1} {a}^{4} \, b \,
    • And the next \binom{5}{2} {a}^{3} \, {b}^{2} \,
    • Continue \binom{5}{3} {a}^{2} \, {b}^{3} \,
    • Continue \binom{5}{4} a \, {b}^{4} \,
    • We can see its coming to the end, the next term will not have a \, but {b}^{5} \,, and also since \binom{5}{5} =1 \,, it's not necessary to write it.
    • Thus {\left(a+b \right)}^{5} ={a}^{5}+\binom{5}{1}{a}^{4}b+\binom{5}{2}{a}^{3}{b}^{2}+\binom{5}{3}{a}^{2}{b}^{3}+\binom{5}{4}a{b}^{4}+ {b}^{5}
    • ={a}^{5}+5{a}^{4}b+10{a}^{3}{b}^{2}+10{a}^{2}{b}^{3}b+5a{b}^{4}+ {b}^{5} \,


  • {\left(a+b \right)}^{3}
  • Answer : ={a}^{3}+3{a}^{2}b+3a{b}^{2}+{b}^{3} \,. This is of course, a formula you should memorize, but failing which, we can always just expand it
  • {\left(a+b \right)}^{3}={a}^{3}+\binom{3}{1}{a}^{2}b+\binom{3}{2}a{b}^{2}+{b}^{3}={a}^{3}+3{a}^{2}b+3a{b}^{2}+{b}^{3}

Minus

What about {\left(a-b \right)}^{n}? Would we need another formula?

    • Of course not. If the formula does not fit our needs
      • we DON'T change the formula
      • we change the situation to fit the formula
    • So since the formula require a plus, we change it to a plus
      • {\left(a-b \right)}^{n} ={\left[a+\left(?\right)\right]}^{n}
      • It will be {\left(a-b \right)}^{n}={\left[a+\left(-b\right)\right]}^{n}
      • Now, in place of b \,, we will put \left(-b\right)


  • {\left(a-b \right)}^{4}
  • Take note {\left(a{\color {Red}-b} \right)}^{n}
    • {\left(a-b \right)}^{4} ={a}^{4}+ \binom{4}{1}{a}^{3}{\color {Red}\left(-b\right)} +\binom{4}{2}{a}^{2}{{\color {Red}\left(-b\right)}}^{2}+\binom{4}{3}a{{\color {Red}\left(-b\right)}}^{3}+{{\color {Red}\left(-b\right)}}^{4}
    • ={a}^{4}-4{a}^{3}b+6{a}^{2}{b}^{2}-4a{b}^{3}+{b}^{4} \,

Of Apples & Oranges

Actually, since there are three variables, we should call this apples & oranges & bananas :p, but we will leave the n \, alone for now and concentrate on a \, & b \,.

The formula should then read

{\left({\color{Red}\heartsuit}+{\color{Blue}\bigcirc} \right)}^{n} ={{\color{Red}\heartsuit}}^{n}+\binom{n}{1}{{\color{Red}\heartsuit}}^{n-1}{\color{Blue}\bigcirc}+\binom{n}{2}{{\color{Red}\heartsuit}}^{n-2}{{\color{Blue}\bigcirc}}^{2}+\dots+\binom{n}{n-1}{\color{Red}\heartsuit}{{\color{Blue}\bigcirc}}^{n-1}+{{\color{Blue}\bigcirc}}^{n}

  • Take note again, that we can put ANYTHING inside the "apple" and "orange", from other single variables such as x \, and y \,, to more complicated ones like 2a, 4y, -a, {a}^{2}, \frac{-{2x}^{3}}{4}, \left(a+1\right)
  • The above section about replacing b \, with \left(-b \right), is actually already an example of this.

Let's say we have

  • {\left(3x+2y \right)}^{4} So now the "apple" is {\color{Red}3x} and the "orange" is {\color{Blue}2y}

Brackets

ALWAYS, I repeat, ALWAYS put a bracket around any non-single variable (including single negative variable such as-b\,) that we are going to use as the "apple" and "orange" EVERY single expansion term we write

  • Thus, when we write out the expansion for {\left(3x+2y \right)}^{4}, we must see {\color{Red}\left(3x\right)} and {\color{Blue}\left(2y\right)} IN BRACKETS in EVERY single expansion term
    • {\left(3x+2y \right)}^{4} 
={{\color{Red}\left(3x\right)}}^{4}+\binom{4}{1}{{\color{Red}\left(3x\right)}}^{3}{\color{Blue}\left(2y\right)}+\binom{4}{2}{{\color{Red}\left(3x\right)}}^{2}{{\color{Blue}\left(2y\right)}}^{2}+\binom{4}{3}{\color{Red}\left(3x\right)}{{\color{Blue}\left(2y\right)}}^{3}+{{\color{Blue}\left(2y\right)}}^{4}

Common Mistakes

  • Forgetting to write the brackets i.e. 3{x}^4+ \binom{4}{1}3{x}^3\left(2y\right)+\binom{4}{2}3{x}^2 2{y}^2+ \dots is ABSOLUTELY WRONG
  • Putting the degree at wrongly \left(3{x}^4\right)+ \binom{4}{1}\left(3{x}^3\right)\left(2y\right)+\binom{4}{2}\left(3{x}^2\right) \left(2{y}^2\right) + \dots. Remember we must see the exact same {\color{Red}\left(3x\right)} (apple) in every expansion term, the degree is outside the apple (and orange).

When to Simplify

NEVER, I repeat, NEVER EVER do any simplifying on the first step, or you will run into a high risk of making careless mistakes

  • Even though in our mind we surely can work out {\left(2y\right)}^{2}=4{y}^2 without needing to write it down, DON'T ever do that in the first step, you will run into a VERY high risk of missing out something. Plus, having simplified in the very first step means the basic pattern of the expansion is difficult to see, and consequently, makes it difficult to spot careless mistakes in the basic expansion.

How to Simplify

  • {\left(3x+2y \right)}^{4} ={\left(3x\right)}^{4}+\binom{4}{1}{\left(3x\right)}^{3}\left(2y\right)+\binom{4}{2}{\left(3x\right)}^{2}{\left(2y\right)}^{2} +\binom{4}{3}\left(3x\right){\left(2y\right)}^{3}+{\left(2y\right)}^{4}
  • So the next step is of course to simplify the terms
    • {\left(3x\right)}^{4} =81{x}^{4} \, Remember we need to "apply the power" for BOTH numbers and variables.
    • \binom{4}{1}{\left(3x\right)}^{3}\left(2y\right) We concentrate one thing at a time. DOES NOT MEAN we do \binom{4}{1} and then {\left(3x\right)}^{3} and so on
      • Instead we concentrate on
        1. Numbers, and then
        2. Variables
      • So it will be
        1. \binom{4}{1}{\left(3\right)}^{3}\left(2\right), which we will calculate using our calculator directly (one step) =216 \,
        2. {x}^{3}y \,
  • Remember that we do only write ONE single line of working. Writing more steps actually increases likelihood of careless mistakes.
  • Try the rest. The answer is =81{x}^{4}+216{x}^{3}y+216{x}^{2}{y}^{2}+96x{y}^{3}+16{y}^{4} \,

Sign

A very common mistake is writing the wrong sign (positive/negative) of the terms when there is a minus.

  • Firstly, remember that we MUST never attempt to determine the sign of the terms in the first step. Always keep the negative sign in the brackets
  • {\left(a-2b \right)}^{5}
  • ={a}^{5}+\binom {5}{1}{a}^{4}\left(-2b \right)+\binom {5}{2}{a}^{3}{\left(-2b \right)}^{2}+\binom {5}{3}{a}^{2}{\left(-2b \right)}^{3}+\binom {5}{4}a{\left(-2b \right)}^{4}+{\left(-2b \right)}^{5}
    • We can deal with the sign while dealing with the numbers. For example, for \binom {5}{3}{a}^{2}{\left(-2b \right)}^{3}, the number (coefficient) will be \binom {5}{3}{\left(-2\right)}^{3}=-80
    • A better way is to actually deal with the number and sign separately, where we deal with the values first to get 80 \, and then see that the negative power 3 will become negative.
    • Whichever way used, it is worth it to spend a little time to check the signs after we are done.
    • ={a}^{5}-10{a}^{4}b+40{a}^{3}{b}^{2}-80{a}^{2}{b}^{3}+80a{b}^{4}-32{b}^{5} \,

Notice the pattern?

Most of the time (except when it involves complex numbers), the pattern is either

  1. all positive
  2. all negative (except first term)
  3. positive and negative alternately

Thus, if we get something like + \ldots - \ldots - \ldots + \ldots , there MUST be something wrong with the signs.

More Examples

Let's try a more challenging expansion. Remember all the steps explained above. Never try to take shortcuts and don't rush through things.

  • {\left({x}^{3}-\frac{2}{{x}^{2}} \right)}^{3}
  • Try writing out the expansion
    • ={\left( {x}^{3}\right)}^{3}+\binom {3}{1}{\left( {x}^{3}\right)}^{2}\left( -\frac{2}{{x}^{2}} \right)+\binom {3}{2}\left({x}^{3} \right){\left( -\frac{2}{{x}^{2}} \right)}^{2}+{\left( -\frac{2}{{x}^{2}} \right)}^{3}
      • If you miss out any bracket, consider your answer WRONG and do it again.
      • If you did any simplifying in the first step, you have simplified TOO EARLY and it WILL bring to careless mistakes
      • For example, if in the first line, you write
        • {x}^{9}\,, you could very easily mix up the index of the following terms.
        • -\binom {3}{1}\ldots, you could very easily mix up the sign of the following terms.
    • Now try simplifying each term carefully
      • Before comparing your answer, try CHECKING your answer. Especially the sign and the index.
      • = {x}^{9}-6{x}^{4}+\frac{12}{x}-\frac{8}{{x}^{6}} Note that the signs are alternate, and the index have a pattern of -5 \, for each next term.

Now let's try something slightly different:

  • {\left( 1 + \sqrt{2}\right)}^{5}
  • Notice that there are no unknowns, perhaps we can simplify the terms more than we normally could
    • Try expanding it ={1}^{5}+\binom {5}{1}{1}^{4}\left( \sqrt{2}\right)+\binom {5}{2}{1}^{3}{\left( \sqrt{2}\right)}^{2}+\binom {5}{3}{1}^{2}{\left( \sqrt{2}\right)}^{3}+\binom {5}{4}1{\left( \sqrt{2}\right)}^{4}+{\left( \sqrt{2}\right)}^{5}
    • However, notice that the 1 \,'s are not really needed. So we can make an exception here about not simplifying in the first step, and instead write the first line as
    • =1+\binom {5}{1}\left( \sqrt{2}\right)+\binom {5}{2}{\left( \sqrt{2}\right)}^{2}+\binom {5}{3}{\left( \sqrt{2}\right)}^{3}+\binom {5}{4}{\left( \sqrt{2}\right)}^{4}+{\left( \sqrt{2}\right)}^{5}
    • Normally, we would just take the calculator to calculate the coefficients, but since it involves surds here, we have to deal with the surds separately first.
      • =1+5\left( \sqrt{2}\right)+10\left(2\right)+10\left( 2\sqrt{2}\right)+5\left(4\right)+\left(4\sqrt{2}\right)
      • =41+29\sqrt{2}
    • Check quickly by using calculator to check that the values on both sides are the same (in this case, it is 82.012... \,)


Now try this:

  • {\left( 1 - 2i \right)}^{4}
  • Answer : -7 + 24i \,
  • Working: {\left( 1 - 2i \right)}^{4}
    • =1+\binom{4}{1}\left(-2i \right)+\binom{4}{2}{\left(-2i \right)}^{2}+\binom{4}{3}{\left(-2i \right)}^{3}+{\left(-2i \right)}^{4} Better deal with all the numbers first
    • =1-8i+24{i}^{2}-32{i}^{3}+16{i}^{4} \, Deal with the imaginary numbers carefully
    • =1-8i+24\left(-1 \right)-32\left(-i \right)+16
    • =-7 + 24i \, A quick check with calculator will confirm the answer (If your calculator can't handle complex number power 4, simply square it 2 times)

Exercise 1

Expand and simplify the following

1){\left(x+y \right)}^{6} ={x}^{6}+6{x}^{5}y +15{x}^{4}{y}^{2}+20{x}^{3}{y}^{3}+15{x}^{2}{y}^{4}+6x{y}^{5}+{y}^{6} \,

  • \begin{align}
{\left(x+y \right)}^{6}
& = {x}^{6}+\binom{6}{1}{x}^{5}y +\binom{6}{2}{x}^{4}{y}^{2}+\binom{6}{3}{x}^{3}{y}^{3}+\binom{6}{4}{x}^{2}{y}^{4}+\binom{6}{5}x{y}^{5}+{y}^{6} \\
& = {x}^{6}+6{x}^{5}y +15{x}^{4}{y}^{2}+20{x}^{3}{y}^{3}+15{x}^{2}{y}^{4}+6x{y}^{5}+{y}^{6}
\end{align}

2){\left(x-y \right)}^{5} ={x}^{5}-5{x}^{4}y+10{x}^{3}{y}^{2}-10{x}^{2}{y}^{3}+5x{y}^{4}-{y}^{5} \,

  • \begin{align}
{\left(x-y \right)}^{5}
& = {x}^{5}+\binom{5}{1}{x}^{4}\left(-y\right)+\binom{5}{2}{x}^{3}{\left(-y\right)}^{2}+\binom{5}{3}{x}^{2}{\left(-y\right)}^{3}+ \binom{5}{4}x{\left(-y\right)}^{4}+{\left(-y\right)}^{5}\\
& = {x}^{5}-5{x}^{4}y+10{x}^{3}{y}^{2}-10{x}^{2}{y}^{3}+5x{y}^{4}-{y}^{5}
\end{align}

3){\left(3a-4b \right)}^{4} ={81a}^{4}-432{a}^{3}b+864{a}^{2}{b}^{2}-768a{b}^{3}+256{b}^{4} \,

  • \begin{align}
{\left(3a-4b \right)}^{4}
& = {\left(3a\right)}^{4}+\binom {4}{1}{\left(3a\right)}^{3}\left(-4b\right)+\binom {4}{2}{\left(3a\right)}^{2}{\left(-4b\right)}^{2} +\binom {4}{3}\left(3a\right){\left(-4b\right)}^{3}+{\left(-4b\right)}^{4}\\
& ={81a}^{4}-432{a}^{3}b+864{a}^{2}{b}^{2}-768a{b}^{3}+256{b}^{4}
\end{align}

4){\left(1+3{b}^{2}\right)}^{4} =1+12{b}^{2}+54{b}^{4}+108{b}^{6}+81{b}^{8}\,

  • \begin{align}
{\left(1+3{b}^{2}\right)}^{4}
& = 1+\binom {4}{1}\left(3{b}^{2}\right)+\binom {4}{2}{\left( 3{b}^{2}\right)}^{2} +\binom {4}{3}{\left( 3{b}^{2}\right)}^{3}+{\left( 3{b}^{2}\right)}^{4}\\
& =1+12{b}^{2}+54{b}^{4}+108{b}^{6}+81{b}^{8}
\end{align}

5){\left(x+\frac{1}{x} \right)}^{5}  ={x}^{5}+5{x}^{3}+10x+\frac{10}{x}+\frac{5}{{x}^{3}}+\frac{1}{{x}^{5}}

  • \begin{align}
{\left(x+\frac{1}{x} \right)}^{5}
& = {x}^{5}+\binom{5}{1}{x}^{4}\left(\frac{1}{x}\right)+\binom{5}{2}{x}^{3}{\left(\frac{1}{x}\right)}^{2} +\binom{5}{3}{x}^{2}{\left(\frac{1}{x}\right)}^{3}+\binom{5}{4}x{\left(\frac{1}{x}\right)}^{4}+{\left(\frac{1}{x}\right)}^{5} \\
& = {x}^{5}+5{x}^{3}+10x+\frac{10}{x}+\frac{5}{{x}^{3}}+\frac{1}{{x}^{5}}
\end{align}

6){\left({x}^{2}-\frac{1}{2{x}^{3}}\right)}^{7} ={x}^{14}-\frac{7}{2}{x}^{9}+\frac{21}{4}{x}^{4}-\frac{35}{8x}+\frac{35}{16{x}^{6}}-\frac{21}{32{x}^{11}}+\frac{7}{64{x}^{16}}-\frac{1}{128{x}^{21}}

  • \begin{align}
{\left({x}^{2}-\frac{1}{2{x}^{3}}\right)}^{7}
& = {\left({x}^{2}\right)}^{7}+\binom{7}{1}{\left({x}^{2}\right)}^{6}\left(-\frac{1}{2{x}^{3}}\right) +\binom{7}{2}{\left({x}^{2}\right)}^{5}{\left(-\frac{1}{2{x}^{3}}\right)}^{2}  +\binom{7}{3}{\left({x}^{2}\right)}^{4}{\left(-\frac{1}{2{x}^{3}}\right)}^{3} +\binom{7}{4}{\left({x}^{2}\right)}^{3}{\left(-\frac{1}{2{x}^{3}}\right)}^{4} +\binom{7}{5}{\left({x}^{2}\right)}^{2}{\left(-\frac{1}{2{x}^{3}}\right)}^{5} +\binom{7}{6}\left({x}^{2}\right){\left(-\frac{1}{2{x}^{3}}\right)}^{6} +{\left(-\frac{1}{2{x}^{3}}\right)}^{7}\\
& = {x}^{14}-\frac{7}{2}{x}^{9}+\frac{21}{4}{x}^{4}-\frac{35}{8x}+\frac{35}{16{x}^{6}}-\frac{21}{32{x}^{11}}+\frac{7}{64{x}^{16}}-\frac{1}{128{x}^{21}}
\end{align}

7){\left(1+\sqrt{3}\right)}^{6} = 208 + 120 \sqrt{3}

  • \begin{align}
{\left(1+\sqrt{3}\right)}^{6}
& = 1+\binom{6}{1}\sqrt{3} +\binom{6}{2}{\left(\sqrt{3}\right)}^{2}+\binom{6}{3}{\left(\sqrt{3}\right)}^{3} +\binom{6}{4}{\left(\sqrt{3}\right)}^{4}+\binom{6}{5}{\left(\sqrt{3}\right)}^{5}+{\left(\sqrt{3}\right)}^{6} \\
& = 1 + 6\sqrt{3}+15\left(3 \right)+20\left(3\sqrt{3} \right)+15\left(9 \right)+6\left(9\sqrt{3} \right)+27 \\
& = 208 + 120 \sqrt{3}
\end{align}

8){\left(3-2i\right)}^{4} =-119-120i \,

  • \begin{align}
{\left(3-2i\right)}^{4}
& = {3}^{4}+\binom{4}{1}{3}^{3}\left(-2i\right)+\binom{4}{2}{3}^{2}{\left(-2i\right)}^{2}+\binom{4}{3}3{\left(-2i\right)}^{3}+{\left(-2i\right)}^{4} \\
& = 81 -216i+216{i}^{2}-96{i}^{3}+16{i}^{4} \\
& = 81 -216i-216-96\left(-i \right)+16 \\
& = -119-120i
\end{align}

9){\left(x+y\right)}^{5}-{\left(x-y\right)}^{5}. Hence, find the value of {\left(\sqrt{2}+1\right)}^{5}-{\left(\sqrt{2}-1\right)}^{5} 10{x}^{4}y+20{x}^{2}{y}^{3}+2{y}^{5} ;82 \,

    • \begin{align}
{\left(x+y\right)}^{5}-{\left(x-y\right)}^{5}
& = \left[{x}^{5}+\binom{5}{1}{x}^{4}y+\binom{5}{2}{x}^{3}{y}^{2}+\binom{5}{3}{x}^{2}{y}^{3}+\binom{5}{4}x{y}^{4}+{y}^{5}\right]- \left[{x}^{5}+\binom{5}{1}{x}^{4}\left(-y\right)+\binom{5}{2}{x}^{3}{\left(-y\right)}^{2}+\binom{5}{3}{x}^{2}{\left(-y\right)}^{3}+\binom{5}{4}x{\left(-y\right)}^{4}+{\left(-y\right)}^{5}\right]\\
& = \left[{x}^{5}+5{x}^{4}y+10{x}^{3}{y}^{2}+10{x}^{2}{y}^{3}+5x{y}^{4}+{y}^{5}\right]- \left[{x}^{5}-5{x}^{4}y+10{x}^{3}{y}^{2}-10{x}^{2}{y}^{3}+5x{y}^{4}-{y}^{5}\right]\\
& = 10{x}^{4}y+20{x}^{2}{y}^{3}+2{y}^{5}
\end{align}
    • \mbox{For }{\left(\sqrt{2}+1\right)}^{5}-{\left(\sqrt{2}-1\right)}^{5}, x=\sqrt{2}, y=1
      • \therefore {\left(\sqrt{2}+1\right)}^{5}-{\left(\sqrt{2}-1\right)}^{5}=10{\left(\sqrt{2}\right)}^{4}\left(1\right)+20{\left(\sqrt{2}\right)}^{2}{\left(1\right)}^{3}+2{\left(1\right)}^{5} =40+40+2=82

The(r+1)th term

Sometimes we just need a particular term and not the whole expansion. Let's look at the formula again and try to see the pattern of each term

  • {\left(a+b \right)}^{n} ={a}^{n}+\binom{n}{1}{a}^{n-1}b+\binom{n}{2}{a}^{n-2}{b}^{2}+\binom{n}{3}{a}^{n-3}{b}^{3}+ \ldots +\binom{n}{n-2}{a}^{2}{b}^{n-2}+\binom{n}{n-1}a{b}^{n-1}+{b}^{n}
    • Now look at the form of each term (except the first and the last), we see that each one have a similar form.
    • For example, lets look at \binom{n}{2}{a}^{n-2}{b}^{2}. Notice where are the 2 \,'s \binom{n}{{\color{Red}2}}{a}^{n-{\color{Red}2}}{b}^{{\color{Red}2}}
    • Similarly, for \binom{n}{3}{a}^{n-3}{b}^{3}, \binom{n}{{\color{Red}3}}{a}^{n-{\color{Red}3}}{b}^{{\color{Red}3}}
    • Thus, if we have a term that starts with \binom {n}{10}, we know that the term will be \binom{n}{10}{a}^{n-10}{b}^{10}
    • Also, for term with \binom {n}{n-1}, we know that the term will be \binom{n}{{\color{Red}n-1}}{a}^{n-{\color{Red}\left(n-1\right)}}{b}^{{\color{Red}n-1}} =\binom{n}{n-1}a{b}^{n-1}
    • What about the first and the last term? We have seen that all the other terms have a form of
      • \binom{n}{{\color{Red}\heartsuit}}{a}^{n-{\color{Red}\heartsuit}}{b}^{{\color{Red}\heartsuit}}
    • Thus, for the first term, which is {a}^{n} \,, can we write in the same form?
      • {a}^{n}= \, \binom{n}{{\color{Red}?}}{a}^{n-{\color{Red}?}}{b}^{{\color{Red}?}}
      • Since it would mean {a}^{n}={a}^{n-{\color{Red}?}}, it would mean we would put a 0 \,
      • Thus we rewrite {a}^{n}= \, \binom{n}{0}{a}^{n-0}{b}^{0}. Note that \binom {n}{0}=1 and {b}^{0}=1 \,
    • Notice how it fits nicely into the formula
    • {\left(a+b \right)}^{n}=\binom{n}{{\color{Red}0}}{a}^{n-{\color{Red}0}}{b}^{{\color{Red}0}}+\binom{n}{{\color{Blue}1}}{a}^{n-{\color{Blue}1}}{b}^{{\color{Blue}1}} +\binom{n}{{\color{Green}2}}{a}^{n-{\color{Green}2}}{b}^{{\color{Green}2}}+\binom{n}{{\color{Purple}3}}{a}^{n-{\color{Purple}3}}{b}^{{\color{Purple}3}}+\ldots
      • Note that we have also rewritten b \,= {b}^{1} \,
    • What about the last term, {b}^{n} \,?
      • {b}^{n}= \, \binom{n}{{\color{Red}n}}{a}^{n-{\color{Red}n}}{b}^{{\color{Red}n}}. Note that \binom {n}{n}=1 and {a}^{n-n}={a}^{0}=1 \,
    • Thus, the formula know looks like
      • {\left(a+b \right)}^{n}=\binom{n}{0}{a}^{n-0}{b}^{0}+\binom{n}{1}{a}^{n-1}{b}^{1}+\binom{n}{2}{a}^{n-2}{b}^{2}+\binom{n}{3}{a}^{n-3}{b}^{3}+ \ldots+\binom{n}{n-2}{a}^{2}{b}^{n-2}+\binom{n}{n-1}{a}^{1}{b}^{n-1}+\binom{n}{n}{a}^{0}{b}^{n}
    • Thus, EVERY term now has the form of
      • \binom{n}{{\color{Red}\heartsuit}}{a}^{n-{\color{Red}\heartsuit}}{b}^{{\color{Red}\heartsuit}}. We would use r \, to instead of {\color{Red}\heartsuit}
    • Thus \binom{n}{{\color{Red}r}}{a}^{n-{\color{Red}r}}{b}^{{\color{Red}r}}
    • Important : Where r \, takes values from 0 \, to n \, and NOT 1 \, to n \,


But how would we know what value of r \, to use for which term?

  • Let's name the terms first (according to position)
    • {\left(a+b \right)}^{n}=	
\overbrace{\binom{n}{0}{a}^{n-0}{b}^{0}}^{{1}^{st} term} 
+\overbrace{\binom{n}{1}{a}^{n-1}{b}^{1}}^{{2}^{nd} term} 
+\overbrace{\binom{n}{2}{a}^{n-2}{b}^{2}}^{{3}^{rd} term} 
+\overbrace{\binom{n}{3}{a}^{n-3}{b}^{3}}^{{4}^{th} term} 
+\ldots
+\overbrace{\binom{n}{n-2}{a}^{2}{b}^{n-2}}^{{\left(n-1\right)}^{th} term} 
+\overbrace{\binom{n}{n-1}{a}^{1}{b}^{n-1}}^{{n}^{th} term} 
+\overbrace{\binom{n}{n}{a}^{0}{b}^{n}}^{{\left(n+1\right)}^{th} term}
    • Note : The last term is {\left(n+1\right)}^{th}term. For example, the expansion of {\left(a+b\right)}^{3} = {a}^{3}+3{a}^{2}b+3a{b}^{2}+{b}^{3} gives us 4 terms, not 3.
    • But the r \, does not start from 1 \,, but from 0 \,. Let's put the value of r \, under each term.
    • {\left(a+b \right)}^{n}=	
\underbrace{\overbrace{\binom{n}{0}{a}^{n-0}{b}^{0}}^{{1}^{st} term}}_{r=?}
+\underbrace{\overbrace{\binom{n}{1}{a}^{n-1}{b}^{1}}^{{2}^{nd} term}}_{r=?} 
+\underbrace{\overbrace{\binom{n}{2}{a}^{n-2}{b}^{2}}^{{3}^{rd} term}}_{r=?} 
+\underbrace{\overbrace{\binom{n}{3}{a}^{n-3}{b}^{3}}^{{4}^{th} term}}_{r=?} 
+\ldots
+\underbrace{\overbrace{\binom{n}{n-2}{a}^{2}{b}^{n-2}}^{{\left(n-1\right)}^{th} term}}_{r=?} 
+\underbrace{\overbrace{\binom{n}{n-1}{a}^{1}{b}^{n-1}}^{{n}^{th} term}}_{r=?} 
+\underbrace{\overbrace{\binom{n}{n}{a}^{0}{b}^{n}}^{{\left(n+1\right)}^{th} term}}_{r=?}
    • {\left(a+b \right)}^{n}=	
\underbrace{\overbrace{\binom{n}{0}{a}^{n-0}{b}^{0}}^{{1}^{st} term}}_{r=0}
+\underbrace{\overbrace{\binom{n}{1}{a}^{n-1}{b}^{1}}^{{2}^{nd} term}}_{r=1} 
+\underbrace{\overbrace{\binom{n}{2}{a}^{n-2}{b}^{2}}^{{3}^{rd} term}}_{r=2} 
+\underbrace{\overbrace{\binom{n}{3}{a}^{n-3}{b}^{3}}^{{4}^{th} term}}_{r=3} 
+\ldots
+\underbrace{\overbrace{\binom{n}{n-2}{a}^{2}{b}^{n-2}}^{{\left(n-1\right)}^{th} term}}_{r=n-2} 
+\underbrace{\overbrace{\binom{n}{n-1}{a}^{1}{b}^{n-1}}^{{n}^{th} term}}_{r=n-1} 
+\underbrace{\overbrace{\binom{n}{n}{a}^{0}{b}^{n}}^{{\left(n+1\right)}^{th} term}}_{r=n}
    • Thus, we can conclude, for the {10}^{th} \, term, for example, r= \, 9 \,
    • On the other hand, if r = 7 \,, it represents the {8}^{th} \, term.
    • So which term does \binom{n}{r}{a}^{n-r}{b}^{r} represent? {\left(r+1\right)}^{th} term.
      • {\left(a+b \right)}^{n}=	
\underbrace{\overbrace{\binom{n}{0}{a}^{n-0}{b}^{0}}^{{1}^{st} term}}_{r=0}
+\underbrace{\overbrace{\binom{n}{1}{a}^{n-1}{b}^{1}}^{{2}^{nd} term}}_{r=1} 
+\underbrace{\overbrace{\binom{n}{2}{a}^{n-2}{b}^{2}}^{{3}^{rd} term}}_{r=2} 
+\ldots
+\underbrace{\overbrace{\binom{n}{r}{a}^{n-r}{b}^{r}}^{{r+1}^{th} term}}_{r=r} 
+\ldots
+\underbrace{\overbrace{\binom{n}{n-2}{a}^{2}{b}^{n-2}}^{{\left(n-1\right)}^{th} term}}_{r=n-2} 
+\underbrace{\overbrace{\binom{n}{n-1}{a}^{1}{b}^{n-1}}^{{n}^{th} term}}_{r=n-1} 
+\underbrace{\overbrace{\binom{n}{n}{a}^{0}{b}^{n}}^{{\left(n+1\right)}^{th} term}}_{r=n}


Thus, the formula is

  • {r+1}^{th} \, term, {T}_{r+1}=\binom{n}{r}{a}^{n-r}{b}^{r}

We can also use \sum notation to represent the whole expansion

  • {\left(a+b \right)}^{n}= \sum_{r=0}^n \binom{n}{r}{a}^{n-r}{b}^{r}. Note the r=0 \,

When to Use the formula

First, before we even start to see how to use the formula, we must know WHEN to use the formula.

  • What does the formula gives us?
    • A specific term.
    • Thus, it allows us to find a single term WITHOUT needing to write out the whole expansion.
    • In other words, we would use this formula when the questions asks for specific terms only rather than the whole expansion.

Using the formula

First step, would be memorizing the formula

  • {T}_{r+1}= \, \binom{n}{r}{a}^{n-r}{b}^{r}

The next step, would be to substitute a,b,n \, from the wanted expansion. This actually takes a bit of practice.

  • {\left(x+y\right)}^{7}
    • {T}_{r+1}\, =\binom{{\color{Red}7}}{r}{x}^{{\color{Red}7}-r}{y}^{r}
  • {\left(2a-b\right)}^{4} . Becareful of "apples" and "oranges"!
    • {T}_{r+1}\, =\binom{4}{r}{{\color{Red}\left(2a\right)}}^{4-r}{{\color{Blue}\left(-b\right)}}^{r}
  • {\left(a+b\right)}^{2n}
    • {T}_{r+1}\, =\binom{{\color{Red}2n}}{r}{a}^{{\color{Red}2n}-r}{b}^{r}

Determining Value of r

The next, and the most tricky step, is determining the value of r \, needed for the term required.

  • Again, first remember the formula is {T}_{r+1}=\binom{n}{r}{a}^{n-r}{b}^{r}. In other words, when we use r \,, it represents {\left(r+1\right)}^{th} term.

Example

  • In the expansion of {\left(3+2x\right)}^{10}, find
  • {6}^{th} \, term
  • Before determining value of r \, needed, let's write the formula first
    • {T}_{r+1}\, =\binom{10}{r}{3}^{10-r}{\left(2x\right)}^{r}
    • \mbox{For }{T}_{6}\,, r= \, 5 \, (if you don't understand why, have a look again at the above materials)
    • \therefore {T}_{6} =\binom{10}{5}{3}^{10-5}{\left(2x\right)}^5 =1959552{x}^{5} \,

  • {8}^{th} \, term
  • {T}_{8}=414720{x}^{7} \,
    • \mbox{For }{T}_{8}\,, r=7 \,. {T}_{8}=\binom{10}{7}{3}^{3}{\left(2x\right)}^7=414720{x}^{7}

  • term in {x}^{3} \,
    • This would be a more challenging question. Make sure you understand the steps that we take here.
      • First, let's look back at the formula {T}_{r+1}=\binom{10}{r}{3}^{10-r}{\left(2x\right)}^{r}
      • We need term in {x}^{3} \,. Looking at the above formula, every term will have x \, to the power of r \,, that is {x}^{r} \,. Note: The 2 \, would NOT affect the index of the x \,.
      • So each term have {x}^{r} \,, but we need {x}^{3} \,, so obviously we will use r= \, 3 \,
    • {T}_{r+1}=\binom{10}{r}{3}^{10-r}{\left(2x\right)}^{r}
      • \mbox{For term in }{x}^{3} \,, r=3 \,
      • \therefore \mbox{term in }{x}^{3}\,  =\binom{10}{3}{3}^{10-3}{\left(2x\right)}^{3} =2099520{x}^{3}\,
      • Which term was the {x}^{3} \, actually? Third? Fourth? Fifth? It DOES NOT matter here, so we don't need to write it here (it's actually the {T}_{4} \,).

  • term in {x}^{5} \,
  • \mbox{term in }{x}^{5}=1959552{x}^{5} \,
    • {T}_{r+1}=\binom{10}{r}{3}^{10-r}{\left(2x\right)}^{r}. \mbox{For term in }{x}^{5}, r=5 \,. \therefore \mbox{term in }{x}^{5}=\binom{10}{5}{3}^{5}{\left(2x\right)}^{5}=1959552{x}^{5}

IMPORTANT : It DOES NOT always mean that term in {x}^{a} \, will be r=a \,. it just worked for the above expansion because each term has {x}^{r} \,


  • In the expansion of {\left({x}^{3}-\frac{2}{{x}^{2}} \right)}^{5}, find
  • term in {x}^{5} \,
    • Firstly,{T}_{r+1} \, =\binom{5}{r}{\left({x}^{3}\right)}^{5-r}{\left(-\frac{2}{{x}^{2}}\right)}^{r}
      • Now, what value of r \, would we use to obtain {x}^{5} \,?
        • If we just use r=5 \,, we would get {x}^{3\left(5-5\right)}{\left({x}^{-2}\right)}^{5}={x}^{-10}, which is definitely not what we want.
        • We would want a value of r \, which will give us {x}^{5} \, AFTER combining and simplifying all the index of x \,
        • So let's study the index(degree) of x \, in each term
        • Degree of x= \, 3\left(5-r \right)-2r
        • Note : Be careful when writing this step. If you have trouble with this, you can do a few more more steps.
          • {T}_{r+1}=\binom{5}{r}{\left({x}^{3}\right)}^{5-r}{\left(-\frac{2}{{x}^{2}}\right)}^{r} =\binom{5}{r}{x}^{3\left(5-r\right)}{\left(-2\right)}^{r}{\left({{x}^{-2}}\right)}^{r}
    • Thus we now have
      • \begin{align}
&{T}_{r+1} =\binom{5}{r}{\left({x}^{3}\right)}^{5-r}{\left(-\frac{2}{{x}^{2}}\right)}^{r} \\
& \therefore \mbox{Degree of } x= 3\left(5-r \right)-2r=15-5r \\
\end{align}
        • We need term in {x}^{5} \,, thus we let whatever we get above to be equals to what is required
    • \mbox{For term in }{x}^{5} \,
    • 15-5r=5 \,
    • \therefore r=2 \,
    • \therefore \mbox{term in }{x}^{5} \, =\binom{5}{2}{\left({x}^{3}\right)}^{3}{\left(-\frac{2}{{x}^{2}}\right)}^{2}
      • Remember that to simplify such a term, concentrate on the numbers (and sign), then the index.
    • =40{x}^{5} \,
      • Of course, we already know it should be {x}^{5} \,, but do calculate the index anyway as it will be a good way to check that you got the correct r \,
      • IMPORTANT :If you did not get the correct degree, it means your value of r \, is WRONG!
  • constant term / term independent of x \,
    • Note : Constant term here means no variable a,b,x,y,\ldots.
      • Term independent of x \, (or y, a, b, \ldots \,) carry the same meaning.
      • In either case, degree of x \, =0 \,
    • \mbox{For constant term}\,
      • 15-5r=0 \,
      • r=3 \,
      • \therefore \mbox{constant term } =\binom{5}{3}{\left({x}^{3}\right)}^{2}{\left(-\frac{2}{{x}^{2}}\right)}^{3} =-80\,

  • coefficient of the term in \frac{1}{{x}^{5}}
    • \mbox{For term in }\frac{1}{{x}^{5}}
    • 15-5r=-5 \,
    • r=4 \,
    • \therefore \mbox{term in }\frac{1}{{x}^{5}} =\binom{5}{4}{\left({x}^{3}\right)}^{1}{\left(-\frac{2}{{x}^{2}}\right)}^{4} =\frac{80}{{x}^{5}}
    • Correct? You sure?
      • Remember the two things you need to check
        1. Check that you have answered the question
        2. Check that the answer is correct
      • Unfortunately, a lot of times we actually forget to check 1.
        • The question asked for the coefficient, not the term itself. Thus, the final step is
          • \therefore \mbox{coefficient of the term in }\frac{1}{{x}^{5}}=80

More Examples

  • {\left(1+3{x}^{2}\right)}^{7}
    • {T}_{r+1}= \, \binom{7}{r}{1}^{7-r}{\left(3{x}^{2}\right)}^{r}
    • \mbox{Degree of }x =\, 2r \,
  • {\left(3x-\frac{2}{x}\right)}^{5}
    • {T}_{r+1}= \, \binom{5}{r}{\left(3x\right)}^{5-r}{\left(-\frac{2}{x}\right)}^{r}
    • \mbox{Degree of }x =\, \left(5-r\right)-r \,
  • {\left({x}^{2}+\frac{1}{2{x}^{3}}\right)}^{6}
    • {T}_{r+1}= \, \binom{6}{r}{\left({x}^{2}\right)}^{6-r}{\left(\frac{1}{2{x}^{3}}\right)}^{r}
    • \mbox{Degree of }x =\, 2\left(6-r\right)-3r \,

Exercise 2

In the following expansions, find the terms/coefficients stated

1) {\left(3-2x \right)}^{9} ; {3}^{rd} \, and {6}^{th} \, term 314928{x}^{2} ; -326592{x}^{5} \,

  • \begin{align}
& {T}_{r+1}=\binom{9}{r}{3}^{9-r}{\left(-2x\right)}^{r} \\
& \mbox{For }{3}^{rd} \mbox{ term, }r=2 \\
& {T}_{3}=\binom{9}{2}{3}^{7}{\left(-2x\right)}^{2}=314928{x}^{2}\\
& \mbox{For }{6}^{th} \mbox{ term, }r=5 \\
& {T}_{6}=\binom{9}{5}{3}^{4}{\left(-2x\right)}^{5}=-326592{x}^{5}\\
\end{align}

2) {\left(1+x \right)}^{15} ; term in {x}^{5} \, and term in{x}^{12} \, 3003{x}^{5} ; 455{x}^{12} \,

  • \begin{align}
& {T}_{r+1}=\binom{15}{r}{x}^{r} \\
& \mbox{For term in }{x}^{5}, r=5 \\
& \therefore \mbox{term in }{x}^{5}=\binom{15}{5}{x}^{5}=3003{x}^{5}\\
& \mbox{For term in }{x}^{12}, r=12 \\
& \therefore \mbox{term in }{x}^{12}=\binom{15}{12}{x}^{12}=455{x}^{12}\\
\end{align}

3) {\left(x+2y \right)}^{8} ; term in {x}^{2}{y}^{6} \, =1792{x}^{2}{y}^{6} \,

  • \begin{align}
& {T}_{r+1}=\binom{8}{r}{x}^{8-r}{\left(2y\right)}^{r} \\
& \mbox{For term in }{x}^{2}{y}^{6}, r=6 \\
& \therefore \mbox{term in }{x}^{2}{y}^{6}=\binom{8}{6}{x}^{2}{\left(2y\right)}^{6}=1792{x}^{2}{y}^{6}\\
\end{align}

4) {\left(1-3{x}^{2} \right)}^{10} ; coefficient of term in {x}^{6}\, and coefficient of term in {x}^{8}\, -3240 ; 17010\,

  • \begin{align}
& {T}_{r+1}=\binom{10}{r}{\left(-3{x}^{2}\right)}^{r} \\
& \mbox{Degree of }x =2r \\ 
& \mbox{For term in }{x}^{6}, 2r=6, \therefore r=3 \\
& \therefore \mbox{term in }{x}^{6}=\binom{10}{3}{\left(-3{x}^{2}\right)}^{3}=-3240{x}^{6}\\
& \mbox{coefficient of term in }{x}^{6}=-3240 \\
& \mbox{For term in }{x}^{8}, 2r=8, \therefore r=4 \\
& \therefore \mbox{term in }{x}^{8}=\binom{10}{4}{\left(-3{x}^{2}\right)}^{4}=17010{x}^{8}\\
& \mbox{coefficient of term in }{x}^{8}=17010 \\
\end{align}

5) {\left(x+\frac{1}{x}\right)}^{8} ; constant term and term in \frac{1}{{x}^{4}}\, 70 ; \frac{28}{{x}^{4}}

  • \begin{align}
& {T}_{r+1}=\binom{8}{r}{x}^{8-r}{\left(\frac{1}{x}\right)}^{r} \\
& \mbox{Degree of }x =8-r-r=8-2r  \\ 
& \mbox{For constant term }, 8-2r=0, \therefore r=4\\
& \therefore \mbox{constant term }=\binom{8}{4}{x}^{4}{\left(\frac{1}{x}\right)}^{4}=70\\
& \mbox{For term in }\frac{1}{{x}^{4}}, 8-2r=-4, \therefore r=6 \\
& \therefore \mbox{term in }\frac{1}{{x}^{4}}=\binom{8}{6}{x}^{2}{\left(\frac{1}{x}\right)}^{6}=\frac{28}{{x}^{4}}\\
\end{align}

6) {\left(2{x}^{3}-\frac{1}{3{x}^{2}}\right)}^{9} ; term in {x}^{7}\, and term in \frac{1}{{x}^{8}}\, \frac{448}{9}{x}^{7} ; -\frac{16}{243{x}^{8}}

  • \begin{align}
& {T}_{r+1}=\binom{9}{r}{\left(2{x}^{3}\right)}^{9-r}{\left(-\frac{1}{3{x}^{2}}\right)}^{r} \\
& \mbox{Degree of }x= 3\left(9-r \right)-2r=27-5r\, \\ 
& \mbox{For term in }{x}^{7}, 27-5r=7, \therefore r=4\\
& \therefore \mbox{term in }{x}^{7}=\binom{9}{4}{\left(2{x}^{3}\right)}^{5}{\left(-\frac{1}{3{x}^{2}}\right)}^{4}=\frac{448}{9}{x}^{7}\\
& \mbox{For term in }\frac{1}{{x}^{8}}, 27-5r=-8, \therefore r=7\\
& \therefore \mbox{term in }\frac{1}{{x}^{8}}=\binom{9}{7}{\left(2{x}^{3}\right)}^{2}{\left(-\frac{1}{3{x}^{2}}\right)}^{7}=-\frac{16}{243{x}^{8}}\\
\end{align}

Ascending/Descending Powers

{\left(a+b \right)}^{n} ={a}^{n}+\binom{n}{1}{a}^{n-1}b+\binom{n}{2}{a}^{n-2}{b}^{2}+\dots+\binom{n}{n-1}a{b}^{n-1}+{b}^{n}

  • The powers of b \, are ascending(increasing)
  • The powers of a \, are descending(decreasing)

If, however, we need it to be the other way round, we can exchange their positions

  • {\left(a+b \right)}^{n}= {\left(b+a \right)}^{n}= 
{b}^{n}+\binom{n}{1}{b}^{n-1}a+\binom{n}{2}{b}^{n-2}{a}^{2}+\dots+\binom{n}{n-1}b{a}^{n-1}+{a}^{n}
  • The powers of a \, are ascending
  • The powers of b \, are descending

Formula for (1+x)^n

In the special case where a=1, b=x \,

  • {\left(1+x \right)}^{n}
    • ={1}^{n}+\binom{n}{1}{1}^{n-1}x+\binom{n}{2}{1}^{n-2}{x}^{2}+\dots+{x}^{n}
    • =1+\binom{n}{1}x+\binom{n}{2}{x}^{2}+\dots+{x}^{n}

Expand until

When we are only required to expand only until a certain terms, there are a few ways the question can be written

Example : Expand the following in ascending powers powers of x \,

  • a) until the term in {x}^{2} \,
  • b) neglecting /omitting the term in {x}^{3} \, and above
  • c) if the term in {x}^{3} \, above are omitted
  • d) if x\, is so small that x^{3}\, and higher powers of x\, can be ignored

Note that all the ways above have the same meaning, since if we expand till the term in {x}^{2} \, only, it means we are omitting the terms in {x}^{3} \, and above.

It is thus very important to read the question carefully, to note whether we are required to do ascending or descending, and to expand until where.

IMPORTANT : Since the expansion is not complete, we MUST leave +\ldots at the end to show that we understand there are more terms behind.

Examples

Expand the following in ascending powers of x \, until the term in {x}^{3} \,

  • {\left(1+x \right)}^{7}
    • Analyze : It's already in the correct form, we just start expanding
    • {\left(1+x \right)}^{7} =1+\binom{7}{1}x+\binom{7}{2}{x}^{2}+\binom{7}{3}{x}^{3} We see at this point we already reach {x}^{3} \,, thus we need not continue but instead just leave +\dots
    • {\left(1+x \right)}^{7}=1+\binom{7}{1}x+\binom{7}{2}{x}^{2}+\binom{7}{3}{x}^{3}+\ldots
    • =1+7x+21{x}^{2}+35{x}^{3}+\ldots
  • {\left(x+2 \right)}^{5}
    • Analyze : Notice that if we just expand it in this form, the powers of x \, are descending. Thus we need bring the x \, behind.
    • {\left(x+2 \right)}^{5} ={\left(2+x \right)}^{5}
    • ={2}^{5}+\binom{5}{1}{2}^{4}x+\binom{5}{2}{2}^{3}{x}^{2}+\binom{5}{3}{2}^{2}{x}^{3}+\ldots
    • =32+80x+80{x}^{2}+40{x}^{3}+\ldots
  • {\left(1+{x}^{2} \right)}^{6}
    • {\left(1+{x}^{2} \right)}^{6} =1+\binom{6}{1}\left({x}^{2}\right)+\binom{6}{2}{\left({x}^{2}\right)}^{2}+\dots We stop at the third term as we can see it already reached {x}^{4} \,. In fact, the third term is not needed, but we don't need to cut it way if we already have written it down, but instead omit it on the next step
    • =1+6{x}^{2}+\ldots
  • {\left(1+2x \right)}^{4}-{\left(1+3x \right)}^{5}
    • Analyze : We would need to expand BOTH up to {x}^{3} \,, and then simplify
    • {\left(1+2x \right)}^{4}-{\left(1+3x \right)}^{5}
    • =\left[1+\binom{4}{1}\left(2x \right)+\binom{4}{2}{\left(2x \right)}^{2}+\binom{4}{3}{\left(2x \right)}^{3}+\ldots\right] -\left[1+\binom{5}{1}\left(3x \right)+\binom{5}{2}{\left(3x \right)}^{2}+\binom{5}{3}{\left(3x \right)}^{3}+\ldots\right]
    • =\left(1+8x+24{x}^{2}+32{x}^{3}+\ldots \right) -\left(1+15x+90{x}^{2}+270{x}^{3}+\ldots \right)
    • =-7x-66{x}^{2}-238{x}^{3}+\ldots

Multiplying with Polynomial/Another Expansion

Normally, we would only need the first few terms (in ascending powers), so

  • we rearrange (if needed) all expansions/polynomials in ascending powers
  • expand only until the required terms
  • multiply and simplify carefully

Example Expand the following in ascending powers of x \,, neglecting the term {x}^{3}\, and above.

  • We expand in ascending powers till {x}^{2}\,
  • \left(x+2 \right){\left(1+2x \right)}^{4}
    • Analyze : We need to be rearrange the first bracket only.
    • \left(x+2 \right){\left(1+2x \right)}^{4} =\left(2+x \right){\left(1+2x \right)}^{4} Next, we expand the second bracket
    • =\left(2+x \right)\left[1+\binom{4}{1}\left(2x \right)+\binom{4}{2}{\left(2x \right)}^{2}+\ldots \right]
    • =\left(2+x \right)\left(1+8x+24{x}^{2}+\ldots \right)
    • The next step is tricky. We expand the two brackets, but only to the required terms. The first bracket have two terms, the second bracket have three, after expanding, we should get six, but not all of it is needed. For example x \times 24{x}^{2} will give us {x}^{3} \, which is not needed. This is the reason we rearrange ALL brackets before expanding, so that the large terms are always behind and can be omitted.
    • Be systematic when expanding, to make sure we don't leave out any needed terms. Start from the smallest in the first bracket, \left({\color{Red}2}+x \right)\left(1+8x+24{x}^{2}+\ldots \right)
      • ={\color{Red}2+16x+48{x}^{2}} \,
    • THEN only we move on to the next term \left(2+{\color{Blue}x} \right)\left(1+8x+24{x}^{2}+\ldots \right)
    • ={\color{Red}2+16x+48{x}^{2}}+{\color{Blue}x+8{x}^{2}}+\ldots Notice we need to expand only till {x}^{2} \,
    • =2+17x+56{x}^{2}+\ldots


  • \left(1-{x}^{2} \right){\left(1+x \right)}^{5}
  • Analyze : Already arranged nicely
    • =\left(1-{x}^{2} \right)\left[1+\binom{5}{1}x+\binom{5}{2}{x}^{2}+\ldots \right]
    • =\left(1-{x}^{2} \right)\left(1+5x+10{x}^{2}+\ldots \right) \left({\color{Red}1}-{\color{Blue}{x}^{2}} \right)\left(1+5x+10{x}^{2}+\ldots \right)
    • ={\color{Red}1+5x+10{x}^{2}}{\color{Blue}-{x}^{2}}+\ldots
    • =1+5x+9{x}^{2}+\ldots


  • {\left(1-x \right)}^{5}{\left(1+3x \right)}^{4}
    • Analyze : We need to expand BOTH, and THEN expand again. Since it's a bit messy to expand both at the same time, we can expand both separately first.
    • {\left(1-x \right)}^{5} =1+\binom{5}{1}\left(-x \right)+\binom{5}{2}{\left(-x \right)}^{2}+\ldots
=1-5x+10{x}^{2}+\ldots
    • {\left(1+3x \right)}^{4} =1+\binom{4}{1}\left(3x \right)+\binom{4}{2}{\left(3x \right)}^{2}+\ldots
=1+12x+54{x}^{2}+\ldots
    • \therefore {\left(1-x \right)}^{5}{\left(1+3x \right)}^{4} =\left(1-5x+10{x}^{2}+\ldots\right) \left(1+12x+54{x}^{2}+\ldots\right)
    • ={\color{Red}1+12x+54{x}^{2}}-5x-60{x}^{2}+{\color{Blue}10{x}^{2}}+\ldots
    • =1+7x+4{x}^{2} \ldots
    • Note: Make sure you get the last step correct. It will be a crying shame if after all the trouble, you make the mistake at the end. What you can do is "cut" away the terms (lightly with pencil) after you have calculated them. Meaning, after calculating the constants terms, cut them away, after calculating the x \, terms, cut them away, and so on. This way, we can make sure we don't mix up the terms and also won't leave out any terms.

Expansion of (a+b+c)^n

We have the formula for {\left(a+b \right)}^{n}, but what about {\left(a+b+c \right)}^{n}?

Again, we don't change the formula, we change the situation. (actually, there is a trinomial expansion formula, but it's out of the syllabus)

The formula asks for two variable only, so we give it two variable

{\left(a+b+c \right)}^{n}= {\left({\color{Red}\heartsuit}+{\color{Blue}\bigcirc} \right)}^{n}

We can either do it by

  • {\left[{\color{Red}a}+{\color{Blue}\left( b+c\right)}\right]}^{n}
  • {\left[{\color{Red}\left(a+b\right)}+{\color{Blue}c}\right]}^{n}

Example {\left(a+b+c \right)}^{3}

  • ={\left[a+\left(b+c\right) \right]}^{3}
  • ={a}^{3}+\binom {3}{1}{a}^{2}\left(b+c\right)+\binom {3}{2}a{\left(b+c\right)}^{2}+{\left(b+c\right)}^{3}
  • And then we will proceed expanding the brackets

Example : Expand the following in ascending powers of x \, until the term in {x}^{3} \,

  • {\left(1+x+{x}^{2} \right)}^{4}
    • Analyze: First, make sure it's already arranged from small to large (index). Next we would need to choose two terms to be treated as one. Here, obviously we would choose the last two, since the first term is just 1 \,
    • ={\left[1+\left(x+{x}^{2}\right)\right]}^{4}
    • =1+\binom{4}{1}\left(x+{x}^{2}\right)+\binom{4}{2}{\left(x+{x}^{2}\right)}^{2}+\binom{4}{3}{\left(x+{x}^{2}\right)}^{3}+\dots
    • Notice that next we would need to expand {\left(x+{x}^{2}\right)}^{2} and {\left(x+{x}^{2}\right)}^{3}, but only until {x}^{2} \,
      • {\left(x+{x}^{2}\right)}^{2} ={x}^{2}+2{x}^{3}+\ldots The last term is not needed
      • {\left(x+{x}^{2}\right)}^{3} ={x}^{3}+\ldots All other terms have higher powers
    • =1+4\left(x+{x}^{2}\right)+6\left({x}^{2}+2{x}^{3}+\ldots \right)+4\left({x}^{3}+\ldots \right)+\ldots
    • =1+4x+4{x}^{2}+6{x}^{2}+12{x}^{3}+4{x}^{3}+\ldots
    • =1+4x+10{x}^{2}+16{x}^{3}+\ldots

Exercise 3

Expand the following in ascending powers of x \, until the term in {x}^{3} \,

1) \left(1+x \right){\left(1-3x \right)}^{5} =1-14x+75{x}^{2}-180{x}^{3}+\ldots

  • 
\begin{align}
\left(1+x \right){\left(1-3x \right)}^{5}
& = \left(1+x \right)\left[1+\binom{5}{1}\left(-3x\right)+\binom{5}{2}{\left(-3x\right)}^{2}+\binom{5}{3}{\left(-3x\right)}^{3}+\ldots\right]\\ 
& = \left(1+x \right)\left(1-15x+90{x}^{2}-270{x}^{3}+\ldots \right)\\ 
& = 1-15x+90{x}^{2}-270{x}^{3}+x-15{x}^{2}+90{x}^{3}+\ldots \\
& = 1-14x+75{x}^{2}-180{x}^{3}+\ldots
\end{align}

2) \left({x}^{2}+3 \right){\left(1-2x \right)}^{6} = 3-36x+181{x}^{2}-492{x}^{3}+\ldots

  • 
\begin{align}
\left({x}^{2}+3 \right){\left(1-2x \right)}^{6}
& = \left(3+{x}^{2}\right) \left[1+\binom{6}{1}\left(-2x\right)+\binom{6}{2}{\left(-2x\right)}^{2}+\binom{6}{3}{\left(-2x\right)}^{3}+\ldots\right]\\
& = \left(3+{x}^{2}\right) \left(1-12x+60{x}^{2}-160{x}^{3}+\ldots \right)\\
& = 3-36x+180{x}^{2}-480{x}^{3}+{x}^{2}-12{x}^{3}+\ldots\\
& = 3-36x+181{x}^{2}-492{x}^{3}+\ldots
\end{align}

3) \left(1-x+{x}^{2} \right){\left(1+x \right)}^{7} =1+6x+15{x}^{2}+21{x}^{3}+\ldots

  • 
\begin{align}
\left(1-x+{x}^{2} \right){\left(1+x \right)}^{7}
& = \left(1-x+{x}^{2} \right)\left[1+\binom{7}{1}x+\binom{7}{2}{x}^{2}+\binom{7}{3}{x}^{3}+\ldots \right]\\ 
& = \left(1-x+{x}^{2} \right)\left(1+7x+21{x}^{2}+35{x}^{3}+\ldots \right) \\ 
& = 1+7x+21{x}^{2}+35{x}^{3}-x-7{x}^{2}-21{x}^{3}+{x}^{2}+7{x}^{3}+\ldots \\
& = 1+6x+15{x}^{2}+21{x}^{3}+\ldots
\end{align}

4) {\left( x+1\right)}^{4}{\left(2x+1 \right)}^{6} =1+16x+114{x}^{2}+476{x}^{3}+\ldots

    • 
\begin{align}
{\left( x+1\right)}^{4}
& = {\left( 1+x\right)}^{4}\\ 
& = \left[1+\binom{4}{1}x+\binom{4}{2}{x}^{2}+\binom{4}{3}{x}^{3}+\ldots \right]\\ 
& = 1+4x+6{x}^{2}+4{x}^{3}+\ldots
\end{align}
    • \begin{align}
{\left( 2x+1\right)}^{6}
& = {\left( 1+2x\right)}^{6}\\ 
& = \left[1+\binom{6}{1}\left(2x \right)+\binom{6}{2}{\left(2x \right)}^{2}+\binom{6}{3}{\left(2x \right)}^{3}+\ldots \right]\\ 
& = 1+12x+60{x}^{2}+160{x}^{3}+\ldots
\end{align}
    • \begin{align}
\therefore {\left( x+1\right)}^{4}{\left(2x+1 \right)}^{6}
& = \left(1+4x+6{x}^{2}+4{x}^{3}+\ldots\right)\left(1+12x+60{x}^{2}+160{x}^{3}+\ldots\right)\\ 
& = 1+12x+60{x}^{2}+160{x}^{3}+4x+48{x}^{2}+240{x}^{3}+6{x}^{2}+72{x}^{3}+4{x}^{3}+\ldots\\ 
& = 1+16x+114{x}^{2}+476{x}^{3}+\ldots
\end{align}

5) {\left(1+x-{x}^{2} \right)}^{4} = 1+4x+2{x}^{2}-8{x}^{3}+\ldots

  • 
\begin{align}
{\left(1+x-{x}^{2} \right)}^{4}
& = {\left[1+\left(x-{x}^{2}\right)\right]}^{4} \\ 
& = 1+\binom{4}{1}\left(x-{x}^{2}\right)+\binom{4}{2}{\left(x-{x}^{2}\right)}^{2}+\binom{4}{3}{\left(x-{x}^{2}\right)}^{3}+\ldots \\ 
& = 1+4\left(x-{x}^{2}\right)+6\left({x}^{2}-2{x}^{3}+\ldots \right)+4\left({x}^{3}+\ldots \right)+\ldots \\
& = 1+4x-4{x}^{2}+6{x}^{2}-12{x}^{3}+4{x}^{3}+\ldots \\ 
& = 1+4x+2{x}^{2}-8{x}^{3}+\ldots
\end{align}

6) {\left(1-3x+2{x}^{2} \right)}^{6} = 1-18x+147{x}^{2}-720{x}^{3}+\ldots

  • 
\begin{align}
{\left(1-3x+2{x}^{2} \right)}^{6}
& = {\left[1+\left(-3x+2{x}^{2}\right)\right]}^{6} \\ 
& = 1+\binom{6}{1}\left(-3x+2{x}^{2} \right)+\binom{6}{2}{\left(-3x+2{x}^{2} \right)}^{2}+\binom{6}{3}{\left(-3x+2{x}^{2} \right)}^{3}+\ldots \\ 
& = 1+6\left(-3x+2{x}^{2} \right)+15\left(9{x}^{2}-12{x}^{3}+\ldots \right)+20\left(-27{x}^{3}+\ldots \right)+\ldots \\
& = 1-18x+12{x}^{2}+135{x}^{2}-180{x}^{3}-540{x}^{3}+\ldots \\ 
& = 1-18x+147{x}^{2}-720{x}^{3}+\ldots
\end{align}

The(r+1)th term (Part 2)

To find certain terms from expansions that involve multiplication with other polynomial/expansions, we have to analyze the situation very carefully. The formula for {T}_{r+1}\, helps, but ONLY after we analyze what terms we need.

Example 1 : Find the {x}^{5}\, in the expansion \left(3+x \right){\left(1+2x \right)}^{6}

    • Analyze: We must think far ahead in this question. First, think what we would do if we were asked to find the whole expansion?
      • We would expand {\left(1+2x \right)}^{6} first, which would result in something like 1\ldots x\ldots {x}^{2}\ldots {x}^{3}\ldots {x}^{4}\ldots{x}^{5}\ldots{x}^{6}
      • Then we will multiply \left(3+x \right) into it. First,
        • When we multiply 3\, with the terms, the power (of the terms) stay the same
        • When we multiply x\, with the terms, the power (of the terms) increases by one
      • Thus, if we are asked to find {x}^{2}\,, for example, we know there are two such terms
        • \left({\color{Red}3}+x \right)\left(1\ldots x\ldots {\color{Red}{x}^{2}}\ldots {x}^{3}\ldots {x}^{4}\ldots{x}^{5}\ldots{x}^{6}\right)
        • \left(3+{\color{Blue}x} \right)\left(1\ldots {\color{Blue}x}\ldots {x}^{2}\ldots {x}^{3}\ldots {x}^{4}\ldots{x}^{5}\ldots{x}^{6}\right)
      • Thus, we would only need to find the coefficients of the x\, and {x}^{2}\, of that first expansion. For that, we can use the formula for {T}_{r+1}\,, though in the case above, since it involves the early terms, we might as well expand as usual until the {x}^{2}\, term
      • So, for this question, which terms (from the second bracket) will give {x}^{5}\, after multiplying?
        • \left({\color{Red}3}+{\color{Blue}x}\right)\left(\ldots{\color{Blue}{x}^{4}}\ldots{\color{Red}{x}^{5}}\ldots\right)
    • Let's find those two terms
      • For {\left(1+2x \right)}^{6}, {T}_{r+1}\, =\binom{6}{r}{\left(2x\right)}^{r}
        • \mbox{term in  }{x}^{4}\, =\binom{6}{4}{\left(2x\right)}^{4}=240{x}^{4}
        • \mbox{term in  }{x}^{5}\, =\binom{6}{5}{\left(2x\right)}^{5}=192{x}^{5}
    • \therefore \left(3+x \right){\left(1+2x \right)}^{6} =\left(3+x \right)\left(\ldots+240{x}^{4}+192{x}^{5}+\ldots\right)
    • \therefore \mbox{term in  } {x}^{5}\, =3\left(192{x}^{5}\right)+240{x}^{5} =816{x}^{5}\,
    • Note : Don't go writing \left(3+x \right)\left(\ldots+240{x}^{4}+192{x}^{5}+\ldots\right)=3\left(192{x}^{5}\right)+240{x}^{5}. We are finding the term only, based on the expansion.

Example 2 : Find the coefficient of the term in {x}^{3}\, in the expansion \left(1+x+{x}^{2} \right){\left(1+x \right)}^{8}

    • Analyze: \left({\color{Red}1}+{\color{Blue}x}+{\color{Purple}{x}^{2}}\right)\left(1\ldots {\color{Purple}x} \dots {\color{Blue}{x}^{2}}\ldots {\color{Red}{x}^{3}}\ldots \right) Might as well expand like usual.
    • \left(1+x+{x}^{2}\right){\left(1+x \right)}^{8} 
=\left(1+x+{x}^{2} \right)\left[1+\binom{8}{1}x+\binom{8}{2}{x}^{2}+\binom{8}{3}{x}^{3}+\ldots \right]
    • =\left(1+x+{x}^{2} \right)\left(1+8x+28{x}^{2}+56{x}^{3}+\ldots \right)
    • \therefore \mbox{term in }{x}^{3}\, =56{x}^{3}+28{x}^{3}+8{x}^{3}=92{x}^{3}\,
    • \mbox{coefficient of term in }{x}^{3}\, =92\,

Exercise 4

In the following expansions, find the terms/coefficients stated

1) \left(1-2x\right){\left(1+x \right)}^{7} ; term in {x}^{6}\, -35{x}^{6}\,

  • \begin{align}
&\left(1-2x\right){\left(1+x \right)}^{7}\\
&=\left(1-2x\right)\left[\ldots+\binom{7}{5}{x}^{5}+\binom{7}{6}{x}^{6}+\ldots\right]\\
&=\left(1-2x\right)\left(\ldots+21{x}^{5}+7{x}^{6}+\ldots\right)\\
& \mbox{term in }{x}^{6}=7{x}^{6}-42{x}^{6}=-35{x}^{6}\\
\end{align}

2) \left(1+{x}^{2}\right){\left(1-2x \right)}^{10} ; term in {x}^{8}\, 24960{x}^{8}\,

  • \begin{align}
&\left(1+{x}^{2}\right){\left(1-2x \right)}^{10}\\
&=\left(1+{x}^{2}\right)\left[\ldots+\binom{10}{6}{\left(-2x\right)}^{6}+\ldots+\binom{10}{8}{\left(-2x\right)}^{8}+\ldots\right]\\
&=\left(1+{x}^{2}\right)\left(\ldots+13440{x}^{6}+\ldots+11520{x}^{8}+\ldots\right)\\
& \mbox{term in }{x}^{8}=11520{x}^{8}+13440{x}^{8}=24960{x}^{8}\\
\end{align}

3) \left(1+2x+{x}^{2}\right){\left(1+{x}^{2}\right)}^{12} ; term in {x}^{11}\, 1584{x}^{11}\,

  • \begin{align}
&\left(1+2x+{x}^{2}\right){\left(1+{x}^{2}\right)}^{12}=\left(1+2x+{x}^{2}\right)\left[\ldots{x}^{6}\ldots{x}^{8}\ldots{x}^{10}\ldots\right]\\
& \mbox{For }{\left(1+{x}^{2}\right)}^{12},\;{T}_{r+1}=\binom{12}{r}{\left({x}^{2}\right)}^{r}\\
& \mbox{For term in }{x}^{10}, 2r=10, \therefore r=5\\
&\therefore \mbox{term in }{x}^{11}=\left(2x\right)\left[\binom{12}{5}{\left({x}^{2}\right)}^{5}\right]=1584{x}^{11}\\
\end{align}

4) x{\left(\frac{x}{2}+\frac{3}{x}\right)}^{10} ; coefficient of term in x\, \frac{15309}{8}

  • \begin{align}
& \mbox{For }{\left(\frac{x}{2}+\frac{3}{x}\right)}^{10},\;{T}_{r+1}=\binom{10}{r}{\left(\frac{x}{2}\right)}^{10-r}{\left(\frac{3}{x}\right)}^{r}\\
&\mbox{Degree of }x=\left(10-r\right)-r=10-2r\\
&\mbox{For constant term }10-2r=0, \therefore r=5\\
&\therefore \mbox{term in }x=x\left[\binom{10}{5}{\left(\frac{x}{2}\right)}^{5}{\left(\frac{3}{x}\right)}^{5}\right]=\frac{15309}{8}x\\
&\mbox{coefficient of term in }x=\frac{15309}{8}\\
\end{align}
Personal tools