Lably
Skip to content

Gaussian function

Mathematical function

  • 12 min read
  • 7 chapters

Related on Lably

Through Mathematics, Function (mathematics) and Real number

Gaussian functions are often used to represent the probability density function of a normally distributed random variable with expected value μ = b and variance σ2 = c2. In this case, the Gaussian is of the form

g(x)=1σ2πexp⁡(−12(x−μ)2σ2).

Gaussian functions are widely used in statistics to describe the normal distributions, in signal processing to define Gaussian filters, in image processing where two-dimensional Gaussians are used for Gaussian blurs, and in mathematics to solve heat equations and diffusion equations and to define the Weierstrass transform. They are also abundantly used in quantum chemistry to form basis sets.

Properties

Gaussian functions arise by composing the exponential function with a concave quadratic function: f(x)=exp⁡(αx2+βx+γ), where α=−12c2,β=bc2,γ=ln⁡a−b22c2. (Note: a=1σ2π in ln⁡a, not to be confused with α=−12c2)

The Gaussian functions are thus those functions whose logarithm is a concave quadratic function.

The parameter c is related to the full width at half maximum (FWHM) of the peak according to

FWHM=22ln⁡2c≈2.35482c.

The function may then be expressed in terms of the FWHM, represented by w: f(x)=aexp⁡(−4(ln⁡2)(x−b)2w2).

Alternatively, the parameter c can be interpreted by saying that the two inflection points of the function occur at x = b ± c.

The full width at tenth of maximum (FWTM) for a Gaussian could be of interest and is FWTM=22ln⁡10c≈4.29193c.

Gaussian functions are analytic, and their limit as x → ∞ is 0 (for the above case of b = 0).

Gaussian functions are among those functions that are elementary but lack elementary antiderivatives; the integral of the Gaussian function is the error function:

∫exp⁡(−x2)dx=π2erf⁡x+C.

Nonetheless, their improper integrals over the whole real line can be evaluated exactly, using the Gaussian integral ∫−∞∞exp⁡(−x2)dx=π, and one obtains ∫−∞∞aexp⁡(−(x−b)22c2)dx=a|c|2π.

This integral is 1 if and only if a=1c2π (the normalizing constant), and in this case the Gaussian is the probability density function of a normally distributed random variable with expected value μ = b and variance σ2 = c2: g(x)=1σ2πexp⁡(−(x−μ)22σ2).

These Gaussians are plotted in the accompanying figure.

The product of two Gaussian functions is a Gaussian, and the convolution of two Gaussian functions is also a Gaussian, with variance being the sum of the original variances: c2=c12+c22. The product of two Gaussian probability density functions (PDFs), though, is not in general a Gaussian PDF.

The Fourier uncertainty principle becomes an equality if and only if (modulated) Gaussian functions are considered.

Taking the Fourier transform (unitary, angular-frequency convention) of a Gaussian function with parameters a = 1, b = 0 and c yields another Gaussian function, with parameters c, b = 0 and ⁠1/c⁠. So in particular the Gaussian functions with b = 0 and c = a are kept fixed by the Fourier transform (they are eigenfunctions of the Fourier transform with eigenvalue 1). A physical realization is that of the diffraction pattern: for example, a photographic slide whose transmittance has a Gaussian variation is also a Gaussian function.

The fact that the Gaussian function is an eigenfunction of the continuous Fourier transform allows us to derive the following interesting identity from the Poisson summation formula: ∑k∈Zexp⁡(−π⋅(kc)2)=c⋅∑k∈Zexp⁡(−π⋅(kc)2).

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Functions