The question posed is as follows:
Prove that $f: \mathbb{R}^n \to \mathbb{R}$ defined by
$f(x) = \operatorname{min}_{\sigma} \sum_{i=1}^{n-1} |x_{\sigma(i)}-x_{\sigma(i+1)}|,$
where the minimum above is over all permutations of $\{1, \dots, n\}$, is convex.
According to the points alloded in the assignment, this is not supposed to be a difficult question. My question is, what does $x_{\sigma(k)}$ with a permutation as an index signify? Are you permuting the components of the coordinates, does this constitute an indexed set of some sorts, is the notation a common means of expressing that this value comes from an ordered subset of $\mathbb{R}^n$ with certain special properties, or something else entirely?
This is a homework assignment, but in the lectures and corresponding slides i found no examples involving anything analogous, so I assume this is something that you are just supposed to know.
The notation $x_i$ is supposed to refer to the $i$th coordinate of a vector $x \in \mathbb{R}^n$. If you think about it, this makes $i \mapsto x_i$ a function from $\lbrace 1, \ldots, n \rbrace$ to $\mathbb{R}$. For example, $(1, 7, -9)$ corresponds to the function that maps $1$ to $1$, $2$ to $7$, and $3$ to $-9$.
The notation $x_{\sigma(i)}$ is therefore a composition of this function with a permutation $\sigma$. So, $\sigma$ mixes up the indices $1, \ldots, n$ in some order, and $(x_{\sigma(1)}, \ldots, x_{\sigma(n)})$ mixes up the vector $x$ by rearranging the corresponding coordinates.
To solidify this, let's compute this function for the vector I used above: $(1, 7, -9)$. Here, $n = 3$, and there are $3! = 6$ permutations: the identity, two rotation permutations $(1 \, 2 \, 3)$ (i.e. $1 \mapsto 2 \mapsto 3 \mapsto 1$) and $(1 \, 3\, 2)$, as well as three reflection permutations, $(1 \, 2)$, $(2 \, 3)$, and $(1 \, 3)$. Applying these (in the listed order) to this vector, we get:
So, in each of the $6$ cases, we can compute the absolute sum of the difference of consecutive terms, as per the definition of $f$:
So $f(1,7,-9) = 16$. I hope the definition of $f$ is clear now. Good luck with your homework!