Discrete Mathematics

Similar documents
Chapter 3. Distribution Problems. 3.1 The idea of a distribution The twenty-fold way

4. Binomial Expansions

Combinatorial Proofs

Basics of Counting. The product rule. Product rule example. 22C:19, Chapter 6 Hantao Zhang. Sample question. Total is 18 * 325 = 5850

Discrete mathematics

( ) FACTORING. x In this polynomial the only variable in common to all is x.

COUNTING SUBSETS OF A SET: COMBINATIONS

Section 6.4: Counting Subsets of a Set: Combinations

SECTION 10-5 Multiplication Principle, Permutations, and Combinations

8.3 Probability Applications of Counting Principles

Lesson Plans for (9 th Grade Main Lesson) Possibility & Probability (including Permutations and Combinations)

I. GROUPS: BASIC DEFINITIONS AND EXAMPLES

Catalan Numbers. Thomas A. Dowling, Department of Mathematics, Ohio State Uni- versity.

Math 55: Discrete Mathematics

Factoring and Applications

Math 475, Problem Set #13: Answers. A. A baton is divided into five cylindrical bands of equal length, as shown (crudely) below.

Notes on Probability and Statistics

Lecture 2 Binomial and Poisson Probability Distributions

Triangle deletion. Ernie Croot. February 3, 2010

Combinatorics. Chapter Factorials

Maths class 11 Chapter 7. Permutations and Combinations

Lecture Note 1 Set and Probability Theory. MIT Spring 2006 Herman Bennett

Math 55: Discrete Mathematics

FEGYVERNEKI SÁNDOR, PROBABILITY THEORY AND MATHEmATICAL

Class Meeting # 1: Introduction to PDEs

FACTORING PEAK POLYNOMIALS

Discrete Mathematics: Homework 7 solution. Due:

SOL Warm-Up Graphing Calculator Active

E3: PROBABILITY AND STATISTICS lecture notes

Chapter 7 - Roots, Radicals, and Complex Numbers

Class One: Degree Sequences

k, then n = p2α 1 1 pα k

Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University

6.1 The Greatest Common Factor; Factoring by Grouping

A characterization of trace zero symmetric nonnegative 5x5 matrices

arxiv:math/ v1 [math.co] 21 Feb 2002

Perms and Combs Practice Exam - ANSWERS

How To Solve The Social Studies Test

Solutions for Practice problems on proofs

The Determinant: a Means to Calculate Volume

Curriculum Map Statistics and Probability Honors (348) Saugus High School Saugus Public Schools

Probability and Statistics Vocabulary List (Definitions for Middle School Teachers)

Sect Solving Equations Using the Zero Product Rule

Elements of probability theory

GEOMETRIC SEQUENCES AND SERIES

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

Random variables P(X = 3) = P(X = 3) = 1 8, P(X = 1) = P(X = 1) = 3 8.

5.1 Radical Notation and Rational Exponents

PUTNAM TRAINING POLYNOMIALS. Exercises 1. Find a polynomial with integral coefficients whose zeros include

Unit 6: Polynomials. 1 Polynomial Functions and End Behavior. 2 Polynomials and Linear Factors. 3 Dividing Polynomials

DIFFERENTIABILITY OF COMPLEX FUNCTIONS. Contents

LOOKING FOR A GOOD TIME TO BET

From Binomial Trees to the Black-Scholes Option Pricing Formulas

Problem-Solving Methods in Combinatorics

Solving Systems of Linear Equations

NSM100 Introduction to Algebra Chapter 5 Notes Factoring

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.

MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix.

Zeros of a Polynomial Function

Mathematics for Algorithm and System Analysis

Section 6-5 Sample Spaces and Probability

Alum Rock Elementary Union School District Algebra I Study Guide for Benchmark III

Probability Generating Functions

Vieta s Formulas and the Identity Theorem

How To Understand And Solve A Linear Programming Problem

COWLEY COUNTY COMMUNITY COLLEGE REVIEW GUIDE Compass Algebra Level 2

Integer Sequences and Matrices Over Finite Fields

Elementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University

Solving Quadratic Equations

CM2202: Scientific Computing and Multimedia Applications General Maths: 2. Algebra - Factorisation

Stirling s formula, n-spheres and the Gamma Function

Vector Spaces 4.4 Spanning and Independence

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

MATHEMATICAL METHODS OF STATISTICS

Math 115 Spring 2011 Written Homework 5 Solutions

Inverse Functions and Logarithms

Hoover High School Math League. Counting and Probability

Procedure for Graphing Polynomial Functions

Actually Doing It! 6. Prove that the regular unit cube (say 1cm=unit) of sufficiently high dimension can fit inside it the whole city of New York.

Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan

Study Guide 2 Solutions MATH 111

10.2 Series and Convergence

Functions CHAPTER 2. Introduction. 2.1 Some Basic Terminology. Terminology for Sets

Lesson 9: Radicals and Conjugates

Algebra Cheat Sheets

SYSTEMS OF PYTHAGOREAN TRIPLES. Acknowledgements. I would like to thank Professor Laura Schueller for advising and guiding me

Polynomial Expression

Every Positive Integer is the Sum of Four Squares! (and other exciting problems)

SECTION 10-2 Mathematical Induction

