TITLE: Why is the inverse of an average of numbers not the same as the average of the inverse of those same numbers?
QUESTION [18 upvotes]: I have a set of numbers (in my case: mean retention time (MRT) in the stomach (h)) of which I want to calculate the average gastric passage rate (/h). Gastric passage rate = 1/MRT.
My question is why 'the average of the calculated gastric passage rates of those numbers' is not the same as 'the calculated gastric passage rate of the averaged MRTs'. The next question is: what is the right way?
So for example:
$x = 5; 10; 4; 2.$ Average $= 5.25 h \Rightarrow 1/5.25 = 0.19$/h
$1/x = 0.2; 0.1; 0.25; 0.5.$ Average $= 0.26$/h
So should I first take the average of the MRTs and then take the inverse for calculating the gastric passage rate (first way) or should I first take the inverse of all numbers for calculating the gastric passage rates and then take the average of that number (second way). 
Thanks in advance!

REPLY [3 votes]: You already got many answers why it doesn't work for a "normal" arithmetic average.
In fact there exists a type of average for which this is true.
It would be the same if you were using a geometric mean instead of an arithmetic mean.
In that case, the algebra becomes:
$$\sqrt[N]{\prod_1^N a_i} = \sqrt[N]{a_1\cdots a_N} = a_1^{1/N}\cdots {a_N}^{1/N} = \\\frac{1}{{a_1}^{-1/N}\cdots {a_N}^{-1/N}} = \frac{1}{\displaystyle\sqrt[N]{\prod_1^N {a_i}^{-1}}} = \frac{1}{\displaystyle\sqrt[N]{\prod_1^N \frac 1{a_i}}}$$