Applications of Derivatives
Derivatives are a tool for spotting where a function rises, where it falls, and where it turns around. Where the slope hits zero sits a candidate for a peak or a valley, and the second derivative tells the two apart. The same idea drives optimization: finding the largest or smallest value of something like an area or a cost. Drag the coefficient a to watch the extrema shift, then change the width to see when the rectangle's area peaks.