Algebra · Lesson 7 of 8

Numerical Derivatives on a TI-84

Quick answer: Press MATH 8 to paste nDeriv(, then type nDeriv(X²,X,3) and press ENTER to get 6 — the slope of y = x² at x = 3. On a graph, CALC 6:dy/dx gives the slope at a traced point. These are numerical estimates, not symbolic derivatives, and can be wrong at corners or breaks.

Checked for: TI-84 Plus (TI guidebook); TI-84 Plus CE and CE Python (OS 5.7 guide) Model notes

The parabola y = x² with the tangent line at (3, 9) and a slope triangle showing a slope of 6.

The derivative of a function at a point is the slope of its tangent line there. The TI-84 cannot differentiate symbolically, but it can estimate the slope at a specific x-value very accurately for smooth functions.

The worked example

For f(x) = x², the derivative is f′(x) = 2x, so at x = 3 the slope is 6. The tangent line at (3, 9) is y = 6x − 9.

The parabola y = x² with the point (3, 9) marked and the tangent line y = 6x − 9 touching it there, with a slope triangle showing a rise of 6 for a run of 1.
Tangent to y = x² at (3, 9), slope 6. Both curve and line are plotted from their equations.

Home screen: nDeriv(

  1. Press MATH 8 to paste nDeriv(.
  2. On the TI-84 Plus (Classic entry) type the arguments: nDeriv(X²,X,3) — expression, variable, value — and press ENTER.
  3. Result: 6.

On the CE in MathPrint mode, MATH 8 pastes a d/dx template with boxes for the variable, the value and the expression; fill them in and press ENTER.

The TI-84 Plus guidebook gives an optional fourth argument, ε (the step size), used in the estimate. Most users leave the default.

Graph screen: CALC dy/dx

  1. Graph Y1=X².
  2. Press 2nd TRACE (CALC) and choose 6:dy/dx.
  3. Type 3 and press ENTER. The screen shows dy/dx=6 (or a value extremely close to 6).

How the estimate works

nDeriv uses a symmetric difference quotient: it evaluates the function a small step ε on each side of x and divides the change by 2ε:

f′(x) ≈ [f(x + ε) − f(x − ε)] / (2ε).

For x² this is exact, because [(3 + ε)² − (3 − ε)²]/(2ε) = 12ε/(2ε) = 6. For other functions it is very close but not exact. With ε = 0.001, the estimate for x³ at x = 2 is 12.000001, while the true derivative is 12.

When numerical derivatives mislead

Corners and breaks The symmetric difference can return a confident number where no derivative exists.
  • Corners: y = |x| has no derivative at x = 0, but the symmetric difference gives (|ε| − |−ε|)/(2ε) = 0, so nDeriv(abs(X),X,0) returns 0.
  • Discontinuities: at a jump or asymptote, such as 1/x at x = 0, the estimate is meaningless or produces an error.
  • Very steep or rapidly oscillating functions: the default step may be too coarse.

Always ask whether the function is smooth at the point before trusting a numerical slope.

Uses in a course

  • Checking a derivative you found by hand: if you claim f′(x) = 2x, compare nDeriv at a few x-values with 2x.
  • Finding where a slope is zero: graph Y2=nDeriv(Y1,X,X) (the derivative function) and find its zeros. This can be slow because every point needs two function evaluations.
  • Tangent lines: the slope from nDeriv plus the point gives y − y₁ = m(x − x₁).

Common mistakes

  • Using the derivative for exact answers. It is a numerical estimate; state results to sensible precision.
  • Wrong argument order on the Plus. It is (expression, variable, value).
  • Ignoring corners. A value of 0 at a sharp point is a numerical artifact.

Practice

Our independent graphing calculator does not have a derivative command. You can still estimate a slope there by evaluating f(3.001) and f(2.999) and dividing their difference by 0.002 — exactly the method described above.

Sources

How this guide was made: written by Paul B. Spicer with AI drafting assistance, following our editorial policy. Key sequences and menu names were checked against the Texas Instruments documents listed above; numeric examples are recomputed by automated tests. Diagrams are original illustrations, not screenshots. TI84 Calculator Guide is independently operated and is not affiliated with, sponsored by or endorsed by Texas Instruments. TI-84 Plus, TI-84 Plus CE and related names are used only to describe the calculators our guides cover. Found a mistake? Send a correction.

The parabola y = (x − 1)² + 2 with bounds at x = 0 and x = 2 around its lowest point, labelled Minimum (1, 2).
Graphing

Find a Minimum or Maximum on a TI-84 Graph

Find the turning point of y = (x − 1)² + 2 at (1, 2) with CALC minimum, and learn the difference between a local, window and global extreme value.

2 min readTI-84 Plus (TI guidebook)
The Y= entry Y1 = X² − 4 beside its parabola in the standard window, with roots at −2 and 2 and vertex (0, −4) marked.
Graphing

How to Graph Functions on a TI-84

The complete Y= to GRAPH workflow: clear conflicting equations and stat plots, enter y = x² − 4, set a standard window, then trace roots and the vertex.

3 min readTI-84 Plus (TI guidebook)