How many different combinations of 3 ingredients that are chosen from 4 choices.

Section 5.2 Combinations and Permutations

Example5.2.2.

If I want to arrange five books on a shelf, how many possible arrangements of the books are there?

Video / Answer

Example5.2.3.

How many functions \(f: \{1,2,3\} \to \{1, 2, 3\}\) are bijections?

Video / Answer

Example5.2.4.

If I only want to arrange three of the five books on my shelf, how many ways are there to do that?

Video / Answer

Theorem5.2.5.

If \(n\) is a positive integer and \(r\) is an integer such that \(1 \le r \le n\text{,}\) then there are \(P(n,r) = n\cdot (n-1) \cdot (n-2) \cdot \dots \cdot (n-(r-1))\) \(r\)-permutations of a set of \(n\) elements.

Corollary5.2.6.

If \(n\) and \(r\) are integers with \(0\le r \le n\text{,}\) then:

\begin{equation*} P(n,r) = \dfrac{n!}{(n-r)!} \end{equation*}

Example5.2.7.

How many six-letter vanity license plates are there that have no repeated letters?

Video / Answer

Example5.2.8.

How many functions \(f: \{1,2,3,4\} \to \{1,2,3,4,5,6\}\) are injective? [Recall a function is injective \(\forall a, \forall b ( f(a) = f(b)) \to ( a = b )\)]

Video / Answer

Definition5.2.9.

A combination is an unordered selection of objects.

Example5.2.10.

If I want only to select three books from my five books on the bookshelf, in how many ways can I do this?

Video / Answer

Example5.2.12.

How many ways are there to choose five out of ten friends to invite over for dinner?

Video / Answer

Example5.2.13.

Two of your ten friends, Tim and Tammy just broke up. They can't stand to be in a room together. How many ways are there to choose five out of ten friends to invite to dinner, ensuring that Tim and Tammy are not both invited?

Video / Answer

Example5.2.14.

How many three element subsets from a set of five elements are there?

Video / Answer

Example5.2.15.

From a standard deck of 52 cards, how many five card hands are possible?

Video / Answer

Example5.2.16.

How many five card cards have exactly the same suit?

Video / Answer

Example 5.2.17.

How many five card hands have at least one heart?

Video / Answer

Exercises 5.2.1 Exercises

1.

A pizza parlor offers 10 toppings.

  1. How many 3-topping pizzas could they put on their menu? Assume double toppings are not allowed.

  2. How many total pizzas are possible, with between zero and ten toppings (but not double toppings) allowed?

  3. The pizza parlor will list the 10 toppings in two equal-sized columns on their menu. How many ways can they arrange the toppings in the left column?

Solution

  1. \({10 \choose 3} = 120\) pizzas. We must choose (in no particular order) 3 out of the 10 toppings.
  2. \(2^{10} = 1024\) pizzas. Say yes or no to each topping.
  3. \(P(10,5) = 30240\) ways. Assign each of the 5 spots in the left column to a unique pizza topping.

2.

A combination lock consists of a dial with 40 numbers on it. To open the lock, you turn the dial to the right until you reach a first number, then to the left until you get to second number, then to the right again to the third number. The numbers must be distinct. How many different combinations are possible?

Solution

Despite its name, we are not looking for a combination here. The order in which the three numbers appears matters. There are \(P(40,3) = 40\cdot 39 \cdot 38\) different possibilities for the “combination”. This is assuming you cannot repeat any of the numbers (if you could, the answer would be \(40^3\)).

3.

An anagram of a word is just a rearrangement of its letters. How many different anagrams of “uncopyrightable” are there? (This happens to be the longest common English word without any repeated letters.)

4.

How many anagrams are there of the word “assesses” that start with the letter “a”?

Solution

After the first letter (a), we must rearrange the remaining 7 letters. There are only two letters (s and e), so this is really just a bit-string question (think of s as 1 and e as 0). Thus there \({7 \choose 2} = 21\) anagrams starting with “a”.

5.

How many anagrams are there of “anagram”?

6.

On a business retreat, your company of 20 businessmen and businesswomen go golfing.

  1. You need to divide up into foursomes (groups of 4 people): a first foursome, a second foursome, and so on. How many ways can you do this?

  2. After all your hard work, you realize that in fact, you want each foursome to include one of the five Board members. How many ways can you do this?

Solution

  1. \({20 \choose 4}{16 \choose 4}{12 \choose 4}{8 \choose 4}{4 \choose 4}\) ways. Pick 4 out of 20 people to be in the first foursome, then 4 of the remaining 16 for the second foursome, and so on (use the multiplicative principle to combine).
  2. \(5!{15 \choose 3}{12 \choose 3}{9 \choose 3}{6 \choose 3}{3 \choose 3}\) ways. First determine the tee time of the 5 board members, then select 3 of the 15 non board members to golf with the first board member, then 3 of the remaining 12 to golf with the second, and so on.

7.

Consider sets \(A\) and \(B\) with \(|A| = 10\) and \(|B| = 17\text{.}\)

  1. How many functions \(f: A \to B\) are there?

  2. How many functions \(f: A \to B\) are injective?

Solution

  1. \(17^{10}\) functions. There are 17 choices for the image of each element in the domain.
  2. \(P(17, 10)\) injective functions. There are 17 choices for image of the first element of the domain, then only 16 choices for the second, and so on.

How many 3 number combinations can 4 numbers make?

Now write down the third digit. Again there ae 4 choices so the number of possible 3 digit numbers is 4 4 4. Finally there are 4 choices for the last digit so the number of possible 4 digit numbers is 4 4 4 = 256.

How many combinations can you make with 4 choices?

If I've remembered this correctly, this is a problem that can be solved using a factorial function? I.e. there are 4 objects, so the total number of possible combinations that they can be arranged in is 4! = 4 x 3 x 2 x 1 = 24.

How many combinations can be made with 3 items?

if you have 3 items and want the different combinations of every set, but NOT the 0 possibility then you can use 23−1=7; if you want to know the possibilities of the 7 in sets then you can use the similar formula 27−1=127.