If the derivative of y, dy/dx is the rate of change of y (also known as the slope or gradient)

How can we use the 2nd derivative of y, d2y/dx2 to determine whether the vertex of a quadratic is a maximum or minimum?

Why is this the case?