IB Maths Help logoIB Maths Help

Set a good viewing window (and zoom)

Fix a blank or flat graph by setting the window from the question and zooming, 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.

Used inAA SLAA HLAI SLAI HL

To set a good viewing window, take the domain from the question as the x-range, then let the calculator fit the y-range with its auto-fit zoom (ZoomFit on the TI-84, Zoom Auto on the Casio calculators, Zoom - Fit on the TI-Nspire), or type the y-range yourself. If a graph looks blank or flat, the window is wrong, not the function.

Example

A population is modelled by P(t)=200(1.15)tP(t) = 200(1.15)^t for 0≤t≤200 \le t \le 20. Choose a window that shows the whole graph, and find P(20)P(20) to the nearest whole number.

xy510152050010001500200025003000

Use 0≤t≤200 \le t \le 20 for the x-range. The curve starts at P(0)=200P(0) = 200 and rises to P(20)=3273P(20) = 3273 to the nearest whole number, so a y-range of 0 to 3 500 shows all of it. In the standard window, which stops at 10 on both axes, none of this graph is visible.

Choose your calculator

How to set a good viewing window on a TI-84 Plus CE

Type the window yourself

Press Y=, clear any old functions with clear, and type 2 0 0 × 1 . 1 5 ^ X,T,θ,n next to Y1=. Press graph: the standard window shows nothing, because every value of the curve is above the top of the screen.

Decide the window from the question. Here 0≤t≤200 \le t \le 20, so Xmin is 0 and Xmax is 20. The largest value of the curve is a little over 3 000, so Ymax is 3 500 and Ymin is 0.

Press window. Type a value for each line and press enter (or ▼) after each: Xmin = 0, Xmax = 20, Xscl = 5, Ymin = 0, Ymax = 3500, Yscl = 500. Xmin must be less than Xmax and Ymin less than Ymax, or the graph will not draw. For a negative number use the (−) key, not the subtraction key.

WINDOW
Xmin=0
Xmax=20
Xscl=5
Ymin=0
Ymax=3500
Yscl=500

Press graph. The whole curve now shows, from the start of the domain to its end.

Let the calculator choose the y-range

Press window and set only Xmin = 0 and Xmax = 20 (the domain from the question). Then press zoom and choose 0:ZoomFit. The calculator recalculates Ymin and Ymax so that the highest and lowest points of the graph between Xmin and Xmax fit on the screen, and redraws the graph. It does not change Xmin or Xmax.

Zoom, reset and square

Press zoom and choose 6:ZStandard to go back to the standard window, with x and y both from −10 to 10. This is a quick reset when a graph has gone off the screen.

To zoom in on part of the graph, press zoom, choose 1:ZBox, move the cursor to one corner of the part you want and press enter, then move to the opposite corner and press enter again. The box becomes the new window.

For a graph of a circle to look like a circle, or a gradient to look true, press zoom and choose 5:ZSquare. For a graph of a trigonometric function press zoom and choose 7:ZTrig, after checking the angle mode.

Type the domain from the question into Xmin and Xmax first, then use ZoomFit to find the y-range. If the graph is blank, look at WINDOW before you doubt the function.

How to set a good viewing window on a Casio fx-CG50

Type the V-Window yourself

Press MENU and choose Graph. Type 2 0 0 × 1 . 1 5 ^ X,θ,T EXE for Y1. Press F6 (DRAW): the initial window shows nothing, because every value of the curve is above the top of the screen.

Decide the window from the question. Here 0≤t≤200 \le t \le 20, so Xmin is 0 and Xmax is 20. The largest value of the curve is a little over 3 000, so Ymax is 3 500 and Ymin is 0.

Press SHIFT F3 (V-WIN). Type a value for each line and press EXE after each: Xmin = 0, Xmax = 20, Xscale = 5, Ymin = 0, Ymax = 3500, Yscale = 500. For a negative number use the (−) key. Press EXIT, then F6 (DRAW).

V-Window
Xmin :0
max :20
scale:5
Ymin :0
max :3500
scale:500

The whole curve now shows, from the start of the domain to its end.

Let the calculator choose the y-range

