Question is essentially, suppose a data set $x_i$ has values between (or equal to) $a$ and $b$, show that the mean lies in the same interval.
Obviously the mean lies inside the range however I'm struggling to 'show' this. Tried a few different routes with considering the summation of $x_i$ for $\bar x$ but not actually got anything valid.
Please help!
If $x_i\le b$ for $i=1,\ldots,n$, then $x_1+\ldots+x_n\le b+\ldots+b = nb$, so $$ \bar x = \frac{x_1+\ldots+x_n}{n}\,\le\,\frac{nb}{n} = b. $$ Can you do the same for the lower bound?