Two positive data sets can have the same arithmetic mean while producing different averages after a logarithm is applied to each entry. For a robot data summary, averaging first and transforming later is therefore a different operation from transforming each record first. A fixed finite example exposes the distinction without assuming any probability distribution or simulating a stream.

Define the finite weighted quantities

Let x1 through xn be strictly positive, dimensionless values. Choose nonnegative weights w1 through wn that sum to one. Define the weighted arithmetic mean A = sum of wi xi, and define L = sum of wi ln(xi). Exponentiating L gives the weighted geometric mean G = exp(L) = product of xi raised to wi.

The entries can be normalized model quantities. If original entries are times, for example, use xi = ti/t_reference before taking logarithms. This specifies a dimensionless argument. A later conversion of A or G back to time units should use the same positive reference.

Boyd and Vandenberghe's convex-optimization material establishes supporting-line and Jensen relations. MathWorld's authored entry gives the concave logarithmic form and equality condition. The finite lists, weights, spread family, and boundary counterexample here are original constructions; they are not measured robot performance records.

Build the tangent bound explicitly

For positive x, ln(x) has derivative 1/x and second derivative -1/x^2, so it is strictly concave. Its tangent at a positive value a lies above its graph: ln(x) <= ln(a)+(x-a)/a. This is a global upper bound for the logarithm, not merely a statement that the tangent is close near a.

Choose the tangent point a = A. Multiply each bound by wi and add. The weighted linear terms cancel because sum of wi(xi-A) = A-A = 0. The result is L <= ln(A). Exponentiation preserves the inequality and gives G <= A.

Strict concavity also identifies equality. Every entry carrying a positive weight must equal A for equality to hold. Entries with zero weight do not affect the result. Thus a list can contain differing unused values while its active, positively weighted part still satisfies equality.

Work a nonuniform-weight example

Choose values [1,4,16] and weights [1/4,1/2,1/4]. The arithmetic mean is 1/4+2+4 = 6.25. The average logarithm is (1/4)ln(1)+(1/2)ln(4)+(1/4)ln(16) = ln(4), approximately 1.386294.

The geometric mean is therefore four, whereas the logarithm of the arithmetic mean is ln(6.25), approximately 1.832581. Their difference is ln(6.25/4) = ln(25/16), approximately 0.446287. Reporting ln(A) in place of L would erase that finite gap.

Now replace all three values with 6.25 while retaining the weights. The arithmetic mean stays 6.25, but G rises to 6.25 and L becomes ln(6.25). This comparison preserves the arithmetic mean and weights while removing all active spread. It does not change sample count or invoke a large-sample approximation.

Change spread without changing the mean

Consider two equally weighted values 5-d and 5+d, with 0 <= d < 5. Their arithmetic mean is always five. Their geometric mean is sqrt((5-d)(5+d)) = sqrt(25-d^2), and their log average is one half ln(25-d^2).

At d = 0, both entries equal five and G = 5. At d = 3, the entries are two and eight, G = 4, and the log gap ln(A)-L = ln(5/4), approximately 0.223144. At d = 4, the entries are one and nine, G = 3, and the gap becomes ln(5/3), approximately 0.510826.

For positive d, differentiating the gap -0.5 ln(1-d^2/25) gives d/(25-d^2), which is positive. The gap increases with d in this particular mean-preserving family. That statement is narrower than claiming that every pair of arbitrary data sets can be ranked by one unnamed notion of spread.

The tangent values can be checked too. At a = 5, the bound for x = 2 is ln(5)-0.6 and for x = 8 is ln(5)+0.6. Their average is ln(5), while the average of the actual logarithms is ln(4). The linear deviations cancel exactly, leaving the concavity gap visible.

Keep the weights and normalization consistent

Multiplying every active xi by a common positive factor c multiplies A and G by c. Both ln(A) and L increase by ln(c), so their difference ln(A/G) stays unchanged. This invariance is useful when checking a change of reference unit or normalization.

Changing the weights is a different operation. They determine both A and the product exponents in G, so mixing an equally weighted arithmetic average with a differently weighted logarithmic average invalidates the comparison. The theorem requires one shared set of normalized nonnegative weights.

For a simple failure outside that domain, take weights [2,-1] and values [2,3]. The weights still sum to one, but one is negative. Then A = 1 and G = exp(2 ln(2)-ln(3)) = 4/3, exceeding A. Normalizing the sum alone is not enough; nonnegativity is essential.

Handle zeros before evaluating logarithms

If an actively weighted value tends toward zero while another keeps A positive, L can tend to minus infinity and G tends to zero. A finite logarithmic average then no longer exists at the zero endpoint. Adding a numerical floor changes the data and must be identified as a modeling choice rather than an algebraic identity.

A zero-weight record can be removed before evaluating the logarithm, avoiding an undefined zero-times-log-zero expression. These boundaries, together with the finite examples, show what a weighted log summary preserves: multiplicative structure under declared weights. It does not reconstruct the full data set, an uncertainty interval, or a universal robot-performance score from the arithmetic mean alone.

Image caption: Concept illustration from the site's research-platform media, showing a small robot beside a laptop. It provides data-analysis context and is not a visualization of these invented lists or evidence of an executed robot evaluation.

Sources checked October 24, 2026:

https://web.stanford.edu/~boyd/cvxbook/bv_cvxslides.pdf

https://mathworld.wolfram.com/JensensInequality.html