Combinations AMC AMS AMR ACS ACR ASR MSR MCR MCS CRS

Similar documents
Combinations Example Five friends, Alan, Cassie, Maggie, Seth and Roger, have won 3 tickets for a concert. They can t afford two more tickets.

AMC AMS AMR ACS ACR ASR MSR MCR MCS CRS

AMC AMS AMR ACS ACR ASR MSR MCR MCS CRS

AMC AMS AMR ACS ACR ASR MSR MCR MCS CRS

P (5, 3) and as we have seen P (5, 3) = 60.

Mixed Counting Problems

Permutations: The number of arrangements of n objects taken r at a time is. P (n, r) = n (n 1) (n r + 1) =

Discrete Structures Lecture Permutations and Combinations

Counting integral solutions

Chapter 1. Probability

n! = n(n 1)(n 2) 3 2 1

Chapter 1. Probability

Math 166: Topics in Contemporary Mathematics II

The Product Rule The Product Rule: A procedure can be broken down into a sequence of two tasks. There are n ways to do the first task and n

Section 5.4 Permutations and Combinations

Compound Probability. Set Theory. Basic Definitions

Section 5.4 Permutations and Combinations

More Probability: Poker Hands and some issues in Counting

Section Summary. Permutations Combinations Combinatorial Proofs

Introductory Probability

Block 1 - Sets and Basic Combinatorics. Main Topics in Block 1:

DISCRETE STRUCTURES COUNTING

Week 1: Probability models and counting

Jong C. Park Computer Science Division, KAIST

Chapter 2. Permutations and Combinations

Name: Exam 1. September 14, 2017

CHAPTER 8 Additional Probability Topics

Mat 344F challenge set #2 Solutions

6/24/14. The Poker Manipulation. The Counting Principle. MAFS.912.S-IC.1: Understand and evaluate random processes underlying statistical experiments

November 6, Chapter 8: Probability: The Mathematics of Chance

MGF 1106: Exam 2 Solutions

Permutations and Combinations Section

Poker: Further Issues in Probability. Poker I 1/29

Algebra 2 Notes Section 10.1: Apply the Counting Principle and Permutations

Reading 14 : Counting

Elementary Combinatorics

Counting in Algorithms

Sec$on Summary. Permutations Combinations Combinatorial Proofs

The Multiplication Principle

Multiple Choice Questions for Review

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Solving Counting Problems

Permutations and Combinations

HOMEWORK ASSIGNMENT 5

CSE 21 Mathematics for Algorithm and System Analysis

Finite Math - Fall 2016

6. In how many different ways can you answer 10 multiple-choice questions if each question has five choices?

Probability Theory. Mohamed I. Riffi. Islamic University of Gaza

CSCI 2200 Foundations of Computer Science (FoCS) Solutions for Homework 7

Unit 9: Probability Assignments

Counting Methods and Probability

Probability and Counting Techniques

4.1 Sample Spaces and Events

CS100: DISCRETE STRUCTURES. Lecture 8 Counting - CH6

Coat 1. Hat A Coat 2. Coat 1. 0 Hat B Another solution. Coat 2. Hat C Coat 1

Honors Precalculus Chapter 9 Summary Basic Combinatorics

Solutions for Exam I, Math 10120, Fall 2016

10.2.notebook. February 24, A standard deck of 52 playing cards has 4 suits with 13 different cards in each suit.

Finite Mathematics MAT 141: Chapter 8 Notes

Unit 5 Radical Functions & Combinatorics

Elementary Combinatorics CE 311S

1. An office building contains 27 floors and has 37 offices on each floor. How many offices are in the building?

Simple Counting Problems

2.5 Sample Spaces Having Equally Likely Outcomes

CIS 2033 Lecture 6, Spring 2017

10.1 Applying the Counting Principle and Permutations (helps you count up the number of possibilities!)

MAT104: Fundamentals of Mathematics II Summary of Counting Techniques and Probability. Preliminary Concepts, Formulas, and Terminology