Set Xmin = 0 and Xmax = 20 in the V-Window and draw the graph. Then press SHIFT F2 (ZOOM) and F5 (AUTO). The y-axis settings are adjusted automatically so that the graph fills the screen along the y-axis.

Zoom, reset and square

In the V-Window screen, F3 (STANDRD) sets the standard window, and F1 (INITIAL) returns to the initial settings. F2 (TRIG) sets a window for trigonometric graphs in the current angle unit.

With a graph on the screen, press SHIFT F2 (ZOOM) and F1 (BOX) to zoom in on part of it. Move the pointer to one corner and press EXE, then move to the opposite corner and press EXE again. F3 (IN) and F4 (OUT) zoom in and out around the pointer.

To undo a zoom, press SHIFT F2 (ZOOM), F6 and F1 (ORIGINAL), or F5 (PREVIOUS). In the same menu F6 then F2 (SQUARE) corrects the x-axis so that the x and y scales match.

Type the domain from the question into Xmin and Xmax first, then use ZOOM AUTO to find the y-range. The window is reset by changing V-Window, so redraw the graph after any change.

How to set a good viewing window on a Casio fx-CG100

Type the View Window yourself

Press HOME and choose Graph&Table. On the Function tab type 2 0 0 × 1 . 1 5 ^ X,θ,T,Y next to y1 and press EXE.

Function
y1=200×1.15^X
y2=

Decide the window from the question. Here 0≤t≤200 \le t \le 20, so x Minimum is 0 and x Maximum is 20. The largest value of the curve is a little over 3 000, so y Maximum is 3 500 and y Minimum is 0.

Press the next-tab key to draw the graph. The View Window menu appears first: enter x Minimum = 0, x Maximum = 20, x Scale = 5, y Minimum = 0, y Maximum = 3500, y Scale = 500, then highlight the draw button and press OK. Once a graph is on the screen, choose TOOLS then View Window to change the settings again.

View Window
x Minimum:0
x Maximum:20
x Scale:5
y Minimum:0
y Maximum:3500
y Scale:500

The whole curve now shows, from the start of the domain to its end. If the graph window has nothing to draw, an Out of Drawing Range message offers View Window, Auto Zoom or Cancel.

Let the calculator choose the y-range

Set x Minimum = 0 and x Maximum = 20, draw the graph, then choose TOOLS → Zoom → Zoom Auto. The display is adjusted so that the graph is drawn along the entire y-axis.

Zoom, reset and square

Choose TOOLS → View Window → Pre-set Windows to pick Standard (the standard setup), Initialize (the initial setup) or Trigonometric (a window for the current angle unit).

To zoom in on part of the graph, choose TOOLS → Zoom → Zoom Box. Move the cross pointer to one corner and press OK, then to the opposite corner and press OK again. Zoom In and Zoom Out zoom around the centre of the window, Zoom Previous undoes the last zoom and Zoom Original restores the earlier View Window settings.

For the x and y scales to match, choose Zoom Square, or use Pre-set Windows → Square → Y Base or X Base.

Type the domain from the question into x Minimum and x Maximum first, then use Zoom Auto to find the y-range.

How to set a good viewing window on a TI-Nspire CX

Type the window yourself

Open a Graphs page. In the entry line next to f1(x)= type 200*1.15^x and press enter. The graph appears, but the standard window shows nothing of it, because every value of the curve is above the top of the screen.

Decide the window from the question. Here 0≤t≤200 \le t \le 20, so XMin is 0 and XMax is 20. The largest value of the curve is a little over 3 000, so YMax is 3 500 and YMin is 0.

Press menu → Window/Zoom → Window Settings (shortcut menu 4 1). Type a value in each box, moving between the boxes with tab: XMin = 0, XMax = 20, YMin = 0, YMax = 3500, XScale = 5, YScale = 500. Then choose OK.

Window Settings
XMin: 0
XMax: 20
YMin: 0
YMax: 3500
XScale: 5
YScale: 500

The whole curve now shows, from the start of the domain to its end.

Let the calculator choose the window

Press menu → Window/Zoom → Zoom - Fit. The window changes to show the graph. If you then want the domain from the question exactly, finish in Window Settings.

