I want to prove the following $a \leq \frac{a+b}{2} \leq b$, where we know that $0 \leq a \leq b$. My proof goes as follows.
Suppose $a \leq \frac{a+b}{2} \leq b$, then we know $a \leq \frac{a+b}{2}$ and this implies that $\frac{a}{2} \leq \frac{b}{2}$ and so, since this is true because $ a \leq b$, then it is true that $a \leq \frac{a+b}{2} \leq b$.
Would this be a right approach to do the proof?
Thanks!
You can't suppose $a \leq \frac{a+b}{2} \leq b$ because this what you want to prove.
First proof
First assume that $a\leq b$, then try to prove your inequality (subtract $\frac{a+b}{2}$ from what you want and see what happens).
Second proof
By definition, $$[a,b]=\{at+(1-t)b\mid t\in [0,1]\}.$$ See what happen for $t=\frac{1}{2}$ and conclude.