Probability density function The purple curve is the standard Cauchy distribution | |||

Cumulative distribution function | |||

Parameters |
location (real) scale (real) | ||
---|---|---|---|

Support | |||

CDF | |||

Quantile | |||

Mean | undefined | ||

Median | |||

Mode | |||

Variance | undefined | ||

MAD | |||

Skewness | undefined | ||

Excess kurtosis | undefined | ||

Entropy | |||

MGF | does not exist | ||

CF | |||

Fisher information |

The **Cauchy distribution**, named after Augustin Cauchy, is a continuous probability distribution. It is also known, especially among physicists, as the **Lorentz distribution** (after Hendrik Lorentz), **Cauchy–Lorentz distribution**, **Lorentz(ian) function**, or **Breit–Wigner distribution**. The Cauchy distribution is the distribution of the x-intercept of a ray issuing from with a uniformly distributed angle. It is also the distribution of the ratio of two independent normally distributed random variables with mean zero.

The Cauchy distribution is often used in statistics as the canonical example of a "pathological" distribution since both its expected value and its variance are undefined (but see § Moments below). The Cauchy distribution does not have finite moments of order greater than or equal to one; only fractional absolute moments exist.^{[1]} The Cauchy distribution has no moment generating function.

In mathematics, it is closely related to the Poisson kernel, which is the fundamental solution for the Laplace equation in the upper half-plane.

It is one of the few stable distributions with a probability density function that can be expressed analytically, the others being the normal distribution and the Lévy distribution.

A function with the form of the density function of the Cauchy distribution was studied geometrically by Fermat in 1659, and later was known as the witch of Agnesi, after Agnesi included it as an example in her 1748 calculus textbook. Despite its name, the first explicit analysis of the properties of the Cauchy distribution was published by the French mathematician Poisson in 1824, with Cauchy only becoming associated with it during an academic controversy in 1853.^{[2]} Poisson noted that if the mean of observations following such a distribution were taken, the mean error^{[further explanation needed]} did not converge to any finite number. As such, Laplace's use of the central limit theorem with such a distribution was inappropriate, as it assumed a finite mean and variance. Despite this, Poisson did not regard the issue as important, in contrast to Bienaymé, who was to engage Cauchy in a long dispute over the matter.

Here are the most important constructions.

If one stands in front of a line and kicks a ball with a direction (more precisely, an angle) uniformly at random towards the line, then the distribution of the point where the ball hits the line is a Cauchy distribution.

More formally, consider a point at in the x-y plane, and select a line passing the point, with its direction (angle with the -axis) chosen uniformly (between -90° and +90°) at random. The intersection of the line with the x-axis is the Cauchy distribution with location and scale .

This definition gives a simple way to sample from the standard Cauchy distribution. Let be a sample from a uniform distribution from , then we can generate a sample, from the standard Cauchy distribution using

When and are two independent normally distributed random variables with expected value 0 and variance 1, then the ratio has the standard Cauchy distribution.

More generally, if is a rotationally symmetric distribution on the plane, then the ratio has the standard Cauchy distribution.

The Cauchy distribution is the probability distribution with the following probability density function (PDF)^{[1]}^{[3]}

where is the location parameter, specifying the location of the peak of the distribution, and is the scale parameter which specifies the half-width at half-maximum (HWHM), alternatively is full width at half maximum (FWHM). is also equal to half the interquartile range and is sometimes called the probable error. Augustin-Louis Cauchy exploited such a density function in 1827 with an infinitesimal scale parameter, defining what would now be called a Dirac delta function.

The maximum value or amplitude of the Cauchy PDF is , located at .

It is sometimes convenient to express the PDF in terms of the complex parameter

The special case when and is called the **standard Cauchy distribution** with the probability density function^{[4]}^{[5]}

In physics, a three-parameter Lorentzian function is often used:

where is the height of the peak. The three-parameter Lorentzian function indicated is not, in general, a probability density function, since it does not integrate to 1, except in the special case where

The Cauchy distribution is the probability distribution with the following cumulative distribution function (CDF):

and the quantile function (inverse cdf) of the Cauchy distribution is

It follows that the first and third quartiles are , and hence the interquartile range is .

