I am working on a mathematical statistics problem. Here is an intermediate step of my proof, but I am stuck now. My question is if we have $x_1, x_2, x_3, y_1, y_2, y_3$ and all values are positive, the system of nonlinear equations is
\begin{align*} \begin{cases} x_1 + x_2 + x_3 = y_1 + y_2 + y_3 \\ x_1^2 + x_2^2 + x_3^2 = y_1^2 + y_2^2 + y_3^2 \\ x_1^3 + x_2^3+ x_3^3 = y_1^3 + y_2^3 + y_3^3 . \end{cases} \end{align*}
I suspect that the solution should be $x_1 = y_1, x_2 = y_2, x_3 = y_3$ (or other permutation). But I can't find a way to justify my guess. In fact, I want to show that in general if $k=1,2, \cdots, n$, \begin{align*} x_1^k + x_2^k + \cdots + x_n^k = y_1^k + y_2^k + \cdots + y_n^k, \end{align*} then the solution is (my guess) $x_1 = y_1, x_2 = y_2, \cdots ,x_n = y_n$ (or other permutation). Thanks in advance!


