Suppose $ f : \mathbb R\to\mathbb R$ is differentiable two times (so both $f$ and $f′$ are differentiable on $\mathbb R$ ) and $f′′(x)$ > 0 for all $x ∈ \mathbb R$.
Show that for any $y ∈ \mathbb R$ there exist at most two distinct values $x_1,x_2 ∈ \mathbb R$ such that $f(x_1) = f(x_2) = y$
I believe you have to use MVT/Rolle's Theorem to try and obtain a contradiction somewhere but I am struggling to figure out how. Help would be very much appreciated.
Suppose that there are $x_1< x_2< x_3\in\mathbb{R}$ such that $f(x_1)=f(x_2)=f(x_3) = y$.
By Rolle's Theorem, there are $a\in(x_1, x_2)$ and $b\in(x_2, x_3)$ with $f'(a)=f'(b)=0$
So, by Rolle's Theorem again, there is $c\in(a,b)$ such that $f''(c)=0$. Contradiction!
Therefore there exists at most two values such image is $y$.