Binomial Coefficients: Selected Exercises

Slides:



Advertisements
Similar presentations
1 Section 4.3 Permutations & Combinations. 2 Permutation Set of distinct objects in an ordered arrangement An ordered arrangement of r members of a set.
Advertisements

Counting Chapter 6 With Question/Answer Animations.
The binomial theorem 1 Objectives: Pascal’s triangle Coefficient of (x + y) n when n is large Notation: ncrncr.
Discrete Structures Chapter 4 Counting and Probability Nurul Amelina Nasharuddin Multimedia Department.
CSE115/ENGR160 Discrete Mathematics 04/17/12
Binomial Identities.
Lecture 5 Counting 4.3, Permutations r-permutation: An ordered arrangement of r elements of a set of n distinct elements. Example: S={1,2,3}:
Counting II: Pascal, Binomials, and Other Tricks Great Theoretical Ideas In Computer Science A. Gupta D. Sleator CS Fall 2010 Lecture 8Sept. 16,
Set, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides.
Applied Combinatorics, 4th Ed. Alan Tucker
Binomial Coefficient.
Lecture 11 Feb 17, 1998 Doug Beeferman Carnegie Mellon University Count your blessings... … faster !
Basic Counting. This Lecture We will study some basic rules for counting. Sum rule, product rule, generalized product rule Permutations, combinations.
Binomial Coefficients, Inclusion-exclusion principle
Chapter 6 With Question/Answer Animations 1. Chapter Summary The Basics of Counting The Pigeonhole Principle Permutations and Combinations Binomial Coefficients.
Permutations and Combinations
Pascal’s Triangle and the Binomial Theorem, then Exam!
Lecture 5 Counting 4.3, Permutations r-permutation: An ordered arrangement of r elements of a set of n distinct elements. Example: S={1,2,3}:
Copyright © 2007 Pearson Education, Inc. Slide 8-1.
1 Binomial Coefficients CS 202 Epp, section ??? Aaron Bloomfield.
Chapter 5 The Binomial Coefficients
Copyright © Cengage Learning. All rights reserved. CHAPTER 9 COUNTING AND PROBABILITY.
10/24/2015MATH 106, Section 81 Section 8 Pascal’s Triangle Questions about homework? Submit homework!
The Pigeonhole Principle. The pigeonhole principle Suppose a flock of pigeons fly into a set of pigeonholes to roost If there are more pigeons than pigeonholes,
1 Melikyan/DM/Fall09 Discrete Mathematics Ch. 6 Counting and Probability Instructor: Hayk Melikyan Today we will review sections 6.6,
Spring 2016 COMP 2300 Discrete Structures for Computation
Binomial Coefficients: Selected Exercises
Section 6.4. Powers of Binomial Expressions Definition: A binomial expression is the sum of two terms, such as x + y. (More generally, these terms can.
Binomial Coefficients and Identities
5.4 Binomial Coefficients Theorem 1: The binomial theorem Let x and y be variables, and let n be a nonnegative integer. Then Example 3: What is the coefficient.
Discrete Mathematics Counting.
L14: Permutations, Combinations and Some Review
Developing Your Counting Muscles
Permutations and Combinations
CSE15 Discrete Mathematics 04/19/17
COCS DISCRETE STRUCTURES
Generalized Permutations & Combinations: Selected Exercises
The binomial expansions
Permutations and Combinations
A quick and efficient way to expand binomials
Counting III: Pascal’s Triangle, Polynomials, and Vector Programs
The Number Theory Revival
Permutations and Combinations
Permutations and Combinations
Ch. 8 – Sequences, Series, and Probability
Created by Mr. Lafferty Maths Dept.
9.5 The Binomial Theorem Let’s look at the expansion of (x + y)n
CS 2210 Discrete Structures Counting
CS100: Discrete structures
8.4 – Pascal’s Triangle and the Binomial Theorem
Binomial Identities.
Math/CSE 1019: Discrete Mathematics for Computer Science Fall 2011
CSE15 Discrete Mathematics 04/26/17
Permutations and Combinations
Basic Counting.
Binomial Identities.
Combinatorics.
Great Theoretical Ideas in Computer Science
Basic Counting Lecture 9: Nov 5, 6.
Permutations and Combinations
Michael Duquette & Whitney Sherman
Counting III: Pascal’s Triangle, Polynomials, and Vector Programs
Discrete Mathematics for Computer Science
©2001 by R. Villar All Rights Reserved
Introduction to Discrete Mathematics
Summary What have we learned?.
CMPS 2433 Chapter 8 Counting Techniques
10.4 – Pascal’s Triangle and the Binomial Theorem
Identities.
Presentation transcript:

Binomial Coefficients: Selected Exercises

Preliminaries What is the coefficient of x2y in (x + y)3? (x + y)3 = (x + y)(x + y)(x + y) = (xx + xy + yx + yy)(x + y) = xxx + xyx + yxx + yyx + xxy + xyy + yxy + yyy = x3 + 3x2y + 3xy2 + y3. The answer thus is 3. There are 8 terms in the formal expansion. Answer: The # of ways to pick the y position in the formal expansion: C(3, 1).

Preliminaries How many terms are there in the formal expansion of (x + y)n? How many such terms have exactly 3 ys? This is the coefficient of xn-3y3 in (x + y)n? How many such terms have exactly j ys?

The Binomial Theorem Let x & y be variables, and n  N. Partition the set of 2n terms of the formal expansion of (x + y)n into n + 1 classes according to the # of ys in the term: (x + y)n = Σj=0 to n C( n, j )xn-jyj = C(n, 0)xny0 + C(n,1)xn-1y1 + … + C(n, j)xn-jyj + … + C(n,n)x0yn.

Pascal’s Identity Let n & k be positive integers, with n > k. Then C(n, k) = C(n - 1, k – 1) + C(n - 1, k). Proof by a combinatorial argument: The left hand side counts the number of subsets of size k from a set of n elements. The right hand side counts the same subsets using the sum rule: Partition the subsets into 2 disjoint classes Subsets of k elements that include element 1: Pick element 1: 1 Pick the remaining k – 1 elements from the remaining n - 1 elements: C(n - 1, k – 1). Subsets of k elements that exclude element 1: Pick the k elements from the n - 1 remaining elements: C(n - 1, k).

*30 Give a combinatorial proof that Σk=1,n kC(n, k)2 = nC( 2n – 1, n – 1 ). Hint: Show that the equation’s LHS and RHS are different ways to count the same thing: The # of ways to select a committee with n members from a group of n math professors & n computer science professors, such that the committee chair is a mathematics professor.

*30 Solution Proof by a combinatorial argument The RHS counts the # of such committees by: Pick the chair from the n math professors: n Pick the remaining n – 1 members from the remaining 2n – 1 professors: C( 2n – 1, n – 1 ) The LHS counts the same committees by: Partition the set of such committees into disjoint subsets, according to, k, the # of math professors on the committee. For each k, Pick the k math professor members: C(n, k) Pick the committee chair: k Pick the n - k CS professor members: C( n, n – k ) = C( n, k )

Combinatorial Identities Manipulation of the Binomial Theorem “Committee” arguments Block walking arguments – for identities involving sums

Manipulation of the Binomial Theorem Prove that C(n, 0) + C(n, 1) + . . . + C(n, n) = 2n. In general, Algebraically manipulate the binomial theorem. Evaluate the resultant equation for suitable values of x & y to get the desired result. n2n – 1 = 1C(n, 1) + 2C(n, 2) + 3C(n, 3) + . . . + nC(n, n).

Committee Arguments Show that C(n, k)C(k, m) = C(n, m)C(n – m, k – m). Hint: committees of k people, m of whom are leaders. Σk = 0 to r C(m,k)C(n, r - k) = C(m + n, r). Hint: committees of r people taken from m men & n women.

Block-Walking Arguments Draw Pascal’s triangle. Interpret a node in the triangle as the # of ways to walk from the apex to the node, always going down. Show that C(n, k) = C(n – 1, k) + C(n – 1, k – 1) C(n,0)2 + C(n,1)2 + . . . + C(n,n)2 = C(2n,n).

Characters    . ≥ ≡ ~ ┌ ┐ └ ┘        ≈     Ω Θ    . ≥ ≡ ~ ┌ ┐ └ ┘        ≈     Ω Θ      Σ ¢        

*10 Give a formula for the coefficient of xk in the expansion of (x + 1/x)100, where k is an even integer.

*10 Solution By the Binomial Theorem, (x + 1/x)100 = Σj=0 to 100 C(100, j)x100-j(1/x)j = Σj=0 to 100 C(100, j)x100-2j. We want the coefficient of x100-2j, where k = 100 – 2j  j = (100 – k)/2. The coefficient we seek is C(100, (100 – k)/2).

20 Suppose that k & n are integers with 1  k < n. Prove the hexagon identity C(n - 1, k –1)C(n, k + 1)C(n + 1, k) = C(n-1, k)C(n, k-1)C(n+1, k+1), which relates terms in Pascal’s triangle that form a hexagon. Hint: Use straight algebra.

20 Solution C( n – 1, k –1 )C( n, k + 1 )C( n + 1, k ) = (n – 1)! n! (n+1)! _______________________________________ (k – 1)!(n – k)! (k + 1)!(n – k – 1)! k! (n + 1 – k)! = C( n – 1, k )C( n, k – 1 )C( n + 1, k + 1 ).