Counting. Math 301. November 24, Dr. Nahid Sultana

Size: px
Start display at page:

Download "Counting. Math 301. November 24, Dr. Nahid Sultana"

Transcription

1 Basic Principles Dr. Nahid Sultana November 24, 2012

2 Basic Principles Basic Principles The Sum Rule The Product Rule Distinguishable Pascal s Triangle Binomial Theorem

3 Basic Principles Combinatorics: The mathematics of counting.

4 Basic Principles Combinatorics: The mathematics of counting. Question: How many ways can you pick five numbers, from 1 to 10?

5 Basic Principles Combinatorics: The mathematics of counting. Question: How many ways can you pick five numbers, from 1 to 10? Answer: Several ways depending on: 1. Does order matter? 2. Can you repeat numbers?

6 Basic Principles Combinatorics: The mathematics of counting. Question: How many ways can you pick five numbers, from 1 to 10? Answer: Several ways depending on: 1. Does order matter? 2. Can you repeat numbers? Order matter Order not matter Repetition allowed Repetition not allowed

7 Basic Principles The Sum Rule The Product Rule Rule of sum: If a first task can be done in n1 ways, and a second task in n 2 ways, and these tasks cannot be done at the same time, then there are n1 + n 2 ways to do either task

8 Basic Principles The Sum Rule The Product Rule Rule of sum: If a first task can be done in n1 ways, and a second task in n 2 ways, and these tasks cannot be done at the same time, then there are n1 + n 2 ways to do either task Example: Suppose that either a member of a mathematics faculty or a student who has mathematics major is chosen as a representative of a university committee. How many different choices are there for this representative if there are 37 members of the mathematics faculty and 83 mathematics majors?

9 Basic Principles The Sum Rule The Product Rule We can extend the sum rule to more than two tasks.

10 Basic Principles The Sum Rule The Product Rule We can extend the sum rule to more than two tasks. Example: A student can choose a computer project from one of the three list. The three lists contain 23, 15 and 19 possible projects. How many projects are there to choose from?

11 Basic Principles The Sum Rule The Product Rule The Product Rule: Suppose that a procedure can be broken down into two tasks. If there are n 1 ways to do the first task, and n 2 ways to do the second task after the first task has been done then there are n1 n 2 ways to do the procedure.

12 Basic Principles The Sum Rule The Product Rule The Product Rule: Suppose that a procedure can be broken down into two tasks. If there are n 1 ways to do the first task, and n 2 ways to do the second task after the first task has been done then there are n1 n 2 ways to do the procedure. Example: The chair of an auditorium are to be labelled with a letter and a positive integer not exceeding 100. What is the largest number of chairs that can be labelled differently?

13 Basic Principles The Sum Rule The Product Rule The Product Rule: Suppose that a procedure can be broken down into two tasks. If there are n 1 ways to do the first task, and n 2 ways to do the second task after the first task has been done then there are n1 n 2 ways to do the procedure. Example: The chair of an auditorium are to be labelled with a letter and a positive integer not exceeding 100. What is the largest number of chairs that can be labelled differently? We can extend the product rule to more than two tasks.

14 Basic Principles Distinguishable Example: Consider making lists from A, B, C, D, E, F, G. 1. How many length-4 lists are possible if repetition is allowed? 2. How many length-4 lists are possible if repetition is not allowed?

15 Basic Principles Distinguishable Example: Consider making lists from A, B, C, D, E, F, G. 1. How many length-4 lists are possible if repetition is allowed? 2. How many length-4 lists are possible if repetition is not allowed? Theorem: Let A be a set with n elements and 1 r n. Then the number of sequences of length r that can be performed from elements of A, allowing repetition, is n r.

16 Basic Principles Distinguishable Example: Consider making lists from A, B, C, D, E, F, G. 1. How many length-4 lists are possible if repetition is allowed? 2. How many length-4 lists are possible if repetition is not allowed? Theorem: Let A be a set with n elements and 1 r n. Then the number of sequences of length r that can be performed from elements of A, allowing repetition, is n r. Theorem: Let A be a set with n elements and 1 r n. A sequence of r-distinct elements from A can be performed in n(n 1)(n 2)...(n r + 1) ways. This number is written as P(n, r) or npr or P n r, and called the number of permutations of n objects taken r at a time.

17 Basic Principles Distinguishable Theorem: P(n, r) = n! (n r)!.

18 Basic Principles Distinguishable Theorem: P(n, r) = n! (n r)!. When r = n, then P(n, n) = n! (n n)! = n!.

19 Basic Principles Distinguishable Theorem: P(n, r) = n! (n r)!. When r = n, then P(n, n) = n! (n n)! = n!. Therefore, n! is the permutation of n-objects (taken all at a time).

20 Basic Principles Distinguishable Theorem: P(n, r) = n! (n r)!. When r = n, then P(n, n) = n! (n n)! = n!. Therefore, n! is the permutation of n-objects (taken all at a time). Example: A = {a, b, c}. Example: How many words of three distinct letters can be formed from the letters of the word MAST?

21 Basic Principles Distinguishable Theorem: The number of distinguishable permutations that can be formed from a collection of n-objects where the first objects appears k1 times, the second object k2 times, and so on, is n! P(n, k 1, k 2,..., k r ) = k 1!k 2!...k r!.

22 Basic Principles Distinguishable Theorem: The number of distinguishable permutations that can be formed from a collection of n-objects where the first objects appears k1 times, the second object k2 times, and so on, is n! P(n, k 1, k 2,..., k r ) = k 1!k 2!...k r!. Example: How many distinguishable permutations of the letters in the word BANANA are there?

23 Basic Principles Question: How many subsets can be made by selecting r elements from a set with n elements? Repetition not allowed and order doesn t matter.

24 Basic Principles Question: How many subsets can be made by selecting r elements from a set with n elements? Repetition not allowed and order doesn t matter. Theorem: Let A be a set with A = n, and 1 r n. Then the number of combinations of the elements of A, taken r at a time where order does not count, is C(n, r) = ( n r ) = This is simply a r-element subset of A. n! r!(n r)!.