Principle of Inclusion-Exclusion Notes

Math Exam 2 Review. NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5.

Math Exam 2 Review. NOTE: For reviews of the other sections on Exam 2, refer to the first page of WIR #4 and #5.

Developed by Rashmi Kathuria. She can be reached at

Lecture 18 - Counting

8.2 Union, Intersection, and Complement of Events; Odds

The probability set-up

Math 4610, Problems to be Worked in Class

Poker: Probabilities of the Various Hands

ECE313 Summer Problem Set 4. Reading: RVs, mean, variance, and coniditional probability

12.1 The Fundamental Counting Principle and Permutations

Chapter 11: Probability and Counting Techniques

Coat 1. Coat 2. Coat 1. Coat 2

Important Distributions 7/17/2006

Poker Hands. Christopher Hayes

PLEASE MARK YOUR ANSWERS WITH AN X, not a circle! 2. (a) (b) (c) (d) (e) (a) (b) (c) (d) (e) (a) (b) (c) (d) (e)...

Probability is the likelihood that an event will occur.

{ a, b }, { a, c }, { b, c }

MATH 215 DISCRETE MATHEMATICS INSTRUCTOR: P. WENG

Probability MAT230. Fall Discrete Mathematics. MAT230 (Discrete Math) Probability Fall / 37

10-1. Combinations. Vocabulary. Lesson. Mental Math. able to compute the number of subsets of size r.

Topics to be covered

STAT Statistics I Midterm Exam One. Good Luck!

Section : Combinations and Permutations

Week in Review #5 ( , 3.1)

a) 2, 4, 8, 14, 22, b) 1, 5, 6, 10, 11, c) 3, 9, 21, 39, 63, d) 3, 0, 6, 15, 27, e) 3, 8, 13, 18, 23,

CHAPTER 9 - COUNTING PRINCIPLES AND PROBABILITY

Probability Review 41

4.3 Rules of Probability

The probability set-up

Name: Instructor: PLEASE MARK YOUR ANSWERS WITH AN X, not a circle!

Counting. Chapter 6. With Question/Answer Animations

Unit Nine Precalculus Practice Test Probability & Statistics. Name: Period: Date: NON-CALCULATOR SECTION

Transcription:

Example Recall our five friends, Alan, Cassie, Maggie, Seth and Roger from the example at the beginning of the previous section. They have won 3 tickets for a concert in Chicago and everybody would like to go. However, they cannot afford two more tickets and must choose a group of three people from the five to go to the concert.

Example Recall our five friends, Alan, Cassie, Maggie, Seth and Roger from the example at the beginning of the previous section. They have won 3 tickets for a concert in Chicago and everybody would like to go. However, they cannot afford two more tickets and must choose a group of three people from the five to go to the concert. Alan decides to make a fair decision on who gets the tickets, by writing the initials of each possible group of 3 individuals from the 5 friends on a separate piece of paper and putting all of the pieces of paper in a hat. He will then draw one piece of paper from the hat at random to select the lucky group. The order in which the names of the individuals is written is irrelevant. The complete list of the 10 possible groups of size three from the five friends is shown below:

AMC AMS AMR ACS ACR ASR MSR MCR MCS CRS Note that for every group on this list, it appears 6 = 3! times on the list of possible photographs of three of the five friends that we saw in the last lecture: AMC AMS AMR ACS ACR ACM ASM ARM ASC ARC CAM MAS MAR CAS CAR CMA MSA MRA CSA CRA MAC SAM RAM SAC RCA MCA SM A RM A SCA RAC ASR MSR MCR MCS CRS ARS MRS MRC MSC CSR SAR SM R RM C CMS RCS SRA SRM RCM CSM RSC RSA MRS CRM SM C SCR RAS MSR CMR SCM SRC

