TI-89 Undefined Variable & Name Errors
On the Home screen, the TI-89 is happy to work with variables that have no value. x+x just gives 2·x. So an Undefined variable error usually means something needed an actual value and couldn't find one: a program, a function definition, a graph, or a variable that's in a different folder.
These steps are for the TI-89 / TI-89 Titanium handheld, from Texas Instruments' guidebook. Our online TI-89 calculator runs PedroM, a free third-party operating system and doesn't support every handheld feature, so check what it offers before following along there.
Undefined variable: common causes
| Situation | Example | Fix |
|---|---|---|
| a program uses a variable that was never stored | Disp total with no total |
store a value first, or check the spelling |
| a function or program name is wrong | quadform() when it's called quadfrm |
check VAR-LINK (2ND −) for the exact name |
| the variable is in another folder | it's in physics, you're in main |
use physics\v, or change MODE → Current Folder |
| a graph refers to a constant with no value | y1=a*x^2 with no a |
store a value: 2→a |
| a variable was deleted or reset | after Clear a–z or a RAM reset | store it again, or restore from an archive |
How to "undefine" x
Sometimes the opposite is the problem: x has a value, so solve(x^2=9,x) or d(x^2,x) gives a strange result. To clear it:
| To clear | Do this |
|---|---|
| one variable | DelVar x (F4 (Other) → DelVar) |
| every one-letter variable a–z | 2ND F1 (Clean Up) → Clear a–z, then ENTER |
| a value for one calculation only | use ` |
Using | instead of STO► avoids this problem entirely.
Non-algebraic variable in expression
This means a name in your expression belongs to something that isn't a number or formula: a picture, a graph database, a figure or similar. For example, if you saved a graph picture as a, then a+1 fails.
Fix: use a different variable name, or delete the old object in VAR-LINK (2ND −), where the type column shows PIC, GDB and so on.
Circular definition
The calculator stops a variable being defined in terms of itself when it has no value, to avoid endless substitution. For example a+1→a when a is undefined.
Fix: give it a starting value first: 0→a, then a+1→a.
Argument must be a variable name
A command such as DelVar, Define or solve( expected a name and got a number or expression. DelVar 12 fails; DelVar a works.
Prevention tips
- Use
|for one-off substitutions instead of storing values. - Give programs their inputs as arguments:
prog(3,4). - Use local variables inside programs and functions (
Local t), so they don't leave values behind. - Run Clear a–z at the start of a new problem.
Related pages
Review note: the handheld keystrokes on this page come from Texas Instruments' TI-89 Titanium guidebook and knowledge base. They have not yet been checked on a physical calculator.