An algebraic inequality is proved in three ways and a refinement of the mean inequality is derived as a consequence.