Binomial Identities.

Slides:



Advertisements
Similar presentations
Basic Permutations and Combinations
Advertisements

Binomial Coefficients
COMP 170 L2 Page 1 L03: Binomial Coefficients l Purpose n Properties of binomial coefficients n Related issues: the Binomial Theorem and labeling.
Permutations and Combinations Rosen 4.3. Permutations A permutation of a set of distinct objects is an ordered arrangement these objects. An ordered arrangement.
Counting Chapter 6 With Question/Answer Animations.
Counting III: Pascal’s Triangle, Polynomials, and Vector Programs Great Theoretical Ideas In Computer Science Steven RudichCS Spring 2003 Lecture.
Discrete Structures Chapter 4 Counting and Probability Nurul Amelina Nasharuddin Multimedia Department.
CSE115/ENGR160 Discrete Mathematics 04/17/12
COMP 170 L2 Page 1 L03: Binomial Coefficients l Purpose n Properties of binomial coefficients n Related issues: the Binomial Theorem and labeling.
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}:
CSE 321 Discrete Structures Winter 2008 Lecture 16 Counting.
Counting II: Pascal, Binomials, and Other Tricks Great Theoretical Ideas In Computer Science A. Gupta D. Sleator CS Fall 2010 Lecture 8Sept. 16,
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 25, Friday, October 31.
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 12 Number theory Mathematical induction Proof by induction Examples.
Applied Combinatorics, 4th Ed. Alan Tucker
THE BINOMIAL THEOREM Robert Yen
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Lecture 11 Feb 17, 1998 Doug Beeferman Carnegie Mellon University Count your blessings... … faster !
Jessie Zhao Course page: 1.
Discrete Mathematics, 1st Edition Kevin Ferland
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
Notes 9.2 – The Binomial Theorem. I. Alternate Notation A.) Permutations – None B.) Combinations -
Great Theoretical Ideas in Computer Science.
March 10, 2015Applied Discrete Mathematics Week 6: Counting 1 Permutations and Combinations How many different sets of 3 people can we pick from a group.
Great Theoretical Ideas in Computer Science.
Counting III: Pascal’s Triangle, Polynomials, and Vector Programs Great Theoretical Ideas In Computer Science Steven RudichCS Spring 2003 Lecture.
THE BINOMIAL THEOREM Robert Yen Hurlstone Agricultural High School This presentation is accompanied by workshop notes.
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}:
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.
Mathematics.
COMPSCI 102 Discrete Mathematics for Computer Science.
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,
9.5 The Binomial Theorem Let’s look at the expansion of (x + y)n
1 Melikyan/DM/Fall09 Discrete Mathematics Ch. 6 Counting and Probability Instructor: Hayk Melikyan Today we will review sections 6.6,
MAT 4830 Numerical Analysis Binomial Coefficients and Combinatorial Identities
Spring 2016 COMP 2300 Discrete Structures for Computation
Binomial Coefficients: Selected Exercises
2/24/20161 One, two, three, we’re… Counting. 2/24/20162 Basic Counting Principles Counting problems are of the following kind: “How many different 8-letter.
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
L14: Permutations, Combinations and Some Review EECS 203: Discrete Mathematics.
Polynomials Count! CS Lecture 9 X1 X1 X2 X2 + + X3 X3.
Counting III: Pigeonhole principal, Pascal’s Triangle and more Great Theoretical Ideas In Computer Science S. Rudich V. Adamchik CS Spring 2006.
Week 9 - Friday.  What did we talk about last time?  Permutations  Counting elements in sets  Brief introduction to combinations.
The Pigeonhole Principle
Binomial Coefficients: Selected Exercises
4.2 Pascal’s Triangle and the Binomial Theorem
Permutations and Combinations
Binomial Identities.
Use Pascal’s triangle to expand the expression (3 x - 2 y) 3
CSE15 Discrete Mathematics 04/26/17
Permutations and Combinations
Basic Counting.
Binomial Identities.
Combinatorics.
CSE 321 Discrete Structures
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
Great Theoretical Ideas in Computer Science
Discrete Mathematics for Computer Science
Introduction to Discrete Mathematics
Section 11.7 The Binomial Theorem
Presentation transcript:

Binomial Identities

Expansion of (a + x)n (a + x) = a + x = 1C0a + 1C1x (a + x)(a + x) = aa + ax + xa + xx = x2 + 2ax + a2 = 2C0x2 + 2C1ax + 2C2a2 The 4 red terms are the “formal” expansion of (a+x)2 The 3 blue terms are the “simplified” expansion of (a+x)2 (a + x)(a + x)(a + x) = aaa + aax + axa + axx + xaa + xax + xxa + xxx = x3 + 3a2x + 3ax2 + a3 = 3C0x3 + 3C1a2x + 3C2ax2 + 3C3a3

Generalizing . . . In (a + x)4, how many terms does the: formal expansion have? simplified expansion have? In (a + x)n, how many terms does the:

The Coefficient on akxn-k The coefficient on akxn-k is the number of terms in the formal expansion that have exactly k as (and hence exactly n-k xs). It is equal to the number of ways of choosing an a from exactly k of the n binomial factors: nCk.

Binomial Theorem (1 + x)n = nC0x0 + nC1x1 + nC2x2 + . . . nCnxn In addition to the combinatorial argument that the coefficient of xi is nCi, we can prove this theorem by induction on n.

