The derivative of a function gives us the slope of the tangent line at any point, which we can use to find where the function has a maximum or minimum (where the slope is 0).
The derivative of $g(x)$ is given by:
$$g'(x) = 3x^{2} + x - 2$$
Show more…