<?xml version="1.0" encoding="UTF-8" ?>
  <resource>
  <id>7713</id>
  <path>/www/nrich/html/content/id/7713/</path>
  <resourceTypeID>3</resourceTypeID>
  <last_published>0000-00-00T00:00:00</last_published>
  <indexXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;&lt;p&gt;&lt;em&gt;This article introduces the Binomial Coefficients. It is best read with paper and pen so that you can have a go at the questions as you read.&lt;/em&gt;&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
There are several ways of defining the binomial coefficients, but for this article we will be using the following definition and notation: \[n\choose k\] (pronounced “$n$ choose $k$”) is the number of distinct subsets of size $k$ of a set of size $n$. More informally, it&amp;#39;s the number of different ways you can choose $k$ things from a collection of $n$ of them (hence $n$ &lt;em&gt;choose&lt;/em&gt; $k$).
So:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;${3 \choose 1} = 3$ because you can either pick the first thing, or the second thing, or the third thing.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Likewise, ${3 \choose 2} = 3$ because you can either take the first two, the first and the third, or the last two. Notice that the order you choose the things in is ignored.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Can you work out the following binomial coefficents?&lt;/p&gt;
&lt;ol style=&quot;list-style-type: decimal&quot;&gt;
&lt;li&gt;$4 \choose 1$&lt;/li&gt;
&lt;li&gt;$4 \choose 2$&lt;/li&gt;
&lt;li&gt;$5 \choose 2$&lt;/li&gt;
&lt;li&gt;$6 \choose 2$&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You&amp;#39;ll need to come up with a systematic method of making sure you&amp;#39;ve found all the ways of choosing. Does your method suggest to you any way of calculating the result directly?&lt;br&gt;&lt;/br&gt;
&lt;br&gt;&lt;/br&gt;
 &lt;/p&gt;
&lt;p&gt;Now go back to the definition in terms of choosing things, and see if you can work out why the following are true for all $n\ge 1$:&lt;/p&gt;
&lt;p&gt;\[{n \choose 0} = {n \choose n} = 1 \] \[{n \choose 1} = {n \choose n-1} = n \]&lt;/p&gt;
&lt;p&gt;This starts to suggest a pattern, in fact:&lt;/p&gt;
&lt;p&gt;\[{n \choose k} = {n \choose n-k}\]&lt;/p&gt;
&lt;p&gt;Can you justify this pattern from the definition?&lt;/p&gt;
&lt;p&gt;Now let&amp;#39;s write out the binomial coefficients in a grid:&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt; &lt;/th&gt;
&lt;th&gt;0&lt;/th&gt;
&lt;th&gt;1&lt;/th&gt;
&lt;th&gt;2&lt;/th&gt;
&lt;th&gt;3&lt;/th&gt;
&lt;th&gt;4&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;0&lt;/th&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;1&lt;/th&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;2&lt;/th&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;3&lt;/th&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt; &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;4&lt;/th&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Do these &lt;a href=&quot;/5347&quot;&gt;look familiar&lt;/a&gt;? They should do. This suggests the following rule:&lt;/p&gt;
&lt;p&gt;\[{n \choose k} = {n-1 \choose k} + {n-1 \choose k-1}\]&lt;/p&gt;
&lt;p&gt;Thinking back to your systematic method, can you explain this relation in terms of choosing things?&lt;/p&gt;
&lt;p&gt;We can use this relation to calculate binomial coefficients, but it&amp;#39;s not very efficient. You&amp;#39;ll find yourself having to calculate more and more binomial coefficients the larger your $n$ and $k$. So let&amp;#39;s try to find another formula, by thinking about the process of choosing:&lt;/p&gt;
&lt;ol style=&quot;list-style-type: decimal&quot;&gt;
&lt;li&gt;
&lt;p&gt;Suppose you want to choose five things from a collection of twelve. How many choices do you have for the first thing? How many choices for the second? How many choices for the third, fourth, and fifth? How many choices does this give altogether?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The problem with the above method is that it counts 1,2,3,4,5 and 2,1,3,4,5 separately even though they are really the same choice. How many times do you count each choice? How can you eliminate them from your count?&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Once you&amp;#39;ve come up with a formula, can you use it to justify the earlier results algebraically?&lt;/p&gt;
&lt;h3 id=&quot;the-connection-with-the-binomial&quot;&gt;The connection with the binomial&lt;/h3&gt;
&lt;p&gt;I mentioned these were called binomial coefficients at the beginning of the article, but I haven&amp;#39;t mentioned the binomial formula since. Well, the binomial formula is this:&lt;/p&gt;
&lt;p&gt;\[(a+b)^n = \sum_{k=0}^n {n \choose k} a^k b^{n-k}\]&lt;/p&gt;
&lt;p&gt;So they are literally just the coefficients of $a^k$ in the expansion of the $n^\textrm{th}$ power.&lt;/p&gt;
&lt;p&gt;Thinking about $(a+b)^n$ as $(a+b)(a+b)(a+b)\dots(a+b)$ and expanding in the usual way, can you see how the choosing-from-sets definition is connected to this idea?&lt;/p&gt;
&lt;h3 id=&quot;extensions&quot;&gt;Extensions&lt;/h3&gt;
&lt;p&gt;These formulae all have justifications both in terms of choosing things and in terms of algebra. See if you can find one or the other (or both!):&lt;/p&gt;
&lt;p&gt;\[\sum_{k=0}^{n-r} {n-k \choose r} = {n+1 \choose r+1}\]&lt;/p&gt;
&lt;p&gt;\[\sum_{k=0}^n {n \choose k} = 2^n\]&lt;/p&gt;
&lt;p&gt;\[\sum_{k=0}^n {n \choose k}^2 = {2n \choose n}\]&lt;/p&gt;&lt;/mdoxml&gt;</indexXML>
  <solutionXML/>
  <noteXML/>
  <clueXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;
