Enter a function and draw its graph
Get a function on the screen and drawn correctly, 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 draw a graph, open the graph or function editor, type the function using the calculator's own x key, set the window so the part you need is on the screen, and draw it. Remove old functions first, because every selected function is drawn. If the screen is blank, the window is the first thing to check, then the angle mode for trig functions.
Example
Draw the graph of and state the coordinates of the -intercept.
The graph is an upward-opening parabola. The -intercept is where , so and the point is . Each calculator below draws the same curve in the window from to and to .
Choose your calculator
How to enter a function and draw its graph on a TI-84 Plus CE
Enter the function in Y= and draw it | |
Press Y=. If there are old functions, move to each one with ▲ or ▼ and press clear to erase it. A function is only drawn while the = sign beside it is highlighted. |
Plot1 Plot2 Plot3 \Y1= \Y2= \Y3= |
With the cursor next to Y1=, type X,T,θ,n x² − 4 X,T,θ,n + 3. The calculator uses X,T,θ,n for . |
Plot1 Plot2 Plot3 \Y1=X²-4X+3 \Y2= \Y3= |
Press window and set Xmin = −2, Xmax = 6, Ymin = −2, Ymax = 8, leaving Xscl and Yscl as 1. For a negative number use the (−) key, not the subtraction key. |
WINDOW Xmin=-2 Xmax=6 Xscl=1 Ymin=-2 Ymax=8 Yscl=1 |
Press graph. The curve is an upward-opening parabola. It meets the -axis at . |
|
Draw more than one function, or hide one | |
Type the next function next to Y2= (press ▼ to reach it) and press graph again: every function whose = sign is highlighted is drawn. To keep a function but not draw it, move onto its = sign with ◀ and press enter, so the highlight disappears. Press enter again to turn it back on. |
|
If the graph is blank or cut off | |
Press zoom and choose 6:ZStandard to draw with the standard window, or choose 0:ZoomFit, which keeps your Xmin and Xmax and sets Ymin and Ymax so the whole curve fits. Choosing a window by hand is in set a good viewing window. For a graph that contains sin, cos or tan, check the angle mode first: press mode and see switching between degrees and radians. |
|
If the graph does not appear, the cause is usually the window, not the function. Look at the window values before you retype anything.
How to enter a function and draw its graph on a Casio fx-CG50
Enter the function and press DRAW | |
Press MENU and choose Graph. The list of graph functions appears. To remove an old function, move to it with ▲ or ▼, press F2 (DELETE), then F1 (Yes). The function type should be Y=. If a line shows another type, press F3 (TYPE), then F1 (Y=). |
Graph Func :Y Y1= Y2= Y3= |
Next to Y1 type X,θ,T x² − 4 X,θ,T + 3 and press EXE to store it. |
Graph Func :Y Y1=X²-4X+3 Y2= Y3= |
Press SHIFT F3 (V-Window) and set Xmin = −2, Xmax = 6, Xscale = 1, Ymin = −2, Ymax = 8, Yscale = 1, pressing EXE after each. Use the (−) key for a negative number. Press EXIT to leave. |
V-Window Xmin =-2 max =6 scale=1 Ymin =-2 max =8 scale=1 |
Press F6 (DRAW). The curve is an upward-opening parabola. It meets the -axis at . |
|
Draw more than one function, or hide one | |
Type further functions next to Y2, Y3 and so on. To keep a function but not draw it, move to it in the list and press F1 (SELECT): each press switches drawing on or off. Press F6 (DRAW) to redraw. After a graph is drawn, SHIFT F6 (G↔T) switches between the graph and the list of functions. |
|
If the graph is blank or cut off | |
With the graph on the screen press SHIFT F2 (ZOOM), then F5 (AUTO): the y-axis settings adjust so the graph fills the screen. Choosing a window by hand is in set a good viewing window. For a graph that contains sin, cos or tan, check the angle setting first, see switching between degrees and radians. |
|
A graph that does not appear is nearly always a V-Window problem. Press SHIFT F2 (ZOOM) then F5 (AUTO) before you retype the function.
How to enter a function and draw its graph on a Casio fx-CG100
Enter the function on the Function tab and draw it | |
Press HOME and choose Graph&Table. The Function tab shows lines y1, y2 and so on. To remove all old functions, choose TOOLS → Delete → Delete All. To remove one, highlight its line and choose TOOLS → Delete → Delete Formula. |
Function y1= y2= y3= |
Highlight the y1 line and type X,θ,T,Y x² − 4 X,θ,T,Y + 3, then press EXE. The type should be y=: if not, highlight the first line, press OK to open the Setup menu and choose Type then y=. |
Function y1=X²-4X+3 y2= y3= |
Press the next-tab key to draw the graph. The View Window menu appears first: enter x Minimum = −2, x Maximum = 6, y Minimum = −2, y Maximum = 8 with scales of 1, using the SHIFT − key for negative numbers. |
View Window x Minimum=-2 x Maximum=6 y Minimum=-2 y Maximum=8 |
Highlight Draw and press OK. The graph appears on the Graph tab. Press the previous-tab key to return to the Function tab. The curve is an upward-opening parabola. It meets the -axis at . |
|
Draw more than one function, or hide one | |
Type further functions on the y2 and y3 lines. To keep a function but not draw it, highlight its line and press TOOLS, change Select to Switch Off, then close the Tools menu. Choose Switch On to bring it back. |
|
If the graph is blank or cut off | |
If the message Out of Drawing Range appears, choose Auto Zoom to adjust the window and draw the graph. With a graph already on the screen, TOOLS → Zoom → Zoom Auto fits the graph to the screen. Choosing a window by hand is in set a good viewing window. For a graph that contains sin, cos or tan, check the angle unit first, see switching between degrees and radians. |
|
The View Window menu appears every time you draw a graph. If a graph looks wrong, read the window values there before you change the function.
How to enter a function and draw its graph on a TI-Nspire CX
Enter the function in a Graphs page | |
Press home and choose Graphs to add a Graphs page. The entry line at the bottom shows f1(x)=. If the entry line is hidden, press ctrl G to show it, and choose menu → Graph Entry/Edit → Function if it shows another type of relation. |
f1(x)= |
Type x x² − 4 x + 3 after f1(x)=, then press enter to draw the graph. |
f1(x)=x²-4x+3 |
Press menu → Window/Zoom → Window Settings. Set XMin = −2, XMax = 6, YMin = −2, YMax = 8, moving between the boxes with tab, and press enter. |
Window Settings XMin: -2 XMax: 6 YMin: -2 YMax: 8 |
The graph is redrawn in the new window. The curve is an upward-opening parabola. It meets the -axis at . |
|
Draw more than one function, or remove one | |
With the entry line showing, press ▼ to add another relation, type it next to f2(x)= and press enter. To remove a graph, click it to select it and press del: it is removed from the screen and from the graph history. |
|
If the graph is blank or cut off | |
Press menu → Window/Zoom and choose Zoom - Fit or Zoom - Standard. Choosing a window by hand is in set a good viewing window. For a graph that contains sin, cos or tan, check the angle setting first. The Graphs application uses radians unless you change its Graphing Angle setting, see switching between degrees and radians. |
|
Press enter after the expression, not before: nothing is drawn until the relation is entered.
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 function and what you found. Say you drew the graph of using your calculator, then state the feature the question asks for, such as the -intercept . Do not write the key presses.
- Sketch what the question asks for. When the question says sketch, draw the shape with the axes labelled and the key points marked, such as intercepts and turning points. The calculator screen shows the shape, but it is not your answer.
- Give an exact value or 3 significant figures unless the question says otherwise, and keep the full calculator value for later parts instead of re-typing a rounded one.
- Use radians for any graph that contains sin, cos or tan. Check the angle mode before you start, see switching between degrees and radians.
- Check which papers allow a calculator. In AA SL and AA HL, Paper 1 is calculator-free, so use algebra and your knowledge of graphs there. In AI SL and AI HL a calculator is allowed on every paper (check your syllabus).
Graphing a trig function
A graph of or needs the calculator in radian mode, and a window that suits radians, for example from to . In degree mode the same entry gives a very different graph. The Casio calculators have a trigonometric preset window for this, and the Zoom menu on each calculator can refit the window. See setting a good viewing window.
Error messages and what to do
| Calculator | Message | Usual cause | What to try |
|---|---|---|---|
| TI-84 Plus CE | ERR:SYNTAX | The function contains a misplaced operator, bracket or comma, for example the subtraction key used for a negative number. | Choose Goto if offered, or press Y= and retype the function, using (−) for a negative number. |
| TI-84 Plus CE | ERR:WINDOW RANGE | A window setting is not valid, for example Xmax is not greater than Xmin, or Ymax is not greater than Ymin. | Press window and correct the values. |
| TI-84 Plus CE | ERR:INVALID DIMENSION | A statistics plot is switched on while you are graphing a function. | Press 2nd Y= (STAT PLOT), choose 4:PlotsOff, then enter. |
| TI-84 Plus CE | ERR:STAT PLOT | A statistics plot that uses an undefined list is switched on. | Switch the plot off in the same way: 2nd Y= (STAT PLOT), then 4:PlotsOff. |
| Casio fx-CG50 | Syntax ERROR | The function contains an invalid entry, for example two operators in a row. | Press EXIT to show the error position, then correct the function. |
| Casio fx-CG50 | Range ERROR | The V-Window settings were exceeded when the graph was redrawn. | Press SHIFT F3 (V-Window) and set sensible ranges. |
| Casio fx-CG50 | No item is selected | You pressed DRAW while no function was switched on for drawing. | Move to a function and press F1 (SELECT) to switch it on. |
| Casio fx-CG100 | Syntax ERROR | There is a problem with the format of the function you entered. | Make the necessary corrections and press EXE again. |
| Casio fx-CG100 | Range ERROR | The View Window settings were exceeded when the graph was drawn. | Redraw using proper View Window settings. |
| Casio fx-CG100 | No item is selected | You tried to draw a graph while no function was switched on. | Highlight a function line, choose TOOLS and switch Select on. |
| TI-Nspire CX | Syntax error | The expression contains an entry the calculator cannot read, for example two operators in a row. | Press enter to return to the entry line, where the cursor is placed near the first error, and correct it. |
| TI-Nspire CX | Window variables domain | A window setting is not valid, for example a maximum that is not greater than the minimum. | Open menu → Window/Zoom → Window Settings and correct the values. |
Common mistakes
- Using the wrong key for x. Use the calculator's own x key: X,T,θ,n on the TI-84, X,θ,T on the fx-CG50, X,θ,T,Y on the fx-CG100. On the TI-Nspire type the letter x. Any other letter is a different variable and gives a flat line or an error.
- Leaving old functions switched on. Every selected function is drawn, so an old one can sit on top of the one you want. Delete it, or switch it off.
- Blaming the function for a blank screen. The curve is usually outside the window. Adjust the window or use the zoom-to-fit command before retyping.
- Subtraction key for a negative number. Use the negative-sign key, for example in a window setting or an entry such as , and the subtraction key only between two terms.
- The wrong angle mode for trig. A trig graph in degree mode looks wrong. Switch to radians before you draw it.
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. Draw the graph on your calculator to check your answer.
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 graph a function on my calculator?
Open the function editor: Y= on the TI-84 Plus CE, MENU then Graph on the fx-CG50, HOME then Graph&Table on the fx-CG100, or a Graphs page on the TI-Nspire. Type the function using the calculator's x key, set the window, and draw it: GRAPH on the TI-84, F6 (DRAW) on the fx-CG50, the next-tab key then Draw on the fx-CG100, or enter on the TI-Nspire.
Why is my graph blank or in the wrong place?
Almost always the window does not include the part of the curve you want. Use the zoom-to-fit command (ZoomFit on the TI-84, ZOOM then AUTO on the fx-CG50, Auto Zoom on the fx-CG100, Zoom - Fit on the TI-Nspire), or set the window by hand. For a trig function, also check the angle mode.
Why do I see two graphs when I entered one function?
An old function is still switched on. Delete it, or switch it off, in the function list.
Do I write the key presses in my exam working?
No. Write the function you graphed and the feature you found, and say you used your calculator. Examiners look for the method, not the key presses. If the question says sketch, draw the sketch on your paper as well.