In a Finnish matriculation examination was the following problem
Let $a_1,a_2,\ldots,a_n$ be reals. For what value the parameter $x$ should be given if one wants to minimize the value of the sum $(x-a_1)^2+\cdots + (x-a_n)^2$. This can be compute easily using derivatives but is there an alternative proof which does not use calculus?
Yes, it can be done without calculus. Just expand and write it as a square like this: $$\sum_{k=1}^n(x-a_k)^2\!=\!nx^2-2x\sum_{k=1}^na_k+\sum_{k=1}^na_k^2\!=\!n\left(x^2-\frac2n\sum_{k=1}^na_k+C\right)\!=\!n\left(x-\frac1n\sum_{k=1}^na_k\right)^2+D$$ where $C$ and $D$ are appropriate constants. You can see the minimum is $\displaystyle\frac{a_1+\ldots+a_n}n$.