Lecture 2. Multinomial coefficients and more counting problems

Similar documents
Binomial Coefficient

Mathematics for Algorithms and System Analysis

Sequences, Series, and Probability Part I

Chapter 8 Sequences, Series, and the Binomial Theorem

The Binomial Theorem and Consequences

Multinomial Coefficient : A Generalization of the Binomial Coefficient

Unit 9 Day 4. Agenda Questions from Counting (last class)? Recall Combinations and Factorial Notation!! 2. Simplify: Recall (a + b) n

5.9: The Binomial Theorem

CSE 21 Winter 2016 Homework 6 Due: Wednesday, May 11, 2016 at 11:59pm. Instructions

Ordering a deck of cards... Lecture 3: Binomial Distribution. Example. Permutations & Combinations

Chapter 15 - The Binomial Formula PART

10-6 Study Guide and Intervention

Week 3: Binomials Coefficients. 26 & 28 September MA204/MA284 : Discrete Mathematics. Niall Madden (and Emil Sköldberg)

MAC Learning Objectives. Learning Objectives (Cont.)

18.440: Lecture 35 Martingales and the optional stopping theorem

30. 2 x5 + 3 x; quintic binomial 31. a. V = 10pr 2. b. V = 3pr 3

Probability Distributions: Discrete

3.1 Properties of Binomial Coefficients

Factors of 10 = = 2 5 Possible pairs of factors:

The Binomial Theorem 5.4

Experimental Mathematics with Python and Sage

Ex 1) Suppose a license plate can have any three letters followed by any four digits.

( ) P = = =

Chapter 9 Section 9.1 (page 649)

10 5 The Binomial Theorem

1 Online Problem Examples

6.1 Binomial Theorem

Unit 8: Quadratic Expressions (Polynomials)

Remarks. Remarks. In this section we will learn how to compute the coefficients when we expand a binomial raised to a power.

II - Probability. Counting Techniques. three rules of counting. 1multiplication rules. 2permutations. 3combinations

Lecture 3. Sample spaces, events, probability

Math 1201 Unit 3 Factors and Products Final Review. Multiple Choice. 1. Factor the binomial. a. c. b. d. 2. Factor the binomial. a. c. b. d.

Probability Distributions: Discrete

The Binomial Theorem. Step 1 Expand the binomials in column 1 on a CAS and record the results in column 2 of a table like the one below.

Section 5.6 Factoring Strategies

A First Course in Probability

Developmental Mathematics Third Edition, Elayn Martin-Gay Sec. 13.1

UNIT 4 MATHEMATICAL METHODS

7-5 Factoring Special Products

Homework 10 Solution Section 4.2, 4.3.

MATD 0370 ELEMENTARY ALGEBRA REVIEW FOR TEST 3 (New Material From: , , and 10.1)

A relation on 132-avoiding permutation patterns

Exam 2 Spring 2015 Statistics for Applications 4/9/2015

4.2 Bernoulli Trials and Binomial Distributions

NMAI059 Probability and Statistics Exercise assignments and supplementary examples October 21, 2017

Discrete Random Variables (Devore Chapter Three)

The Binomial Distribution

Class 11 Maths Chapter 8 Binomial Theorem

Midterm Exam III Review

VAISHALI EDUCATION POINT (QUALITY EDUCATION POINT)

CHAPTER 5 SOME DISCRETE PROBABILITY DISTRIBUTIONS. 5.2 Binomial Distributions. 5.1 Uniform Discrete Distribution

Multiplication of Polynomials

Permutations, Combinations And Binomial Theorem Exam Questions

Yao s Minimax Principle

Assignment 3 - Statistics. n n! (n r)!r! n = 1,2,3,...

Pre-Calculus. Slide 1 / 145. Slide 2 / 145. Slide 3 / 145. Sequences and Series. Table of Contents

Section 13.1 The Greatest Common Factor and Factoring by Grouping. to continue. Also, circle your answer to each numbered exercise.

Contents. The Binomial Distribution. The Binomial Distribution The Normal Approximation to the Binomial Left hander example

Rewriting Codes for Flash Memories Based Upon Lattices, and an Example Using the E8 Lattice

14.30 Introduction to Statistical Methods in Economics Spring 2009

Unit 9 Notes: Polynomials and Factoring. Unit 9 Calendar: Polynomials and Factoring. Day Date Assignment (Due the next class meeting) Monday Wednesday

