$|b-a|=|b-c|+|c-a| \implies c\in [a,b]$ We know that if $c\in [a,b]$ we have $|b-a|=|b-c|+|c-a|$. I'm trying to prove that if the norm is induced by an inner product, then the converse holds.
I need a hint or something.
Thanks in advance

I will prove that generally, in an inner product space $(H,\langle,\rangle)$ the equality
$$\Vert a-b\Vert=\Vert a-c\Vert+\Vert c-b\Vert$$
implies $c\in[a,b]$.
Indeed, let $x=b-c$, $y=c-a$, so that the hypothesis becomes $\Vert x+y\Vert=\Vert x\Vert+\Vert y\Vert$. Squaring and simplifying we get
$$
 \langle x,y\rangle=\Vert x\Vert\cdot\Vert y\Vert
$$
So
$$
\left\Vert \Vert y\Vert x-\Vert x\Vert y
\right\Vert^2= 2\Vert x\Vert^2\, \Vert y\Vert^2 -
2\Vert x\Vert\, \Vert y\Vert\langle x,y\rangle=0
$$ 
That is $\Vert y\Vert x-\Vert x\Vert y
 =0$. Going back to $a$, $b$ and $c$ this is equivalent to
$$
c=\lambda a+(1-\lambda) b \quad\hbox{with}\quad
\lambda=\frac{\Vert b-c\Vert}{\Vert a-b\Vert}.
$$
That is $c\in[a,b]$.$\qquad\square$