Its easy to see that the reason for this is because every group of three individuals can be permuted in 3! = 6 ways to create 3! different photographs. When selecting a group from the hat to receive the tickets, the order in which the names of the individuals appear on the slip of paper is irrelevant. The group AMC is the same as the group CAM, so only one of the 3! permutations of this group should be in the hat for selection. Thus the number of ways to select a subset of three individuals from the five friends to receive the three tickets is 60 3! = P(5, 3) 3! = 5! 2!3!.

Alan has listed all Combinations of the five friends, taken 3 at a time to put in the hat. The number of such combinations, which is 10, is denoted by C(5, 3). In terms of set theory he has listed all subsets of 3 objects in the set of 5 objects {A, B, C, D, E}.

Alan has listed all Combinations of the five friends, taken 3 at a time to put in the hat. The number of such combinations, which is 10, is denoted by C(5, 3). In terms of set theory he has listed all subsets of 3 objects in the set of 5 objects {A, B, C, D, E}. Definition A Combination of n objects taken R at a time is a selection (Sample, Team) of R objects taken from among the n. The order in which the objects are chosen does not matter.

Alan has listed all Combinations of the five friends, taken 3 at a time to put in the hat. The number of such combinations, which is 10, is denoted by C(5, 3). In terms of set theory he has listed all subsets of 3 objects in the set of 5 objects {A, B, C, D, E}. Definition A Combination of n objects taken R at a time is a selection (Sample, Team) of R objects taken from among the n. The order in which the objects are chosen does not matter. The key characteristics of a combination are 1. A combination selects elements from a single set. 2. Repetitions are not allowed. 3. The order in which the selected elements are arranged is not significant.

Alan has listed all Combinations of the five friends, taken 3 at a time to put in the hat. The number of such combinations, which is 10, is denoted by C(5, 3). In terms of set theory he has listed all subsets of 3 objects in the set of 5 objects {A, B, C, D, E}. Definition A Combination of n objects taken R at a time is a selection (Sample, Team) of R objects taken from among the n. The order in which the objects are chosen does not matter. The key characteristics of a combination are 1. A combination selects elements from a single set. 2. Repetitions are not allowed. 3. The order in which the selected elements are arranged is not significant.

Alan has listed all Combinations of the five friends, taken 3 at a time to put in the hat. The number of such combinations, which is 10, is denoted by C(5, 3). In terms of set theory he has listed all subsets of 3 objects in the set of 5 objects {A, B, C, D, E}. Definition A Combination of n objects taken R at a time is a selection (Sample, Team) of R objects taken from among the n. The order in which the objects are chosen does not matter. The key characteristics of a combination are 1. A combination selects elements from a single set. 2. Repetitions are not allowed. 3. The order in which the selected elements are arranged is not significant.

Alan has listed all Combinations of the five friends, taken 3 at a time to put in the hat. The number of such combinations, which is 10, is denoted by C(5, 3). In terms of set theory he has listed all subsets of 3 objects in the set of 5 objects {A, B, C, D, E}. Definition A Combination of n objects taken R at a time is a selection (Sample, Team) of R objects taken from among the n. The order in which the objects are chosen does not matter. The key characteristics of a combination are 1. A combination selects elements from a single set. 2. Repetitions are not allowed. 3. The order in which the selected elements are arranged is not significant.

Alan has listed all Combinations of the five friends, taken 3 at a time to put in the hat. The number of such combinations, which is 10, is denoted by C(5, 3). In terms of set theory he has listed all subsets of 3 objects in the set of 5 objects {A, B, C, D, E}. Definition A Combination of n objects taken R at a time is a selection (Sample, Team) of R objects taken from among the n. The order in which the objects are chosen does not matter. The key characteristics of a combination are 1. A combination selects elements from a single set. 2. Repetitions are not allowed. 3. The order in which the selected elements are arranged is not significant.

The number of such combinations is denoted by the symbol C(n, R) or ( n R). We have ( ) n n (n 1)... (n R + 1) C(n, R) = = = R R (R 1) (R 2) 1 P(n, R) R! = n! R! (n R)!

