How to Store and Recall Variables on the TI-84
If you have ever typed a long number into your TI-84, used it once, and then needed it again three steps later, only to realise you have forgotten it, you need variables. A variable is a named box where the calculator keeps a number for you, and you can use that box in any calculation just by typing its name. The TI-84 has 27 of them, the letters A to Z plus theta, and learning to store and recall them is one of those small skills that makes everything else faster. It is also one of the skills that exam papers assume you have, because it is how you carry a value through a long problem without retyping it and without rounding it. This guide shows you how to store a number, how to get it back, and how to use variables in formulas, graphs, and lists.
What Variables Are (and Why They Matter)
A variable is a letter that stands for a number. In algebra, x stands for an unknown number you are trying to find. On the calculator, a variable is a storage place: you put a number into A, and A holds it until you change it or clear the memory. The most useful thing about variables is that they hold the full precision of a number, not the rounded version you see on the screen. If you store 1 divided by 3 in A, the calculator keeps all ten digits of 0.3333333333, and when you use A in the next step, it uses all of them. If you retype 0.333 instead, you lose precision and your final answer drifts. That is why teachers tell you to store intermediate values rather than writing them down and retyping them. Variables also make your work readable: a formula that says 2A + B is easier to follow than one that says 23.14159 + 1.732, and it is easier to fix when A or B changes. The TI-84 gives you 27 variables, A through Z and theta, which is more than enough for any school problem, and each one can hold a single number, or in the case of some variables, a list or a matrix.
Step-by-Step: Store a Number in a Variable
Storing a value is one of the shortest routines on the calculator, and it uses the STO key, which is just above the ON key.
- Type the number or the expression you want to store, for example 3.14159, or 1/3, or 2*5.
- Press STO, which is the key marked with an arrow pointing right, just above ON. The screen shows your number followed by a right-pointing arrow.
- Press ALPHA, then the letter you want to store it in, for example A, which is the MATH key with a green A above it.
- Press ENTER. The screen shows the value, and the calculator has stored it in A.
To store a value you have just calculated, you do not need to retype it. After the calculator shows the answer, press STO, ALPHA, A, ENTER, and the answer goes straight into A. That is the trick to use in the middle of a long problem: work out a value, store it, and move on. The value stays in A until you store something else in A, or you clear the memory, or you reset the calculator, so you can come back to it whenever you need it. A common habit is to store the constants of a problem in variables at the start: put the radius in R, the height in H, and the number of items in N, and then write your formulas with those letters. When a number changes, you only have to change one store, not every formula.
Step-by-Step: Recall a Variable and Use It
Recalling a variable is even simpler than storing it, because you just type its name.
- Press ALPHA, then the letter of the variable, for example A. The screen shows A.
- Press ENTER, and the calculator shows you the value stored in A.
- To use it in a calculation, type the expression with the letter in it. For example, to work out 2 times A plus 1, type 2, times, ALPHA, A, plus, 1, ENTER.
- To use it in a function, press Y= and type the formula with the variable in it, for example Y1 = A*X + B, and the calculator will graph it using the values stored in A and B.
Variables work anywhere a number works: on the home screen, in the Y= editor, in a list, and in a program. If you type a letter that has nothing stored in it, the calculator treats it as zero, which can give you a wrong answer without an error, so be careful. A good habit is to check a variable before you use it, by pressing ALPHA, the letter, ENTER, and reading the value. If it is zero and you expected something else, you either stored it in the wrong letter or you cleared the memory since. The ALPHA key is the one you will press most often in this whole routine, because every variable name starts with it, and it is worth learning where the letters are: they are the green symbols above the keys, and A is above MATH, B is above APPS, C is above PRGM, and so on.
Variables in Formulas and Graphs
Variables become powerful when you use them inside formulas. Suppose you are exploring the function y = mx + c, and you want to see how changing m changes the graph. Store a value in M, for example 2, and a value in C, for example 1, then enter Y1 = MX + C in the Y= editor and press GRAPH. You will see the line y = 2x + 1. Now store a different value in M, for example -1, and press GRAPH again, and the line will change to y = -x + 1, without you having to retype the function. That is a brilliant way to explore a family of functions, and it is how teachers demonstrate what the gradient and the intercept do. You can do the same thing with a quadratic: store values in A, B, and C, enter Y1 = AX^2 + B*X + C, and change A, B, and C to see how the parabola moves. The graph updates every time you press GRAPH, because it reads the current values of the variables. This is also useful in exams, where a question might ask you to graph a function with given coefficients: store the coefficients, type the formula once, and you are done.
Clearing Variables and Starting Fresh
Variables hold their values until you change them, which is useful, but it also means an old value can sit in a variable for weeks and surprise you when you use it again. To clear a single variable, store zero in it: type 0, STO, ALPHA, A, ENTER, and A is now zero. To clear all variables at once, press 2nd, then +, for the MEMORY menu, then 2 to choose Mem Mgmt/Del, then 2 to choose Real, and then delete the variables you do not need, or press 2nd, +, 7 for Reset, 1 for All RAM, and 2 to confirm, which clears everything, including variables, lists, and functions. Be careful with the full reset, because it clears everything, and you should only use it when you mean to. A gentler habit is to clear your variables at the start of a new problem, by storing zero in the ones you are about to use, so you know they are clean. I do this at the start of every exam, because a leftover value in a variable is one of the sneakiest ways to get a wrong answer.
Common Mistakes and How to Fix Them
The most common mistake is forgetting to press ALPHA before the letter, so the calculator reads the key as its normal function instead of as a letter. If you press MATH when you meant A, you will get the MATH menu, not the letter A, so always press ALPHA first. The second mistake is storing a value in the wrong letter, usually because two letters look similar on the keypad, so check the value after you store it by recalling it. The third mistake is using a variable that still holds an old value from a previous problem, which gives you a wrong answer with no error. Clear your variables at the start of a new problem. The fourth mistake is confusing the variable X, which is the graphing variable, with the other variables. X is special: it is the variable that changes along a graph, so storing a value in X will be overwritten as soon as you graph or trace. Do not use X to store a constant. And the fifth mistake is using theta as a variable when you are in polar or parametric mode, because theta is the angle variable there, and storing a value in it will interfere with your graphs. Use A to Z for constants, and leave X and theta for the calculator.
Frequently Asked Questions
How do I store a number in a variable on the TI-84? Type the number, press STO, then press ALPHA and the letter, then press ENTER. For example, 5, STO, ALPHA, A, ENTER stores 5 in A.
How do I recall a variable? Press ALPHA, then the letter, then ENTER to see its value, or use the letter in a calculation, for example 2 times ALPHA, A.
How many variables does the TI-84 have? Twenty-seven: the letters A to Z, plus theta. Each one holds a single number, and they keep their values until you change them or clear the memory.
How do I clear a variable? Store zero in it: type 0, STO, ALPHA, the letter, ENTER. To clear all variables, use the MEMORY menu and delete them, or reset the RAM, which clears everything.
Why does my variable show 0 when I expected a number? Either you stored it in a different letter, or the memory was cleared since you stored it, or you are looking at X or theta, which the calculator uses for graphing. Check the value by recalling it before you use it.