Skip to main content

How to find a numerical derivative and definite integral on the Casio fx-CG50, TI-84 Plus CE and TI-Nspire CX II

On the fx-CG50: MENU → 1 (RUN-MATRIX) … OPTN → F4 (CALC) → F4 (∫dx).On the TI-84 Plus CE: math → 9: fnInt(.On the TI-Nspire CX II: menu → Calculus → Numerical Integral.

The gradient at a point with d/dx and a definite integral with ∫dx, plus areas between curves. Exact keystrokes for the fx-CG50 first, then the other calculators, a worked example you can check your answers against, the mistakes that cost marks, and the same thing in Desmos.

Calculators: Casio fx-CG50 (OS 3.80) · TI-84 Plus CE (OS 5.8.x) · TI-Nspire CX II (OS 6.x). Checked September 2026.

When you need it

AI students use the GDC for most definite integrals (areas, volumes, distance travelled = ∫|v|dt) and for gradients at a point. AA Paper 2 uses it for areas between curves and kinematics. You still write the integral you are evaluating, with its limits.

Practise it: SL AI GDC calculus · SL AI integration · SL AA definite integrals · HL AI kinematics.

Which IB course and paper

CourseGDC papersWhat you use it for
AA SLPaper 2 (Paper 1 is calculator-free)Definite integrals and areas, and distance travelled ∫|v| dt in kinematics.
AA HLPapers 2 and 3 (Paper 1 is calculator-free)As SL, plus volumes of revolution.
AI SLPapers 1 and 2Definite integrals with technology, areas and the gradient at a point.
AI HLPapers 1, 2 and 3As SL, plus volumes of revolution and kinematics.

A GDC is allowed on every AI paper and on AA Papers 2 and 3; AA Paper 1 is calculator-free, so learn the method by hand as well.

Topic notes: Using the CG50 or TI-Nspire for calculus (AI SL) · Integration and area under a curve (AI SL) · Basic differentiation and rates of change (AI SL) · Integration (AA SL) · Kinematics (AA SL) · Integration (AI HL) · Volumes of revolution and improper integrals (AA HL).

Keystrokes on your calculator

Pick your calculator: the page remembers it next time.

Numerical derivative and integral on the Casio fx-CG50

Written for OS 3.80 (menus unchanged from OS 3.60 onwards as far as we can tell). Casio fx-CG50: graphic (GDC).

Casio fx-CG50 key sequence for numerical derivative and integral: MENU → 1 (RUN-MATRIX) … OPTN → F4 (CALC) → F4 (∫dx)
Key sequence, from the steps below.
Watch the key presses on the fx-CG509 presses, one at a time

The walkthrough needs JavaScript. The same key presses are in the numbered steps below.

Watch every key press on YouTube: the fx-CG50 playlist

  1. MENU 1 (RUN-MATRIX).
  2. Derivative at a point: OPTN F4 (CALC) F2 (d/dx). In the template type X² e^(−X) (e^ is SHIFT ln), move to the box after x = and type 1, then EXE.
  3. Definite integral: OPTN F4 (CALC) F4 (∫dx). Type the function, then the lower limit 0 and upper limit 2 in the boxes, then EXE.
  4. Area from the graph instead: in GRAPH, draw Y1, then SHIFT F5 (G-SOLVE) F6 (▷) → ∫dx, move to the lower limit and EXE, then the upper limit and EXE: the region is shaded and its value shown.
Schematic Casio fx-CG50 screen for numerical derivative and integral: the RUN-MATRIX (Math) screen showing d/dx(X²e^(−X))|x=1, 0.3678794412, ∫₀² X²e^(−X)dx, with Solve, d/dx, d²/dx², ∫dx, SolveN, ▷ on the F-keys
Schematic fx-CG50 screen (our drawing, not a photo); the bottom row is what F1–F6 do here.
  • In linear input mode the syntax is d/dx(f(X), 1) and ∫(f(X), 0, 2).
  • For the distance travelled use ∫|v(t)|dt: Abs is in OPTN → NUMERIC → Abs (press F6 (▷) in the OPTN menu to reach NUMERIC).
  • Area between two curves: ∫(Y1 − Y2) between the intersections, with Abs if the curves cross inside the interval. Y1 is typed with VARS F4 (GRAPH) F1 (Y) 1.

For teachers: Show on the board Print a keystroke card Teaching GDC skills

Worked example

f(x) = x²e−x. Find (a) f′(1), (b) ∫₀² f(x) dx. (c) Why does ∫₀^π sin x dx give 0.0861 on some calculators?

Answers (checked with Python)

(a) f′(1) = 0.367879 (exactly e−1). (b) 0.646647 (exactly 2 − 10e−2). (c) The calculator is in degrees: the answer in radians is 2; in degree mode it integrates sin of x degrees and gives 0.0861.

Now try it on an exam-style question

Use the keystrokes above on IB-style integration questions. Free to try, no sign-up.

Try a integration question

Want your scores kept? Join free (no card) · Sign in

Common calculator mistakes

If you get an error

fx-CG50: Ma ERROR

Ma ERROR Casio's Math ERROR: the result is outside the allowable calculation range, or you are trying to do an illegal mathematical operation, such as dividing by zero. Check: A function that is undefined somewhere between the limits, such as ln x or 1/x at x = 0, or a limit typed into the wrong box. Fix: Casio's advice: check your input values and change them so the result is within the allowable range.

TI-84 Plus CE: ERR:DOMAIN, ERR:SYNTAX

ERR:DOMAIN A value given to a function or instruction is outside the values it accepts. In a regression, TI says it means the data do not suit the model you chose. Check: A function that is undefined somewhere between the limits, such as ln x or 1/x at x = 0, or a limit typed into the wrong box. Fix: Change the value that is out of range, or choose a model that suits the data.

ERR:SYNTAX The command contains a syntax error: a misplaced function, argument, bracket or comma. Check: TI points out that subtract − and negative (−) are different keys, and using the wrong one causes this error. Then check the brackets and commas. Fix: Find the misplaced function, argument, bracket or comma and correct it.

TI-Nspire CX II: Domain error, Syntax error

Domain error An argument must be in a specified domain, and this one is not (TI's example: rand(0)). Check: A function that is undefined somewhere between the limits, such as ln x or 1/x at x = 0, or a limit typed into the wrong box. Fix: Change the value that is out of range.

Syntax error The syntax checker found a problem. Check: A missing bracket or comma. Fix: Correct the expression and try again.

Every error message explained, calculator by calculator →

Do it in Desmos

Not in the exam. Desmos is not an approved calculator for IB exams, so never rely on it for Paper 2. It is excellent for learning, checking a GDC answer and building graphs for your Internal Assessment (IA).

  1. Define f(x) = x^2 e^(−x).
  2. Type f′(1) (use the apostrophe for the dash): Desmos evaluates the derivative at 1.
  3. Type the integral with the int template: ∫ from 0 to 2 of f(x) dx. To shade the area, add the inequality 0 ≤ y ≤ f(x) {0 ≤ x ≤ 2}.

Open desmos.com/calculator (free, in any browser) and type:

  • f(x)=x^{2}e^{-x}
  • f'(1)
  • int_{0}^{2}f(x)dx
  • 0≤ y≤ f(x){0≤ x≤2}

Questions

Can I use a calculator for numerical derivative and integral in the exam?

In IB Maths you can use one approved GDC on every AI paper and on AA Papers 2 and 3, in exam mode. AA Paper 1 is calculator-free, so learn the method by hand as well.

What are the fx-CG50 keystrokes for numerical derivative and integral?

MENU 1 (RUN-MATRIX). Then Derivative at a point: OPTN F4 (CALC) F2 (d/dx). In the template type X² e^(−X) (e^ is SHIFT ln), move to the box after x = and type 1, then EXE. Then Definite integral: OPTN F4 (CALC) F4 (∫dx). Type the function, then the lower limit 0 and upper limit 2 in the boxes, then EXE. The full steps and the other calculators are in the keystrokes section above.

Does this work on other calculators?

Yes. This page has keystrokes for the Casio fx-CG50, TI-84 Plus CE and TI-Nspire CX II. The worked example has the same answers on every model, so use it to check.

What should I write as working?

Write the maths, not the key presses: say what you are finding in normal notation (the equation, the probability statement or the integral), then the calculator's answer exact or to 3 significant figures unless the question says otherwise. Keep full accuracy in later parts.

More calculator skills

Sources

Menu names are taken from each manufacturer's manual for the models shown. Menus can move slightly between OS updates: if a screen looks different on yours, the manual for your version is the reference, and please tell us so we can update this page. A calculator with no tab here has no checked steps for this skill yet. Worked-example answers were recomputed independently in Python.