25 Basic Principles Question: How many subsets can be made by selecting r elements from a set with n elements? Repetition not allowed and order doesn t matter. Theorem: Let A be a set with A = n, and 1 r n. Then the number of combinations of the elements of A, taken r at a time where order does not count, is C(n, r) = ( n r ) = This is simply a r-element subset of A. Therefore, C(n, r) = P(n,r) r!. n! r!(n r)!.

26 Basic Principles Example: How many 4-element subsets does A = {1, 2, 3, 4, 5, 6, 7, 8, 9} have?

27 Basic Principles Example: How many 4-element subsets does A = {1, 2, 3, 4, 5, 6, 7, 8, 9} have? How many ways are there to select 5 players from a 10-members tennis team to make a trip to a match at another school?

28 Basic Principles Pascal s Triangle Binomial Theorem The numbers ( n r ) are called a binomial coefficients. The name binomial coefficient is used because these numbers occur as coefficients in the expansion of powers of binomial expression such as (a + b) n.

29 Basic Principles Pascal s Triangle Binomial Theorem The numbers ( n r ) are called a binomial coefficients. The name binomial coefficient is used because these numbers occur as coefficients in the expansion of powers of binomial expression such as (a + b) n. Let n and r be non-negative integers and r n then ( ) ( ) n n = n r r

30 Basic Principles Pascal s Triangle Binomial Theorem The numbers ( n r ) are called a binomial coefficients. The name binomial coefficient is used because these numbers occur as coefficients in the expansion of powers of binomial expression such as (a + b) n. Let n and r be non-negative integers and r n then ( ) ( ) n n = n r r ( n i ) = 0 for i < 0 or i > n, where n is a positive integer.

31 Basic Principles Pascal s Triangle Binomial Theorem Pascal s Identity: Let n and r be non-negative integers and r n then ( ) ( ) ( ) n + 1 n n = + r r 1 r

32 Basic Principles Pascal s Triangle Binomial Theorem Pascal s Identity: Let n and r be non-negative integers and r n then ( ) ( ) ( ) n + 1 n n = + r r 1 r Pascal s triangle: Triangular array of the binomial coefficients. ( ) 0 1. Top row (row 0): 0 ( ) 1 2. Next row (row 1): listing the value of with k = 0, 1 k ( ) 2 3. Next row (row 2): listing the value of with k = 0, 1, 2 k 4. and so on...

33 Basic Principles Pascal s Triangle Binomial Theorem In general, each row listing the numbers ( ) n + 1 a row listing the numbers. k ( n k ) is just above

34 Basic Principles Pascal s Triangle Binomial Theorem ( n k ) is just above In general, each row listing the numbers ( ) n + 1 a row listing the numbers. k ( ) n + 1 Any number in this triangle falls immediately k below and between the positions of two numbers ( ) n and in the previous row. k ( n k 1 Therefore, by Pascal s identity, any number (other than 1) is the sum of the two numbers immediately above it. )

35 Basic Principles Pascal s Triangle Binomial Theorem ( n k ) is just above In general, each row listing the numbers ( ) n + 1 a row listing the numbers. k ( ) n + 1 Any number in this triangle falls immediately k below and between the positions of two numbers ( ) n and in the previous row. k ( n k 1 Therefore, by Pascal s identity, any number (other than 1) is the sum of the two numbers immediately above it. More in class... )

36 Basic Principles Pascal s Triangle Binomial Theorem The n-th row of the Pascal s triangle lists the coefficients of (x + y) n. For example, for n = 2, we have (x + y) 2 = 1x 2 + 2xy + 1y 2, and Row 2 of Pascal s triangle lists the coefficients

37 Basic Principles Pascal s Triangle Binomial Theorem The n-th row of the Pascal s triangle lists the coefficients of (x + y) n. For example, for n = 2, we have (x + y) 2 = 1x 2 + 2xy + 1y 2, and Row 2 of Pascal s triangle lists the coefficients This is true for every n, and the result is known as the binomial theorem.

38 Basic Principles Pascal s Triangle Binomial Theorem The n-th row of the Pascal s triangle lists the coefficients of (x + y) n. For example, for n = 2, we have (x + y) 2 = 1x 2 + 2xy + 1y 2, and Row 2 of Pascal s triangle lists the coefficients This is true for every n, and the result is known as the binomial theorem. Binomial Theorem: If n is a non-negative integer, then (x + y) n = n k=0 ( n k ) x n k y k.

39 Basic Principles Pascal s Triangle Binomial Theorem The n-th row of the Pascal s triangle lists the coefficients of (x + y) n. For example, for n = 2, we have (x + y) 2 = 1x 2 + 2xy + 1y 2, and Row 2 of Pascal s triangle lists the coefficients This is true for every n, and the result is known as the binomial theorem. Binomial Theorem: If n is a non-negative integer, then Examples: In class. (x + y) n = n k=0 ( n k ) x n k y k.

40 Basic Principles : If n pigeonholes are occupied by n + 1 or more pigeons, then at least one pigeonhole is occupied by more than one pigeon.

41 Basic Principles : If n pigeonholes are occupied by n + 1 or more pigeons, then at least one pigeonhole is occupied by more than one pigeon. Suppose there are 8 people in a group, then at least two of them were born on the same day of the week.

42 Basic Principles : If n pigeonholes are occupied by n + 1 or more pigeons, then at least one pigeonhole is occupied by more than one pigeon. Suppose there are 8 people in a group, then at least two of them were born on the same day of the week. Generalized : If n pigeonholes are occupied by kn + 1 or more pigeons, where k is a positive integer, then at least one pigeonhole is occupied by k + 1 or more pigeons.

