Factorials and probability go together. A factorial counts how many ways you can arrange a set of items, and probability tells you how likely something is to happen. Your TI-84 has a factorial key, a random number generator, and the combination and permutation tools, all in the MATH menu under PRB. This guide shows you how to use the factorial, how to work out basic probabilities, and how to use the calculator to check your answers.
What a factorial is
A factorial is written with an exclamation mark, like 5!, and it means multiply all the whole numbers from 1 up to that number. So 5! is 5 times 4 times 3 times 2 times 1, which is 120. 3! is 3 times 2 times 1, which is 6. 0! is 1, by definition, which is a special case worth remembering. Factorials grow very quickly. 10! is 3,628,800, and 20! is a huge number, more than 2 quintillion. That is why the calculator is useful. Working out 20! by hand would take a long time, and it is easy to make a mistake.
Factorials count arrangements. If you have 5 books and you want to know how many ways you can arrange them on a shelf, the answer is 5!, which is 120. That is because there are 5 choices for the first book, 4 for the second, 3 for the third, 2 for the fourth, and 1 for the last, and you multiply them together. That multiplication principle is the idea behind factorials, and it is the key to most counting problems.
How to work out a factorial on the TI-84
Press [MATH], press the left arrow twice to move to the PRB menu, and choose 4: !. To work out 5!, type 5, press [MATH], go to PRB, choose 4: !, and press [ENTER] to get 120. The factorial sign goes after the number, not before it, which is different from most functions, and it is the part that confuses most students. Type the number first, then the !, then ENTER.
Try a few more. 0! should give you 1. 1! should give you 1. 6! should give you 720. 10! should give you 3,628,800. If you try a negative number, like (-3)!, the calculator will give you a domain error, because factorials are only defined for whole numbers that are zero or positive. If you try a decimal, like 2.5!, the calculator will give you an error too, or a gamma function value if you are in a different mode, but for school, factorials are for whole numbers only.
Basic probability: what it means
Probability is a number between 0 and 1 that tells you how likely something is. A probability of 0 means it will never happen, and a probability of 1 means it will always happen. A probability of 0.5 means it is equally likely to happen or not, like flipping a coin and getting heads. To work out a basic probability, divide the number of ways the thing can happen by the total number of possible outcomes. If you roll a fair die, the probability of rolling a 6 is 1 out of 6, which is about 0.167.
The calculator can help you with the counting part of a probability problem, using factorials, combinations and permutations, and it can do the division for you. It cannot tell you what the probability is on its own. You have to set the problem up, work out the number of favourable outcomes and the total number of outcomes, and then divide. The calculator does the arithmetic, and you do the thinking.
A worked example: drawing cards
Imagine you draw one card from a standard deck of 52 cards. What is the probability that it is an ace? There are 4 aces in the deck, and 52 cards in total, so the probability is 4 divided by 52, which is about 0.077. Type 4 / 52 and press [ENTER] to get 0.0769230769. Press [MATH] and choose 1: >Frac to see it as a fraction, 1/13. That is the exact probability, and it is a nice clean answer.
Try a harder one. What is the probability of drawing two aces in a row, without putting the first card back? The probability of the first card being an ace is 4/52. The probability of the second card being an ace, after you have already drawn one, is 3/51, because there are 3 aces left and 51 cards left. Multiply them together: (4/52) times (3/51). Type 4/52 x 3/51 and press [ENTER] to get about 0.00452. Press [MATH] and choose 1: >Frac to get 1/221. That is the exact probability of drawing two aces in a row.
Using the random number generator
The TI-84 can generate random numbers, which is useful for simulations and for checking probability problems. Press [MATH], go to PRB, and choose 1: rand. Press [ENTER] to get a random number between 0 and 1. Press [ENTER] again to get another one. To get a random whole number between 1 and 6, like a die roll, press [MATH], go to PRB, and choose 5: randInt(. Type 1, 6 and press ) and [ENTER] to get a random number from 1 to 6. Press [ENTER] again to roll again.
You can use randInt to simulate an experiment many times and see if the results match the probability you worked out. If you simulate 100 die rolls and count how many times you get a 6, it should be close to 1/6 of the time, about 17 times, though it will not be exactly 17 every time. That is the law of large numbers: the more times you simulate, the closer the results get to the true probability. Simulations are a good way to check a probability answer, and they are fun to do in class.
Common mistakes
The most common mistake is typing the factorial before the number, or looking for a factorial key on the keyboard. There is no factorial key. It is in the MATH menu under PRB, and it goes after the number. The second most common mistake is using factorials for a problem where repeats are allowed. If you can use the same item more than once, factorials do not apply, because they assume you cannot repeat. The third mistake is forgetting that 0! is 1, not 0. If a counting problem gives you 0!, the answer is 1, and it is easy to get wrong if you assume it is 0.
Another mistake is confusing probability with odds, or with the number of ways. Probability is a fraction between 0 and 1, or a percentage between 0% and 100%. The number of ways is a whole number, like 120 or 720. If a problem asks for a probability and you give it the number of ways, you have answered the wrong question. Read the question carefully and check whether it wants a probability, a number of ways, or both.
Try it yourself
Try these on your calculator. Work out 7!, which should be 5040, and 4!, which should be 24. What is the probability of rolling a 3 on a fair die? It should be 1/6, or about 0.167. What is the probability of flipping a coin twice and getting two heads? It should be 1/4, or 0.25. Use randInt(1,6) to simulate 10 die rolls and count how many times you get a 6. It should be around 1 or 2 times, though it will vary. If you can do all of them, including the simulation, you have the factorial and probability skill down.