The derivative function and the tangent to the curve
In the applet below, a function f is shown (black). You can enter in any function you like. Its derivative function, f', is shown in gray. As you move the slider, you will see a visual explanation of the relationship between the derivative and the gradient of the tangent for a value of x. You can also move the tangent along the curve by moving the large white dot.