Consider multivariable functions of the form: $$\left(\sum_{i=1}^n a_ix_i\right)^2$$ Can they only have minima points? If so, why?
I tried to plot some functions on Desmos and it looks like my hypothesis is correct, but maybe I'm missing something.
Edit: I removed the first question, as I realized it was too naïve.
In fact