For the standard distribution, the cumulative distribution function simplifies to arctangent function :

The standard Cauchy distribution is the Student's *t*-distribution with one degree of freedom, and so it may be constructed by any method that constructs the Student's t-distribution.

If is a positive-semidefinite covariance matrix with strictly positive diagonal entries, then for independent and identically distributed and any random -vector independent of and such that and (defining a categorical distribution) it holds that

^{[6]}

The Cauchy distribution is an example of a distribution which has no mean, variance or higher moments defined. Its mode and median are well defined and are both equal to .

The Cauchy distribution is an infinitely divisible probability distribution. It is also a strictly stable distribution.^{[7]}

Like all stable distributions, the location-scale family to which the Cauchy distribution belongs is closed under linear transformations with real coefficients. In addition, the Cauchy distribution is closed under linear fractional transformations with real coefficients.^{[8]} In this connection, see also McCullagh's parametrization of the Cauchy distributions.

If are IID samples from the standard Cauchy distribution, then their sample mean is also standard Cauchy distributed. In particular, the average does not converge to the mean, and so the standard Cauchy distribution does not follow the law of large numbers.

This can be proved by repeated integration with the PDF, or more conveniently, by using the characteristic function of the standard Cauchy distribution (see below):With this, we have , and so has a standard Cauchy distribution.

More generally, if are independent and Cauchy distributed with location parameters and scales , and are real numbers, then is Cauchy distributed with location and scale. We see that there is no law of large numbers for any weighted sum of independent Cauchy distributions.

This shows that the condition of finite variance in the central limit theorem cannot be dropped. It is also an example of a more generalized version of the central limit theorem that is characteristic of all stable distributions, of which the Cauchy distribution is a special case.

If are IID samples with PDF such that is finite, but nonzero, then converges in distribution to a Cauchy distribution with scale .^{[9]}

Let denote a Cauchy distributed random variable. The characteristic function of the Cauchy distribution is given by

which is just the Fourier transform of the probability density. The original probability density may be expressed in terms of the characteristic function, essentially by using the inverse Fourier transform:

The *n*th moment of a distribution is the *n*th derivative of the characteristic function evaluated at . Observe that the characteristic function is not differentiable at the origin: this corresponds to the fact that the Cauchy distribution does not have well-defined moments higher than the zeroth moment.

The Kullback–Leibler divergence between two Cauchy distributions has the following symmetric closed-form formula:^{[10]}

Any f-divergence between two Cauchy distributions is symmetric and can be expressed as a function of the chi-squared divergence.^{[11]}
Closed-form expression for the total variation, Jensen–Shannon divergence, Hellinger distance, etc are available.

The entropy of the Cauchy distribution is given by:

The derivative of the quantile function, the quantile density function, for the Cauchy distribution is:

The differential entropy of a distribution can be defined in terms of its quantile density,^{[12]} specifically:

The Cauchy distribution is the maximum entropy probability distribution for a random variate for which

In its standard form, it is the maximum entropy probability distribution for a random variate for which^{[13]}

The Cauchy distribution is usually used as an illustrative counterexample in elementary probability courses, as a distribution with no well-defined (or "indefinite") moments.

If we take IID samples from the standard Cauchy distribution, then the sequence of their sample mean is , which also has the standard Cauchy distribution. Consequently, no matter how many terms we take, the sample average does not converge.

Similarly, the sample variance also does not converge.

A typical trajectory of looks like long periods of slow convergence to zero, punctuated by large jumps away from zero, but never getting too far away. A typical trajectory of looks similar, but the jumps accumulate faster than the decay, diverging to infinity. These two kinds of trajectories are plotted in the figure.

Moments of sample lower than order 1 would converge to zero. Moments of sample higher than order 2 would diverge to infinity even faster than sample variance.

If a probability distribution has a density function , then the mean, if it exists, is given by

(1) |

We may evaluate this two-sided improper integral by computing the sum of two one-sided improper integrals. That is,

(2) |

for an arbitrary real number .