Zoom, reset and square

In the Window/Zoom menu, Zoom - Standard goes back to the standard window, Zoom - Quadrant 1 shows only the first quadrant, and Zoom - Standard Trig gives a window for trigonometric graphs.

To zoom in on part of the graph, choose Zoom - Box from the same menu and click two opposite corners of the area to show. Zoom - In and Zoom - Out zoom around a point.

You can also drag a tick mark on an axis to rescale both axes together, or hold shift and drag a tick mark to rescale only that axis.

Window Settings gives you exact numbers for the domain in the question. Zoom - Fit is the quick way to see the shape first.

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

  • Sketch what the calculator shows. When a question says sketch, draw the shape you see with the axes labelled and the key points marked with their coordinates. The window settings are not part of the answer.
  • Respect the domain. If the question gives 0≤t≤200 \le t \le 20, draw only that part and mark its end points. A graph that carries on past the domain loses marks.
  • 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 the right angle mode for a trigonometric graph before you choose its window, 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 there. In AI SL and AI HL a calculator is allowed on every paper (check your syllabus).

Windows for trigonometric graphs

A trigonometric graph needs the right angle mode as well as the right window. In radians, an x-range such as 00 to 2π2\pi shows one full cycle. The preset trigonometric windows (ZTrig on the TI-84, TRIG on the Casio fx-CG50, Trigonometric on the fx-CG100, Zoom - Standard Trig on the TI-Nspire) give a good start. Once the graph shows, you can find its features with a maximum, minimum or zero or an intersection.

Error messages and what to do

CalculatorMessageUsual causeWhat to try
TI-84 Plus CEERR:WINDOW RANGEA 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 CEERR:ZOOMA point or a line, instead of a box, was defined in ZBox.Choose 1:ZBox again and move to a corner that is not on the same row or column as the first.
Casio fx-CG50Range ERRORThe V-Window range was exceeded when the graph was redrawn.Redraw using proper V-Window settings: press SHIFT F3 (V-WIN) and correct the values.
Casio fx-CG50Invalid settingAn improper V-Window value was entered, for example Xmin and Xmax both 10.Change the V-Window values so they are within range and have the proper relationship to each other.
Casio fx-CG100Range ERRORThe View Window range was exceeded when the graph was drawn.Redraw using proper View Window settings.
TI-Nspire CXWindow variables domainThe window settings are not valid.Open Window Settings and correct the values.

Common mistakes

  • Doubting the function when the graph is blank. A blank or flat graph almost always means the window is wrong. Check the window or use the auto-fit zoom before retyping the function.
  • Leaving the standard window on. It stops at 10 on both axes, so many real-world models (large values, or time starting at 0) are off the screen.
  • A minimum larger than the maximum. Xmin must be less than Xmax and Ymin less than Ymax, or the calculator gives an error and the graph does not draw.
  • A window too wide to read. If you can see the shape but not the detail, zoom in on the part you need before you read off a value.
  • Going beyond the domain. If the question gives a domain, set Xmin and Xmax to it, and draw only that part in your sketch.

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 and set a window that shows the graph.

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

Why is my graph blank?

Almost always the window, not the function. The standard window shows only x and y from -10 to 10, so a curve with larger values, or one that sits wholly above or below that range, is off the screen. Set the window from the question, or use the auto-fit zoom.

What is ZoomFit, or the auto-fit zoom?

It adjusts the y-axis to fit the graph between the x-values you set. It is ZoomFit on the TI-84 Plus CE, Zoom Auto on the Casio fx-CG50 and fx-CG100, and Zoom - Fit on the TI-Nspire. Set the x-range from the question first, then use it.

How do I zoom in on one part of a graph?

Use the box zoom: ZBox on the TI-84 Plus CE, ZOOM and BOX on the fx-CG50, Zoom Box on the fx-CG100, and Zoom - Box on the TI-Nspire. Mark two opposite corners of the area you want.

Do I write the window in my exam working?

No. Write what the question asks for: a sketch with labelled axes and key points, or the values you found. Examiners look for the method and the results, not the key presses.