From average to instant
A secant line cuts a curve at two points. Take the points at and , where is the x-value you care about and is the gap to the second point: the secant's slope is , read aloud: m equals f of a plus h, minus f of a, all over h. It is the slope-of-a-line formula , where and are the two points, with and , so the run is : rise over run, the average rate of change of between the two points. The tangent line touches the curve at alone and has the steepness of the curve right there. Nothing you can compute from two points gives it directly; what you can do is shrink the gap.
For at , , so the secant slope is . Tabulate it as shrinks: gives ; gives ; gives ; gives . The slopes are closing in on , and is the slope of the tangent at . Below, slide the point to , then drag the gap toward 0 and watch the secant slope close in on the tangent's. The read-out gives the tangent's slope at any as ; the next lesson shows where that formula comes from.