43 Basic Principles : If n pigeonholes are occupied by n + 1 or more pigeons, then at least one pigeonhole is occupied by more than one pigeon. Suppose there are 8 people in a group, then at least two of them were born on the same day of the week. Generalized : If n pigeonholes are occupied by kn + 1 or more pigeons, where k is a positive integer, then at least one pigeonhole is occupied by k + 1 or more pigeons. Find the minimum number of students in a class to be sure that three of them are born in the same month.

Counting Methods. CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo

Counting Methods. CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo Counting Methods CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo c Xin He (University at Buffalo) CSE 191 Discrete Structures 1 / 48 Need for Counting The problem of counting

More information

Unit Combinatorics State pigeonhole principle. If k pigeons are assigned to n pigeonholes and n < k then there is at least one pigeonhole containing more than one pigeons. Find the recurrence relation

More information

Binomial Coefficient Identities/Complements

Binomial Coefficient Identities/Complements Binomial Coefficient Identities/Complements CSE21 Fall 2017, Day 4 Oct 6, 2017 https://sites.google.com/a/eng.ucsd.edu/cse21-fall-2017-miles-jones/ permutation P(n,r) = n(n-1) (n-2) (n-r+1) = Terminology

More information

Introduction to Decision Sciences Lecture 11

Introduction to Decision Sciences Lecture 11 Introduction to Decision Sciences Lecture 11 Andrew Nobel October 24, 2017 Basics of Counting Product Rule Product Rule: Suppose that the elements of a collection S can be specified by a sequence of k

More information

MATH 10B METHODS OF MATHEMATICS: CALCULUS, STATISTICS AND COMBINATORICS

MATH 10B METHODS OF MATHEMATICS: CALCULUS, STATISTICS AND COMBINATORICS MATH 10B METHODS OF MATHEMATICS: CALCULUS, STATISTICS AND COMBINATORICS Lior Pachter and Lawrence C. Evans Department of Mathematics University of California Berkeley, CA 94720 January 21, 2013 Lior Pachter

More information

Discrete Mathematics & Mathematical Reasoning Chapter 6: Counting

Discrete Mathematics & Mathematical Reasoning Chapter 6: Counting Discrete Mathematics & Mathematical Reasoning Chapter 6: Counting Kousha Etessami U. of Edinburgh, UK Kousha Etessami (U. of Edinburgh, UK) Discrete Mathematics (Chapter 6) 1 / 39 Chapter Summary The Basics

More information

Combinatorics. But there are some standard techniques. That s what we ll be studying.

Combinatorics. But there are some standard techniques. That s what we ll be studying. Combinatorics Problem: How to count without counting. How do you figure out how many things there are with a certain property without actually enumerating all of them. Sometimes this requires a lot of

More information

Counting. Mukulika Ghosh. Fall Based on slides by Dr. Hyunyoung Lee

