Let $f : [−1,1] \to \Bbb R$ be a continuous function.
Let $\lambda $ be the Lebesgue measure on $[−1,1]$. Suppose $|\int_A fd\lambda | \le \lambda(A) $ for all measurable sets $A \subset [−1,1]$.
Prove that the range of $f$ is contained in $[−1,1]$.
Consider $f(x);x\in [-1,1]$ To show that $f(x)\in [-1,1]$.
Since $x\in [-1,1]\implies x\in [x-h,x+h]$ for $x>-1$ and $x\in [x,x+h]$ for $x=-1$.
Now $\int _A f =\int _{[x-h,x+h]} f\le h$
But how to show that $f(x)\in [-1,1]$ from here.