Geometric mean Created 2026-10-07 Updated 2026-10-13
The geometric mean replaces a list of nonnegative real numbers by one repeated value that preserves their product of numbers. For inputs,For two positive inputs, is their positive square root. The geometric mean of and is three: replacing by retains the same product. In contrast, their arithmetic mean five retains the sum . The geometric mean is zero if any input is zero; the logarithm formula below requires every input to be positive. [ref]
https://dlmf.nist.gov/1.2.iv. NIST Digital Library of Mathematical Functions, §1.2(iv), equation 1.2.18: geometric mean
.Its usefulness becomes immediate for successive growth factors. Suppose a hypothetical positive quantity starts at , is multiplied by , then by . It goes , so the geometric mean factor is : a constant factor of one for both steps gives the same endpoint. The arithmetic mean factor is ; repeating it would give , a different endpoint. A mean of factors summarizes multiplicative change; subtracting one afterwards gives the equivalent change per step. Equal-duration steps are necessary to interpret this as change per common time interval.
For positive inputs, logarithms turn multiplication into addition, soThus the geometric mean is an arithmetic mean in logarithmic coordinates, followed by the exponential function. For positive measurements with a common unit, one can use dimensionless ratios to a fixed reference : . Changing the common unit rescales by the same factor as the inputs. As a check, doubling one input and halving another retains while usually changing the arithmetic mean.
The geometric mean preserves multiplicative endpoints and sits between the harmonic mean and arithmetic mean
. Left: the original toy factors and return a quantity to its starting value; repeating their arithmetic mean would produce a larger endpoint. Right: the dimensionless inputs and keep product one while , , and separate as the inputs become less equal. Lines joining time steps are guides, not a continuous growth model. Details.The arithmetic-geometric mean inequality gives . Apply that same inequality to the multiplicative inverses to obtain , where is the harmonic mean. Consequentlyfor positive inputs, with equality throughout exactly when all inputs agree. For and , the three values are , , and . They preserve, respectively, the sum of inverses, the product, and the sum. No one of these summaries preserves all three for unequal inputs.
Harmonic mean Created 2026-10-06 Updated 2026-10-14
The harmonic mean of a nonempty finite list of positive real numbers is the multiplicative inverse of the arithmetic mean of their inverses:For two inputs, . Replacing each input by preserves the sum of inverses, making it useful when a fixed amount divided by a rate determines a cost or duration. This positive-input definition avoids division by zero; negative inputs need not retain the usual averaging or ordering properties. [ref]
https://dlmf.nist.gov/1.2.iv. NIST Digital Library of Mathematical Functions, §1.2(iv), equation 1.2.19: harmonic mean
.Travel two legs of equal length at positive speeds , with no stops. Their travel times are and , so the average speed isFor two legs at and , the times are two hours and one hour. The average speed is . The same speeds maintained for one hour each instead cover in two hours, giving the arithmetic mean . A slower equal-distance leg occupies more time, so the data being averaged must include what is held equal. This is total distance traveled divided by elapsed time; a return journey can have zero average velocity while keeping a positive average speed. [ref]
https://undergroundmathematics.org/introducing-calculus/average-speed/averages. University of Cambridge, Underground Mathematics: equal-distance and equal-time speed averages
.The arithmetic-geometric mean inequality applied to the inverses gives ; together with it yields the comparison in geometric mean. For two inputs the arithmetic–harmonic gap has the exact formFor and the gap is five. With one positive input held fixed and another approaching zero, the harmonic mean approaches zero too: a very slow fixed-distance leg dominates the travel time. Unequal leg lengths instead require a weighted harmonic mean.
Layered porous permeability 2026-10-14
Consider planar horizontal layers with positive scalar intrinsic intrinsic permeabilities , thicknesses , and fractions . Assume each layer is uniform and isotropic, fully saturated by the same Newtonian fluid of constant mass density and dynamic viscosity, with perfect hydraulic contact and steady incompressible flow. Use boundaries that impose pure flow normal to the layers or a common gradient of hydraulic head along them; additional interface resistance and finite-edge effects are excluded.
For vertical flow normal to the layers, every layer carries the same normal Darcy flux by mass conservation. The hydraulic head drops add. Writing and taking positive as the drop along the flow direction givesThis is the thickness-weighted harmonic mean. It is hydraulic head, rather than fluid pressure alone, that accounts correctly for gravity in the vertical calculation. A thin layer of very small permeability of a porous medium can control the whole discharge because all flow must pass through it.
For horizontal flow parallel to the layers, each layer experiences the same gradient of hydraulic head. For width , each area is , and the individual volume fluxes add:This is the thickness-weighted arithmetic mean. A highly permeable layer can carry most of the horizontal flow because it supplies a continuous route from inlet to outlet. Woessner and Poeter derive both cases for hydraulic conductivity; identical fluid properties allow the common factor to cancel.[ref]
For two equally thick layers, take and , where . The values 1 and 9 are therefore permeabilities in units of , rather than dimensionless intrinsic intrinsic permeabilities. ThenAcross the layers, the less permeable half takes of the total hydraulic head drop and the more permeable half only . Along the layers, the more permeable half carries of the total volume flux. At the same magnitude of imposed gradient of hydraulic head, horizontal Darcy flux is times the vertical Darcy flux.
The arrangement thus creates physical anisotropy from locally isotropic ingredients. In coordinates with along the layers and normal to them, the effective permeability of a porous medium tensor is . A driving gradient of hydraulic head with both horizontal and vertical components generally produces a discharge in a different direction. This distinction matters when deciding whether a geological bed conducts aquifer flow along itself or acts as a barrier to flow across it.
Regenerate the diagram by running
python ../layered-porous-permeability.py from _media; it writes its PNG into the current directory.The printed minimization of the evidence lower bound has no solution. To distinguish that literal result from the usual variational inference optimum, put . The preceding Kullback-Leibler divergence satisfiesIts unique global minimum occurs at . Since , this is the unique global maximum of the evidence lower bound:The optimal common variance is the harmonic mean of the two posterior variances. However, as either or . ThereforeThe source PDF confirms the minimization wording; replacing it by maximization would give the finite value above, consistently with part (i).
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 80 1 i Solution Created 2026-10-03 Updated 2026-10-14
Take and . Write in phase and . Here is the positive conductivity flux; physical heat flux is . Continuity of temperature on a planar interface implies continuity of its tangential derivatives, while conservation gives continuity of normal heat flux. With interface normal , these conditions areThe mean gradient is . ThereforeBy the definition of effective conductivity, . ThusThe laminate conductivity is a weighted harmonic mean across the layers and a weighted arithmetic mean along them. This also explains why isotropic constituents can yield an anisotropic thermal conductivity tensor: flux must cross each resistance in sequence in the normal direction, whereas tangential transport occurs in parallel.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 38 4 Solution 2026-10-14
The PDF gives an inverse-gamma distribution with shape and scale , and a gamma distribution prior with shape and rate . Write . The supplied conditional moments, together with and , give the three structural quantities of the Bühlmann model:Here is the variance of hypothetical means and the expected process variance. The law of total covariance and conditional independence of different years implyAll these quantities are finite because .
For any coefficients , minimizing the mean squared error over the intercept first gives . Let and . Expanding the remaining mean squared error givesIts normal equations are for every . Since , subtracting any two equations shows that all agree. The quadratic part is strictly positive for every nonzero coefficient change, so the solution is the unique global minimizer. Solving givesA credibility estimate combines individual experience with the collective expected value, using an experience weight . In this equal-exposure setting, the Bühlmann credibility premium isThus the computed coefficients give exactly a credibility estimate, with a fixed credibility factor determined by known parameters and the number of observed years. This is Bühlmann credibility for inverse-gamma observations.
For the final Bayesian calculation, the likelihood function in is proportional to . Multiplication by the gamma distribution prior gives the Gamma prior for an inverse-gamma scale updateUnder quadratic loss, the conditional risk of an estimate is . Its minimizer is therefore the posterior mean:This is not a fixed-weight arithmetic-mean credibility estimate. For , the observations and have the same sample mean, but reciprocal sums and , hence different posterior means. For any , append the same positive observations to these two samples. For , the estimate is , with ; its second derivative is , so it is not affine either. Symmetry in the observations would force equal slopes in any affine representation, so these examples also exclude a general fixed-coefficient linear representation.
One can express the posterior mean as a broader data-dependent blend. With and harmonic mean , it isThis weights a harmonic-mean-based experience estimate, and the weight itself depends on the observations. It is not the credibility estimate based on and the fixed Bühlmann credibility factor derived above.
Past exam of the mathematics course of the University of Cambridge 2014 iii Paper 39 1 Solution Created 2026-10-03 Updated 2026-10-06
Write and let . Player 's payoff in the proportional contest with outside effort is . When , this is strictly concave andThe best response is zero when , and otherwise is . Thus the nonnegative-effort Karush-Kuhn-Tucker conditions at a pure strategy Nash equilibrium giveFor an active player the first-order equation is . For an inactive player the derivative at zero is . Strict concavity makes these conditions sufficient as well as necessary.
If , an equilibrium cannot have just one active player: that player would win with certainty and could lower its positive effort. An all-zero profile also cannot be an equilibrium under the usual completion of proportional allocation at zero: at least one player can gain by investing an arbitrarily small amount. Consequently there are at least two active players, so every is positive. If this positivity is automatic. The allocation rule's otherwise undefined all-zero value at is therefore immaterial to the equilibrium calculation.
Let , , and use the harmonic mean . Summing the active efforts givesThe positive root supplies the total-effort formula for a proportional contest with outside effort:At this reduces to . There is also a genuine zero-active case: if , then and ; no harmonic mean of an empty family is needed.
For a fully explicit active-set rule, setThe equilibrium equation is . For , is strictly decreasing from to . For its limit at zero is , and it is strictly decreasing wherever a zero could occur. Hence the positive root is unique. Moreover , since its equation gives , and supplies an equilibrium with total effort .
Player is active exactly when , equivalently . Ordering the valuations, including ties, givesTherefore the active-set threshold for a proportional contest with outside effort isThe qualifying indices form a prefix because is decreasing. Equality excludes the marginal player, as required by strict positivity of effort. Equivalently, the positive root of the displayed quadratic must satisfy , with . These formulas include one active player when and exclude that case when .
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 338 3 c ii Solution Created 2026-10-03 Updated 2026-10-06
A stable multiplicative sensitivity factor at detector pixel changes both means to . The noise-free ratio is still one, so flat-field correction is not required merely to remove that fixed pattern from the mean ratio. This is the principal advantage of using two matched flats rather than the variance of a single image.
However, the photon shot noise is not cancelled. At high counts the conditional ratio variance is . Pooling detector pixels gives , where brackets denote a spatial average. If the formula uses , it returnsThe inequality follows from the Jensen inequality for on positive signals. For small fractional response variation, the relative bias is approximately minus its squared coefficient of variation. A locally nearly uniform region or a fit using detector pixel-dependent variances avoids this bias from mixing the harmonic mean with the arithmetic mean. Stable response cancellation also presumes the conversion gain itself is uniform; gain variations, offset errors or changing sensitivity do not obey that simple cancellation. The fixed response pattern cancels in the ratio mean; unequal shot-noise levels can still bias a globally pooled gain estimate.
With active players of harmonic mean valuation , unit-cost Nash equilibrium effort satisfies . Sum the active-player first-order equations to obtain the quadratic. If is at least the largest valuation, no one is active and . With no outside effort, at least two players must be active.
Weighted harmonic mean 2026-10-14
For positive real numbers and nonnegative weights with , the weighted harmonic mean isEqual weights give the harmonic mean, while a zero weight excludes that input. For travel at positive constant speeds over positive leg lengths , the weights are fractions of total distance:For at and at , the weights are , elapsed time is hours, and the average speed is . Weighting the speeds by their time fractions instead gives the same result as a weighted arithmetic mean: . The two weight systems describe the same journey in different coordinates and must not be interchanged. [ref].


