Definite integral (area under a curve)
Find on your calculator, 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 and what to do when the curve dips below the axis.
A definite integral gives the signed area between a curve and the x-axis from x = a to x = b, counting regions below the axis as negative. Enter the function and the two limits using your calculator's integral command, or graph the function and use its integral tool. For a true area where the curve crosses the axis, integrate the absolute value of the function.
Example
Find , and the area between the curve and the x-axis from x = 0 to x = 3.
The curve is below the axis for 0 < x < 2, so the integral gives but the area is . Each calculator below finds both numbers.
Choose your calculator
How to find a definite integral on a TI-84 Plus CE
Route A: type the integral (quickest) | |
On the home screen press math, then 9 to choose 9:fnInt. In MathPrint mode (the default) an integral template appears, with boxes for the limits and the function. The cursor starts in the lower limit box: type 0. Press ▶ to move to the next box and type 3 for the upper limit, then press ▶ again and type X,T,θ,n x² − 4 for the function. Use the X,T,θ,n key for x, not ALPHA. If the template has a box for the variable after the function, type X,T,θ,n there too. |
|
Press enter. The signed value is . |
-3 |
For the area. Open the template again. In the function box press math ▶ (NUM) 1 for abs(, then type X,T,θ,n x² − 4. If abs( shows an open bracket, close it with ); if it shows bars, press ▶ to move out of them. Keep the limits 0 and 3 and press enter. The area is to 3 significant figures. |
7.666666667 |
If you see | |
Route B: from the graph (shows the region) | |
Press Y=, clear any old function with clear, then type X,T,θ,n x² − 4 next to Y1=. |
Plot1 Plot2 Plot3 \Y1=X²-4 \Y2= \Y3= |
Press window and set Xmin = −1, Xmax = 4, Ymin = −5, Ymax = 6. For a negative number use the (−) key next to the decimal point, not the subtraction key. |
WINDOW Xmin=-1 Xmax=4 Xscl=1 Ymin=-5 Ymax=6 Yscl=1 |
Press graph, then 2nd trace (CALC) and choose 7:. If more than one function is drawn, press ▲ or ▼ to choose it. At Lower Limit? type 0 and press enter. At Upper Limit? type 3 and press enter. |
|
The region is shaded and the value appears. The part below the axis is counted as negative, which is why the value is and not the area. Use Route A with abs( for the area. |
|
Tip: Route B only works if x = 0 and x = 3 are inside the window, so check WINDOW before pressing CALC. In MathPrint mode this route and the template in Route A both use a tolerance of 0.001, which is accurate enough for 3 significant figures. Typing fnInt( in Classic mode uses 0.00001 unless you choose another.
How to find a definite integral on a Casio fx-CG50
Route A: type the integral (quickest) | |
Press MENU, then 1 to open Run-Matrix. Press OPTN, then F4 (CALC), then F4 (). An integral template appears with boxes for the function and the two limits. Type the function: X,θ,T x² − 4. Press ▶ to move to the lower limit box and type 0, press ▲ to move to the upper limit box and type 3, then press EXE. The signed value is . |
-3 |
For the area. Open the same template. In the function box press F4 (MATH), then F3 (Abs). Type X,θ,T x² − 4, then press ▶ to leave the bars. Press ▶ again to move to the lower limit box and type 0, press ▲ and type 3, then press EXE. The area is to 3 significant figures. |
23/3 |
Route B: from the graph (shows the region) | |
Press MENU, then 5 to open Graph. If Y1 already holds a function, highlight it and press F2 (DELETE), then F1 (Yes). Next to Y1 type X,θ,T x² − 4 and press EXE. |
Y1=X²-4 Y2: Y3: |
Press SHIFT F3 (V-Window) and set Xmin = −1, Xmax = 4, Ymin = −5, Ymax = 6, pressing EXE after each value. For a negative number use the (−) key. Press EXIT. Press F6 (DRAW) to plot the curve. |
|
Press SHIFT F5 (G-Solv), then F6 (▷), then F3 (), then F1 (). If more than one graph is drawn, use ▲ ▼ to choose it and press EXE. Type 0 and press EXE for the lower limit, then type 3 and press EXE for the upper limit. The region is shaded and the signed value is . The same menu has a ROOT option that integrates between roots, which is useful when the curve crosses the axis: find the root (x = 2), integrate each section, then add the sizes ignoring any minus sign (). |
|
Tip: If the answer appears as a fraction, press S↔D to switch it to a decimal, then round as the question asks.
How to find a definite integral on a Casio fx-CG100
Route A: type the integral (quickest) | |
Press HOME and open the Calculate app. Press CATALOG, choose Function Analysis, then Integration. This pastes the integral command, with room for the function, the lower limit and the upper limit separated by commas. Type X,θ,T,Y x² − 4 , 0 , 3 ), then press EXE. The signed value is . | |
For the area. Select the integral as above. Where the function goes, press CATALOG, then 4 (Numeric Calc), then 3 (Absolute Value). Type X,θ,T,Y x² − 4 and close the bracket with ). Then type , 0 , 3 ) and press EXE. The area is to 3 significant figures. | |
Route B: from the graph (shows the region) | |
Press HOME and open the Graph&Table app. On the Function tab, type X,θ,T,Y x² − 4 in the y1 line and press EXE. Draw the graph, and adjust the view window so that x = 0 to x = 3 and y = −5 to y = 6 are visible. | |
Press TOOLS, choose Graph Solve, then , then again. Type the lower limit 0 and press OK, then type the upper limit 3 and press OK. The region is shaded and the signed value is . |
Tip: The menu also has Root, Intersection and Mixed options. They show both the integral value and the area between roots, between intersections, or between an intersection and a root.
How to find a definite integral on a TI-Nspire CX
Route A: type the integral (quickest) | |
From the home screen, select A Calculator. Press menu → Calculus → Numeric Integral. A template appears. Fill in the function, the variable and the two limits, using tab to move between boxes: function x^2-4, variable x, limits 0 and 3, then press enter. |
1.1 *Doc RAD -3. |
For the area. Open the same template. Where the function goes, press template and select the absolute value template, the |x| symbol on the right of the top row. Type x^2-4 between the bars, then fill in the variable and the limits as before and press enter. The area is to 3 significant figures. |
1.1 *Doc RAD 7.66667 |
Route B: from the graph (shows the region) | |
Open a new document and choose Graphs from the home screen. In the entry line f1(x)= type x^2-4 and press enter. Press menu → Window/Zoom → Window Settings and set XMin = −1, XMax = 4, YMin = −5, YMax = 6. For a negative number use the (−) key. Press OK. |
|
Press menu → Analyze Graph → Integral. Click the graph, then click again near x = 0 to mark the lower bound. Press ◀ ▶ to move the dotted line to x = 3 and click to set the upper bound. The region is shaded and the signed value is shown on the graph. |
|
Tip: If the function has trigonometry, check that the page header shows RAD before you start.
Sources. Key presses follow the manufacturers' documentation: the TI-84 Plus CE Getting Started guide, the TI-Nspire CX Reference Guide, 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 integral with its limits, for example . Calculator syntax such as
fnInt(ornInt(is not standard notation, so on its own it may not earn the method mark. - 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 integral that contains sin, cos or tan. Check the angle mode before you start, see switching between degrees and radians.
- "Show that" and "find the exact value" need algebra. The calculator can check your answer but cannot replace the working.
- Check which papers allow a calculator. In AA SL and AA HL, Paper 1 is calculator-free, so these methods are for the calculator papers. In AI SL and AI HL a calculator is allowed on every paper (check your syllabus).
Area between two curves
When the limits are the x-values where two curves meet, find them with the intersection tool and store them so the limits keep their full accuracy. The area is , where is the upper curve. The key presses for each calculator are in the area between two curves guide.
How to find the upper limit when the integral is given
Some questions give the area and ask for a limit, for example find such that . Treat the integral as a function of and use an intersection:
- Enter the integral as a function with the upper limit as x, using a different letter for the variable of integration (on the TI-84,
fnInt(e^(-T^2),T,0,X), typing T with the ALPHA key) as the first graph. - Enter 0.5 as the second graph and set a small window, for example Xmin 0, Xmax 2, Ymin 0, Ymax 1.
- Use the intersection tool. The x-value is to 3 significant figures. The graph can take a few seconds to draw.
Error messages and what to do
| Calculator | Message | Usual cause | What to try |
|---|---|---|---|
| TI-84 Plus CE | ERR:DOMAIN | An argument is outside the range where the function is defined, for example the square root or logarithm of a negative number. | Look at the graph, then split the interval so it avoids the values where the function is not defined. |
| TI-84 Plus CE | ERR:DIVIDE BY 0 | The function divides by zero where the calculator evaluates it, for example at a limit that is an asymptote. | Move the limit away from the asymptote, or split the interval. |
| TI-84 Plus CE | ERR:TOLERANCE NOT MET | The calculator cannot return a result as accurate as the tolerance it uses, for example because the function changes sharply or has an asymptote. | Split the interval, narrow the limits, or check whether the integral is meant to be finite. |
| Casio fx-CG50 | Time Out | No result that meets the accuracy requirement can be found, for example because the function changes sharply or has an asymptote. | Split the interval, narrow the limits, or check whether the integral is meant to be finite. |
| Casio fx-CG50 | Ma ERROR | The result or an intermediate value is outside the calculator's range, or the calculation contains a mathematical error such as division by zero. | Check the function and the limits for division by zero and very large values. |
| TI-Nspire CX | Too few arguments | A command such as nInt( or nSolve( is missing part of what it needs, for example a limit. | Check every part of nInt(function,variable,lower,upper). |
| TI-Nspire CX | Domain error | An argument is outside the domain where the function is defined. | Look at the graph, then split the interval so it avoids the values where the function is not defined. |
Common mistakes
- Quoting a signed value as an area. In the example above the integral is , but the area is . Parts below the axis cancel against parts above.
- Rounded limits. Typing 3 significant figure limits from an intersection can change the last digit of the answer.
- Distance versus displacement. Integrating velocity gives displacement. Total distance needs the absolute value of the velocity.
- No units. Give a unit when the question has one, such as metres or square centimetres.
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 for the integrals.
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
Is fnInt acceptable as working in the IB exam?
Calculator commands such as fnInt( and nInt( are not standard mathematical notation, so write the integral with its limits as well, for example the integral from 0 to 3 of the absolute value of x² − 4, and then give the value the calculator returns. Method marks are normally linked to the integral and its limits, and may be implied by a correct answer, but an answer with no working risks losing them.
Why does my calculator give a negative answer for an area?
A definite integral counts any part of the curve below the x-axis as negative, so those parts cancel against the parts above. For a true area, integrate the absolute value of the function, or find where the curve crosses the axis and add the sizes of each section.
Do I need to write the calculator keystrokes in the exam?
No. Examiners need the integral, its limits and the value, not the key presses. Write the integral in standard notation, then the answer exactly or to 3 significant figures unless the question says otherwise.
Can I give an exact value from my calculator?
Yes, when it is exact. IB papers accept answers given exactly or correct to three significant figures, so a fraction such as 23/3 is fine if it is the exact value. A calculator integral is a numerical result, though, so when a question says show that or find the exact value, the working must be done by hand and the calculator can only check it.
Which IB papers can I use a calculator for?
In AA SL and AA HL, Paper 1 is calculator-free, and Paper 2 (and Paper 3 at HL) allow a calculator. In AI SL and AI HL a calculator is allowed on every paper. Check your syllabus for the current rules.
How are marks awarded for a calculator integral?
Usually one method mark for the integral with its limits, often shown in brackets because a correct answer implies it, and one answer mark for the value.