Binomial Identities nCk = n!/[k!(n-k)!] = nCn-k The number of ways to pick k objects from n = the ways to pick not pick k (i.e., to pick n-k). Pascal’s identity: nCk = n-1Ck + n-1Ck-1 The number of ways to pick k objects from n can be partitioned into 2 parts: Those that exclude a particular object i: n-1Ck Those that include object i: n-1Ck-1 Give an algebraic proof of this identity.

nCk kCm = nCm n-mCk-m Each side of the equation counts the number of k-subsets with an m-subsubset. The LHS counts: 1. Pick k objects from n: nCk 2. Pick m special objects from the k: kCm The RHS counts: 1. Pick m special objects that will be part of the k-subset: nCm 2. Pick the k-m non-special objects: n-mCk-m

Pascal’s Triangle kth number in row n is nCk: k = 0 1 n = 0 k = 1 2 1 k = 4 1 3 3 1 n = 3 n = 4 1 4 6 4 1

Displaying Pascal’s Identity k = 0 0C0 n = 0 k = 1 1C0 1C1 k = 2 n = 1 2C0 2C1 2C2 k = 3 n = 2 k = 4 3C0 3C1 3C2 3C3 n = 3 4C0 4C1 4C2 4C3 4C4 n = 4

Block-walking Interpretation nCk = # strings of n Ls & Rs with k Rs. nCk = # ways to get to corner n,k starting from 0,0 k = 0 0C0 n = 0 k = 1 1C0 1C1 k = 2 n = 1 2C0 2C1 2C2 k = 3 n = 2 k = 4 3C0 3C1 3C2 3C3 n = 3 4C0 4C1 4C2 4C3 4C4 n = 4

Pascal’s Identity via Block-walking # routes to corner n,k = # routes thru corner n-1,k + # routes thru corner n-1,k-1 k = 0 0C0 n = 0 k = 1 1C0 1C1 k = 2 n = 1 2C0 2C1 2C2 k = 3 n = 2 k = 4 3C0 3C1 3C2 3C3 n = 3 4C0 4C1 4C2 4C3 4C4 n = 4

nC0 + nC1 + nC2 + . . . + nCn = 2n LHS counts # subsets of n elements using the sum rule: partitioning the subsets according to their size (k value). RHS counts # subsets of n elements using the product rule: Is element 1 in subset? (2 choices) Is element 2 in subset? (2 choices) … Is element n in subset? (2 choices)

rCr + r+1Cr + r+2Cr + . . . + nCr = n+1Cr+1 k = 0 0C0 n = 0 k = 1 1C0 1C1 k = 2 n = 1 2C0 2C1 2C2 k = 3 n = 2 k = 4 3C0 3C1 3C2 3C3 n = 3 4C0 4C1 4C2 4C3 4C4 n = 4

rCr + r+1Cr + r+2Cr + . . . + nCr = n+1Cr+1 RHS = routes to corner 4,2 LHS: Partition the routes to 4,2 into those: whose last right branch is at corner 1,1: 1C1 whose last right branch is at corner 2,1: 2C1 whose last right branch is at corner 3,1: 3C1 For each subset of routes, there is only 1 way to complete the route from that corner to 4,2: RLL, RL, & R respectively. The identity generalizes this argument.

nC02 + nC12 + nC22 + … + nCn2 = 2nCn k = 0 0C0 n = 0 k = 1 1C0 1C1

nC02 + nC12 + nC22 + … + nCn2 = 2nCn RHS = all routes to corner 4,2 LHS partitions routes to 4,2 into those that: go thru corner 2,0: 2C0  2C2 go thru corner 2,1: 2C1  2C1 go thru corner 2,2: 2C2  2C0 The identity generalizes this argument: # routes to 2n, n that go thru n,k = nCk  nCn-k Sum over k = 0 to n

123 + 234 + 345 +…+ (n-2)(n-1)n = ? The general term = (k-2)(k-1)k = P(k,3) = k!/(k-3)! = 3!  kC3 Sum = 3!3C3 + 3!4C3 + 3!5C3 +...+ 3!nC3 = 3! [3C3 + 4C3 + 5C3 +...+ nC3 ] = 3!  n+1C4

A Strategy When the general term of a sum is not a binomial coefficient: break it into a sum of P(n, k) terms, if possible; rewrite these terms using binomial coefficients

12 + 22 + 32 +. . . + n2 = ? General term: = k2 = k(k-1) + k = P(k, 2) + k = 2! kC2 + k

Sum Σk=1,n (2! kC2 + k ) = 2! Σk=1,n kC2 + Σk=1,n k = 2! n+1C3 + n+1C2

Another Strategy: Manipulate the Binomial Theorem (1 + 1)n = 2n = nC0 + nC1 + . . . + nCn (1 - 1)n = 0 = nC0 - nC1 + nC2 - . . . +(-1)n nCn or nC0 + nC2 . . . = nC1 + nC3 + . . . = 2n-1 Differentiate the Binomial theorem, n(1 + x)n-1 = 1nC1x0 + 2nC2x1 + 3nC3x2 + … + nnCnxn-1 n(1 + 1)n-1 = 1nC1 + 2nC2 + 3nC3 + … + nnCn