Derivatives and Their Approximation

Background

The derivative of a function [Graphics:Images/derivatives.msp_gr_1.gif], [Graphics:Images/derivatives.msp_gr_2.gif] is defined by

[Graphics:Images/derivatives.msp_gr_3.gif]
where this limit exists. An examination of the graphs of [Graphics:Images/derivatives.msp_gr_4.gif][Graphics:Images/derivatives.msp_gr_5.gif] for small nonzero values of h reveals some important relationships between a function and its derivative. It also shows that in many cases, the value of h doesn't have to be all that small before [Graphics:Images/derivatives.msp_gr_6.gif]closely approximates [Graphics:Images/derivatives.msp_gr_7.gif].

Instructions Tips

  1. Enter the function, using independent variable x:
  2. Enter the left and right endpoints of the interval you would like view. If the right endpoint isn't greater than the left, you will get [left,left+1].
    left: right:
  3. Enter a nonzero value for h:
    To suppress the approximate derivative, enter 0.
  4. Select an "Aspect Ratio." You will usually get the nicest graphs when you select "1/GoldenRatio." If you select "Automatic" a uniform scale will have the physical slopes of tangent lines match the derivative.
    1/GoldenRatio Automatic

Created by webMathematica

Ken Levasseur
Mathematical Sciences
UMass Lowell
Kenneth_Levasseur@uml.edu
Ken's WebMathematica Scripts

Tips on using this script

  1. You can enter any numeric function using Mathematica notation in Step 1 of the instructions - see examples below
  2. Some functions like the absolute value function, Abs[x], have a derivative that is non-numeric -- D[Abs[x],x] evaluates to Abs'[x]. In these cases, no derivative is plotted.
  3. You can enter valid numeric expressions using Mathematica syntax for the endpoints in Step 2, including expressions like 10^2, 5!, Sqrt[2], E, or Sum[3^k,{k,0,4}]
  4. If you don't want to see the approximate derivative, enter zero for the value of h in Step 3.
  5. Some interesting examples for Step 1
Top of this page