How to prove $\sup(f(x)^2) = (\sup(f(x)))^2$

274 Views Asked by At

I started the proof with this:

$$\sup(f(x)^2) = \sup(f(x)*f(x)) = \sup(f(x)) * \sup(f(x) = (\sup(f(x)))^2$$

But it doesn't feel right. Any ideas or comments?

1

There are 1 best solutions below

2
On

Let $f:[-10,1] \to \mathbb{R}$ such that $f(x)=x$. Then $sup(f(x)^2)=100$ and $(sup(f(x)))^2=1$. They are not equal.