Difference between revisions of "Combinatorial identity"
m (→METHOD 1) |
Math cat2020 (talk | contribs) m (→Prooff) |
||
(39 intermediate revisions by 11 users not shown) | |||
Line 26: | Line 26: | ||
But we already know they can be picked in <math>\binom{n}{k}</math> ways, so | But we already know they can be picked in <math>\binom{n}{k}</math> ways, so | ||
− | <cmath>{n \choose k}={n-1\choose k-1}+{n-1\choose k} | + | <cmath>{n \choose k}={n-1\choose k-1}+{n-1\choose k} </cmath> |
Also, we can look at Pascal's Triangle to see why this is. If we were to extend Pascal's Triangle to row n, we would see the term <math>\binom{n}{k}</math>. Above that, we would see the terms <math>{n-1\choose k-1}</math> and <math>{n-1\choose k}</math>. Due to the definition of Pascal's Triangle, <math>{n \choose k}={n-1\choose k-1}+{n-1\choose k}</math>. | Also, we can look at Pascal's Triangle to see why this is. If we were to extend Pascal's Triangle to row n, we would see the term <math>\binom{n}{k}</math>. Above that, we would see the terms <math>{n-1\choose k-1}</math> and <math>{n-1\choose k}</math>. Due to the definition of Pascal's Triangle, <math>{n \choose k}={n-1\choose k-1}+{n-1\choose k}</math>. | ||
− | |||
==Vandermonde's Identity== | ==Vandermonde's Identity== | ||
Line 73: | Line 72: | ||
</asy> | </asy> | ||
− | This identity is known as the ''hockey-stick'' identity because, on Pascal's triangle, when the addends represented in the summation and the sum itself is highlighted, a hockey-stick shape is revealed. We can also flip the hockey stick because pascal's triangle is | + | This identity is known as the ''hockey-stick'' identity because, on Pascal's triangle, when the addends represented in the summation and the sum itself is highlighted, a hockey-stick shape is revealed. We can also flip the hockey stick because pascal's triangle is symmetrical. |
Line 116: | Line 115: | ||
'''Algebraic Proof 3''' | '''Algebraic Proof 3''' | ||
− | Consider the number of solutions to the equation <math>a_1</math>+<math>a_2</math>+<math>a_3</math>+<math>a_4</math>+<math>a_5</math>+<math>a_6</math>+....... | + | Consider the number of solutions to the equation <math>a_1</math>+<math>a_2</math>+<math>a_3</math>+<math>a_4</math>+<math>a_5</math>+<math>a_6</math>+.......+<math>a_r</math> ≤ N where each <math>a_i</math> is a |
− | non-negative integer for | + | non-negative integer for 1≤i≤r. |
− | + | ||
+ | '''METHOD 1''' | ||
We know since all numbers on LHS are non-negative therefore 0≤N and N is a integer. | We know since all numbers on LHS are non-negative therefore 0≤N and N is a integer. | ||
− | Therfore, <math>a_1</math>+<math>a_2</math>+<math>a_3</math>+<math>a_4</math>+<math>a_5</math>+<math>a_6</math>+.......+<math> | + | Therfore, <math>a_1</math>+<math>a_2</math>+<math>a_3</math>+<math>a_4</math>+<math>a_5</math>+<math>a_6</math>+.......+<math>a_r</math> = 0,1,2......N. Consider each case seperately. |
+ | |||
+ | <math>a_1</math>+<math>a_2</math>+<math>a_3</math>+<math>a_4</math>+<math>a_5</math>+<math>a_6</math>+.......+<math>a_r</math> =0 by [[Stars-and-bars]] the equation has <math>\binom {0+r-1}{r-1}</math> solutions. | ||
+ | |||
+ | <math>a_1</math>+<math>a_2</math>+<math>a_3</math>+<math>a_4</math>+<math>a_5</math>+<math>a_6</math>+.......+<math>a_r</math> =1 by [[Stars-and-bars]] the equation has <math>\binom {1+r-1}{r-1}</math> solutions. | ||
+ | |||
+ | <math>a_1</math>+<math>a_2</math>+<math>a_3</math>+<math>a_4</math>+<math>a_5</math>+<math>a_6</math>+.......+<math>a_r</math> =2 by [[Stars-and-bars]] the equation has <math>\binom {2+r-1}{r-1}</math> solutions. | ||
+ | |||
+ | ........... | ||
+ | <math>a_1</math>+<math>a_2</math>+<math>a_3</math>+<math>a_4</math>+<math>a_5</math>+<math>a_6</math>+.......+<math>a_r</math> =N by [[Stars-and-bars]] the equation has <math>\binom {N+r-1}{r-1}</math> solutions. | ||
+ | |||
+ | Hence, the equation has <math>\binom {r-1}{r-1}</math>+ <math>\binom {r}{r-1}</math>+ <math>\binom {r+1}{r-1}</math>+.... <math>\binom {N+r-1}{r-1}</math>= <math>\sum^k_{i=r-1}{i\choose r-1}</math> (where k=N+r-1) SOLUTIONS. | ||
+ | |||
+ | '''METHOD 2''' | ||
+ | Since, <math>a_1</math>+<math>a_2</math>+<math>a_3</math>+<math>a_4</math>+<math>a_5</math>+<math>a_6</math>+.......+<math>a_r</math> ≤ N Therefore we may say <math>a_1</math>+<math>a_2</math>+<math>a_3</math>+<math>a_4</math>+<math>a_5</math>+<math>a_6</math>+.......+<math>a_r</math> = N -m where m is another non-negative integer. | ||
+ | 0 ≤<math>a_1</math>+<math>a_2</math>+<math>a_3</math>+<math>a_4</math>+<math>a_5</math>+<math>a_6</math>+.......+<math>a_r</math> ⇒ 0≤ N-m ⇒ m≤ N So, we need not count this as an extra restriction. | ||
+ | |||
+ | Now, <math>a_1</math>+<math>a_2</math>+<math>a_3</math>+<math>a_4</math>+<math>a_5</math>+<math>a_6</math>+.......+<math>a_r</math> +m = N. Again by [[Stars-and-bars]] this has <math>\binom {N+r}{r}</math> solutions. | ||
+ | |||
+ | Therefore, the equation has <math>\binom {N+r}{r}</math> = <math>\binom {k+1}{r}</math> solutions(As N+r-1 =k). | ||
− | <math> | + | Since, both methods yeild the same answer ⇒''' <math>\sum^k_{i=r-1}{i\choose r-1}</math> = <math>\binom {k+1}{r}</math>'''. Taking r-1= p redirects to the honeystick identity. |
+ | |||
+ | ~SANSGANKRSNGUPTA | ||
==Another Identity== | ==Another Identity== | ||
Line 136: | Line 157: | ||
===Proof 2=== | ===Proof 2=== | ||
This is a special case of Vandermonde's identity, in which we set <math>m=n=r</math>. | This is a special case of Vandermonde's identity, in which we set <math>m=n=r</math>. | ||
+ | |||
+ | == Even Odd Identity == | ||
+ | <cmath> | ||
+ | \sum_{k=0}^m (-1)^k \binom{n}{k}= (-1)^m \binom{n-1}{m} | ||
+ | </cmath> | ||
== Examples == | == Examples == | ||
Line 147: | Line 173: | ||
* [https://artofproblemsolving.com/wiki/index.php/2021_AMC_12A_Problems/Problem_15 2021 AMC 12A Problem 15] | * [https://artofproblemsolving.com/wiki/index.php/2021_AMC_12A_Problems/Problem_15 2021 AMC 12A Problem 15] | ||
* [https://artofproblemsolving.com/wiki/index.php/1981_IMO_Problems 1981 IMO Problem 2] | * [https://artofproblemsolving.com/wiki/index.php/1981_IMO_Problems 1981 IMO Problem 2] | ||
+ | * [https://artofproblemsolving.com/wiki/index.php/2022_AIME_I_Problems/Problem_12 2022 AIME I Problem 12 ] | ||
==See also== | ==See also== |
Latest revision as of 22:47, 27 October 2024
Contents
Pascal's Identity
Pascal's Identity states that
for any positive integers and . Here, is the binomial coefficient .
This result can be interpreted combinatorially as follows: the number of ways to choose things from things is equal to the number of ways to choose things from things added to the number of ways to choose things from things.
Proof
If then and so the result is trivial. So assume . Then
Alternate Proofs
Here, we prove this using committee forming.
Consider picking one fixed object out of objects. Then, we can choose objects including that one in ways.
Because our final group of objects either contains the specified one or doesn't, we can choose the group in ways.
But we already know they can be picked in ways, so
Also, we can look at Pascal's Triangle to see why this is. If we were to extend Pascal's Triangle to row n, we would see the term . Above that, we would see the terms and . Due to the definition of Pascal's Triangle, .
Vandermonde's Identity
Vandermonde's Identity states that , which can be proven combinatorially by noting that any combination of objects from a group of objects must have some objects from group and the remaining from group .
Video Proof
https://www.youtube.com/watch?v=u1fktz9U9ig
Combinatorial Proof
Think of the right hand side as picking people from men and women. Think of the left hand side as picking men from the total men and picking women from the total women. The left hand side and right hand side are the same, thus Vandermonde's identity must be true.
~avn
Algebraic proof
For all The coefficients of on both sides must be the same, so using the Binomial Theorem,
Hockey-Stick Identity
For .
This identity is known as the hockey-stick identity because, on Pascal's triangle, when the addends represented in the summation and the sum itself is highlighted, a hockey-stick shape is revealed. We can also flip the hockey stick because pascal's triangle is symmetrical.
Proof
Inductive Proof
This identity can be proven by induction on .
Base Case Let .
.
Inductive Step Suppose, for some , . Then .
Algebraic Proof
It can also be proven algebraically with Pascal's Identity, . Note that
, which is equivalent to the desired result.
Combinatorial Proof 1
Imagine that we are distributing indistinguishable candies to distinguishable children. By a direct application of Balls and Urns, there are ways to do this. Alternatively, we can first give candies to the oldest child so that we are essentially giving candies to kids and again, with Balls and Urns, , which simplifies to the desired result.
Combinatorial Proof 2
We can form a committee of size from a group of people in ways. Now we hand out the numbers to of the people. We can divide this into disjoint cases. In general, in case , , person is on the committee and persons are not on the committee. This can be done in ways. Now we can sum the values of these disjoint cases, getting
Algebraic Proof 2
Apply the finite geometric series formula to : Then expand with the Binomial Theorem and simplify: Finally, equate coefficients of on both sides: Since for , , this simplifies to the hockey stick identity.
Algebraic Proof 3
Consider the number of solutions to the equation ++++++.......+ ≤ N where each is a non-negative integer for 1≤i≤r.
METHOD 1 We know since all numbers on LHS are non-negative therefore 0≤N and N is a integer.
Therfore, ++++++.......+ = 0,1,2......N. Consider each case seperately.
++++++.......+ =0 by Stars-and-bars the equation has solutions.
++++++.......+ =1 by Stars-and-bars the equation has solutions.
++++++.......+ =2 by Stars-and-bars the equation has solutions.
........... ++++++.......+ =N by Stars-and-bars the equation has solutions.
Hence, the equation has + + +.... = (where k=N+r-1) SOLUTIONS.
METHOD 2 Since, ++++++.......+ ≤ N Therefore we may say ++++++.......+ = N -m where m is another non-negative integer. 0 ≤++++++.......+ ⇒ 0≤ N-m ⇒ m≤ N So, we need not count this as an extra restriction.
Now, ++++++.......+ +m = N. Again by Stars-and-bars this has solutions.
Therefore, the equation has = solutions(As N+r-1 =k).
Since, both methods yeild the same answer ⇒ = . Taking r-1= p redirects to the honeystick identity.
~SANSGANKRSNGUPTA
Another Identity
Hat Proof
We have different hats. We split them into two groups, each with k hats: then we choose hats from the first group and hats from the second group. This may be done in ways. Evidently, to generate all possible choices of hats from the hats, we must choose hats from the first and the remaining hats from the second ; the sum over all such is the number of ways of choosing hats from . Therefore , as desired.
Proof 2
This is a special case of Vandermonde's identity, in which we set .
Even Odd Identity
Examples
- 1986 AIME Problem 11
- 2000 AIME II Problem 7
- 2013 AIME I Problem 6 (Solution 2)
- 2015 AIME I Problem 12
- 2018 AIME I Problem 10
- 2020 AIME I Problem 7
- 2016 AMC 10A Problem 20
- 2021 AMC 12A Problem 15
- 1981 IMO Problem 2
- 2022 AIME I Problem 12