Skip to main content

How to find a numerical derivative and definite integral on the Casio fx-CG50

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 · SL AI kinematics.

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).

  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.
RUN-MATRIX (Math)d/dx(X²e^(−X))|x=10.3678794412∫₀² X²e^(−X)dx0.6466471676Solved/dxd²/dx²∫dxSolveN▷
Schematic fx-CG50 screen (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.

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.

Common calculator mistakes

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}.

The interactive graph loads here when you scroll to it.

Or open desmos.com/calculator and type:

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

More calculator skills

Sources

Menu names are taken from each manufacturer's manual for the OS versions 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. Worked-example answers were recomputed independently in Python.