We need to find a unit vector $\mathbf{v} = (x_1, x_2, \dots, x_n)$ in $\mathbb{R}^n$ such that the sum of its components, $x_1 + x_2 + \dots + x_n$, is maximized, subject to the constraint that $\|\mathbf{v}\| = 1$. This constraint implies that $x_1^2 + x_2^2 +
Show more…