Identric Mean Calculator
Means
- The identric mean of a and b is I(a, b) = (1 / e) x (b^b / a^a)^(1 / (b - a)), computed stably in log space as exp((b ln b - a ln a) / (b - a) - 1).
- For a = 1 and b = 2 the exponent works out to give I = 1.4715.
- The neighbours bracket it exactly as theory requires: geometric 1.4142 < logarithmic 1.4427 < identric 1.4715 < arithmetic 1.5000.
- The identric mean is the exponential of the average of ln x over the interval - it is the continuous-average twin of the logarithmic mean, which averages x itself against 1 / x weighting.
The identric mean is the least familiar of the classical means, and the one with the most surprising address: it lives strictly between the logarithmic mean and the arithmetic mean, in the chain harmonic < geometric < logarithmic < identric < arithmetic. For the numbers 1 and 2 the top of the chain reads: geometric 1.4142 < logarithmic 1.4427 < identric 1.4715 < arithmetic 1.5000.
Its formula, I(a, b) = (1 / e) x (b^b / a^a)^(1 / (b - a)), looks forbidding, but it has a clean meaning: the identric mean is the exponential of the average of the natural logarithm over the interval from a to b. Where the logarithmic mean averages the numbers themselves against a reciprocal weighting, the identric mean averages their logarithms - it is the continuous geometric heart of the interval.
This identric mean calculator evaluates the formula in log space, as exp((b ln b - a ln a) / (b - a) - 1), which stays accurate when a and b are close, and reports the geometric, logarithmic and arithmetic neighbours so the ordering can be verified on every computation. For 1 and 2 the answer, 1.4715, is exactly 4 / e.
Worked examples
Identric mean of 1 and 2
(1 · 2)
| identric mean of 1 and 2 | 1.4715 |
| geometric mean | 1.4142 |
| logarithmic mean | 1.4427 |
| arithmetic mean | 1.5000 |
Identric mean of 2 and 5
(2 · 5)
| identric mean of 2 and 5 | 3.3882 |
| geometric mean | 3.1623 |
| logarithmic mean | 3.2741 |
| arithmetic mean | 3.5000 |
Equal inputs 4 and 4
(4 · 4)
| identric mean of 4 and 4 | 4.0000 |
| geometric mean | 4.0000 |
| logarithmic mean | 4.0000 |
| arithmetic mean | 4.0000 |
The formula and the log-space form
Directly, I(a, b) = (1 / e) x (b^b / a^a)^(1 / (b - a)). The powers b^b and a^a overflow quickly and cancel badly, so the calculator uses the equivalent form exp((b ln b - a ln a) / (b - a) - 1): one logarithm per input, one subtraction, one exponential. The two forms are algebraically identical - take logs of the direct form and the equivalence is immediate.
For a = 1 and b = 2: the exponent is (2 ln 2 - 1 ln 1) / (2 - 1) - 1 = 2 ln 2 - 1, and exp(2 ln 2 - 1) = 4 / e = 1.4715. This little closed form is a useful anchor: the identric mean of 1 and 2 is one of the few means with an exact constant expression.
- I(a, b) = (1 / e) x (b^b / a^a)^(1 / (b - a))
- Stable form: exp((b ln b - a ln a) / (b - a) - 1)
- I(1, 2) = 4 / e = 1.4715
Where it sits among the means
The classical means of two positive numbers form a strict chain when the numbers differ: harmonic < geometric < logarithmic < identric < arithmetic. The calculator displays three of the neighbours so the chain can be checked rather than trusted. For 1 and 2: geometric 1.4142, logarithmic 1.4427, identric 1.4715, arithmetic 1.5000 - evenly spaced-looking, strictly increasing, exactly as the theorem requires.
For 2 and 5 the chain reads geometric 3.1623 < logarithmic 3.2741 < identric 3.3882 < arithmetic 3.5000. Note the pattern: the identric mean sits a little above the midpoint of the logarithmic-arithmetic gap in the first case and a little below it in the second - its position inside the interval is not fixed, only its containment is.
- Chain: H < G < L < I < A
- 1 and 2: 1.4142 < 1.4427 < 1.4715 < 1.5000
- 2 and 5: 3.1623 < 3.2741 < 3.3882 < 3.5000
Twin of the logarithmic mean
The logarithmic and identric means are a matched pair. The logarithmic mean is the average of x over the interval when the averaging is weighted by 1 / x - equivalently, it is the number L with (b - a) / L = ln b - ln a. The identric mean is what happens when you average ln x uniformly over the interval and exponentiate back. One averages the values against reciprocal weights; the other averages the logarithms outright.
This is why the identric mean exceeds the logarithmic mean but by a modest margin: exponentiating an average of logs gives a geometric-flavoured result, and the identric mean is best understood as the geometric mean of the whole continuum of points between a and b, rather than of the two endpoints alone. The endpoint geometric mean, sqrt(a b), is smaller - 1.4142 against 1.4715 for 1 and 2 - because it ignores everything between the endpoints.
- Logarithmic: average of x with 1 / x weighting
- Identric: exponential of the average of ln x
- A continuum geometric mean, not just of the endpoints
Equal inputs and limiting behaviour
When a = b the formula has a removable singularity - the exponent divides by b - a - and the value is defined by continuity: I(a, a) = a. The calculator handles this case directly: I(4, 4) = 4, and the geometric, logarithmic and arithmetic means all agree at 4.0000. Every mean of two equal numbers is that number; the identric mean is no exception.
Near-equal inputs are the numerically interesting case. As b approaches a, the identric mean approaches a smoothly, and the log-space form stays stable where the direct power form would lose digits to cancellation. If you experiment with a = 4 and b very close to 4, the answer hugs 4 from either side, as it should.
- I(a, a) = a by continuity
- I(4, 4) = 4, all neighbours 4.0000
- Log-space form is stable for close inputs
A short history
The identric mean belongs to the family of means systematised in the twentieth century's work on mean-value inequalities - the same literature that ordered the classical chain and connected the logarithmic and identric means to the integral averages they secretly are. The name 'identric' reflects its definition through an identity involving the exponential function rather than through a power or a ratio.
Its main modern habitats are analysis (where it appears in refinements of the arithmetic-geometric inequality) and the theory of special functions, where it is the exponential of a logarithmic integral average. It rarely appears in school mathematics, which is a pity: it is the natural answer to 'what is the average of a quantity that grows exponentially across an interval?'
- Part of the classical chain of means
- Appears in refinements of AM-GM
- The average for exponentially varying quantities
Identric versus the other means on this site
CalcForge carries the whole neighbourhood: the geometric mean, the logarithmic mean (filed with the physics means, where it serves heat-exchanger work), the Lehmer family that interpolates the power-flavoured means, and the arithmetic-geometric mean of Gauss. The identric mean is the missing rung that completes the strict chain H < G < L < I < A, and its page exists so the chain can be verified numerically, rung by rung, on any pair of inputs.
A good exercise: compute all five means of 2 and 5 across the linked pages and watch the chain hold - 3.1623 (geometric), 3.2741 (logarithmic), 3.3882 (identric), 3.5000 (arithmetic), with the harmonic below them all. Five pages, one theorem, zero exceptions.
- Completes the chain H < G < L < I < A
- Cross-checkable against the geometric and Lehmer pages
- Chain verified on 2 and 5
Computing it well
The identric mean is a small lesson in numerical hygiene. The defining formula raises each input to its own power - b^b and a^a - which for inputs in the hundreds already overflows double-precision arithmetic, and then divides two enormous, nearly equal quantities. The log-space form exp((b ln b - a ln a) / (b - a) - 1) performs the same mathematics with quantities of moderate size throughout: logarithms compress the powers, the subtraction happens before any exponential is taken, and a single exp at the end restores the scale.
The remaining hazard is cancellation when a and b are very close: b ln b - a ln a is then a small difference of larger numbers. For the ranges this calculator serves, the direct log-space evaluation keeps four correct decimals comfortably - as the anchor values show: 1.4715 for (1, 2), 3.3882 for (2, 5), and exactly 4 for (4, 4) via the continuity rule. When the two inputs coincide, no formula is evaluated at all; the answer is the input, which is the mathematically correct limit and the only fully stable 'computation' of it.
- Powers overflow; logarithms do not
- Close inputs: watch cancellation
- Equal inputs: continuity rule, no formula
Using the calculator
Enter any two positive numbers. The answer is the identric mean to four decimals, with the geometric, logarithmic and arithmetic means beside it. Equal inputs are handled by the continuity rule. Results are exact to the digits shown: the log-space evaluation avoids the overflow and cancellation of the naive power form.
If you only remember one value, remember I(1, 2) = 4 / e = 1.4715 - the rare case where a mean of two small integers is a named constant in disguise.
- Four-decimal output with three neighbour means
- Equal inputs supported
- Log-space evaluation throughout
FAQs
What is the identric mean of 1 and 2?
1.4715 - it is exactly 4 / e. The neighbours are geometric 1.4142, logarithmic 1.4427 and arithmetic 1.5000.
What is the identric mean formula?
I(a, b) = (1 / e) x (b^b / a^a)^(1 / (b - a)), computed stably as exp((b ln b - a ln a) / (b - a) - 1).
Is the identric mean bigger than the logarithmic mean?
Yes, always (for distinct positive inputs). For 2 and 5: logarithmic 3.2741 < identric 3.3882 < arithmetic 3.5000.
What is the identric mean of 2 and 5?
3.3882, between the logarithmic mean 3.2741 and the arithmetic mean 3.5000.
What is the identric mean of equal numbers?
The number itself, by continuity: I(4, 4) = 4, and all the classical means agree there.
How does the identric mean compare with the geometric mean?
It is always larger for distinct inputs: for 1 and 2, geometric is 1.4142 against identric 1.4715, because the identric mean averages the whole continuum between the endpoints, not just the endpoints.