Binomial Coefficients,Inclusion-exclusion principle.ppt
《Binomial Coefficients,Inclusion-exclusion principle.ppt》由会员分享,可在线阅读,更多相关《Binomial Coefficients,Inclusion-exclusion principle.ppt(26页珍藏版)》请在麦多课文档分享上搜索。
1、Binomial Coefficients, Inclusion-exclusion principle,Lecture 13: Oct 31,A,B,C,D,1,Plan,Binomial coefficients, combinatorial proofInclusion-exclusion principle,2,Binomial Theorem,We can compute the coefficients ci by counting arguments.,e.g.,(expanding by taking either 1 or x in each factor and multi
2、ply),(grouping the terms with the same power and add),So in this case, c0 = 1, c1 = 3, c2 = 3, c3 = 1.,3,Binomial Theorem,We can compute the coefficients ci by counting arguments.,n factors,Each term corresponds to selecting 1 or x from each of the n factors. The coefficient ck is equal to the numbe
3、r of terms with exactly k xs. Each term with exactly k xs corresponds to choosing the k positions of x. Therefore,These are called the binomial coefficients.,4,Binomial Theorem,(1+X)1 =,(1+X)0 =,(1+X)2 =,(1+X)3 =,1,1 + 1X,1 + 2X + 1X2,1 + 3X + 3X2 + 1X3,(1+X)4 =,1 + 4X + 6X2 + 4X3 + 1X4,5,We can see
4、 that a coefficient is the sum of two coefficients in the previous level. This is called the Pascals formula and we will prove it soon.,Binomial Coefficients,In general we have the following identity:,When x=1, y=1, it implies that,because if we choose k xs then there are n-k ys.,Corollary:,The sum
5、of the binomial coefficients is equal to 2n.,6,Binomial Coefficients,When x=-1, y=1, it implies that,In general we have the following identity:,Corollary:,The sum of “odd” binomial coefficients is equal to the sum of “even” binomial coefficients.,7,Proving Identities,Direct proof:,Combinatorial proo
6、f:,Number of ways to choose k items from n items= number of ways to choose n-k items from n items,One can often prove identities about binomial coefficients by a counting argument.,8,Finding a Combinatorial Proof,A combinatorial proof is an argument that establishes an algebraic fact by relying on c
7、ounting principles. Many such proofs follow the same basic outline:1. Define a set S. 2. Show that |S| = n by counting one way. 3. Show that |S| = m by counting another way. 4. Conclude that n = m.,Double counting,9,Proving Identities,Pascals Formula,Direct proof:,10,Proving Identities,Pascals Formu
8、la,Combinatorial proof:,The LHS is number of ways to choose k elements from n+1 elements. Let the first element be x. If we choose x, then we need to choose k-1 elements from the remaining n elements, and number of ways to do so is If we dont choose x, then we need to choose k elementsfrom the remai
9、ning n elements, and number of ways to do so is This partitions the ways to choose k elements from n+1 elements,therefore,11,Combinatorial Proof,Consider we have 2n balls, n of them are red, and n of them are blue.,The RHS is number of ways to choose n balls from the 2n balls. To choose n balls, we
10、can - choose 0 red ball and n blue balls, number of ways = - choose 1 red ball and n-1 blue balls, number of ways = choose i red balls and n-i blue balls, number of ways = choose n red balls and 0 blue ball, number of ways =Hence number of ways to choose n balls is also equal to the LHS.,12,Another
11、Way to Combinatorial Proof (Optional),We can also prove the identity by comparing a coefficient of two polynomials.,Consider the identity,Consider the coefficient of xn in these two polynomials.Clearly the coefficient of xn in (1+x)2n is equal to the RHS.,So the coefficient of xn in (1+x)n(1+x)n is
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- BINOMIALCOEFFICIENTS INCLUSIONEXCLUSIONPRINCIPLEPPT

链接地址:http://www.mydoc123.com/p-378951.html