For the integral to exist (even as an infinite value), at least one of the terms in this sum should be finite, or both should be infinite and have the same sign. But in the case of the Cauchy distribution, both the terms in this sum (**2**) are infinite and have opposite sign. Hence (**1**) is undefined, and thus so is the mean.^{[14]} When the mean of a probability distribution function (PDF) is undefined, no one can compute a reliable average over the experimental data points, regardless of the sample’s size.

Note that the Cauchy principal value of the mean of the Cauchy distribution is
which is zero. On the other hand, the related integral
is *not* zero, as can be seen by computing the integral. This again shows that the mean (**1**) cannot exist.

Various results in probability theory about expected values, such as the strong law of large numbers, fail to hold for the Cauchy distribution.^{[14]}

The absolute moments for are defined. For we have

The Cauchy distribution does not have finite moments of any order. Some of the higher raw moments do exist and have a value of infinity, for example, the raw second moment:

By re-arranging the formula, one can see that the second moment is essentially the infinite integral of a constant (here 1). Higher even-powered raw moments will also evaluate to infinity. Odd-powered raw moments, however, are undefined, which is distinctly different from existing with the value of infinity. The odd-powered raw moments are undefined because their values are essentially equivalent to since the two halves of the integral both diverge and have opposite signs. The first raw moment is the mean, which, being odd, does not exist. (See also the discussion above about this.) This in turn means that all of the central moments and standardized moments are undefined since they are all based on the mean. The variance—which is the second central moment—is likewise non-existent (despite the fact that the raw second moment exists with the value infinity).

The results for higher moments follow from Hölder's inequality, which implies that higher moments (or halves of moments) diverge if lower ones do.

Consider the truncated distribution defined by restricting the standard Cauchy distribution to the interval [−10^{100}, 10^{100}]. Such a truncated distribution has all moments (and the central limit theorem applies for i.i.d. observations from it); yet for almost all practical purposes it behaves like a Cauchy distribution.^{[15]}

Because the parameters of the Cauchy distribution do not correspond to a mean and variance, attempting to estimate the parameters of the Cauchy distribution by using a sample mean and a sample variance will not succeed.^{[16]} For example, if an i.i.d. sample of size *n* is taken from a Cauchy distribution, one may calculate the sample mean as:

Although the sample values will be concentrated about the central value , the sample mean will become increasingly variable as more observations are taken, because of the increased probability of encountering sample points with a large absolute value. In fact, the distribution of the sample mean will be equal to the distribution of the observations themselves; i.e., the sample mean of a large sample is no better (or worse) an estimator of than any single observation from the sample. Similarly, calculating the sample variance will result in values that grow larger as more observations are taken.

Therefore, more robust means of estimating the central value and the scaling parameter are needed. One simple method is to take the median value of the sample as an estimator of and half the sample interquartile range as an estimator of . Other, more precise and robust methods have been developed ^{[17]}^{[18]} For example, the truncated mean of the middle 24% of the sample order statistics produces an estimate for that is more efficient than using either the sample median or the full sample mean.^{[19]}^{[20]} However, because of the fat tails of the Cauchy distribution, the efficiency of the estimator decreases if more than 24% of the sample is used.^{[19]}^{[20]}

Maximum likelihood can also be used to estimate the parameters and . However, this tends to be complicated by the fact that this requires finding the roots of a high degree polynomial, and there can be multiple roots that represent local maxima.^{[21]} Also, while the maximum likelihood estimator is asymptotically efficient, it is relatively inefficient for small samples.^{[22]}^{[23]} The log-likelihood function for the Cauchy distribution for sample size is:

Maximizing the log likelihood function with respect to and by taking the first derivative produces the following system of equations:

Note that

is a monotone function in and that the solution must satisfy

Solving just for requires solving a polynomial of degree ,^{[21]} and solving just for requires solving a polynomial of degree . Therefore, whether solving for one parameter or for both parameters simultaneously, a numerical solution on a computer is typically required. The benefit of maximum likelihood estimation is asymptotic efficiency; estimating using the sample median is only about 81% as asymptotically efficient as estimating by maximum likelihood.^{[20]}^{[24]} The truncated sample mean using the middle 24% order statistics is about 88% as asymptotically efficient an estimator of as the maximum likelihood estimate.^{[20]} When Newton's method is used to find the solution for the maximum likelihood estimate, the middle 24% order statistics can be used as an initial solution for .

