Assume that $\phi:[0,1]\to[0,1]$ is a continuous map which is not identically equal to 1. Then prove that:
$$\int_0^1 \phi(s)ds<1.$$ My attempt. $0\le \phi\le 1$ I directly get
$$\int_0^1 \phi(s)ds \le 1.$$ But the inequality is large rather than strict inequality. How can I prove it with the strict ineqaulaity?
Take a point $x_0$ where $f(x_0) \neq 1$. Since $f$ is continuous, there is a small enough neighborhood of $x_0$, $[x_0 - \frac{\delta}{2}, x_0 +\frac{\delta}{2}]$ where $f \neq 1$ on that neighborhood. This $f$ has a max, $C <1$, on that interval since it's compact. Thus $$\int_{0}^{1} \phi(s) ds \leq (1-\delta) + C\delta < 1$$