Counting. Mukulika Ghosh. Fall Based on slides by Dr. Hyunyoung Lee Counting Mukulika Ghosh Fall 2018 Based on slides by Dr. Hyunyoung Lee Counting Counting The art of counting is known as enumerative combinatorics. One tries to count the number of elements in a set (or,

More information

Lecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya

Lecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya BBM 205 Discrete Mathematics Hacettepe University http://web.cs.hacettepe.edu.tr/ bbm205 Lecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya Resources: Kenneth

More information

1 The Basic Counting Principles

1 The Basic Counting Principles 1 The Basic Counting Principles The Multiplication Rule If an operation consists of k steps and the first step can be performed in n 1 ways, the second step can be performed in n ways [regardless of how

More information

Foundations of Computer Science Lecture 14 Advanced Counting

Foundations of Computer Science Lecture 14 Advanced Counting Foundations of Computer Science Lecture 14 Advanced Counting Sequences with Repetition Union of Overlapping Sets: Inclusion-Exclusion Pigeonhole Principle Last Time To count complex objects, construct

More information

CS 210 Foundations of Computer Science

CS 210 Foundations of Computer Science IIT Madras Dept. of Computer Science & Engineering CS 210 Foundations of Computer Science Debdeep Mukhopadhyay Counting-II Pigeonhole Principle If n+1 or more objects (pigeons) are placed into n boxes,

More information

Combinations and Probabilities

Combinations and Probabilities Combinations and Probabilities Tutor: Zhang Qi Systems Engineering and Engineering Management qzhang@se.cuhk.edu.hk November 2014 Tutor: Zhang Qi (SEEM) Tutorial 7 November 2014 1 / 16 Combination Review

More information

Announcements. CSE 321 Discrete Structures. Counting. Counting Rules. Important cases of the Product Rule. Counting examples.

Announcements. CSE 321 Discrete Structures. Counting. Counting Rules. Important cases of the Product Rule. Counting examples. Announcements CSE 321 Discrete Structures Winter 2008 Lecture 16 Counting Readings Friday, Wednesday: Counting 6 th edition: 5.1, 5.2, 5.3, 5 th edition: 4.1, 4.2. 4.3 Lecture 16 video will be posted on

More information

Slides for a Course Based on the Text Discrete Mathematics & Its Applications (5 th Edition) by Kenneth H. Rosen

Slides for a Course Based on the Text Discrete Mathematics & Its Applications (5 th Edition) by Kenneth H. Rosen University of Florida Dept. of Computer & Information Science & Engineering COT 3100 Applications of Discrete Structures Dr. Michael P. Frank Slides for a Course Based on the Text Discrete Mathematics

More information

Updated Jan SESSION 4 Permutations Combinations Polynomials

Updated Jan SESSION 4 Permutations Combinations Polynomials SESSION 4 Permutations Combinations Polynomials Mathematics 30-1 Learning Outcomes Permutations and Combinations General Outcome: Develop algebraic and numeric reasoning that involves combinatorics. Specific

More information

Chapter 8 Sequences, Series, and Probability

Chapter 8 Sequences, Series, and Probability Chapter 8 Sequences, Series, and Probability Overview 8.1 Sequences and Series 8.2 Arithmetic Sequences and Partial Sums 8.3 Geometric Sequences and Partial Sums 8.5 The Binomial Theorem 8.6 Counting Principles

More information

Math.3336: Discrete Mathematics. Combinatorics: Basics of Counting

Math.3336: Discrete Mathematics. Combinatorics: Basics of Counting Math.3336: Discrete Mathematics Combinatorics: Basics of Counting Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu

More information

CS Foundations of Computing

CS Foundations of Computing IIT KGP Dept. of Computer Science & Engineering CS 30053 Foundations of Computing Debdeep Mukhopadhyay Pigeon Hole Principle 1 Pigeonhole Principle If n+1 or more objects (pigeons) are placed into n boxes,

More information

Discrete Probability

Discrete Probability Discrete Probability Counting Permutations Combinations r- Combinations r- Combinations with repetition Allowed Pascal s Formula Binomial Theorem Conditional Probability Baye s Formula Independent Events

More information

{ 0! = 1 n! = n(n 1)!, n 1. n! =

{ 0! = 1 n! = n(n 1)!, n 1. n! = Summations Question? What is the sum of the first 100 positive integers? Counting Question? In how many ways may the first three horses in a 10 horse race finish? Multiplication Principle: If an event

More information

Probability. Part 1 - Basic Counting Principles. 1. References. (1) R. Durrett, The Essentials of Probability, Duxbury.

Probability. Part 1 - Basic Counting Principles. 1. References. (1) R. Durrett, The Essentials of Probability, Duxbury. Probability Part 1 - Basic Counting Principles 1. References (1) R. Durrett, The Essentials of Probability, Duxbury. (2) L.L. Helms, Probability Theory with Contemporary Applications, Freeman. (3) J.J.

More information

Binomial Coefficients MATH Benjamin V.C. Collins, James A. Swenson MATH 2730

Binomial Coefficients MATH Benjamin V.C. Collins, James A. Swenson MATH 2730 MATH 2730 Benjamin V.C. Collins James A. Swenson Binomial coefficients count subsets Definition Suppose A = n. The number of k-element subsets in A is a binomial coefficient, denoted by ( n k or n C k

More information

Recursive Definitions

Recursive Definitions Recursive Definitions Example: Give a recursive definition of a n. a R and n N. Basis: n = 0, a 0 = 1. Recursion: a n+1 = a a n. Example: Give a recursive definition of n i=0 a i. Let S n = n i=0 a i,

More information

The Sum n. Introduction. Proof I: By Induction. Caleb McWhorter

The Sum n. Introduction. Proof I: By Induction. Caleb McWhorter The Sum 1 + + + n Caleb McWhorter Introduction Mathematicians study patterns, logic, and the relationships between objects. Though this definition is so vague it could be describing any field not just

More information

Notes. Combinatorics. Combinatorics II. Notes. Notes. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Spring 2006

Notes. Combinatorics. Combinatorics II. Notes. Notes. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Spring 2006 Combinatorics Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry Spring 2006 Computer Science & Engineering 235 Introduction to Discrete Mathematics Sections 4.1-4.6 & 6.5-6.6 of Rosen cse235@cse.unl.edu

More information

2 - Strings and Binomial Coefficients

2 - Strings and Binomial Coefficients November 14, 2017 2 - Strings and Binomial Coefficients William T. Trotter trotter@math.gatech.edu Basic Definition Let n be a positive integer and let [n] = {1, 2,, n}. A sequence of length n such as

More information

Combinations. April 12, 2006

Combinations. April 12, 2006 Combinations April 12, 2006 Combinations, April 12, 2006 Binomial Coecients Denition. The number of distinct subsets with j elements that can be chosen from a set with n elements is denoted by ( n j).

More information

Combinatorics. Problem: How to count without counting.

Combinatorics. Problem: How to count without counting. Combinatorics Problem: How to count without counting. I How do you figure out how many things there are with a certain property without actually enumerating all of them. Sometimes this requires a lot of

More information

Counting with Categories and Binomial Coefficients

Counting with Categories and Binomial Coefficients Counting with Categories and Binomial Coefficients CSE21 Winter 2017, Day 17 (B00), Day 12 (A00) February 22, 2017 http://vlsicad.ucsd.edu/courses/cse21-w17 When sum rule fails Rosen p. 392-394 Let A =

More information

Senior Math Circles November 19, 2008 Probability II

Senior Math Circles November 19, 2008 Probability II University of Waterloo Faculty of Mathematics Centre for Education in Mathematics and Computing Senior Math Circles November 9, 2008 Probability II Probability Counting There are many situations where

More information

Counting Strategies: Inclusion-Exclusion, Categories

Counting Strategies: Inclusion-Exclusion, Categories Counting Strategies: Inclusion-Exclusion, Categories Russell Impagliazzo and Miles Jones Thanks to Janine Tiefenbruck http://cseweb.ucsd.edu/classes/sp16/cse21-bd/ May 4, 2016 A scheduling problem In one

More information

Permutations and Combinations

Permutations and Combinations Permutations and Combinations Permutations Definition: Let S be a set with n elements A permutation of S is an ordered list (arrangement) of its elements For r = 1,..., n an r-permutation of S is an ordered

More information

Lecture 3: Miscellaneous Techniques

Lecture 3: Miscellaneous Techniques Lecture 3: Miscellaneous Techniques Rajat Mittal IIT Kanpur In this document, we will take a look at few diverse techniques used in combinatorics, exemplifying the fact that combinatorics is a collection

More information

Algorithms: Background

Algorithms: Background Algorithms: Background Amotz Bar-Noy CUNY Amotz Bar-Noy (CUNY) Algorithms: Background 1 / 66 What is a Proof? Definition I: The cogency of evidence that compels acceptance by the mind of a truth or a fact.

More information

Math Fall Final Exam. Friday, 14 December Show all work for full credit. The problems are worth 6 points each.

Math Fall Final Exam. Friday, 14 December Show all work for full credit. The problems are worth 6 points each. Name: Math 50 - Fall 2007 Final Exam Friday, 4 December 2007 Show all work for full credit. The problems are worth 6 points each.. Find the number of subsets of S = {, 2,... 0} that contain exactly 5 elements,

More information

CS 2336 Discrete Mathematics

CS 2336 Discrete Mathematics CS 2336 Discrete Mathematics Lecture 8 Counting: Permutations and Combinations 1 Outline Definitions Permutation Combination Interesting Identities 2 Definitions Selection and arrangement of objects appear

More information

ENGG 2440B Discrete Mathematics for Engineers Tutorial 8

ENGG 2440B Discrete Mathematics for Engineers Tutorial 8 ENGG 440B Discrete Mathematics for Engineers Tutorial 8 Jiajin Li Department of Systems Engineering and Engineering Management, The Chinese University of Hong Kong jjli@se.cuhk.edu.hk November, 018 Jiajin

More information

Putnam Pigeonhole Principle October 25, 2005

Putnam Pigeonhole Principle October 25, 2005 Putnam Pigeonhole Principle October 5, 005 Introduction 1. If n > m pigeons are placed into m boxes, then there exists (at least) one box with at least two pigeons.. If n > m, then any function f : [n]

More information

Definition: Let S and T be sets. A binary relation on SxT is any subset of SxT. A binary relation on S is any subset of SxS.

Definition: Let S and T be sets. A binary relation on SxT is any subset of SxT. A binary relation on S is any subset of SxS. 4 Functions Before studying functions we will first quickly define a more general idea, namely the notion of a relation. A function turns out to be a special type of relation. Definition: Let S and T be

More information

Counting. Spock's dilemma (Walls and mirrors) call it C(n,k) Rosen, Chapter 5.1, 5.2, 5.3 Walls and Mirrors, Chapter 3 10/11/12

Counting. Spock's dilemma (Walls and mirrors) call it C(n,k) Rosen, Chapter 5.1, 5.2, 5.3 Walls and Mirrors, Chapter 3 10/11/12 Counting Rosen, Chapter 5.1, 5.2, 5.3 Walls and Mirrors, Chapter 3 Spock's dilemma (Walls and mirrors) n n planets in the solar system n can only visit k

More information

Combinatorial Analysis

Combinatorial Analysis Chapter 1 Combinatorial Analysis STAT 302, Department of Statistics, UBC 1 A starting example: coin tossing Consider the following random experiment: tossing a fair coin twice There are four possible outcomes,

More information

Part IA Numbers and Sets

Part IA Numbers and Sets Part IA Numbers and Sets Theorems Based on lectures by A. G. Thomason Notes taken by Dexter Chua Michaelmas 2014 These notes are not endorsed by the lecturers, and I have modified them (often significantly)

More information

Equivalence of Propositions

Equivalence of Propositions Equivalence of Propositions 1. Truth tables: two same columns 2. Sequence of logical equivalences: from one to the other using equivalence laws 1 Equivalence laws Table 6 & 7 in 1.2, some often used: Associative:

More information

W3203 Discrete Mathema1cs. Coun1ng. Spring 2015 Instructor: Ilia Vovsha.

W3203 Discrete Mathema1cs. Coun1ng. Spring 2015 Instructor: Ilia Vovsha. W3203 Discrete Mathema1cs Coun1ng Spring 2015 Instructor: Ilia Vovsha h@p://www.cs.columbia.edu/~vovsha/w3203 Outline Bijec1on rule Sum, product, division rules Permuta1ons and combina1ons Sequences with

More information

Solution: There are 30 choices for the first person to leave, 29 for the second, etc. Thus this exodus can occur in. = P (30, 8) ways.

Solution: There are 30 choices for the first person to leave, 29 for the second, etc. Thus this exodus can occur in. = P (30, 8) ways. Math-2320 Assignment 7 Solutions Problem 1: (Section 7.1 Exercise 4) There are 30 people in a class learning about permutations. One after another, eight people gradually slip out the back door. In how

More information

Introduction to Decision Sciences Lecture 10

Introduction to Decision Sciences Lecture 10 Introduction to Decision Sciences Lecture 10 Andrew Nobel October 17, 2017 Mathematical Induction Given: Propositional function P (n) with domain N + Basis step: Show that P (1) is true Inductive step:

More information

Principles of Counting. Debdeep Mukhopadhyay IIT Madras

Principles of Counting. Debdeep Mukhopadhyay IIT Madras Principles of Counting Debdeep Mukhopadhyay IIT Madras Part-I The Sum Rule Two tasks T 1 and T 2 are to be performed. If the task T 1 can be performed in m different ways and if the task T 2 can be performed

More information

Organization Team Team ID#

Organization Team Team ID# 1. [5] A positive integer is called primer if it has a prime number of distinct prime factors. Find the smallest primer number. 2. [5] Pascal has a triangle. In the nth row, there are n + 1 numbers a n,0,

More information

Contents. Counting Methods and Induction

Contents. Counting Methods and Induction Contents Counting Methods and Induction Lesson 1 Counting Strategies Investigations 1 Careful Counting... 555 Order and Repetition I... 56 3 Order and Repetition II... 569 On Your Own... 573 Lesson Counting

More information

Mathathon Round 1 (2 points each)

Mathathon Round 1 (2 points each) Mathathon Round ( points each). A circle is inscribed inside a square such that the cube of the radius of the circle is numerically equal to the perimeter of the square. What is the area of the circle?

More information

NAME (1 pt): TA (1 pt): Name of Neighbor to your left (1 pt): Name of Neighbor to your right (1 pt):

NAME (1 pt): TA (1 pt): Name of Neighbor to your left (1 pt): Name of Neighbor to your right (1 pt): Math 55 Final Exam May 2004 NAME ( pt): TA ( pt): Name of Neighbor to your left ( pt): Name of Neighbor to your right ( pt): Instructions: This is a closed book, closed notes, closed calculator, closed

More information

CMSC 250 Spring 2016: Final Exam Review Questions Key

CMSC 250 Spring 2016: Final Exam Review Questions Key CMSC 250 Spring 2016: Final Exam Review Questions Key 1 Description and disclaimer Use these questions to help review for the upcoming final exam. Note, these questions are not necessarily representative

More information

6.8 The Pigeonhole Principle

6.8 The Pigeonhole Principle 6.8 The Pigeonhole Principle Getting Started Are there two leaf-bearing trees on Earth with the same number of leaves if we only consider the number of leaves on a tree at full bloom? Getting Started Are

More information

MATH MW Elementary Probability Course Notes Part I: Models and Counting

MATH MW Elementary Probability Course Notes Part I: Models and Counting MATH 2030 3.00MW Elementary Probability Course Notes Part I: Models and Counting Tom Salisbury salt@yorku.ca York University Winter 2010 Introduction [Jan 5] Probability: the mathematics used for Statistics

More information

Basic Combinatorics. Math 40210, Section 01 Fall Homework 8 Solutions

Basic Combinatorics. Math 40210, Section 01 Fall Homework 8 Solutions Basic Combinatorics Math 4010, Section 01 Fall 01 Homework 8 Solutions 1.8.1 1: K n has ( n edges, each one of which can be given one of two colors; so Kn has (n -edge-colorings. 1.8.1 3: Let χ : E(K k

More information

MA Discrete Mathematics

MA Discrete Mathematics MA2265 - Discrete Mathematics UNIT I 1. Check the validity of the following argument. If the band could not play rock music or the refreshments were not delivered on time, then the New year s party would

More information

Basic counting techniques. Periklis A. Papakonstantinou Rutgers Business School

Basic counting techniques. Periklis A. Papakonstantinou Rutgers Business School Basic counting techniques Periklis A. Papakonstantinou Rutgers Business School i LECTURE NOTES IN Elementary counting methods Periklis A. Papakonstantinou MSIS, Rutgers Business School ALL RIGHTS RESERVED

More information

Situation: Summing the Natural Numbers

Situation: Summing the Natural Numbers Situation: Summing the Natural Numbers Prepared at Penn State University Mid-Atlantic Center for Mathematics Teaching and Learning 14 July 005 Shari and Anna Edited at University of Georgia Center for

More information

Counting Review R 1. R 3 receiver. sender R 4 R 2

Counting Review R 1. R 3 receiver. sender R 4 R 2 Counting Review Purpose: It is the foundation for many simple yet interesting examples and applications of probability theory. For good counting we need good crutches (fingers?). Hence good images for

More information

SERIES

SERIES SERIES.... This chapter revisits sequences arithmetic then geometric to see how these ideas can be extended, and how they occur in other contexts. A sequence is a list of ordered numbers, whereas a series

More information

The candidates are advised that they must always show their working, otherwise they will not be awarded full marks for their answers.

The candidates are advised that they must always show their working, otherwise they will not be awarded full marks for their answers. MID SWEDEN UNIVERSITY TFM Examinations 2006 MAAB16 Discrete Mathematics B Duration: 5 hours Date: 7 June 2006 There are EIGHT questions on this paper and you should answer as many as you can in the time

More information

Mathematical Structures Combinations and Permutations

Mathematical Structures Combinations and Permutations Definitions: Suppose S is a (finite) set and n, k 0 are integers The set C(S, k) of k - combinations consists of all subsets of S that have exactly k elements The set P (S, k) of k - permutations consists

More information

6 CARDINALITY OF SETS

6 CARDINALITY OF SETS 6 CARDINALITY OF SETS MATH10111 - Foundations of Pure Mathematics We all have an idea of what it means to count a finite collection of objects, but we must be careful to define rigorously what it means

More information

1. Determine (with proof) the number of ordered triples (A 1, A 2, A 3 ) of sets which satisfy

1. Determine (with proof) the number of ordered triples (A 1, A 2, A 3 ) of sets which satisfy UT Putnam Prep Problems, Oct 19 2016 I was very pleased that, between the whole gang of you, you solved almost every problem this week! Let me add a few comments here. 1. Determine (with proof) the number

More information

Probability, For the Enthusiastic Beginner (Exercises, Version 1, September 2016) David Morin,

Probability, For the Enthusiastic Beginner (Exercises, Version 1, September 2016) David Morin, Chapter 8 Exercises Probability, For the Enthusiastic Beginner (Exercises, Version 1, September 2016) David Morin, morin@physics.harvard.edu 8.1 Chapter 1 Section 1.2: Permutations 1. Assigning seats *

More information

CDM Combinatorial Principles

CDM Combinatorial Principles CDM Combinatorial Principles 1 Counting Klaus Sutner Carnegie Mellon University Pigeon Hole 22-in-exclusion 2017/12/15 23:16 Inclusion/Exclusion Counting 3 Aside: Ranking and Unranking 4 Counting is arguably

More information

2. Counting and Probability

2. Counting and Probability 2. Counting and Probability 2.1.1 Factorials 2.1.2 Combinatorics 2.2.1 Probability Theory 2.2.2 Probability Examples 2.1.1 Factorials Combinatorics Combinatorics is the mathematics of counting. It can

More information

Ch1 Algebra and functions. Ch 2 Sine and Cosine rule. Ch 10 Integration. Ch 9. Ch 3 Exponentials and Logarithms. Trigonometric.

Ch1 Algebra and functions. Ch 2 Sine and Cosine rule. Ch 10 Integration. Ch 9. Ch 3 Exponentials and Logarithms. Trigonometric. Ch1 Algebra and functions Ch 10 Integration Ch 2 Sine and Cosine rule Ch 9 Trigonometric Identities Ch 3 Exponentials and Logarithms C2 Ch 8 Differentiation Ch 4 Coordinate geometry Ch 7 Trigonometric

More information

( ) is called the dependent variable because its

( ) is called the dependent variable because its page 1 of 16 CLASS NOTES: 3 8 thru 4 3 and 11 7 Functions, Exponents and Polynomials 3 8: Function Notation A function is a correspondence between two sets, the domain (x) and the range (y). An example

More information

Name: Harry Potter (pothar31) Discrete Math HW#6 Solutions March 9, Added: Chapter 6 Summary/Review: 17(a), 8, 15, 29, 42 and Q1 and Q2 below

Name: Harry Potter (pothar31) Discrete Math HW#6 Solutions March 9, Added: Chapter 6 Summary/Review: 17(a), 8, 15, 29, 42 and Q1 and Q2 below Name: Harry Potter (pothar31 Discrete Math HW#6 Solutions March 9, 2018 Instructions: Do the following problems. Type up those in bold in LaTeX. csf submit them. 6.2: 33, 34, 38, 44 6.3: 18, 20 (explain

More information

What you learned in Math 28. Rosa C. Orellana

What you learned in Math 28. Rosa C. Orellana What you learned in Math 28 Rosa C. Orellana Chapter 1 - Basic Counting Techniques Sum Principle If we have a partition of a finite set S, then the size of S is the sum of the sizes of the blocks of the

More information

CIS Spring 2018 (instructor Val Tannen)

CIS Spring 2018 (instructor Val Tannen) CIS 160 - Spring 2018 (instructor Val Tannen) Lecture 09 Tuesday, February 13 PROOFS and COUNTING Figure 1: Too Many Pigeons Theorem 9.1 (The Pigeonhole Principle (PHP)) If k + 1 or more pigeons fly to

More information

Math 55 Second Midterm Exam, Prof. Srivastava April 5, 2016, 3:40pm 5:00pm, F295 Haas Auditorium.

Math 55 Second Midterm Exam, Prof. Srivastava April 5, 2016, 3:40pm 5:00pm, F295 Haas Auditorium. Math 55 Second Midterm Exam, Prof Srivastava April 5, 2016, 3:40pm 5:00pm, F295 Haas Auditorium Name: SID: Instructions: Write all answers in the provided space Please write carefully and clearly, in complete

More information

Probability 1 (MATH 11300) lecture slides

Probability 1 (MATH 11300) lecture slides Probability 1 (MATH 11300) lecture slides Márton Balázs School of Mathematics University of Bristol Autumn, 2015 December 16, 2015 To know... http://www.maths.bris.ac.uk/ mb13434/prob1/ m.balazs@bristol.ac.uk

More information

Simplification by Truth Table and without Truth Table

Simplification by Truth Table and without Truth Table Engineering Mathematics 2013 SUBJECT NAME SUBJECT CODE MATERIAL NAME MATERIAL CODE REGULATION UPDATED ON : Discrete Mathematics : MA2265 : University Questions : SKMA1006 : R2008 : August 2013 Name of

More information

Techniques of Counting

Techniques of Counting CHAPTER 5 Techniques of Counting 5.1 INTRODUCTION This chapter develops some techniques for determining, without direct enumeration, the number of possible outcomes of a particular event or the number

More information

Pre-calculus 12 Curriculum Outcomes Framework (110 hours)

Pre-calculus 12 Curriculum Outcomes Framework (110 hours) Curriculum Outcomes Framework (110 hours) Trigonometry (T) (35 40 hours) General Curriculum Outcome: Students will be expected to develop trigonometric reasoning. T01 Students will be expected to T01.01

More information

3/15/2010 ENGR 200. Counting

3/15/2010 ENGR 200. Counting ENGR 200 Counting 1 Are these events conditionally independent? Blue coin: P(H = 0.99 Red coin: P(H = 0.01 Pick a random coin, toss it twice. H1 = { 1 st toss is heads } H2 = { 2 nd toss is heads } given

More information

Simplification by Truth Table and without Truth Table

Simplification by Truth Table and without Truth Table SUBJECT NAME SUBJECT CODE : MA 6566 MATERIAL NAME REGULATION : Discrete Mathematics : University Questions : R2013 UPDATED ON : June 2017 (Scan the above Q.R code for the direct download of this material)

More information

MULTI-RESTRAINED STIRLING NUMBERS

MULTI-RESTRAINED STIRLING NUMBERS MULTI-RESTRAINED STIRLING NUMBERS JI YOUNG CHOI DEPARTMENT OF MATHEMATICS SHIPPENSBURG UNIVERSITY SHIPPENSBURG, PA 17257, U.S.A. Abstract. Given positive integers n, k, and m, the (n, k)-th m- restrained

More information

Math 30 1: Chapter 11 Review Holy Cross Collegiate. Mrs. Connor

Math 30 1: Chapter 11 Review Holy Cross Collegiate. Mrs. Connor Math 30 1: Chapter 11 Review Holy Cross Collegiate Mrs. Connor Math 30-1 Chapter 11 Review p.1 Math 30-1: Chapter 1 Review Assignment Permutations, Combinations, & the Binomial Theorem Answer the following

More information

Rooks and Pascal s Triangle. shading in the first k squares of the diagonal running downwards to the right. We

Rooks and Pascal s Triangle. shading in the first k squares of the diagonal running downwards to the right. We Roos and Pascal s Triangle An (n,) board consists of n 2 squares arranged in n rows and n columns with shading in the first squares of the diagonal running downwards to the right. We consider (n,) boards

More information

Name (please print) Mathematics Final Examination December 14, 2005 I. (4)

Name (please print) Mathematics Final Examination December 14, 2005 I. (4) Mathematics 513-00 Final Examination December 14, 005 I Use a direct argument to prove the following implication: The product of two odd integers is odd Let m and n be two odd integers Since they are odd,

More information

1. How many labeled trees are there on n vertices such that all odd numbered vertices are leaves?

1. How many labeled trees are there on n vertices such that all odd numbered vertices are leaves? 1. How many labeled trees are there on n vertices such that all odd numbered vertices are leaves? This is most easily done by Prüfer codes. The number of times a vertex appears is the degree of the vertex.

More information

Simplification by Truth Table and without Truth Table

Simplification by Truth Table and without Truth Table SUBJECT NAME SUBJECT CODE : MA 6566 MATERIAL NAME REGULATION : Discrete Mathematics : University Questions : R2013 UPDATED ON : April-May 2018 BOOK FOR REFERENCE To buy the book visit : Sri Hariganesh

More information

First Midterm Examination

First Midterm Examination 2015-2016 Fall Semester First Midterm Examination 1) 6 students will sit at a round table. Anıl, Sümeyye and Tahsin are in section 1 and Bora, İpek and Efnan are in section 2. They will sit such that nobody

More information

MATH 22. Lecture G: 9/23/2003 QUANTIFIERS & PIGEONHOLES

MATH 22. Lecture G: 9/23/2003 QUANTIFIERS & PIGEONHOLES MATH 22 Lecture G: 9/23/2003 QUANTIFIERS & PIGEONHOLES But I am pigeon-livered, and lack gall To make oppression [and Math 22] bitter... Hamlet, Act 2, sc. 2 Copyright 2003 Larry Denenberg Administrivia

More information

McGill University Faculty of Science. Solutions to Practice Final Examination Math 240 Discrete Structures 1. Time: 3 hours Marked out of 60

McGill University Faculty of Science. Solutions to Practice Final Examination Math 240 Discrete Structures 1. Time: 3 hours Marked out of 60 McGill University Faculty of Science Solutions to Practice Final Examination Math 40 Discrete Structures Time: hours Marked out of 60 Question. [6] Prove that the statement (p q) (q r) (p r) is a contradiction

More information

Fibonacci s Numbers. Michele Pavon, Dipartimento di Matematica, Università di Padova, via Trieste Padova, Italy.

Fibonacci s Numbers. Michele Pavon, Dipartimento di Matematica, Università di Padova, via Trieste Padova, Italy. Fibonacci s Numbers Michele Pavon, Dipartimento di Matematica, Università di Padova, via Trieste 63 311 Padova, Italy May 1, 013 1 Elements of combinatorics Consider the tas of placing balls in n cells,

More information

COMBINATORIAL COUNTING

COMBINATORIAL COUNTING COMBINATORIAL COUNTING Our main reference is [1, Section 3] 1 Basic counting: functions and subsets Theorem 11 (Arbitrary mapping Let N be an n-element set (it may also be empty and let M be an m-element

More information

- 1 - Items related to expected use of technology appear in bold italics.

- 1 - Items related to expected use of technology appear in bold italics. - 1 - Items related to expected use of technology appear in bold italics. Operating with Geometric and Cartesian Vectors Determining Intersections of Lines and Planes in Three- Space Similar content as

More information

10.1. Randomness and Probability. Investigation: Flip a Coin EXAMPLE A CONDENSED LESSON

10.1. Randomness and Probability. Investigation: Flip a Coin EXAMPLE A CONDENSED LESSON CONDENSED LESSON 10.1 Randomness and Probability In this lesson you will simulate random processes find experimental probabilities based on the results of a large number of trials calculate theoretical

More information

UNCORRECTED SAMPLE PAGES. Extension 1. The binomial expansion and. Digital resources for this chapter

UNCORRECTED SAMPLE PAGES. Extension 1. The binomial expansion and. Digital resources for this chapter 15 Pascal s In Chapter 10 we discussed the factoring of a polynomial into irreducible factors, so that it could be written in a form such as P(x) = (x 4) 2 (x + 1) 3 (x 2 + x + 1). In this chapter we will

More information

Surprising relationships connecting ploughing a field, mathematical trees, permutations, and trigonometry

Surprising relationships connecting ploughing a field, mathematical trees, permutations, and trigonometry Surprising relationships connecting ploughing a field, mathematical trees, permutations, and trigonometry Ross Street Macquarie University Talented Students Day, Macquarie University Ross Street (Macquarie

More information

Discrete Math Notes. Contents. William Farmer. April 8, Overview 3

Discrete Math Notes. Contents. William Farmer. April 8, Overview 3 April 8, 2014 Contents 1 Overview 3 2 Principles of Counting 3 2.1 Pigeon-Hole Principle........................ 3 2.2 Permutations and Combinations.................. 3 2.3 Binomial Coefficients.........................

More information

CHAPTER 7: Systems and Inequalities

CHAPTER 7: Systems and Inequalities (Exercises for Chapter 7: Systems and Inequalities) E.7.1 CHAPTER 7: Systems and Inequalities (A) means refer to Part A, (B) means refer to Part B, etc. (Calculator) means use a calculator. Otherwise,

More information

Lecture 6: The Pigeonhole Principle and Probability Spaces

Lecture 6: The Pigeonhole Principle and Probability Spaces Lecture 6: The Pigeonhole Principle and Probability Spaces Anup Rao January 17, 2018 We discuss the pigeonhole principle and probability spaces. Pigeonhole Principle The pigeonhole principle is an extremely

More information

Chapter 1. Pigeonhole Principle

Chapter 1. Pigeonhole Principle Chapter 1. Pigeonhole Principle Prof. Tesler Math 184A Fall 2017 Prof. Tesler Ch. 1. Pigeonhole Principle Math 184A / Fall 2017 1 / 16 Pigeonhole principle https://commons.wikimedia.org/wiki/file:toomanypigeons.jpg

More information

Lecture 4/12: Polar Form and Euler s Formula. 25 Jan 2007

Lecture 4/12: Polar Form and Euler s Formula. 25 Jan 2007 Lecture 4/12: Polar Form and Euler s Formula MA154: Algebra for 1st Year IT Niall Madden Niall.Madden@NUIGalway.ie 25 Jan 2007 CS457 Lecture 4/12: Polar Form and Euler s Formula 1/17 Outline 1 Recall...

More information