The number of such combinations is denoted by the symbol C(n, R) or ( n R). We have ( ) n n (n 1)... (n R + 1) C(n, R) = = = R R (R 1) (R 2) 1 P(n, R) R! = Example Evaluate C(10, 3). n! R! (n R)!

The number of such combinations is denoted by the symbol C(n, R) or ( n R). We have ( ) n n (n 1)... (n R + 1) C(n, R) = = = R R (R 1) (R 2) 1 P(n, R) R! = Example Evaluate C(10, 3). n! R! (n R)! C(10, 3) = 10! 3! 7! = 10 9 8 3 2 1 = 5 3 8 = 120

The number of such combinations is denoted by the symbol C(n, R) or ( n R). We have ( ) n n (n 1)... (n R + 1) C(n, R) = = = R R (R 1) (R 2) 1 P(n, R) R! = Example Evaluate C(10, 3). n! R! (n R)! C(10, 3) = 10! 3! 7! = 10 9 8 3 2 1 = 5 3 8 = 120

Example(Choosing a team) How many ways are there to choose a team of 7 people from a class of 40 students in order to make a team for Bookstore Basketball?

Example(Choosing a team) How many ways are there to choose a team of 7 people from a class of 40 students in order to make a team for Bookstore Basketball? C(40, 7) = 40! 40 39 38 37 36 35 34 = 7! 33! 7 6 5 4 3 2 1 10 39 38 37 34 = 18, 643, 560 =

Example(Round Robins) In a soccer tournament with 15 teams, each team must play each other team exactly once. How many matches must be played?

Example(Round Robins) In a soccer tournament with 15 teams, each team must play each other team exactly once. How many matches must be played? C(15, 2) = 15! 2! 13! = 15 14 2 1 = 15 7 = 105

Example(Round Robins) In a soccer tournament with 15 teams, each team must play each other team exactly once. How many matches must be played? C(15, 2) = 15! 2! 13! = 15 14 2 1 = 15 7 = 105 Example(Poker Hands) A poker hand consists of five cards dealt at random from a standard deck of 52. How many different poker hands are possible?

Example(Round Robins) In a soccer tournament with 15 teams, each team must play each other team exactly once. How many matches must be played? C(15, 2) = 15! 2! 13! = 15 14 2 1 = 15 7 = 105 Example(Poker Hands) A poker hand consists of five cards dealt at random from a standard deck of 52. How many different poker hands are possible? C(52, 5) = 52! 5! 47! = 2, 598, 960

Example A standard deck of cards consists of 13 hearts, 13 diamonds, 13 spades and 13 clubs. How many poker hands consist entirely of clubs?

Example A standard deck of cards consists of 13 hearts, 13 diamonds, 13 spades and 13 clubs. How many poker hands consist entirely of clubs? C(13, 5) = 13! 5! 8! = 1, 287

Example A standard deck of cards consists of 13 hearts, 13 diamonds, 13 spades and 13 clubs. How many poker hands consist entirely of clubs? C(13, 5) = 13! 5! 8! = 1, 287 Example How many poker hands consist of red cards only?

Example A standard deck of cards consists of 13 hearts, 13 diamonds, 13 spades and 13 clubs. How many poker hands consist entirely of clubs? C(13, 5) = 13! 5! 8! = 1, 287 Example How many poker hands consist of red cards only? There are 26 red cards so C(26, 5) = 26! 5! 21! = 65, 780

Example How many poker hands consist of 2 kings and 3 queens?

Example How many poker hands consist of 2 kings and 3 queens? There are 4 kings and 4 queens. We can select 2 kings in C(4, 2) ways and we can select 3 queens in C(4, 3) ways. We can distinguish kings from queens so the answer is C(4, 2) C(4, 3) = 6 4 = 24. Bonus meditation: Why is C(8, 5) = C(4, 4) C(4, 1) + C(4, 3) C(4, 2) + C(4, 2) C(4, 3) + C(4, 1) C(4, 4)?

