Say that we know that $$\sum_{i=1}^n x_i = x_1+x_2+...+x_n = 1$$ for some positive integer $n$, with $x_1 \le x_2 \le x_3 \le ... \le x_n$. The values of $x_1$ and $x_n$ are also known. How can the minimum and maximum values of $$\sum_{i=1}^n x_i^2$$ be found?
My attempt:
I found the minimum value by setting all the $x_i$ other than $x_1$ and $x_n$ equal to each other. This means that $(n-2)x_i + x_1 + x_n = 1 \rightarrow x_i = \frac{1-x_1-x_n}{n-2}$. Therefore, $$\sum_{i=1}^n x_i^2 = \frac{(1-x_1-x_n)^2}{n-2}+x_1^2+x_n^2$$
However, I do not know how to find the maximum. The hard part is that $x_1 \le x_i \le x_n$ must be satisfied.
Theorem : Suppose that $\phi:I\subseteq \mathbb{R} \to \mathbb{R}$ is increasing convex function on interval $I$ for $x_1$,$x_2$,$\cdots$,$x_n$ $\in$ $I^{°}$ (where $I^{°}$ is the interior of the interval $I$) and for $p_1$,$p_2$,$\cdots$,$p_n$$\geq 0$ with$P_n=\sum_{i=1}^{n}p_i>0$ if $\sum_{i=1}^{n}p_i\phi'{+}(x_i)>0$, then : $$\frac{1}{P_n}\sum{i=1}^{n}p_i\phi(x_i)\leq\phi\Big(\frac{\sum_{i=1}^{n}p_i\phi'{+}(x_i)x_i}{\sum{i=1}^{n}p_i\phi'_{+}(x_i)}\Big) $$
– Barackouda Sep 06 '19 at 12:22