How do you derive the two n choose k formulas?

  • Thread starter Thread starter zoxee
  • Start date Start date
  • Tags Tags
    Formula
Click For Summary

Homework Help Overview

The discussion revolves around the derivation of two formulas for "n choose k," specifically the expressions \(\dfrac{n(n-1)(n-2)...(n-k+1)}{k!}\) and \(\dfrac{n!}{k!(n-k)!}\). Participants are exploring how to transition from one formula to the other and examining the definitions of factorials involved.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the definitions of factorials and how they relate to the formulas. There are attempts to manipulate the expressions algebraically, with some questioning the steps taken in the derivation process. Others suggest expanding factorials to compare terms directly.

Discussion Status

The discussion is ongoing, with participants providing insights and clarifications on the factorial definitions and their implications. Some guidance has been offered regarding the cancellation of terms, but there remains some confusion about the steps involved in the derivation.

Contextual Notes

Some participants express uncertainty about the manipulation of the formulas and the proper application of factorial definitions. There is a focus on ensuring clarity in the steps taken to derive the relationships between the two formulas.

zoxee
Messages
37
Reaction score
0
I always see two formulas for n choose k

the first one:

## \dfrac{n(n-1)(n-2)...(n-k+1)}{k!} ## and the second ## \dfrac{n!}{k!(n-k)!} ## just curious on how you get from one to the other

I multipled the first one by (n-k)! and got ## \dfrac{n(n-1)(n-2)...(n-k+1)(n-k)!}{k!(n-k)!} = \dfrac{n(n-1)(n-2)...(n-k+1)!}{k!(n-k)!} ## but not sure how to proceed... thanks
 
Last edited:
Physics news on Phys.org
The *definition* of n! is n*(n-1)*(n-2)*...*3*2*1

The *definition* of (n-k)! is (n-k)*(n-k-1)*(n-k-2)*...*3*2*1

So, the *ratio* of (n!)/(n-k)! would be

[n*(n-1)*(n-2)*...*3*2*1] / [(n-k)*(n-k-1)*(n-k-2)*...*3*2*1]Comparing the two things in square brackets, every factor after n-k cancels between the numerator and the denominator. So, only factors larger than n-k remain in the numerator. So, what's left in the numerator would be n*(n-1)*(n-2)*...*(n-k+1)

EXAMPLE: n = 10, k = 3

n! = 10*9*8*7*6*5*4*3*2*1

(n-k)! = 7*6*5*4*3*2*1

dividing the two, we see that all factors below (n-k)= 7 cancel between the numerator and denominator, leaving you with 10*9*8. Notice that 8 = (n-k+1)
 
zoxee said:
not sure how to proceed

Just expand ## (n-k)! ## in the expression on the left hand side of the equals (the expression on the right hand side is a step backwards) and compare the numerator with ## n! ##.
 
Thank you both, got it.
 
zoxee said:
I always see two formulas for n choose k

the first one:

## \dfrac{n(n-1)(n-2)...(n-k+1)}{k!} ## and the second ## \dfrac{n!}{k!(n-k)!} ## just curious on how you get from one to the other

I multipled the first one by (n-k)! and got ## \dfrac{n(n-1)(n-2)...(n-k+1)(n-k)!}{k!(n-k)!} = \dfrac{n(n-1)(n-2)...(n-k+1)!}{k!(n-k)!} ## but not sure how to proceed... thanks

You did not multiply by ##(n-k)!## (nor should you). You merely expanded out ##n!## to get
[tex]\frac{n!}{k! (n-k)!} = \frac{n(n-1) \cdots (n-k+1) (n-k)!}{k! (n-k)!}.[/tex]
Just cancel out the factors ##(n-k)!## from the numerator and denominator.
 
Ray Vickson said:
You did not multiply by ##(n-k)!## (nor should you). You merely expanded out ##n!## to get
[tex]\frac{n!}{k! (n-k)!} = \frac{n(n-1) \cdots (n-k+1) (n-k)!}{k! (n-k)!}.[/tex]
Just cancel out the factors ##(n-k)!## from the numerator and denominator.

I did multiply out... I'm not sure what you mean

I don't see how to cancel out factors from this:

## \dfrac{n(n-1)(n-2)...(n-k+1)(n-k)(n-k-1)(n-k-2)!}{k!(n-k)(n-k-1)(n-k-2)!} ## all I see is the (n-k)! cancelling out

I'm trying to undersand how to get from ## \frac{n!}{k! (n-k)!} = \frac{n(n-1) \cdots (n-k+1)}{k!} ##
 
zoxee said:
I did multiply out... I'm not sure what you mean

I don't see how to cancel out factors from this:

## \dfrac{n(n-1)(n-2)...(n-k+1)(n-k)(n-k-1)(n-k-2)!}{k!(n-k)(n-k-1)(n-k-2)!} ## all I see is the (n-k)! cancelling out

No. If you had multiplied by (n-k)! you would have written
[tex]\frac{n! (n-k)!}{(n-k)! k!} = \frac{n(n-1) \cdots (n-k+1) [(n-k)!]^2}{(n-k)! k!}.[/tex]
That is not what you wrote.
 
I done this by using cephids eample...

## \dfrac{n!}{k!(n-k)!} = \dfrac{n(n-1)(n-2)!}{k!(n-k)(n-k-1)(n-k-2)!} = \dfrac{n(n-1)(n-2)...(n-k+1)}{k!} ##
 
I multiplied ## \dfrac{n(n-1)(n-2)...(n-k+1)}{k!} ## by ## (n-k)! ## obtaining ## \dfrac{n(n-1)(n-2)...(n-k+1)(n-k)!}{k!(n-k)!} ## sorry for not being more clear
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
10
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
Replies
5
Views
2K
  • · Replies 23 ·
Replies
23
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
6
Views
2K
  • · Replies 34 ·
2
Replies
34
Views
8K