I know that the function $x \mapsto \frac1x$ is convex when $x \in (0,\infty)$. This can be proven easily by showing that the second derivative is positive. However, I am finding difficulty showing it using the definition of convexity, in other words, for $\alpha \in [0,1]$ and $x_1, x_2 \in \Bbb R^+$, show that:
$$\frac{1}{\alpha x_1 + (1-\alpha) x_2 } \leq \frac{\alpha}{x_1}+\frac{1-\alpha}{x_2}$$ Note that the relation between the harmonic mean and arithmetic mean is just a special case, (take $\alpha = 0.5$).