maths.free › Combinatorics & Graph Theory › Induction › Binomial Coefficients Revisited

Binomial Coefficients Revisited

The binomial coefficient \binom{n}{k} was originally defined in terms of the factorial notation, and with our recursive definitions of the factorial notation, we also have a complete and legally-correct definition of…

Binomial Coefficients Revisited

The binomial coefficient \(\binom{n}{k}\) was originally defined in terms of the factorial notation, and with our recursive definitions of the factorial notation, we also have a complete and legally-correct definition of binomial coefficients. The following recursive formula provides an efficient computational scheme.

Let \(n\) and \(k\) be integers with \(0\le k\le n\). If \(k=0\) or \(k=n\), set \(\binom{n}{k}=1\). If \(0\lt k\lt n\), set \[\begin{aligned}\end{aligned}\] This recursion has a natural combinatorial interpretation. Both sides count the number of \(k\)-element subsets of \(\{1,2,\dots,n\}\), with the right-hand side first grouping them into those which contain the element\(n\) and then those which don't. The traditional form of displaying this recursion is This pattern is called Pascal's triangle. Other than the \(1\)s at the ends of each row, an entry of the triangle is determined by adding the entry to the left and the entry to the right in the row above.

Xing was intrigued by the fact that he now had two fundamentally different ways to calculate binomial coefficients. One way is to write \(\binom{n}{m}=P(n,m)/m!\) and just carry out the specified arithmetic. The second way is to use the recursion of Pascal's triangle, so that you are just performing additions. So he experimented by writing a computer program to calculate binomial coefficients, using a library that treats big integers as strings. Which of the two ways do you think proved to be faster when \(n\) say was between \(1800\) and \(2000\) and \(m\) was around \(800\)?

Ankehitriny ianao Tsy misy milina fanisana afaka mamaha io olana io, saingy azo atao ny maminavina ny ampahany amin'io. Andramo ny iray eto ambany, na soraty ny anao manokana.

Fanazaran-tena (1)

Andramo amin'ny taratasy aloha ny tsirairay. Asehoy ny valinteny mba hijerena; azo sokafana ao amin'ny mpamolavola ny valinteny voaporofo ho an'ny dingana tsirairay.

  1. Write a couple of sentences to explain why \(C(n-1,k-1)\) counts the number of \(k\)-element subsets of \(\{1,2,\dots,n\}\) that contain the element \(n\).

Aoka ho miasa ny anao

Ny kaonty maimaimpoana dia mampiditra ny fanamarihana amin'ny lesona tsirairay, ny tahirin'ny zavatra vitanao, ny olana voavahao ao amin'ny toerana iray, ary ny mpampianatra iray izay azonao anontanio momba ity pejy ity. misokatra ho an'ny rehetra ny matematika, na efa niditra na tsy niditra.

Misoratra anarana Fidirana

Marika ampiasaina eto

Tsindrio ny marika iray mba hahitana ny famaritana feno, sary, ary ny dikan'ny litera tsirairay ao aminy.

Fanontaniana napetrak'ireo olona

Permutation or combination?

Ask whether order matters. A lock code is a permutation (order matters); a hand of cards is a combination (it does not).

What is a graph in this sense?

Dots (vertices) joined by lines (edges), not a plot. Road maps, social networks and molecules are graphs; questions like "is there a route" and "how few colours" are graph theory.

Nalaina avy amin'ny Keller & Trotter, Applied Combinatorics (CC BY-SA 4.0). Nofafana sy nanazavana indray eto; ny hadisoana dia antsika.

Mbola maro ao Combinatorics & Graph Theory