&lt;p&gt;When trying to work out the number of ways of choosing things, you&amp;#39;ll first need to come up with a good way of keeping track of what choices you&amp;#39;ve found already.&lt;/p&gt;
&lt;p&gt;You could write T for each thing you took and L for each thing you left, and represent choosing 2 from 5 as TTLLL, TLTLL, TLLTL, ...&lt;/p&gt;
&lt;p&gt;You could decide you were choosing from the first $n$ natural numbers, and represent choosing 2 from 5 as {1,2}, {1,3}, {1,4}, ...&lt;/p&gt;
&lt;p&gt;You should decide which representation feels most natural to you. Which is the most useful may depend on the problem you&amp;#39;re trying to solve at the time, so try both.&lt;/p&gt;
&lt;p&gt;To be sure you have all the choices, look for patterns. Ask yourself, do I have all the choices where I take the first thing? What about all the choices where I don&amp;#39;t take the first thing?&lt;/p&gt;
&lt;p&gt;When you&amp;#39;re trying to prove that ${n \choose k} = {n \choose n-k}$, consider why ${3 \choose 1}$ turned out to be the same as ${3 \choose 2}$. What would be a fast way to choose 99 elements from 100?&lt;/p&gt;
&lt;p&gt;For the addition rule, I think the TLTLL representation is more useful than the {1,3} representation. How many choices begin with T? How many begin with L?&lt;/p&gt;
&lt;p&gt;For the first extension, one approach is to just apply the addition rule repeatedly. If you had a choices interpretation of the addition rule, think about what that means here. This time the {1,3} representation is probably more useful.&lt;/p&gt;
&lt;p&gt;For the second extension, consider what the left-hand side means in terms of choices, or try a proof by induction, or try using the binomial formula.&lt;/p&gt;
&lt;p&gt;For the third extension, we&amp;#39;re trying to write a choice from $2n$ things in terms of choices from $n$ things. How could you choose from $2n$ things by making choices from sets of $n$ things? Alternatively, try using the binomial formula: see also &lt;a href=&quot;/350&quot;&gt;Binomial&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;These extensions are meant to be very hard, so don&amp;#39;t lose sleep over them.&lt;/p&gt;

