This graph shows how we can make an approximation to the graph of a function using a piecewise function where each piece is a secant line. For this piecewise function — since lines are easy to deal with — we can compute the piecewise derivative and see how this compares with the graph of the true derivative.