Problem

Source: Bulgaria National Olympiad 2023 Problem 5

Tags: algebra, n-variable inequality, inequalities



For every positive integer $n$ determine the least possible value of the expression \[|x_{1}|+|x_{1}-x_{2}|+|x_{1}+x_{2}-x_{3}|+\dots +|x_{1}+x_{2}+\dots +x_{n-1}-x_{n}|\]given that $x_{1}, x_{2}, \dots , x_{n}$ are real numbers satisfying $|x_{1}|+|x_{2}|+\dots+|x_{n}| = 1$.