Skip to content

ArithmeticGeometricMean

Arithmetic-geometric mean of two numbers.

$ wo 'ArithmeticGeometricMean[0, 5]'
0

Machine-real arguments are evaluated numerically:

$ wo 'ArithmeticGeometricMean[1.8, 1.2]'
1.4848082617417828

Being Orderless, it canonicalizes the order of symbolic arguments:

$ wo 'ArithmeticGeometricMean[24, 6]'
ArithmeticGeometricMean[6, 24]

Arguments that are negatives of each other collapse the sequence to zero:

$ wo 'ArithmeticGeometricMean[x, -x]'
0