I'm having trouble with this:
Use induction to show that $f(x) = \sum\limits_{i=1}^nr_i(x-x_i)^2$ is convex on $\mathbb{R}$ where $\{r_1, \dots, r_n\}$ are positive numbers and $\{x_1, \dots, x_n\}$ are fixed points.
I really don't know where to start or go, any help is appreciated.