Example (Quality Control) A factory produces light bulbs and ships them in boxes of 50 to their customers. A quality control inspector checks a box by taking out a sample of size 5 and checking if any of those 5 bulbs are defective. If at least one defective bulb is found the box is not shipped, otherwise the box is shipped. How many different samples of size five can be taken from a box of 50 bulbs?

Example (Quality Control) A factory produces light bulbs and ships them in boxes of 50 to their customers. A quality control inspector checks a box by taking out a sample of size 5 and checking if any of those 5 bulbs are defective. If at least one defective bulb is found the box is not shipped, otherwise the box is shipped. How many different samples of size five can be taken from a box of 50 bulbs? C(50, 5) = 2, 118, 760.

Example (Quality Control) A factory produces light bulbs and ships them in boxes of 50 to their customers. A quality control inspector checks a box by taking out a sample of size 5 and checking if any of those 5 bulbs are defective. If at least one defective bulb is found the box is not shipped, otherwise the box is shipped. How many different samples of size five can be taken from a box of 50 bulbs? C(50, 5) = 2, 118, 760. Example If a box of 50 light bulbs contains 20 defective light bulbs and 30 non-defective light bulbs, how many samples of size 5 can be drawn from the box so that all of the light bulbs in the sample are good?

Example (Quality Control) A factory produces light bulbs and ships them in boxes of 50 to their customers. A quality control inspector checks a box by taking out a sample of size 5 and checking if any of those 5 bulbs are defective. If at least one defective bulb is found the box is not shipped, otherwise the box is shipped. How many different samples of size five can be taken from a box of 50 bulbs? C(50, 5) = 2, 118, 760. Example If a box of 50 light bulbs contains 20 defective light bulbs and 30 non-defective light bulbs, how many samples of size 5 can be drawn from the box so that all of the light bulbs in the sample are good? C(30, 5) = 142, 506.

Problems using a mixture of counting principles Example How many poker hands have at least two kings?

Problems using a mixture of counting principles Example How many poker hands have at least two kings? There are C(4, 2) ways to get 2 kings and C(48, 3) ways to fill out the hand. Hence there are C(4, 2) C(48, 3) hands with exactly 2 kings. There are C(4, 3) C(48, 2) hands with exactly 3 kings and there are C(4, 4) C(48, 1) hands with exactly 4 kings. Hence there are C(4, 2) C(48, 3) + C(4, 3) C(48, 2) + C(4, 4) C(48, 1) hands with at least two kings. The number is 6 17, 296 + 4 1, 128 + 1 48 = 108, 336.

Problems using a mixture of counting principles Example In the Notre Dame Juggling club, there are 5 graduate students and 7 undergraduate students. All would like to attend a juggling performance in Chicago. However, they only have funding from Student Activities for 5 people to attend. The funding will only apply if at least three of those attending are undergraduates. In how many ways can 5 people be chosen to go to the performance so that the funding will be granted?

Problems using a mixture of counting principles Example In the Notre Dame Juggling club, there are 5 graduate students and 7 undergraduate students. All would like to attend a juggling performance in Chicago. However, they only have funding from Student Activities for 5 people to attend. The funding will only apply if at least three of those attending are undergraduates. In how many ways can 5 people be chosen to go to the performance so that the funding will be granted? Again it is useful to break the problem up, in this case by number-of-undergraduates. We need to work out how many ways we can get 3 undergraduates, how many ways we can get 4 undergraduates, how many ways we can get 5 undergraduates, and then add these numbers.

Problems using a mixture of counting principles Again it is useful to break the problem up, in this case by number-of-undergraduates. We need to work out how many ways we can get 3 undergraduates, how many ways we can get 4 undergraduates, how many ways we can get 5 undergraduates, and then add these numbers. Three undergraduates: C(7, 3) C(5, 2); Four undergraduates: C(7, 4) C(5, 1); Five undergraduates: C(7, 5) C(5, 0). The number is 35 10 + 35 5 + 21 1 = 546.

