Skip to main content
1 of 2

If you use constrained optimization, you do get linear equations. I set $g(x)=||x||^2$. For every $x \in \mathbb{R}^3$, $$\nabla f(x) = \sum_i 2(x \cdot n_i)n_i \text{ and } \nabla g(x) = 2x.$$ You look at (unit) vectors $x$ such that $\nabla f(x) = \lambda \nabla g(x)$ for some real number $\lambda$, namely you look at eigenvectors of the symmetric endomorphism $u$ given by $$u(x) = \sum_i (x \cdot n_i)n_i.$$ Actually, using an orthogonal basis of eigenvectors of $u$, you get that the minimum of $f(x) = x \cdot u(x)$ over all $x \in \mathbb{S}_2$ is achieved when $x$ is an eigenvector associated to the least eigenvalue of $u$.