Second Derivative & Inflection
The first derivative tells you where a function rises and falls, but which way the curve itself bends is the job of the second derivative f″. Wherever f″ is positive the graph is concave up like a cup (∪), and wherever it is negative it is concave down like a cap (∩). The exact spot where this bending flips over is the inflection point, so a genuine one needs f″=0 together with a real sign change from one side to the other. Move the point slowly along the curve and hunt for the inflection point, where the sign of f″ flips and the color and bending direction turn over together.