Please help me with the following problem. Let $f$ be a differentiable (therefore continuous) on $[0,2]$ so that the three followings are satisfied:
$$\forall x \in [ 0,2 ],\quad \left \lvert f'(x) \right \rvert \leq 1,$$
$$ \left\vert\int_{0}^{2} f(x)dx\right\vert \leq 1.$$
$$ f(0)=f(2)=1$$
Does such function exist?
I think not but I haven't proved it yet.
I have tried Rolle and Langrange theorem, also Taylor formula, they might be useful but I am not there yet. Please help me or suggest some potential idea.
Thank you.