&lt;/mdoxml&gt;</clueXML>
  <canonXML>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;mdoxml version=&quot;1.0&quot;&gt;
&lt;ul&gt;
&lt;li&gt;${4 \choose 1} = 4$&lt;/li&gt;
&lt;li&gt;${4 \choose 2} = 6$&lt;/li&gt;
&lt;li&gt;${5 \choose 2} = 10$&lt;/li&gt;
&lt;li&gt;${6 \choose 2} = 15$&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;\[{n \choose 0} = {n \choose n} = 1 \] is true because there&amp;#39;s only one way of choosing no things, or all the things. \[{n \choose 1} = {n \choose n-1} = n \] is true because either we&amp;#39;re including a single element, or precluding a single element, and there are $n$ such elements to include or preclude.&lt;/p&gt;
&lt;p&gt;\[{n \choose k} = {n \choose n-k}\] is true because choosing $k$ elements to take from $n$ is equivalent to choosing $n-k$ elements to leave behind.&lt;/p&gt;
&lt;p&gt;\[{n \choose k} = {n-1 \choose k} + {n-1 \choose k-1}\] is true because we can either leave the first element and choose $k$ from the remaining $n-1$, or we can take the first element, in which case we still need $k-1$ more from the remaining $n-1$.&lt;/p&gt;
&lt;p&gt;Deriving the formula:&lt;/p&gt;
&lt;ol style=&quot;list-style-type: decimal&quot;&gt;
&lt;li&gt;
&lt;p&gt;There are $n \times (n-1) \times \dots \times (n-k+1)$ choices altogether.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Each choice is counted $k!$ times because there are $k!$ orderings of $k$ elements ($k$ choices for the first, $k-1$ choices for the second...) and each ordering is counted exactly once. We compensate by dividing by $k!$.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;So we get \[\frac{\prod_{r=n-k+1}^n r}{k!}\] which can be more simply written as \[\frac{n!}{k!(n-k)!}\]&lt;/p&gt;
&lt;p&gt;Then the symmetry between $k$ and $n-k$ follows since $n-(n-k)=k$, the results with $k$ being 0 and 1 and hence $n$ and $n-1$ follow by substitution, and the addition formula follows like so: \[\begin{align*} {n-1 \choose k-1} + {n-1 \choose k} &amp;amp;= \frac{(n-1)!}{(k-1)!(n-k)!} + \frac{(n-1)!}{k!(n-k-1)!} \\ &amp;amp;= \frac{(n-1)!}{(k-1)!(n-k)(n-k-1)!} + \frac{(n-1)!}{k(k-1)!(n-k-1)!} \\ &amp;amp;=
\frac{(n-1)!}{(k-1)!(n-k-1)!}\left(\frac{1}{n-k} + \frac{1}{k}\right) \\ &amp;amp;= \frac{(n-1)!}{(k-1)!(n-k-1)!}\left( \frac{k + (n-k)}{k(n-k)}\right) \\ &amp;amp;= \frac{(n-1)!n}{(k-1)!(n-k-1)!k(n-k)} \\ &amp;amp;= \frac{n!}{k!(n-k)!} \\ &amp;amp;= {n \choose k} \end{align*}\]&lt;/p&gt;
&lt;p&gt;The binomial coefficients arise because in the expansion of $(a+b)(a+b)\dots(a+b)$ we get one $a^k b^{n-k}$ for each set of $k$ $a$&amp;#39;s we can pick out from the $n$ brackets.&lt;/p&gt;
&lt;h3 id=&quot;extensions&quot;&gt;Extensions&lt;/h3&gt;
&lt;p&gt;The first sum can be algebraically shown by repeated application of the addition rule above: \[\begin{align*} {n \choose r} &amp;amp;= {n-1 \choose r-1} + {n-1 \choose r} \\ &amp;amp;= {n-1 \choose r-1} + {n-2 \choose r-1} + {n-2 \choose r} \\ &amp;amp;= \dots \end{align*}\] continuing until we get to ${r-1 \choose r} = 0$. Then we make the substition $n&amp;#39; = n-1$ and $r&amp;#39; = r-1$ to make it a bit neater.&lt;/p&gt;
&lt;p&gt;Alternatively, we&amp;#39;re picking $r+1$ of the numbers $\{1\dots n+1\}$. Let&amp;#39;s pick our &lt;em&gt;smallest&lt;/em&gt; number first to be $k+1$, and then pick the remaining $r$ numbers from the $n-k$ larger numbers. Once we&amp;#39;ve done this for every possible $k$ we&amp;#39;ve made all the possible choices.&lt;/p&gt;
&lt;p&gt;The second sum adds up the number of ways of choosing &lt;em&gt;any&lt;/em&gt; number of elements from $n$ elements. To work out how many this is, just go through each element at a time and decide to take it or leave it: two choices for each element is $2^n$ choices.&lt;/p&gt;
&lt;p&gt;Alternatively, go back to Pascal&amp;#39;s Triangle: apply the addition rule to &lt;em&gt;every&lt;/em&gt; term of the sum on the LHS (just define the awkward ones to be zero). You should find that you get every term on the previous row exactly twice each, so the row sums double every time, so you get $2^n$.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Alternatively&lt;/em&gt;, expand $(a+b)^n$ with the binomial formula and then set $a=b=1$.&lt;/p&gt;
&lt;p&gt;For the third sum, have a look at &lt;a href=&quot;/350/solution&quot;&gt;Binomial&lt;/a&gt;. Alternatively, take $2n$ things and cut them into two groups of size $n$. Then you choose 0 from one and $n$ from the other, or 1 from one and $n-1$ from the other, etc. to get: \[{2n \choose n} = {n \choose 0}{n \choose n} + {n \choose 1}{n \choose n-1} + \dots\] Then apply the symmetry formula to see that ${n \choose
k}{n \choose n-k} = {n \choose k}^2$.&lt;/p&gt;

