what is the difference between the first and second derivative?
The first derivative of a curve tells us whether the slope is positive, negative, or horizontal; and the sign (positive or negative) of the second derivative tells us whether the curve is concave up or down. Extrema will be where the slope changes, and Inflection points will be where the concavity changes.