How does a TI-84 calculate the derivative at a point?

  • Context: High School 
  • Thread starter Thread starter epicfailguy
  • Start date Start date
  • Tags Tags
    Derivative Point Ti-84
Click For Summary

Discussion Overview

The discussion centers on how a TI-84 calculator computes the derivative at a specific point, exploring numerical methods and potential limitations of these approaches. Participants examine various techniques, including the use of small intervals and series expansions, to understand the underlying mechanisms of derivative calculation.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant notes that the TI-84 may interpret very small values, such as 10^-15, as zero and suggests using an interval of x and x+10^-14 for approximation.
  • Another participant argues that using such small intervals could lead to a loss of significant digits and proposes that numerical derivatives could be better evaluated using extrapolation or series techniques, specifically mentioning the Taylor expansion.
  • A different viewpoint is presented, stating that most graphing calculators, including the TI-84, compute derivatives using the symmetric difference quotient with a small difference value, such as 0.001.

Areas of Agreement / Disagreement

Participants express differing opinions on the best method for calculating derivatives numerically, with no consensus reached on the most effective approach. The discussion remains unresolved regarding the optimal technique for derivative approximation.

Contextual Notes

Participants highlight limitations related to significant digits and the choice of step size in numerical methods, indicating that smaller values may lead to inaccuracies. The discussion also reflects dependence on the definitions and methods used in numerical differentiation.

epicfailguy
Messages
1
Reaction score
0
Google has failed me. Any responses are greatly appreciated.
 
Mathematics news on Phys.org
I don't have it with me right now but I think it reads 10^-15 as zero, so the easiest way would be approximate it with the interval x,x+10^-14 where x is the point. It is optional in the nDeriv function to state an interval but if you don't input one I can only assume it takes the smallest number it has.
 
You would lose a lot of significant digits if you do it that way. I think that if derivatives have to be evaluated numerically, then you would be better off using some extraplation orseries technique. E.g. you can write the Taylor expansion of a function formally as:

f(x+t) = exp(t d/dx) f(x)

The symmetric difference with step t is thus given by:

Delta_t f(x) = [exp(t d/dx) - exp(-td/dx)]/2 f(x) = sinh(t d/dx) f(x)

So, this means that formally we can express the derivative operator in terms of the finite symmetric difference operator as:

d/dx = 1/t arcsinh(Delta_t) = 1/t [Delta_t - 1/6 Delta_t^3 + ...]

So, to comnpute the derivative at a point, all you need to do is to repeatedly apply the symmteric finite difference operator with some stepsize t. The smaler you take t, the faster te series converges, but then you lose significant digits. So, you should take t not too small and a few terms of the series.
 
Most graphing calculators compute a derivative by taking the symmetric difference quotient with the value of the difference being a small number close to zero such as .001.

Ref: Calculus: Graphical, Numerical, Algerbraic, by Ross Finney et. al. p. 111.
 

Similar threads

Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
14K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 2 ·
Replies
2
Views
22K
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 12 ·
Replies
12
Views
4K
  • · Replies 36 ·
2
Replies
36
Views
64K
Replies
1
Views
2K