Evaluate a function at a point
Find the value of a function at a given x, such as f(2.5), with the exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, plus what to write in the exam.
To evaluate f(a), store the function in your calculator and then call it with the x-value in brackets: Y1(a) on the TI-84 Plus CE, Y-CAL on the Casio graph screen, y-Cal under Graph Solve on the Casio fx-CG100, and f(a) after Define on the TI-Nspire. A table of values gives the same answer for several x-values at once.
Example
The function is given by . Find .
Substituting gives . The calculator returns , which is to 3 significant figures. On the graph this is the height of the curve above , so a quick check is that the curve is high and rising there.
Choose your calculator
How to evaluate a function at a point on a TI-84 Plus CE
Call the function from the home screen | |
Press Y= and type the function into Y1: X,T,θ,n ^ 3 − 2 X,T,θ,n + 1. |
Y1=X^3-2X+1 |
Press 2nd mode (QUIT) to return to the home screen. Press vars, then ▶ to open the Y-VARS menu, choose 1:Function and then 1:Y1. Use this menu rather than typing the letter Y and the number 1. |
|
Type the x-value in brackets, ( 2 . 5 ), and press enter. , which is to 3 significant figures. |
Y1(2.5) 11.625 |
Another way: the table | |
Press 2nd window (TBLSET) and set Indpnt to Ask, then press 2nd graph (TABLE). The table is empty. Type 2 . 5 and press enter: the Y1 column fills in. |
X | Y1 2.5 | 11.625 |
Another way: trace the graph | |
Press graph to draw the graph, then trace. Type 2 . 5 (an X= prompt appears) and press enter. The cursor jumps to that x-value and the bottom of the screen shows the point. |
X=2.5 Y=11.625 |
Y1( from the Y-VARS menu is the exact route: the answer is the function's value, not a cursor position. Use the table when you want several values.
How to evaluate a function at a point on a Casio fx-CG50
Y-CAL on the graph | |
Press MENU and choose Graph. Type the function into Y1: X,θ,T ^ 3 ▶ − 2 X,θ,T + 1, then press EXE and F6 (DRAW). |
Y1=X^3-2X+1 |
Press SHIFT F5 (G-SOLVE), then F6 (▷) to reach the next page of the menu, and F1 (Y-CAL). |
|
Type the x-value 2 . 5 and press EXE. The screen shows the point on the graph. , which is to 3 significant figures. |
X=2.5 Y=11.625 |
Another way: call Y1 on the Run-Matrix screen | |
With the function stored in Y1, press MENU and choose Run-Matrix. Press VARS, F4 (GRAPH), F1 (Y) and 1 to enter Y1. Type ( 2 . 5 ) and press EXE. , which is to 3 significant figures. |
Y1(2.5) 11.625 |
Another way: the table | |
Press MENU and choose Table, then type the function into Y1 and press EXE. Press F5 (SET) and enter a range that contains the x-value, for example Start 0, End 5 and Step 0.5, pressing EXE after each. Press EXIT, then F6 (TABLE) and find the row for 2.5. |
X | Y1 2.5 | 11.625 |
Y-CAL gives the value at exactly the x you type. Trace (SHIFT F1) also accepts a typed x-value, but Y-CAL is the route made for this job.
How to evaluate a function at a point on a Casio fx-CG100
Graph Solve: y-Cal | |
Press HOME and choose Graph&Table. On the Function tab type the function into y1: X,θ,T,Y ^ 3 ▶ − 2 X,θ,T,Y + 1, then draw the graph. |
y1=X^3-2X+1 |
Press TOOLS and choose Graph Solve, then y-Cal. If more than one graph is shown, move the flashing to the right one and press OK. |
|
In the dialog type the x-value 2 . 5 and press OK. The coordinates of the point appear at the bottom of the window. , which is to 3 significant figures. |
x=2.5 y=11.625 |
Another way: use y1 in the Calculate app | |
Press HOME and choose Calculate. Press the VARS key, choose Function, highlight y1 and press OK. Type ( 2 . 5 ) and press EXE. , which is to 3 significant figures. |
y1(2.5) 11.625 |
Another way: the table | |
In Graph&Table go to the Table tab. Press TOOLS and choose Set Table Domain then Range. Enter a range that contains the x-value, for example Start 0, End 5 and Step 0.5, and read the row for 2.5. |
x | y1 2.5 | 11.625 |
On the fx-CG100 the Graph Solve menu holds both y-Cal (find y for a given x) and x-Cal (find x for a given y). Pick the one that matches what the question gives you.
How to evaluate a function at a point on a TI-Nspire CX
Define the function, then call it | |
On a Calculator page type |
Define f(x)=x^3-2x+1 Done |
Type , which is to 3 significant figures. |
f(2.5) 11.625 |
Another way: a function from the Graphs page | |
If you typed the function on the Graphs entry line as f1(x), it is already stored as a variable. On a Calculator page in the same problem type |
f1(2.5) 11.625 |
Another way: trace or table on the Graphs page | |
Press menu → Trace → Graph Trace, type the x-value 2.5 and press enter: the trace cursor moves to that value. For several values at once, press menu → Table → Split-screen Table. | |
Name the function when you define it and use that name in the brackets. The Calculator page and the Graphs page share variables within the same problem.
Sources. Key presses follow the manufacturers' documentation: the TI-84 Plus CE eGuide, the TI-Nspire eGuide, the Casio fx-CG50 Software User's Guide (version 3.30) and the Casio fx-CG100 online manual.
What to write in the exam
- Write the substitution and the value, for example . Say you used your calculator. Do not write the key presses.
- Show the function you evaluated. If the question gives a model, name it: , or , and say which value of the input you used.
- Round only at the end. Keep the full calculator value for later parts and give the final answer to 3 significant figures unless the question says otherwise.
- Sense check. Compare the value with the graph or with a nearby whole-number input, so that a slip such as a missing bracket shows up.
- Check which papers allow a calculator. In AA SL and AA HL, Paper 1 is calculator-free, so substitute by hand there. In AI SL and AI HL a calculator is allowed on every paper (check your syllabus).
Error messages and what to do
| Calculator | Message | Usual cause | What to try |
|---|---|---|---|
| TI-84 Plus CE | ERR:DIVIDE BY 0 | The function is undefined at that x-value, for example a fraction whose bottom is zero there. | Check the function and the x-value. Choose another x, or read the question for the allowed domain. |
| TI-84 Plus CE | ERR:DOMAIN | The x-value is outside what the function allows, for example a logarithm of zero or a negative number. | Check the x-value against the domain of the function. |
| TI-84 Plus CE | ERR:SYNTAX | Y1( is not followed by a value and a closing bracket, or two values are run together. | Retype it as Y1(value) with Y1 pasted from the Y-VARS menu. |
| Casio fx-CG50 | Ma ERROR | The function has no value at that x, for example division by zero or a logarithm of a negative number. | Press EXIT and check the x-value against the domain. |
| Casio fx-CG50 | Syntax ERROR | The function or the brackets around the x-value are incomplete. | Press EXIT to see where the error is, then retype it as Y1(value). |
| Casio fx-CG100 | Math ERROR | The function has no value at that x, for example division by zero or a logarithm of a negative number. | Check the x-value against the domain. |
| Casio fx-CG100 | Syntax ERROR | The function or the brackets around the x-value are incomplete. | Retype it as y1(value). |
| TI-Nspire CX | Divide by zero | The function is undefined at that x-value, for example a fraction whose bottom is zero there. | Check the function and choose an x-value in its domain. |
| TI-Nspire CX | Domain error | The x-value is outside what the function allows, for example a logarithm of a negative number. | Check the x-value against the domain of the function. |
| TI-Nspire CX | Variable is not defined | The function name in the brackets has not been defined in this problem. | Define it first, for example Define f(x)=x^3-2x+1, or use the name the Graphs page gave it. |
Common mistakes
- Typing the function name as letters. On the TI-84 Plus CE, Y1 must come from the VARS Y-VARS menu. Typing the letter Y and the number 1 multiplies two variables instead.
- Forgetting the brackets around a negative x-value. Enter with the negative sign key inside the brackets, not the subtraction key.
- Using trace and reading the cursor. Moving the cursor with the arrow keys gives a nearby value. Type the x-value, or use Y-CAL, a table or Y1(a), to get the value at exactly that x.
- The wrong angle mode for a trigonometric function. Check degrees or radians first; see switching between degrees and radians.
- Rounding before the end. Keep the calculator's full value for the next part and round only the final answer.
Try it yourself
Real questions from the IB Maths Help question bank. Type your answer and press Mark it: the worked solution and mark scheme then appear. Use your calculator to evaluate the function.
Practise with your calculator
Choose your course to see the practice sets that use this skill. You can also try practice mode or browse every GDC guide.
Quick questions
How do I find f(a) on a calculator?
Store the function, then call it with the x-value in brackets: Y1(a) on the TI-84 Plus CE, Y-CAL on the Casio fx-CG50 graph screen, y-Cal under Graph Solve on the Casio fx-CG100, or f(a) after Define on the TI-Nspire. A table of values also shows f(a) for as many x-values as you like.
Which is more accurate, trace or a table?
Both give the exact value when you type the x-value yourself. Moving the trace cursor with the arrow keys only gives a nearby point, so type the x-value instead.
How do I find several values of a function at once?
Use a table of values. On the TI-84 Plus CE use TBLSET with Indpnt set to Ask, on the Casio calculators use the Table mode or tab with a range, and on the TI-Nspire use the Split-screen Table on the Graphs page.
Why do I get an error?
The function has no value at that x, for example because the bottom of a fraction is zero or a logarithm has a negative input. Check the x-value against the domain of the function.
Do I write the key presses in my exam answer?
No. Write the substitution and the value, and say you used your calculator. Examiners look for the method, not the key presses.