Combinations and Permutations on the TI-84 (nCr and nPr)

Combinations and permutations are the counting tools you use when a problem asks how many ways something can happen. How many ways can you choose 3 people from a group of 10? How many ways can you arrange 5 books on a shelf? The answers are different, because choosing does not care about order, and arranging does. Your TI-84 has a key for each one, nCr for combinations and nPr for permutations, and they are both in the MATH menu under PRB. This guide shows you where they are, how to use them, and how to tell which one a problem wants.

Combinations vs permutations: the order question

The difference between combinations and permutations is one question: does the order matter? If you are choosing a committee of 3 people from 10, the order does not matter. Choosing Alice, Bob and Carol is the same committee as choosing Carol, Bob and Alice. That is a combination, and you use nCr. If you are choosing a president, a vice-president and a secretary from 10 people, the order does matter, because Alice as president is different from Alice as secretary. That is a permutation, and you use nPr.

There are far more permutations than combinations for the same numbers, because a permutation counts every ordering separately. For 10 choose 3, there are 120 combinations and 720 permutations. If a problem asks how many ways, read it carefully and ask yourself whether the order matters. If it does not say, think about what is being chosen. A team, a committee, a hand of cards, or a selection of items is usually a combination. A ranking, a password, a seating arrangement, or a sequence is usually a permutation.

Where nCr and nPr live

Press [MATH], press the left arrow twice to move to the PRB menu, and you will see the probability tools. 1: rand is a random number, 2: nPr is permutations, 3: nCr is combinations, and 4: ! is the factorial, which we cover in a separate guide. The PRB menu is also where you will find the random number generator, which is useful for simulations and for checking your work.

You do not type nCr or nPr as a function with brackets. You type the numbers around it, in the order n, then nCr or nPr, then r. That is different from most calculator functions, and it is the part that confuses most students. The calculator reads it as n choose r, or n permute r, and it gives you the number of ways.

How to work out a combination: nCr

To work out 10 choose 3, type 10, press [MATH], go to PRB, choose 3: nCr, type 3, and press [ENTER]. The calculator should give you 120. That is the number of ways to choose 3 people from 10, or 3 items from 10, where the order does not matter. The formula behind it is n! / (r! times (n-r)!), but the calculator does that for you, and you do not need to type it in.

Try a lottery example. How many ways are there to choose 6 numbers from 49? Type 49, press [MATH], go to PRB, choose 3: nCr, type 6, and press [ENTER] to get 13,983,816. That is the number of possible lottery tickets, and it is why winning is so unlikely. Try a smaller one. How many ways can you choose 2 people from 5? Type 5, press [MATH], go to PRB, choose 3: nCr, type 2, and press [ENTER] to get 10.

How to work out a permutation: nPr

To work out 10 permute 3, type 10, press [MATH], go to PRB, choose 2: nPr, type 3, and press [ENTER]. The calculator should give you 720. That is the number of ways to choose 3 people from 10 and arrange them in order, like a president, vice-president and secretary. The formula is n! / (n-r)!, but again, the calculator does it for you.

Try a password example. How many 4-digit passwords can you make from the digits 0 to 9, without repeating a digit? That is 10 permute 4, because the order of the digits matters, and you cannot use a digit twice. Type 10, press [MATH], go to PRB, choose 2: nPr, type 4, and press [ENTER] to get 5040. If repeats were allowed, it would be 10 to the power of 4, which is 10000, but with no repeats it is 5040. That difference is the point of permutations.

A worked example: choosing a team and a captain

Imagine a class of 12 students, and you need to choose a team of 4, and then choose a captain from that team. First, choose the team. That is 12 choose 4, because the order of the team does not matter. Type 12, press [MATH], go to PRB, choose 3: nCr, type 4, and press [ENTER] to get 495. Then choose the captain from the 4 team members. That is 4 ways, because any of the 4 could be captain. Multiply 495 by 4 to get 1980. That is the number of ways to choose a team of 4 and a captain.

You could also do it as a permutation, by choosing the captain first and then the rest of the team, but the combination way is clearer, because it separates the choosing from the arranging. When a problem has two stages, do them one at a time on the calculator, and multiply the answers together at the end. That is the multiplication principle, and it is the key to most counting problems.

Common mistakes

The most common mistake is using nCr when you need nPr, or the other way round. Always ask yourself whether the order matters. If you are choosing a committee, it does not. If you are choosing a president and a vice-president, it does. The second most common mistake is typing the numbers in the wrong order. It is n first, then nCr or nPr, then r. If you type 3 nCr 10 instead of 10 nCr 3, the calculator will give you an error, because you cannot choose 10 things from 3. If you get a domain error, check that n is bigger than r, and that both are whole numbers.

Another mistake is forgetting that nCr and nPr are in the PRB menu, not on the keyboard. There is no nCr key on the TI-84. You have to go through the MATH menu and the PRB menu to find them. If you cannot find them, press [MATH] and press the left arrow twice. The PRB menu is the third tab, after MATH and NUM. A fourth mistake is using nCr for a problem where repeats are allowed. If you can choose the same item more than once, like a password with repeated digits, nCr and nPr do not apply, because they assume you cannot repeat. Use powers instead.

Try it yourself

Try these on your calculator. Work out 8 choose 2, which should be 28, and 8 permute 2, which should be 56. Notice that the permutation is bigger, because it counts the order. Work out 20 choose 5, which should be 15504. Work out how many ways you can arrange 6 books on a shelf, which is 6 permute 6, or 6 factorial, which should be 720. If you can do all of them, including telling which ones are combinations and which are permutations, you have the counting skill down, and you can use it for probability, for statistics, and for any problem that asks how many ways something can happen.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top