(2/3) 3 ((1 7/8) 2 + 1/2) = (2/3) 3 ((8/8 7/8) 2 + 1/2) (Work from inner parentheses outward) = (2/3) 3 ((1/8) 2 + 1/2) = (8/27) (1/64 + 1/2)

Chapter 5 Polynomials 5.1 Multiplying Polynomials

HFCC Math Lab Beginning Algebra -19. In this handout we will discuss one method of factoring a general trinomial, that is an

Algebra. Chapter 8: Factoring Polynomials. Name: Teacher: Pd:

Binomial Square Explained

Chapter 7: The Binomial Series

Ch 9 SB answers.notebook. May 06, 2014 WARM UP

STUDY SET 2. Continuous Probability Distributions. ANSWER: Without continuity correction P(X>10) = P(Z>-0.66) =

Lesson 7.1: Factoring a GCF

Name. 5. Simplify. a) (6x)(2x 2 ) b) (5pq 2 )( 4p 2 q 2 ) c) (3ab)( 2ab 2 )(2a 3 ) d) ( 6x 2 yz)( 5y 3 z)

6.231 DYNAMIC PROGRAMMING LECTURE 3 LECTURE OUTLINE

arxiv: v1 [math.co] 31 Mar 2009

Asymptotic Notation. Instructor: Laszlo Babai June 14, 2002

A probability distribution shows the possible outcomes of an experiment and the probability of each of these outcomes.

Studio 8: NHST: t-tests and Rejection Regions Spring 2014

SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

7.1 Review for Mastery

Permutation Factorizations and Prime Parking Functions

Multiple State Models

Polynomial and Rational Expressions. College Algebra

Binomial distribution

FACTORING HANDOUT. A General Factoring Strategy

The Binomial Distribution

EXERCISES ACTIVITY 6.7

Unit 8 Notes: Solving Quadratics by Factoring Alg 1

Binomial and multinomial distribution

MATD 0370 ELEMENTARY ALGEBRA REVIEW FOR TEST 3 (New Material From: , , and 10.1)

Chapter 5 Self-Assessment

Spike Statistics. File: spike statistics3.tex JV Stone Psychology Department, Sheffield University, England.

Random Variables. Chapter 6: Random Variables 2/2/2014. Discrete and Continuous Random Variables. Transforming and Combining Random Variables

Factoring Quadratic Expressions VOCABULARY

work to get full credit.

Year 8 Term 1 Math Homework

Algebra homework 8 Homomorphisms, isomorphisms

(for tutoring, homework help, or help with online classes)

MANAGEMENT PRINCIPLES AND STATISTICS (252 BE)

maps 1 to 5. Similarly, we compute (1 2)(4 7 8)(2 1)( ) = (1 5 8)(2 4 7).

Chapter 3 - Lecture 5 The Binomial Probability Distribution

a*(variable) 2 + b*(variable) + c

Transcription:

18.440: Lecture 2 Multinomial coefficients and more counting problems Scott Sheffield MIT 1

Outline Multinomial coefficients Integer partitions More problems 2

Outline Multinomial coefficients Integer partitions More problems 3

Partition problems You have eight distinct pieces of food. You want to choose three for breakfast, two for lunch, and three for dinner. How many ways to do that? Answer: 8!/(3!2!3!) One way to think of this: given any permutation of eight elements (e.g., 12435876 or 87625431) declare first three as breakfast, second two as lunch, last three as dinner. This maps set of 8! permutations on to the set of food-meal divisions in a many-to-one way: each food-meal division comes from 3!2!3! permutations. How many 8-letter sequences with 3 A s, 2 B s, and 3 C s? Answer: 8!/(3!2!3!). Same as other problem. Imagine 8 slots for the letters. Choose 3 to be A s, 2 to be B s, and 3 to be C s. 4

Partition problems In general, if you have n elements you wish to divide into r distinct piles of sizes n 1, n 2... n r, how many ways to do that? n n! Answer := n 1,n 2,...,n r n 1!n 2!...n r!. 5

