Find the maximum and minimum of this function and state whether they are local or global:
$$f: \mathbb{R} \ni x \mapsto \frac{x}{x^{2}+x+1} \in \mathbb{R}$$
\begin{align*} f'(x)&= \frac{-x^{2}+x}{\left(x^{2}+x+1\right)^{2}}\\ f'(x)&=0 \iff \frac{-x^{2}+x}{\left(x^{2}+x+1\right)^{2}}=0 \iff -x^2+x=0 \iff x(1-x)=0, \end{align*} which gives $x_{1}=0, x_{2}=1$. Here comes the disturbing part, we need to know if these are maximum or minimum and for this we usually used the second derivative. But this would be soo exhausting, I don't even want think of doing it. There must be an easier way and I remember someone here has even recommended me using monotony somehow.
But how can we do this here? Please do tell me, at home I got enough time to use second derivative but surely not in the exam : /
Assume your $f'(x)=0$ at $x=x_0$. Then there are three cases:
In your case:
You can see it in the following figure as well