$$\sup |f(x)| -\inf |f(x)| \ge \sup f(x) -\inf f(x).$$
How can you show that it is indeed true?Sup is the lowest upper bound and inf is the greatest. lower bound
$$\sup |f(x)| -\inf |f(x)| \ge \sup f(x) -\inf f(x).$$
How can you show that it is indeed true?Sup is the lowest upper bound and inf is the greatest. lower bound
Take $f(x)=\left\{ \begin{array}{ll} 1, & \hbox{if $x\geq 0$;} \\ -1, & \hbox{if $x<0$.} \end{array} \right.$ Then $\sup |f(x)|=\inf |f(x)|=1$ and $\sup f(x)=1$ and $\inf f(x)=-1$. This shows that your inequality is not true in general.
We have $\sup |f(x)| \geq \sup f(x)$ since $|f(x)| \geq f(x)$ for all $x$.
But then the overall inequality does not hold since $\inf|f(x)|$ is larger than (or equal to) $\inf f(x)$ since for example $|f(x)|$ is always $\geq 0$ whereas $\inf f(x)$ might be negative.