Problems using a mixture of counting principles Again it is useful to break the problem up, in this case by number-of-undergraduates. We need to work out how many ways we can get 3 undergraduates, how many ways we can get 4 undergraduates, how many ways we can get 5 undergraduates, and then add these numbers. Three undergraduates: C(7, 3) C(5, 2); Four undergraduates: C(7, 4) C(5, 1); Five undergraduates: C(7, 5) C(5, 0). The number is 35 10 + 35 5 + 21 1 = 546. Remark: C(7, 3) C(9, 2) = 1, 260. Why is this NOT the right answer?

Problems using a mixture of counting principles Again it is useful to break the problem up, in this case by number-of-undergraduates. We need to work out how many ways we can get 3 undergraduates, how many ways we can get 4 undergraduates, how many ways we can get 5 undergraduates, and then add these numbers. Three undergraduates: C(7, 3) C(5, 2); Four undergraduates: C(7, 4) C(5, 1); Five undergraduates: C(7, 5) C(5, 0). The number is 35 10 + 35 5 + 21 1 = 546. Remark: C(7, 3) C(9, 2) = 1, 260. Why is this NOT the right answer? 350 + 4! 3! 1! 175 + 5! 3! 2! 21 = 1, 260.

Problems using a mixture of counting principles Example Gino s Pizza Parlor offers 3 three types of crust, 2 types of cheese, 4 vegetable toppings and 3 meat toppings. Pat always chooses one type of crust, one type of cheese, 2 vegetable toppings and two meat toppings. How many different pizzas can Pat create?

Problems using a mixture of counting principles Example Gino s Pizza Parlor offers 3 three types of crust, 2 types of cheese, 4 vegetable toppings and 3 meat toppings. Pat always chooses one type of crust, one type of cheese, 2 vegetable toppings and two meat toppings. How many different pizzas can Pat create? Pat s choices are independent so C(3, 1) C(2, 1) C(4, 2) C(3, 2) = 3 2 6 3 = 108.

Problems using a mixture of counting principles Example Gino s Pizza Parlor offers 3 three types of crust, 2 types of cheese, 4 vegetable toppings and 3 meat toppings. Pat always chooses one type of crust, one type of cheese, 2 vegetable toppings and two meat toppings. How many different pizzas can Pat create? Pat s choices are independent so C(3, 1) C(2, 1) C(4, 2) C(3, 2) = 3 2 6 3 = 108. Example How many subsets of a set of size 5 have at least 4 elements?

Problems using a mixture of counting principles Example Gino s Pizza Parlor offers 3 three types of crust, 2 types of cheese, 4 vegetable toppings and 3 meat toppings. Pat always chooses one type of crust, one type of cheese, 2 vegetable toppings and two meat toppings. How many different pizzas can Pat create? Pat s choices are independent so C(3, 1) C(2, 1) C(4, 2) C(3, 2) = 3 2 6 3 = 108. Example How many subsets of a set of size 5 have at least 4 elements? C(5, 4) + C(5, 5).

Special Cases and Formulas It is immediate from our formula C(n, k) = n! k!(n k)! that C(n, k) = C(n, n k). C(n, 0) = 1, which makes sense since there is exactly one subset with zero elements in every set. For our formula to always hold we define 0! = 1. C(n, 1) = n! = n, which makes sense since there are (n 1)! exactly n subsets with one element in a set with n elements. C(n, n) = C(n, 0) = 1 which makes sense because... (finish the sentence).

The Binomial Theorem The Binomial theorem says that for any positive integer n and two numbers x and y, we have «««««(x + y) n n = x n n + x n 1 n y + x n 2 y 2 n + + xy n 1 n + y n 0 1 2 n 1 n For example if n = 4, then the theorem says that ( ) ( ) ( ) ( ) ( ) 4 4 4 4 4 (x + y) 4 = x 4 + x 3 y + x 2 y 2 + xy 3 + y 4 0 1 2 3 4 Example (a) Check that the above equation is true for n = 4, x = 2, y = 3.