&lt;/mdoxml&gt;</canonXML>
  <end_user_role>2</end_user_role>
  <difficulty>4</difficulty>
  <keystage1>0</keystage1>
  <keystage2>0</keystage2>
  <keystage3>0</keystage3>
  <keystage4>1</keystage4>
  <keystage4plus>1</keystage4plus>
  <title>Binomial Coefficients</title>
  <description>An introduction to the binomial coefficient, and exploration of some of the formulae it satisfies.</description>
  <spec_group>Using, Applying and Reasoning about Mathematics
    <specifier>Making and proving conjectures</specifier>
  </spec_group>
  <spec_group>Using, Applying and Reasoning about Mathematics
    <specifier>Working systematically</specifier>
  </spec_group>
  <spec_group>Using, Applying and Reasoning about Mathematics
    <specifier>Mathematical induction</specifier>
  </spec_group>
  <spec_group>Using, Applying and Reasoning about Mathematics
    <specifier>Mathematical reasoning &amp; proof</specifier>
  </spec_group>
  <spec_group>Numbers and the Number System
    <specifier>Number theory</specifier>
  </spec_group>
  <spec_group>Numbers and the Number System
    <specifier>Factorials</specifier>
  </spec_group>
  <spec_group>Algebra
    <specifier>Sets</specifier>
  </spec_group>
  <spec_group>Advanced Algebra
    <specifier>Binomial coefficients</specifier>
  </spec_group>
  <spec_group>Advanced Algebra
    <specifier>Binomial Theorem</specifier>
  </spec_group>
  <spec_group>Numbers and the Number System
    <specifier>Counting</specifier>
  </spec_group>
  <spec_group>Decision Mathematics and Combinatorics
    <specifier>Combinatorics</specifier>
  </spec_group>
  <spec_group>Decision Mathematics and Combinatorics
    <specifier>Combinations</specifier>
  </spec_group>
</resource>