Let f(x) be a real-valued function. Then the secant line to the graph of f(x) on the closed interval [a, b] is the line through (a, f(a)) and (b, f(b)), which has slope: m = (f(b) - f(a))/(b - a) The slope m is called the average rate of change of f(x) from a to b.