The Binomial Theorem The Binomial theorem says that for any positive integer n and two numbers x and y, we have «««««(x + y) n n = x n n + x n 1 n y + x n 2 y 2 n + + xy n 1 n + y n 0 1 2 n 1 n For example if n = 4, then the theorem says that ( ) ( ) ( ) ( ) ( ) 4 4 4 4 4 (x + y) 4 = x 4 + x 3 y + x 2 y 2 + xy 3 + y 4 0 1 2 3 4 Example (a) Check that the above equation is true for n = 4, x = 2, y = 3. (2 + 3) 4 = ( ) 4 0 2 4 + ( ) 4 23 3 + ( ) 4 22 3 2 + ( ) 4 1 2 3 2 3 3 + ( 4 4) 3 4. (b) Check that the above equation is true for n = 4, x = 1, y = 1.

Things to Note Note how the powers relate to the lower numbers in the coefficients. Note how the powers decrease on the x s and increase on the y s as we move from left to right. Note how the powers in each term of the expression add to n. Note the symmetry in the expansion. ( 4 1) x 3 y is a Term of the expression and ( 4 1) is the coefficient of that term.

Things to Note Note that the sum of the coefficients of the terms of the expansion of (x + y) 4 is equal to the total number of subsets one can make using a set of size n = 4. Setting x = 1 and y = 1 in the above equation, we get the formula: ( ) ( ) ( ) ( ) ( ) 4 4 4 4 4 2 4 = + + + + 0 1 2 3 4 Applying the same proof to the general case, we get the formula: ( ) n 2 n = + 0 ( ) n + 1 ( ) n + 2 ( ) n + + 3 ( ) n n 2 n =C(n, 0) + C(n, 1) + C(n, 2) + C(n, 3) + + C(n, n) for any counting number n. Thus the number of subsets of a set with n elements is 2 n.

Things to Note Example A set has ten elements. How many of its subsets have at least two elements?

Things to Note Example A set has ten elements. How many of its subsets have at least two elements? C(10, 2) + C(10, 3) + C(10, 4) + C(10, 5) + C(10, 6) + C(10, 7) + C(10, 8) + C(10, 9) + C(10, 10). To actually compute this number it is easier to compute 2 10 ( C(10, 0) + C(10, 1) ) = 1024 (1 + 10) = 1013 Example How many tips could you leave at a restaurant, if you have a half-dollar, a one dollar coin, a two dollar note and a five dollar note?

Things to Note Example A set has ten elements. How many of its subsets have at least two elements? C(10, 2) + C(10, 3) + C(10, 4) + C(10, 5) + C(10, 6) + C(10, 7) + C(10, 8) + C(10, 9) + C(10, 10). To actually compute this number it is easier to compute 2 10 ( C(10, 0) + C(10, 1) ) = 1024 (1 + 10) = 1013 Example How many tips could you leave at a restaurant, if you have a half-dollar, a one dollar coin, a two dollar note and a five dollar note? You can leave any subset of your money. You have 4 items so there are 2 4 = 16 possibilities.

Taxi Cab Geometry revisited Recall that the number of taxi cab routes (always traveling south or east) from A to B is the number of different rearrangements of the sequence SSSSEEEEE which is 9! = C(9, 4) = C(9, 5). 4!5! The sequence SSSSEEEEE is shown in red and the sequence ESSEEESES in blue. A B Can you think of any reason why the number of routes should equal the number of ways to choose 4 objects from a set of 9 objects?

Taxi Cab Geometry revisited Can you think of any reason why the number of routes should equal the number of ways to choose 4 objects from a set of 9 objects? A route is specified by a string of S s and E s with exactly 4 S s and 5 E s and any such string specifies a route. In other words you need a nine letter word made up of 4 S s and 5 E s. If I give you a subset of 4 elements of the set {1, 2,, 9} and you put S s in those positions, then you can fill in the rest of the word with E s. As an example, given {3, 1, 7, 6} start with S S SS and get S E S E E S S E E.