# and if you draw the graph you’ll see that the max/min value occurs at a turning point, where the gradient = 0