Lecture Notes on Discrete Mathematics

Algebra II End of Course Exam Answer Key Segment I. Scientific Calculator Only

6.4 Special Factoring Rules

Row Echelon Form and Reduced Row Echelon Form

Discrete Math for Computer Science Students

By reversing the rules for multiplication of binomials from Section 4.6, we get rules for factoring polynomials in certain forms.

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

LEARNING OBJECTIVES FOR THIS CHAPTER

Worksheet A2 : Fundamental Counting Principle, Factorials, Permutations Intro

ON SOME ANALOGUE OF THE GENERALIZED ALLOCATION SCHEME

The Binomial Probability Distribution

Transcription:

Counting

6.4: Binomial Coefficients and Identities

The Binomial Theorem Theorem Let x and y be variables, and let n be a nonnegative integer. Then: (x + y) n = = n ( n j j=0 ( ) n x n + 0 ) x n j y j ( ) ( ) n n x n 1 y + + xy n 1 + 1 n 1 ( ) n y n. n

The Binomial Theorem Corollary Let n 0 be a nonnegative integer. Then n k=0 ( ) n = 2 n. k

The Binomial Theorem Corollary Let n 0 be a nonnegative integer. Then n k=0 ( ) n = 2 n. k Similarly, when n > 0, n ( ) n ( 1) k = 0. k k=0

Pascal s identity and triangle Theorem (Pascal s identity) Let n and k be positive integers with n k. Then: ( ) ( ) ( ) n + 1 n n = +. k k 1 k

Other identities involving binomial coefficients Theorem (Vandermonde s identity) Let m, n, and r be nonnegative integers with r not exceeding either m or n. Then ( ) m + n r ( )( ) m n =. r r k k k=0

Other identities involving binomial coefficients Theorem If n is a nonnegative integer, then ( ) 2n = n n k=0 ( ) n 2. k

Other identities involving binomial coefficients Theorem If n is a nonnegative integer, then ( ) 2n = n n k=0 ( ) n 2. k Theorem Let n and r be nonnegative integers with r n. Then ( ) n + 1 = r + 1 n j=r ( ) j. r

6.5:

Counting with repetition Theorem The number of r-permutations of a set of n objects with repetition allowed is n r.

Counting with repetition Theorem The number of r-permutations of a set of n objects with repetition allowed is n r. Theorem There are C(n + r 1, r) = C(n + r 1, n 1) r-combinations from a set with n elements when repetition of elements is allowed.

Counting with repetition Example How many solutions does the equation x 1 + x 2 + x 3 = 11 have, where x 1, x 2, and x 3 are nonnegative integers?

Counting with repetition Summary Type Repetition allowed? Formula r-permutations No n! (n r)!, r-combinations No n! r!(n r)!, r-permutations Yes n r, r-combinations Yes (n+r 1)! r!(n 1)!.

Permutations with indistinguishable objects Theorem The number of different permutations of n objects, where there are n 1 indistinguishable objects of type 1, n 2 indistinguishable objects of type 2,..., and n k indistinguishable objects of type k, is given by n! n 1!n 2! n k!.

Distributing objects into boxes Example (Distinguishable objects and distinguishable boxes) How many ways are there to distribute hands of 5 cards to each of four players from the standard deck of 52 cards?

Distributing objects into boxes Example (Distinguishable objects and distinguishable boxes) How many ways are there to distribute hands of 5 cards to each of four players from the standard deck of 52 cards? Theorem The number of ways to distribute n distinguishable objects into k distinguishable boxes such that n i objects are placed into box i, i = 1, 2,..., k, equals n! n 1!n 2! n k!.

Distributing objects into boxes Example (Indistinguishable objects and distinguishable boxes) How many ways are there to place 10 indistinguishable balls into eight distinguishable boxes?

Distributing objects into boxes Example (Indistinguishable objects and distinguishable boxes) How many ways are there to place 10 indistinguishable balls into eight distinguishable boxes? Theorem There are C(n + r 1, n 1) ways to place r indistinguishable objects into n distinguishable boxes.

Distributing objects into boxes Remark (Distinguishable objects and indistinguishable boxes) There is no simple closed formula for the number of ways to distribute n distinguishable objects into j indistinguishable boxes. Let S(n, j), called Stirling numbers of the second kind, denote the number of ways to distribute n distinguishable objects into j indistinguishable boxes so that no box is empty. One can show that S(n, j) = 1 j 1 ( ) j ( 1) i (j i) n. j! i i=0 Consequently, the number of ways to distribute n distinguishable objects into k indistinguishable boxes equals k S(n, j) = j=1 k 1 j 1 j! ( 1) i ( j i j=1 i=0 ) (j i) n.

Distributing objects into boxes Remark (Indistinguishable objects and indistinguishable boxes) Observe that distributing n indistinguishable objects into k indistinguishable boxes is the same as writing n as the sum of at most k positive integers in nondecreasing order. If a 1 + + a j = n, where a 1... a j are positive integers, we say a 1,..., a j is a partition of n into j parts. We see that if p k (n) is the number of partitions of n into at most k parts, then there are p k (n) ways to distribute n indistinguishable objects into k indistinguishable boxes. No simple closed form exists for this number.