Prove/Disprove:
Let $f:[0,\infty )\to \Bbb R$ be a continuous function with $\lim_{x\to \infty }f(x)=0$.
Then $f$ has a maximum in $[0,\infty )$.
$\lim_{x\to \infty }f(x)=0\implies |f(x)|<1\forall x>G$ for $G$ large.
Now $f$ is continuous on $[0,G]$ hence is bounded therein i.e. $|f(x)| Take $A=\max\{M,1\}$;then $|f(x)|
Hence true.But the answer given is that the statement is false. Where am I wrong?Please help.