Applet: Ordinary derivative by limit definition

A function $g(x)$ is plotted with a thick green curve. The point $(a,g(a))$ (i.e., the point on the curve with $x=a$) is plotted as a large black point, which you can change with your mouse. The smaller red point shows the point on the curve with $x=a+h$, where you can change $h$ by dragging the blue point on the slider with your mouse. The blue line through the black and red points has slope given by \begin{align} \frac{g(a+h)-g(a)}{h}. \end{align}
Can you see why this is true? Since the height of the red point is $g(a+h)$ and the height of the black point is $g(a)$, the “rise” is $g(a+h)-g(a)$. The “run” between the points is $h$. So, rise over run is given by the above equation.
As you decrease $h$ toward zero, this slope of the blue line approaches the derivative $g'(a)$, as the above expression in this limit is exactly the limit definition of the derivative \begin{align} g'(a) = \lim_{h \to 0}\frac{g(a+h)-g(a)}{h}. \end{align}
Applet file: ordderiv.m
General information about LiveGraphics3D applets
This applet was created using LiveGraphics3D. To manipulate it, you can
- click and drag to rotate in any direction,
- shift + click and drag up/down to zoom out/in,
- shift + click and drag left/right to rotate around an axis coming out of the screen, and
- press Home to reset to the original view.
Most of the LiveGraphics3D applets have parameters that you can change. In general, you can click and drag points or balls around to change the parameters.
Since these applets use Java, you must have Java installed and properly configured in your browser for the them to display. You can get Java here. If you have trouble getting them to display in your browser, you can visit the LiveGraphics3D troubleshooting page for information on how to get the Java applets to work.
On occasion, even when Java is configured correctly, the Java applets don't load the first time and one instead sees an error message. You can wait a few moments to see if the applet will eventually load itself anyway. You can also reload the page to see if the applet will properly load. Sometimes, one needs to do this multiple times.