One way a to understand the binomial theorem Expand the product (A 1 + B 1 )(A 2 + B 2 )(A 3 + B 3 )(A 4 + B 4 ). 16 terms correspond to 16 length-4 sequences of A s and B s. A 1 A 2 A 3 A 4 + A 1 A 2 A 3 B 4 + A 1 A 2 B 3 A 4 + A 1 A 2 B 3 B 4 + A 1 B 2 A 3 A 4 + A 1 B 2 A 3 B 4 + A 1 B 2 B 3 A 4 + A 1 B 2 B 3 B 4 + B 1 A 2 A 3 A 4 + B 1 A 2 A 3 B 4 + B 1 A 2 B 3 A 4 + B 1 A 2 B 3 B 4 + B 1 B 2 A 3 A 4 + B 1 B 2 A 3 B 4 + B 1 B 2 B 3 A 4 + B 1 B 2 B 3 B 4 What happens to this sum if we erase subscripts? (A + B) 4 = B 4 + 4AB 3 + 6A 2 B 2 + 4A 3 B + A 4. Coefficient of A 2 B 2 is 6 because 6 length-4 sequences have 2 A s and 2 B s. n n Generally, (A + B) n ( ) ( ) = k=0 k A k B n k, because there are n sequences with k A s and (n k) B s. k 6

How about trinomials? Expand (A 1 + B 1 + C 1 )(A 2 + B 2 + C 2 )(A 3 + B 3 + C 3 )(A 4 + B 4 + C 4 ). How many terms? Answer: 81, one for each length-4 sequence of A s and B s and C s. We can also compute (A + B + C ) 4 = A 4 +4A 3 B +6A 2 B 2 +4AB 3 +B 4 +4A 3 C +12A 2 BC +12AB 2 C + 4B 3 C + 6A 2 C 2 + 12ABC 2 + 6B 2 C 2 + 4AC 3 + 4BC 3 + C 4 What is the sum of the coefficients in this expansion? What is the combinatorial interpretation of coefficient of, say, ABC 2? Answer 81 = (1 + 1 + 1) 4. ABC 2 has coefficient 12 because there are 12 length-4 words have one A, one B, two C s. 7

Multinomial coefficients Is there a higher dimensional analog of binomial theorem? Answer: yes. Then what is it? ( ) n n 1 n 2 n (x r 1 +x 2 +...+x r ) n = x1 x 2... xr n 1,..., n r n 1,...,n r :n 1 +...+n r =n The sum on the right is taken over all collections (n 1, n 2,..., n r ) of r non-negative integers that add up to n. Pascal s triangle gives coefficients in binomial expansions. Is there something like a Pascal s pyramid for trinomial expansions? 8

By the way... If n! is the product of all integers in the interval with endpoints 1 and n, then 0! = 0. Actually, we say 0! = 1. Because there is one map from the empty set to itself. 3! of these: {1, 2, 3}, {1, 3, 2}, {2, 1, 3}, {2, 3, 1}, {3, 1, 2}, {3, 2, 1}, 2! of these: {1, 2}, {2, 1}, 1! of these: {1} and 0! of these {}. Because this is the convention that makes the binomial and multinomial theorems true. Because we want the recursion n(n 1)! = n! to hold for n = 1. (We won t define factorials of negative integers.) 0 t z 1 Because we can write Γ(z) := e t dt and define n! := Γ(n + 1) = 0 t n e t dt. Because there is a consensus among MIT faculty that 0! should be 1. 9

Outline Multinomial coefficients Integer partitions More problems 10

Outline Multinomial coefficients Integer partitions More problems 11

Integer partitions How many sequences a 1,..., a k of non-negative integers satisfy a 1 + a 2 +... + a k = n? ( ) n+k 1 Answer: n. Represent partition by k 1 bars and n stars, e.g., as. 12

Outline Multinomial coefficients Integer partitions More problems 13

Outline Multinomial coefficients Integer partitions More problems 14

More counting problems In 18.821, a class of 27 students needs to be divided into 9 teams of three students each? How many ways are there to do that? 27! (3!) 9 9! You teach a class with 90 students. In a rather severe effort to combat grade inflation, your department chair insists that you assign the students exactly 10 A s, 20 B s, 30 C s, 20 D s, and 10 F s. How many ways to do this? ( 90 ) 90! 10,20,30,20,10 = 10!20!30!20!10! You have 90 (indistinguishable) pieces of pizza to divide among the 90 (distinguishable) students. How many ways to do that (giving each student a non-negative integer number of slices)? 179 179 90 = 89 ( ) ( ) 15

More counting problems 13 13 13 4! 13 4 3 5 1 ( )( ) 4 26 How many 13-card bridge hands have 4 of one suit, 3 of one suit, 5 of one suit, 1 of one suit? ( )( )( )( ) How many bridge hands have at most two suits represented? 2 13 8 How many hands have either 3 or 4 cards in each suit? Need three 3-card ( suits, one 4-card suit, to make 13 cards 3 total. Answer is 4 13 ) ( 13 ) 3 4 16

MIT OpenCourseWare http://ocw.mit.edu 18.440 Probability and Random Variables Spring 2014 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.