The function
changes its sign from negative to positive, then antiderivative of
has a local minimum.
The function
changes its sign from positive to negative, then antiderivative of
has a local maximum.
Observe the graph
.
The function
changes from negative to positive, then the antiderivative of
has a local minimum.
The graph
has a local minimum.
Therefore the antiderivative of
is graph
.
The antiderivative of
is graph
.