MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 24, Wednesday, October 29.

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

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 and Probability The outcome of a random process is sure to occur, but impossible to predict. Examples: fair coin tossing, rolling a pair of dice,
CSE115/ENGR160 Discrete Mathematics 04/17/12
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 19, Friday, October 17.
Permutations r-permutation (AKA “ordered r-selection”) An ordered arrangement of r elements of a set of n distinct elements. permutation of a set of n.
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}:
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 26, Monday, November 3.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 22, Friday, October 24.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 27, Wednesday, November 5.
CSE 321 Discrete Structures Winter 2008 Lecture 16 Counting.
Counting Techniques: r-combinations with
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 25, Friday, October 31.
Sequence A list of objects arranged in a particular order.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 11, Wednesday, September 24.
Exponential Generating Function
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 5,Wednesday, September 10.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 21, Wednesday, October 22.
Recursive Definitions Rosen, 3.4 Recursive (or inductive) Definitions Sometimes easier to define an object in terms of itself. This process is called.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 38, Friday, December 5.
MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 20, Monday, October 20.
Discrete Mathematics Lecture 7 Harper Langston New York University.
1 Permutations and Combinations CS/APMA 202 Epp section 6.4 Aaron Bloomfield.
Permutations and Combinations
Combinatorics 3/15 and 3/ Counting A restaurant offers the following menu: Main CourseVegetablesBeverage BeefPotatoesMilk HamGreen BeansCoffee.
Rev.S08 MAC 1140 Module 12 Introduction to Sequences, Counting, The Binomial Theorem, and Mathematical Induction.
1 Permutations and Combinations CS/APMA 202 Rosen section 4.3 Aaron Bloomfield.
Chapter 8. Section 8. 1 Section Summary Introduction Modeling with Recurrence Relations Fibonacci Numbers The Tower of Hanoi Counting Problems Algorithms.
Basic Counting. This Lecture We will study some basic rules for counting. Sum rule, product rule, generalized product rule Permutations, combinations.
Chapter The Basics of Counting 5.2 The Pigeonhole Principle
Generalized Permutations and Combinations
Probability Notes Math 309. Sample spaces, events, axioms Math 309 Chapter 1.
Chapter 6 With Question/Answer Animations 1. Chapter Summary The Basics of Counting The Pigeonhole Principle Permutations and Combinations Binomial Coefficients.
Permutations and Combinations
1 Chapter 7 Generating functions. 2 Summary Generating functions Recurrences and generating functions A geometry example Exponential generating functions.
1 Discrete and Combinatorial Mathematics R. P. Grimaldi, 5 th edition, 2004 Chapter 6 Generating Functions.
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.
The Binomial Theorem Lecture 29 Section 6.7 Mon, Apr 3, 2006.
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
COMPSCI 102 Discrete Mathematics for Computer Science.
Spatial Statistics and Spatial Knowledge Discovery First law of geography [Tobler]: Everything is related to everything, but nearby things are more related.
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
CSNB 143 Discrete Mathematical Structures
Chapter 12.6 Notes. O A positive integer n is the product of the positive integers less than or equal to n. 0! Is defined to be 1. n! = n ● (n -1) ● (n.
Section The Pigeonhole Principle If a flock of 20 pigeons roosts in a set of 19 pigeonholes, one of the pigeonholes must have more than 1 pigeon.
Discrete Mathematics and Its Applications Sixth Edition By Kenneth Rosen Chapter 5 Counting 歐亞書局.
COUNTING Discrete Math Team KS MATEMATIKA DISKRIT (DISCRETE MATHEMATICS ) 1.
Section 6.3. Section Summary Permutations Combinations.
Permutations and Combinations
CSE15 Discrete Mathematics 04/19/17
Today’s topics Counting Reading: Sections , 4.4 Upcoming
Permutations and Combinations
Permutations and Combinations
Counting Chapter 6 With Question/Answer Animations
CS100: Discrete structures
Math/CSE 1019: Discrete Mathematics for Computer Science Fall 2011
Countable and Countably Infinite Sets
The Rational Zero Theorem
Permutations and Combinations
Basic Counting.
CSE 321 Discrete Structures
Permutations and Combinations
Sequences and the Binomial Theorem
Lecture 29 Section 6.7 Thu, Mar 3, 2005
Miniconference on the Mathematics of Computation
Presentation transcript:

MATH 310, FALL 2003 (Combinatorial Problem Solving) Lecture 24, Wednesday, October 29

5.5. Binomial Identities - Continuation Homework (MATH 310#8W): Read 6.1. Turn in 5.5: 2,4,6,8,32 Volunteers: ____________ Problem: 32.

Block Walking Model How many paths are there from A to C if we may walk only upwards (U) or to the right (R)? Find a binomial identity (by moving point C alnog the diagonal). B(n,n) A(0,0) C(p,n-p)

Binomial coefficients The following is true: C(n,r) = C(n,n-r) C(n,r) = (n/r) C(n-1,r-1) C(n,r) = ((n-r+1)/r)C(n,r-1)

Newton’s Binomial Theorem For each integer n: Proof (By induction). Corollaries: :

Some Binomial Identities C(n,1) + 2C(n,2) n C(n, n) = n 2 n-1 In other words: C(n,0) + (1/2)C(n,1) (1/(n+1)) C(n, n) = (2 n+1 – 1)/(n+1) C(n,0) + 2 C(n,1) + C(n,2) + 2 C(n, 3) +... = 3 2 n-1 C(n,1) - 2C(n,2) - 3C(n,3) + 4C(n,4) (-1) n n C(n, n) = 0 2C(n,0) + (2 2 /2)C(n,1) + (2 3 /3)C(n,2) + (2 4 /4)C(n,3)+... = (3 n+1 – 1)/(n+1) C(n,0) 2 + C(n,1) C(n,n) 2 = C(2n,n)

Proof Methods Equality rule (combinatorial proof) Mathematical Induction Newton’s Theorem (derivatives, integrals) Algebraic exercises Symbolic computation Generating Functions (What is that?)

Arrangements and Selections Choose r elements from the set of n elements orderednonordered repeated elements nrnr C(n+r-1,r) no repetitions n!/(n-r)!C(n,r)

r-arrangements with repetirions Example: A = {a,b,c}, r = 2. Answer: n r = 3 2 = 9 aaabbbccc abcabcabc

r-arrangements (no repetitions) Example: A = {a,b,c}, r = 2. P(3,2) = 9 – 3 = 6 = n!/(n-r)!=3 £ 2. aaabbbccc abcabcabc

Permutations P(n, r) = 0, for r > n. Interesting special case n = r: P(n) := P(n, n) permutations. P(0) = 1. P(n) = n P(n-1). In general: P(n) = n(n-1) = n!

Permutations - Continuation Function n! (n-factorial) has rapid growth: Stirling approximation: nn!

Permutations as functions Permutations can be regarded as bijections of A onto itself. Example: A = {a,b,c}  aaabbcc bbcacab ccbcaba

r-selections (no repetitions) Example: A = {a,b,c}, r = 2. C(3,2) = (9 – 3)/2 = 3 = 3!/(2!1!) aaabbbccc abcabcabc

r-selections with repetitions Example: A = {a,b,c}, r = 2. Answer:= (9 – 3)/2 + 3 = 6 = C(4,2) aaabbbccc abcabcabc

r-selections with repetitions C(n+r-1,r) Problem: Given p signs “+” and q signs “-”. How many strings (of length p+q) are there? Answer: C(p+q,p) = C(p+q,q).

r-selections with repetitions - Proof To each selection assign a vector: Answer:= (9 – 3)/2 + 3 = 6 = C(4,2) aaabbbccc abcabcabc

6.1. Generating Function Models Algebra-Calculus approach. We are given a finite or infinite sequence of numbers a 0, a 1,..., a n,... Then the generating function g(x) for a_n is given by: g(x) = a 0 + a 1 x a 2 x n +...