Copy of Differential calculus - first principles
Introduction to Differential Calculus - First principles
If you move Point B towards Point A you can see that the gradient of the secant line approaches the gradient of the tangent line at Point A.
Therefore the gradient of the function at Point ! is given by the limit of the gradient of the secant line when the distance between A and B tends to 0.