HarmonicMean

HarmonicMean[list]

gives the harmonic mean of the values in list.

Details

  • For the list {x1,x2,,xn}, the harmonic mean is given by .
  • HarmonicMean handles both numerical and symbolic data.
  • HarmonicMean[{{x1,y1,},{x2,y2,},}] gives {HarmonicMean[{x1,x2,}],HarmonicMean[{y1,y2,}]}.

Examples

open allclose all

Basic Examples  (2)

Harmonic mean of symbolic values:

In[1]:=
Click for copyable input
Out[1]=

Harmonic mean of columns of a matrix:

In[1]:=
Click for copyable input
Out[1]=

Scope  (9)

Generalizations & Extensions  (1)

Applications  (1)

Properties & Relations  (4)

See Also

Mean  HarmonicNumber  GeometricMean  HarmonicMeanFilter  ContraharmonicMean

Tutorials

Introduced in 2007
(6.0)