The shape can be estimated using the median of absolute values, since for location 0 Cauchy variables , the the shape parameter.

A random vector is said to have the multivariate Cauchy distribution if every linear combination of its components has a Cauchy distribution. That is, for any constant vector , the random variable should have a univariate Cauchy distribution.^{[25]} The characteristic function of a multivariate Cauchy distribution is given by:

where and are real functions with a homogeneous function of degree one and a positive homogeneous function of degree one.^{[25]} More formally:^{[25]}

for all .

An example of a bivariate Cauchy distribution can be given by:^{[26]}

Note that in this example, even though the covariance between and is 0, and are not statistically independent.^{[26]}

We also can write this formula for complex variable. Then the probability density function of complex cauchy is :

Like how the standard Cauchy distribution is the Student t-distribution with one degree of freedom, the multidimensional Cauchy density is the multivariate Student distribution with one degree of freedom. The density of a dimension Student distribution with one degree of freedom is:

The properties of multidimensional Cauchy distribution are then special cases of the multivariate Student distribution.

- If then
^{[27]} - If and are independent, then and
- If then
- McCullagh's parametrization of the Cauchy distributions:
^{[28]}Expressing a Cauchy distribution in terms of one complex parameter , define to mean . If then: where , , and are real numbers. - Using the same convention as above, if then:
^{[28]}where is the circular Cauchy distribution.

The Cauchy distribution is the stable distribution of index 1. The Lévy–Khintchine representation of such a stable distribution of parameter is given, for by:

where

and can be expressed explicitly.^{[29]} In the case of the Cauchy distribution, one has .

This last representation is a consequence of the formula

- Student's
*t*distribution - non-standardized Student's
*t*distribution - If independent, then
- If then
- If then
- If then
- The Cauchy distribution is a limiting case of a Pearson distribution of type 4
^{[citation needed]} - The Cauchy distribution is a special case of a Pearson distribution of type 7.
^{[1]} - The Cauchy distribution is a stable distribution: if , then .
- The Cauchy distribution is a singular limit of a hyperbolic distribution
^{[citation needed]} - The wrapped Cauchy distribution, taking values on a circle, is derived from the Cauchy distribution by wrapping it around the circle.
- If , , then . For half-Cauchy distributions, the relation holds by setting .

Main article: Relativistic Breit–Wigner distribution |

In nuclear and particle physics, the energy profile of a resonance is described by the relativistic Breit–Wigner distribution, while the Cauchy distribution is the (non-relativistic) Breit–Wigner distribution.^{[citation needed]}

- In spectroscopy, the Cauchy distribution describes the shape of spectral lines which are subject to homogeneous broadening in which all atoms interact in the same way with the frequency range contained in the line shape. Many mechanisms cause homogeneous broadening, most notably collision broadening.
^{[30]}Lifetime or natural broadening also gives rise to a line shape described by the Cauchy distribution. - Applications of the Cauchy distribution or its transformation can be found in fields working with exponential growth. A 1958 paper by White
^{[31]}derived the test statistic for estimators of for the equation and where the maximum likelihood estimator is found using ordinary least squares showed the sampling distribution of the statistic is the Cauchy distribution.

- The Cauchy distribution is often the distribution of observations for objects that are spinning. The classic reference for this is called the Gull's lighthouse problem
^{[33]}and as in the above section as the Breit–Wigner distribution in particle physics. - In hydrology the Cauchy distribution is applied to extreme events such as annual maximum one-day rainfalls and river discharges. The blue picture illustrates an example of fitting the Cauchy distribution to ranked monthly maximum one-day rainfalls showing also the 90% confidence belt based on the binomial distribution. The rainfall data are represented by plotting positions as part of the cumulative frequency analysis.
- The expression for the imaginary part of complex electrical permittivity, according to the Lorentz model, is a Cauchy distribution.
- As an additional distribution to model fat tails in computational finance, Cauchy distributions can be used to model VAR (value at risk) producing a much larger probability of extreme risk than Gaussian Distribution.
^{[34]}