Mathwords logoMathwords

Logarithmic Mean — Definition, Formula & Example

The logarithmic mean is a way to average two positive numbers: you divide their difference by the difference of their natural logarithms. The result always lands between the geometric mean and the arithmetic mean of the two numbers.

For positive real numbers aa and bb, L(a,b)=b−aln⁡b−ln⁡aL(a,b)=\frac{b-a}{\ln b-\ln a} when a≠ba\neq b, and L(a,a)=aL(a,a)=a. This value of L(a,a)L(a,a) makes LL continuous, because the quotient approaches aa as b→ab\to a. The mean is symmetric, so L(a,b)=L(b,a)L(a,b)=L(b,a). It also has an integral form, L(a,b)=∫01a1−tbt dtL(a,b)=\int_0^1 a^{1-t}b^{t}\,dt. By the Mean Value Theorem applied to ln⁡x\ln x, L(a,b)L(a,b) is the unique number cc between aa and bb with 1c=ln⁡b−ln⁡ab−a\frac{1}{c}=\frac{\ln b-\ln a}{b-a}. For a≠ba\neq b it satisfies the strict compound inequality ab<L(a,b)<a+b2\sqrt{ab}<L(a,b)<\frac{a+b}{2}.

Key Formula

L(a,b)=b−aln⁡b−ln⁡a(a≠b),L(a,a)=aL(a,b)=\frac{b-a}{\ln b-\ln a}\quad (a\neq b),\qquad L(a,a)=a
Where:
  • a,ba, b = The two positive numbers being averaged
  • ln⁡\ln = The natural logarithm (base e)
  • L(a,b)L(a,b) = The logarithmic mean of a and b

Worked Example

Problem: In a heat exchanger, the temperature difference between the hot and cold fluids is 80°F at one end and 20°F at the other. Find the log mean temperature difference. Then check that it lies between the geometric and arithmetic means of 80 and 20.
Step 1: Find the difference of the two values, with a=20a = 20 and b=80b = 80.
b−a=80−20=60b-a=80-20=60
Step 2: Find the difference of their natural logarithms. The log rule turns it into a single logarithm.
ln⁡80−ln⁡20=ln⁡8020=ln⁡4≈1.3863\ln 80-\ln 20=\ln\frac{80}{20}=\ln 4\approx 1.3863
Step 3: Divide the result of Step 1 by the result of Step 2.
L(20,80)=60ln⁡4≈43.28L(20,80)=\frac{60}{\ln 4}\approx 43.28
Step 4: Compare with the geometric and arithmetic means. The logarithmic mean sits strictly between them, as the inequality predicts.
20⋅80=40<43.28<50=20+802\sqrt{20\cdot 80}=40<43.28<50=\frac{20+80}{2}
Answer: The log mean temperature difference is 60ln⁡4≈43.28∘F\frac{60}{\ln 4}\approx 43.28^\circ\text{F}. This lies between the geometric mean of 40°F and the arithmetic mean of 50°F.

Why It Matters

Mechanical and chemical engineers use the log mean temperature difference to size heat exchangers. The heat transfer rate is computed as Q=UA ΔTlmQ = UA\,\Delta T_{\text{lm}}. Using the arithmetic mean instead would overstate the average temperature difference and undersize the equipment. In economics, the Sato–Vartia price index uses logarithmic means as its weights.

Common Mistakes

Mistake: Writing the denominator as ln⁡(b−a)\ln(b-a) instead of ln⁡b−ln⁡a\ln b-\ln a. For 20 and 80 this gives 60ln⁡60≈14.65\frac{60}{\ln 60}\approx 14.65.
Correction: The denominator is the difference of two logarithms, ln⁡b−ln⁡a=ln⁡ba\ln b-\ln a=\ln\frac{b}{a}. A quick check catches the error: any mean of aa and bb must lie between them. The value 14.65 is below 20, so it cannot be correct.

Related Terms