Reciprocal distribution

In probability and statistics, the reciprocal distribution, also known as the log-uniform distribution, is a continuous probability distribution. It is characterised by its probability density function, within the support of the distribution, being proportional to the reciprocal of the variable.

The reciprocal distribution is an example of an inverse distribution, and the reciprocal (inverse) of a random variable with a reciprocal distribution itself has a reciprocal distribution.

Definition
The probability density function (pdf) of the reciprocal distribution is


 * $$ f( x; a,b ) = \frac{ 1 }{ x [ \ln( b ) - \ln( a ) ]} \quad \text{ for } a \le x \le b \text{ and } a > 0.$$

Here, $$a$$ and $$b$$ are the parameters of the distribution, which are the lower and upper bounds of the support, and $$\ln$$ is the natural log. The cumulative distribution function is


 * $$ F( x ; a,b) = \frac{ \ln( x ) - \ln( a ) }{ \ln( b ) - \ln( a ) } \quad \text{ for } a \le x \le b.$$

Relationship between the log-uniform and the uniform distribution


A positive random variable X is log-uniformly distributed if the logarithm of X is uniform distributed,


 * $$ \ln(X) \sim \mathcal U(\ln(a), \ln(b)).$$

This relationship is true regardless of the base of the logarithmic or exponential function. If $$\log_a(Y)$$ is uniform distributed, then so is $$\log_b(Y)$$, for any two positive numbers $$a,b\neq 1$$. Likewise, if $$e^X$$ is log-uniform distributed, then so is $$a^X$$, where $$0 < a \neq 1$$.

Applications
The reciprocal distribution is of considerable importance in numerical analysis, because a computer’s arithmetic operations transform mantissas with initial arbitrary distributions into the reciprocal distribution as a limiting distribution.