HOME

TheInfoList



OR:

In mathematics, a Gaussian function, often simply referred to as a Gaussian, is a
function Function or functionality may refer to: Computing * Function key, a type of key on computer keyboards * Function model, a structured representation of processes in a system * Function object or functor or functionoid, a concept of object-oriente ...
of the base form f(x) = \exp (-x^2) and with parametric extension f(x) = a \exp\left( -\frac \right) for arbitrary
real Real may refer to: Currencies * Brazilian real (R$) * Central American Republic real * Mexican real * Portuguese real * Spanish real * Spanish colonial real Music Albums * ''Real'' (L'Arc-en-Ciel album) (2000) * ''Real'' (Bright album) (2010) ...
constants , and non-zero . It is named after the mathematician
Carl Friedrich Gauss Johann Carl Friedrich Gauss (; german: Gauß ; la, Carolus Fridericus Gauss; 30 April 177723 February 1855) was a German mathematician and physicist who made significant contributions to many fields in mathematics and science. Sometimes refer ...
. The
graph Graph may refer to: Mathematics *Graph (discrete mathematics), a structure made of vertices and edges **Graph theory, the study of such graphs and their properties *Graph (topology), a topological space resembling a graph in the sense of discre ...
of a Gaussian is a characteristic symmetric " bell curve" shape. The parameter is the height of the curve's peak, is the position of the center of the peak, and (the standard deviation, sometimes called the Gaussian RMS width) controls the width of the "bell". Gaussian functions are often used to represent the
probability density function In probability theory, a probability density function (PDF), or density of a continuous random variable, is a function whose value at any given sample (or point) in the sample space (the set of possible values taken by the random variable) ca ...
of a normally distributed random variable with expected value and
variance In probability theory and statistics, variance is the expectation of the squared deviation of a random variable from its population mean or sample mean. Variance is a measure of dispersion, meaning it is a measure of how far a set of numbe ...
. In this case, the Gaussian is of the form g(x) = \frac \exp\left( -\frac \frac \right). Gaussian functions are widely used in statistics to describe the
normal distribution In statistics, a normal distribution or Gaussian distribution is a type of continuous probability distribution for a real-valued random variable. The general form of its probability density function is : f(x) = \frac e^ The parameter \mu ...
s, in
signal processing Signal processing is an electrical engineering subfield that focuses on analyzing, modifying and synthesizing ''signals'', such as sound, images, and scientific measurements. Signal processing techniques are used to optimize transmissions, ...
to define
Gaussian filter In electronics and signal processing mainly in digital signal processing, a Gaussian filter is a filter whose impulse response is a Gaussian function (or an approximation to it, since a true Gaussian response would have infinite impulse respons ...
s, in image processing where two-dimensional Gaussians are used for
Gaussian blur In image processing, a Gaussian blur (also known as Gaussian smoothing) is the result of blurring an image by a Gaussian function (named after mathematician and scientist Carl Friedrich Gauss). It is a widely used effect in graphics software, ...
s, and in mathematics to solve heat equations and diffusion equations and to define the
Weierstrass transform In mathematics, the Weierstrass transform of a function , named after Karl Weierstrass, is a "smoothed" version of obtained by averaging the values of , weighted with a Gaussian centered at ''x''. Specifically, it is the function define ...
.


Properties

Gaussian functions arise by composing the
exponential function The exponential function is a mathematical function denoted by f(x)=\exp(x) or e^x (where the argument is written as an exponent). Unless otherwise specified, the term generally refers to the positive-valued function of a real variable, ...
with a
concave Concave or concavity may refer to: Science and technology * Concave lens * Concave mirror Mathematics * Concave function, the negative of a convex function * Concave polygon, a polygon which is not convex * Concave set * The concavity of a ...
quadratic function: f(x) = \exp(\alpha x^2 + \beta x + \gamma), where * \alpha = -1/2c^2, * \beta = b/c^2, * \gamma = \ln a-(b^2 / 2c^2). The Gaussian functions are thus those functions whose
logarithm In mathematics, the logarithm is the inverse function to exponentiation. That means the logarithm of a number  to the base  is the exponent to which must be raised, to produce . For example, since , the ''logarithm base'' 10 of ...
is a concave quadratic function. The parameter is related to the
full width at half maximum In a distribution, full width at half maximum (FWHM) is the difference between the two values of the independent variable at which the dependent variable is equal to half of its maximum value. In other words, it is the width of a spectrum curve mea ...
(FWHM) of the peak according to \text = 2 \sqrt\,c \approx 2.35482\,c. The function may then be expressed in terms of the FWHM, represented by : f(x) = a e^. Alternatively, the parameter can be interpreted by saying that the two
inflection point In differential calculus and differential geometry, an inflection point, point of inflection, flex, or inflection (British English: inflexion) is a point on a smooth plane curve at which the curvature changes sign. In particular, in the case ...
s of the function occur at . The ''full width at tenth of maximum'' (FWTM) for a Gaussian could be of interest and is \text = 2 \sqrt\,c \approx 4.29193\,c. Gaussian functions are analytic, and their limit as is 0 (for the above case of ). Gaussian functions are among those functions that are
elementary Elementary may refer to: Arts, entertainment, and media Music * ''Elementary'' (Cindy Morgan album), 2001 * ''Elementary'' (The End album), 2007 * ''Elementary'', a Melvin "Wah-Wah Watson" Ragin album, 1977 Other uses in arts, entertainment, a ...
but lack elementary
antiderivative In calculus, an antiderivative, inverse derivative, primitive function, primitive integral or indefinite integral of a function is a differentiable function whose derivative is equal to the original function . This can be stated symbolicall ...
s; the
integral In mathematics, an integral assigns numbers to functions in a way that describes displacement, area, volume, and other concepts that arise by combining infinitesimal data. The process of finding integrals is called integration. Along wit ...
of the Gaussian function is the error function. Nonetheless, their improper integrals over the whole real line can be evaluated exactly, using the
Gaussian integral The Gaussian integral, also known as the Euler–Poisson integral, is the integral of the Gaussian function f(x) = e^ over the entire real line. Named after the German mathematician Carl Friedrich Gauss, the integral is \int_^\infty e^\,dx = \s ...
\int_^\infty e^ \,dx = \sqrt, and one obtains \int_^\infty a e^ \,dx = ac \cdot \sqrt. This integral is 1 if and only if a = \tfrac (the
normalizing constant The concept of a normalizing constant arises in probability theory and a variety of other areas of mathematics. The normalizing constant is used to reduce any probability function to a probability density function with total probability of one. ...
), and in this case the Gaussian is the
probability density function In probability theory, a probability density function (PDF), or density of a continuous random variable, is a function whose value at any given sample (or point) in the sample space (the set of possible values taken by the random variable) ca ...
of a normally distributed random variable with expected value and
variance In probability theory and statistics, variance is the expectation of the squared deviation of a random variable from its population mean or sample mean. Variance is a measure of dispersion, meaning it is a measure of how far a set of numbe ...
: g(x) = \frac \exp\left(\frac \right). These Gaussians are plotted in the accompanying figure. Gaussian functions centered at zero minimize the Fourier
uncertainty principle In quantum mechanics, the uncertainty principle (also known as Heisenberg's uncertainty principle) is any of a variety of mathematical inequalities asserting a fundamental limit to the accuracy with which the values for certain pairs of physic ...
. The product of two Gaussian functions is a Gaussian, and the
convolution In mathematics (in particular, functional analysis), convolution is a mathematical operation on two functions ( and ) that produces a third function (f*g) that expresses how the shape of one is modified by the other. The term ''convolution'' ...
of two Gaussian functions is also a Gaussian, with variance being the sum of the original variances: c^2 = c_1^2 + c_2^2. The product of two Gaussian probability density functions (PDFs), though, is not in general a Gaussian PDF. Taking the Fourier transform (unitary, angular-frequency convention) of a Gaussian function with parameters , and yields another Gaussian function, with parameters c, and 1/c. So in particular the Gaussian functions with and c = 1 are kept fixed by the Fourier transform (they are
eigenfunction In mathematics, an eigenfunction of a linear operator ''D'' defined on some function space is any non-zero function f in that space that, when acted upon by ''D'', is only multiplied by some scaling factor called an eigenvalue. As an equation, th ...
s of the Fourier transform with eigenvalue 1). A physical realization is that of the
diffraction pattern Diffraction is defined as the interference or bending of waves around the corners of an obstacle or through an aperture into the region of geometrical shadow of the obstacle/aperture. The diffracting object or aperture effectively becomes a ...
: for example, a
photographic slide In photography, reversal film or slide film is a type of photographic film that produces a positive image on a transparent base. Instead of negatives and prints, reversal film is processed to produce transparencies or diapositives (abbreviat ...
whose
transmittance Transmittance of the surface of a material is its effectiveness in transmitting radiant energy. It is the fraction of incident electromagnetic power that is transmitted through a sample, in contrast to the transmission coefficient, which is t ...
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 In mathematics, the Poisson summation formula is an equation that relates the Fourier series coefficients of the periodic summation of a function to values of the function's continuous Fourier transform. Consequently, the periodic summation of ...
: \sum_ \exp\left(-\pi \cdot \left(\frac\right)^2\right) = c \cdot \sum_ \exp\left(-\pi \cdot (kc)^2\right).


Integral of a Gaussian function

The integral of an arbitrary Gaussian function is \int_^\infty a\,e^\,dx = \sqrt a \, , c, \, \sqrt. An alternative form is \int_^\infty k\,e^\,dx = \int_^\infty k\,e^\,dx = k\,\sqrt\,\exp\left(\frac + h\right), where ''f'' must be strictly positive for the integral to converge.


Relation to standard Gaussian integral

The integral \int_^\infty ae^\,dx for some
real Real may refer to: Currencies * Brazilian real (R$) * Central American Republic real * Mexican real * Portuguese real * Spanish real * Spanish colonial real Music Albums * ''Real'' (L'Arc-en-Ciel album) (2000) * ''Real'' (Bright album) (2010) ...
constants ''a'', ''b'', ''c'' > 0 can be calculated by putting it into the form of a
Gaussian integral The Gaussian integral, also known as the Euler–Poisson integral, is the integral of the Gaussian function f(x) = e^ over the entire real line. Named after the German mathematician Carl Friedrich Gauss, the integral is \int_^\infty e^\,dx = \s ...
. First, the constant ''a'' can simply be factored out of the integral. Next, the variable of integration is changed from ''x'' to : a\int_^\infty e^\,dy, and then to z = y/\sqrt: a\sqrt \int_^\infty e^\,dz. Then, using the Gaussian integral identity \int_^\infty e^\,dz = \sqrt, we have \int_^\infty ae^\,dx = a\sqrt.


Two-dimensional Gaussian function

Base form: f(x,y) = \exp(-x^2-y^2) In two dimensions, the power to which ''e'' is raised in the Gaussian function is any negative-definite quadratic form. Consequently, the
level set In mathematics, a level set of a real-valued function of real variables is a set where the function takes on a given constant value , that is: : L_c(f) = \left\~, When the number of independent variables is two, a level set is calle ...
s of the Gaussian will always be ellipses. A particular example of a two-dimensional Gaussian function is f(x,y) = A \exp\left(-\left(\frac + \frac \right)\right). Here the coefficient ''A'' is the amplitude, ''x''0, ''y''0 is the center, and ''σ''''x'', ''σ''''y'' are the ''x'' and ''y'' spreads of the blob. The figure on the right was created using ''A'' = 1, ''x''0 = 0, ''y''0 = 0, ''σ''''x'' = ''σ''''y'' = 1. The volume under the Gaussian function is given by V = \int_^\infty \int_^\infty f(x, y)\,dx \,dy = 2 \pi A \sigma_X \sigma_Y. In general, a two-dimensional elliptical Gaussian function is expressed as f(x, y) = A \exp\Big(-\big(a(x - x_0)^2 + 2b(x - x_0)(y - y_0) + c(y - y_0)^2 \big)\Big), where the matrix \begin a & b \\ b & c \end is positive-definite. Using this formulation, the figure on the right can be created using , , , .


Meaning of parameters for the general equation

For the general form of the equation the coefficient ''A'' is the height of the peak and is the center of the blob. If we set \begin a &= \frac + \frac, \\ b &= -\frac + \frac, \\ c &= \frac + \frac, \end then we rotate the blob by a positive, counter-clockwise angle \theta (for negative, clockwise rotation, invert the signs in the ''b'' coefficient). To get back the coefficients \theta, \sigma_X and \sigma_Y from a, b and c use \begin \theta &= \frac\arctan\left(\frac\right), \quad \theta \in 45, 45 \\ \sigma_X^2 &= \frac, \\ \sigma_Y^2 &= \frac. \end Example rotations of Gaussian blobs can be seen in the following examples: Using the following Octave code, one can easily see the effect of changing the parameters: A = 1; x0 = 0; y0 = 0; sigma_X = 1; sigma_Y = 2; , Y= meshgrid(-5:.1:5, -5:.1:5); for theta = 0:pi/100:pi a = cos(theta)^2 / (2 * sigma_X^2) + sin(theta)^2 / (2 * sigma_Y^2); b = sin(2 * theta) / (4 * sigma_X^2) - sin(2 * theta) / (4 * sigma_Y^2); c = sin(theta)^2 / (2 * sigma_X^2) + cos(theta)^2 / (2 * sigma_Y^2); Z = A * exp(-(a * (X - x0).^2 + 2 * b * (X - x0) .* (Y - y0) + c * (Y - y0).^2)); surf(X, Y, Z); shading interp; view(-36, 36) waitforbuttonpress end Such functions are often used in image processing and in computational models of
visual system The visual system comprises the sensory organ (the eye) and parts of the central nervous system (the retina containing photoreceptor cells, the optic nerve, the optic tract and the visual cortex) which gives organisms the sense of sight (th ...
function—see the articles on
scale space Scale-space theory is a framework for multi-scale signal representation developed by the computer vision, image processing and signal processing communities with complementary motivations from physics and biological vision. It is a formal theor ...
and
affine shape adaptation Affine shape adaptation is a methodology for iteratively adapting the shape of the smoothing kernels in an affine group of smoothing kernels to the local image structure in neighbourhood region of a specific image point. Equivalently, affine shap ...
. Also see
multivariate normal distribution In probability theory and statistics, the multivariate normal distribution, multivariate Gaussian distribution, or joint normal distribution is a generalization of the one-dimensional ( univariate) normal distribution to higher dimensions. One ...
.


Higher-order Gaussian or super-Gaussian function

A more general formulation of a Gaussian function with a flat-top and Gaussian fall-off can be taken by raising the content of the exponent to a power P: f(x) = A \exp\left(-\left(\frac\right)^P\right). This function is known as a super-Gaussian function and is often used for Gaussian beam formulation. This function may also be expressed in terms of the
full width at half maximum In a distribution, full width at half maximum (FWHM) is the difference between the two values of the independent variable at which the dependent variable is equal to half of its maximum value. In other words, it is the width of a spectrum curve mea ...
(FWHM), represented by : f(x) = A \exp\left(-\ln 2\left(4\frac\right)^P\right). In a two-dimensional formulation, a Gaussian function along x and y can be combined with potentially different P_X and P_Y to form an elliptical Gaussian distribution: f(x , y) = A \exp\left(-\left(\frac + \frac\right)^P\right) or a rectangular Gaussian distribution: f(x, y) = A \exp\left(-\left(\frac\right)^ - \left(\frac\right)^\right).


Multi-dimensional Gaussian function

In an n-dimensional space a Gaussian function can be defined as f(x) = \exp(-x^\mathsf C x), where x = \begin x_1 & \cdots & x_n\end is a column of n coordinates, C is a positive-definite n \times n matrix, and ^\mathsf denotes
matrix transposition In linear algebra, the transpose of a matrix is an operator which flips a matrix over its diagonal; that is, it switches the row and column indices of the matrix by producing another matrix, often denoted by (among other notations). The t ...
. The integral of this Gaussian function over the whole n-dimensional space is given as \int_ \exp(-x^\mathsf C x) \, dx = \sqrt. It can be easily calculated by diagonalizing the matrix C and changing the integration variables to the eigenvectors of C. More generally a shifted Gaussian function is defined as f(x) = \exp(-x^\mathsf C x + s^\mathsf x), where s = \begin s_1 & \cdots & s_n\end is the shift vector and the matrix C can be assumed to be symmetric, C^\mathsf = C, and positive-definite. The following integrals with this function can be calculated with the same technique: \int_ e^ \, dx = \sqrt \exp\left(\frac v^\mathsf C^ v\right) \equiv \mathcal. \int_ e^ (a^\mathsf x) \, dx = (a^T u) \cdot \mathcal, \text u = \frac C^ v. \int_ e^ (x^\mathsf D x) \, dx = \left( u^\mathsf D u + \frac \operatorname (D C^) \right) \cdot \mathcal. \begin & \int_ e^ \left( -\frac \Lambda \frac \right) e^ \, dx \\ & \qquad = \left( 2 \operatorname(C' \Lambda C B^) + 4 u^\mathsf C' \Lambda C u - 2 u^\mathsf (C' \Lambda s + C \Lambda s') + s'^\mathsf \Lambda s \right) \cdot \mathcal, \end where u = \frac B^ v,\ v = s + s',\ B = C + C'.


Estimation of parameters

A number of fields such as stellar photometry,
Gaussian beam In optics, a Gaussian beam is a beam of electromagnetic radiation with high monochromaticity whose amplitude envelope in the transverse plane is given by a Gaussian function; this also implies a Gaussian intensity (irradiance) profile. Thi ...
characterization, and emission/absorption line spectroscopy work with sampled Gaussian functions and need to accurately estimate the height, position, and width parameters of the function. There are three unknown parameters for a 1D Gaussian function (''a'', ''b'', ''c'') and five for a 2D Gaussian function (A; x_0,y_0; \sigma_X,\sigma_Y). The most common method for estimating the Gaussian parameters is to take the logarithm of the data and fit a parabola to the resulting data set.Hongwei Guo, "A simple algorithm for fitting a Gaussian function," IEEE Sign. Proc. Mag. 28(9): 134-137 (2011).
/ref> While this provides a simple
curve fitting Curve fitting is the process of constructing a curve, or mathematical function, that has the best fit to a series of data points, possibly subject to constraints. Curve fitting can involve either interpolation, where an exact fit to the data i ...
procedure, the resulting algorithm may be biased by excessively weighting small data values, which can produce large errors in the profile estimate. One can partially compensate for this problem through
weighted least squares Weighted least squares (WLS), also known as weighted linear regression, is a generalization of ordinary least squares and linear regression in which knowledge of the variance of observations is incorporated into the regression. WLS is also a speci ...
estimation, reducing the weight of small data values, but this too can be biased by allowing the tail of the Gaussian to dominate the fit. In order to remove the bias, one can instead use an iteratively reweighted least squares procedure, in which the weights are updated at each iteration. It is also possible to perform
non-linear regression In statistics, nonlinear regression is a form of regression analysis in which observational data are modeled by a function which is a nonlinear combination of the model parameters and depends on one or more independent variables. The data are fit ...
directly on the data, without involving the logarithmic data transformation; for more options, see probability distribution fitting.


Parameter precision

Once one has an algorithm for estimating the Gaussian function parameters, it is also important to know how precise those estimates are. Any least squares estimation algorithm can provide numerical estimates for the variance of each parameter (i.e., the variance of the estimated height, position, and width of the function). One can also use
Cramér–Rao bound In estimation theory and statistics, the Cramér–Rao bound (CRB) expresses a lower bound on the variance of unbiased estimators of a deterministic (fixed, though unknown) parameter, the variance of any such estimator is at least as high as the ...
theory to obtain an analytical expression for the lower bound on the parameter variances, given certain assumptions about the data.N. Hagen, M. Kupinski, and E. L. Dereniak, "Gaussian profile estimation in one dimension," Appl. Opt. 46:5374–5383 (2007)
/ref>N. Hagen and E. L. Dereniak, "Gaussian profile estimation in two dimensions," Appl. Opt. 47:6842–6851 (2008)
/ref> # The noise in the measured profile is either
i.i.d. In probability theory and statistics, a collection of random variables is independent and identically distributed if each random variable has the same probability distribution as the others and all are mutually independent. This property is us ...
Gaussian, or the noise is Poisson-distributed. # The spacing between each sampling (i.e. the distance between pixels measuring the data) is uniform. # The peak is "well-sampled", so that less than 10% of the area or volume under the peak (area if a 1D Gaussian, volume if a 2D Gaussian) lies outside the measurement region. # The width of the peak is much larger than the distance between sample locations (i.e. the detector pixels must be at least 5 times smaller than the Gaussian FWHM). When these assumptions are satisfied, the following covariance matrix K applies for the 1D profile parameters a, b, and c under i.i.d. Gaussian noise and under Poisson noise: \mathbf_ = \frac \begin \frac &0 &\frac \\ 0 &\frac &0 \\ \frac &0 &\frac \end \ , \qquad \mathbf_\text = \frac \begin \frac &0 &-\frac \\ 0 &\frac &0 \\ -\frac &0 &\frac \end \ , where \delta_X is the width of the pixels used to sample the function, Q is the quantum efficiency of the detector, and \sigma indicates the standard deviation of the measurement noise. Thus, the individual variances for the parameters are, in the Gaussian noise case, \begin \operatorname (a) &= \frac \\ \operatorname (b) &= \frac \\ \operatorname (c) &= \frac \end and in the Poisson noise case, \begin \operatorname (a) &= \frac \\ \operatorname (b) &= \frac \\ \operatorname (c) &= \frac. \end For the 2D profile parameters giving the amplitude A, position (x_0,y_0), and width (\sigma_X,\sigma_Y) of the profile, the following covariance matrices apply: \begin \mathbf_\text = \frac & \begin \frac &0 &0 &\frac &\frac \\ 0 &\frac &0 &0 &0 \\ 0 &0 &\frac &0 &0 \\ \frac &0 &0 &\frac &0 \\ \frac &0 &0 &0 &\frac \end \\ pt\mathbf_ = \frac & \begin \frac &0 &0 &\frac &\frac \\ 0 & \frac &0 &0 &0 \\ 0 &0 &\frac &0 &0 \\ \frac &0 &0 &\frac &\frac \\ \frac &0 &0 &\frac &\frac \end. \end where the individual parameter variances are given by the diagonal elements of the covariance matrix.


Discrete Gaussian

One may ask for a discrete analog to the Gaussian; this is necessary in discrete applications, particularly digital signal processing. A simple answer is to sample the continuous Gaussian, yielding the
sampled Gaussian kernel In the areas of computer vision, image analysis and signal processing, the notion of scale-space representation is used for processing measurement data at multiple scales, and specifically enhance or suppress image features over different ranges o ...
. However, this discrete function does not have the discrete analogs of the properties of the continuous function, and can lead to undesired effects, as described in the article
scale space implementation In the areas of computer vision, image analysis and signal processing, the notion of scale-space representation is used for processing measurement data at multiple scales, and specifically enhance or suppress image features over different ranges o ...
. An alternative approach is to use the discrete Gaussian kernel: Lindeberg, T., "Scale-space for discrete signals," PAMI(12), No. 3, March 1990, pp. 234–254.
/ref> T(n, t) = e^ I_n(t) where I_n(t) denotes the modified Bessel functions of integer order. This is the discrete analog of the continuous Gaussian in that it is the solution to the discrete diffusion equation (discrete space, continuous time), just as the continuous Gaussian is the solution to the continuous diffusion equation.


Applications

Gaussian functions appear in many contexts in the
natural sciences Natural science is one of the branches of science concerned with the description, understanding and prediction of natural phenomena, based on empirical evidence from observation and experimentation. Mechanisms such as peer review and repeatab ...
, the
social sciences Social science is one of the branches of science, devoted to the study of societies and the relationships among individuals within those societies. The term was formerly used to refer to the field of sociology, the original "science of so ...
, mathematics, and
engineering Engineering is the use of scientific principles to design and build machines, structures, and other items, including bridges, tunnels, roads, vehicles, and buildings. The discipline of engineering encompasses a broad range of more speciali ...
. Some examples include: * In statistics and
probability theory Probability theory is the branch of mathematics concerned with probability. Although there are several different probability interpretations, probability theory treats the concept in a rigorous mathematical manner by expressing it through a set ...
, Gaussian functions appear as the density function of the
normal distribution In statistics, a normal distribution or Gaussian distribution is a type of continuous probability distribution for a real-valued random variable. The general form of its probability density function is : f(x) = \frac e^ The parameter \mu ...
, which is a limiting probability distribution of complicated sums, according to the
central limit theorem In probability theory, the central limit theorem (CLT) establishes that, in many situations, when independent random variables are summed up, their properly normalized sum tends toward a normal distribution even if the original variables themsel ...
. * Gaussian functions are the
Green's function In mathematics, a Green's function is the impulse response of an inhomogeneous linear differential operator defined on a domain with specified initial conditions or boundary conditions. This means that if \operatorname is the linear differenti ...
for the (homogeneous and isotropic) diffusion equation (and to the heat equation, which is the same thing), a partial differential equation that describes the time evolution of a mass-density under
diffusion Diffusion is the net movement of anything (for example, atoms, ions, molecules, energy) generally from a region of higher concentration to a region of lower concentration. Diffusion is driven by a gradient in Gibbs free energy or chemica ...
. Specifically, if the mass-density at time ''t''=0 is given by a
Dirac delta In mathematics, the Dirac delta distribution ( distribution), also known as the unit impulse, is a generalized function or distribution (mathematics), distribution over the real numbers, whose value is zero everywhere except at zero, and who ...
, which essentially means that the mass is initially concentrated in a single point, then the mass-distribution at time ''t'' will be given by a Gaussian function, with the parameter ''a'' being linearly related to 1/ and ''c'' being linearly related to ; this time-varying Gaussian is described by the heat kernel. More generally, if the initial mass-density is φ(''x''), then the mass-density at later times is obtained by taking the
convolution In mathematics (in particular, functional analysis), convolution is a mathematical operation on two functions ( and ) that produces a third function (f*g) that expresses how the shape of one is modified by the other. The term ''convolution'' ...
of φ with a Gaussian function. The convolution of a function with a Gaussian is also known as a
Weierstrass transform In mathematics, the Weierstrass transform of a function , named after Karl Weierstrass, is a "smoothed" version of obtained by averaging the values of , weighted with a Gaussian centered at ''x''. Specifically, it is the function define ...
. * A Gaussian function is the
wave function A wave function in quantum physics is a mathematical description of the quantum state of an isolated quantum system. The wave function is a complex-valued probability amplitude, and the probabilities for the possible results of measurements ...
of the ground state of the quantum harmonic oscillator. * The
molecular orbital In chemistry, a molecular orbital is a mathematical function describing the location and wave-like behavior of an electron in a molecule. This function can be used to calculate chemical and physical properties such as the probability of findin ...
s used in computational chemistry can be linear combinations of Gaussian functions called
Gaussian orbital In computational chemistry and molecular physics, Gaussian orbitals (also known as Gaussian type orbitals, GTOs or Gaussians) are functions used as atomic orbitals in the LCAO method for the representation of electron orbitals in molecules and num ...
s (see also
basis set (chemistry) In theoretical and computational chemistry, a basis set is a set of functions (called basis functions) that is used to represent the electronic wave function in the Hartree–Fock method or density-functional theory in order to turn the parti ...
). * Mathematically, the
derivative In mathematics, the derivative of a function of a real variable measures the sensitivity to change of the function value (output value) with respect to a change in its argument (input value). Derivatives are a fundamental tool of calculus. ...
s of the Gaussian function can be represented using Hermite functions. For unit variance, the ''n''-th derivative of the Gaussian is the Gaussian function itself multiplied by the ''n''-th
Hermite polynomial In mathematics, the Hermite polynomials are a classical orthogonal polynomial sequence. The polynomials arise in: * signal processing as Hermitian wavelets for wavelet transform analysis * probability, such as the Edgeworth series, as well as ...
, up to scale. * Consequently, Gaussian functions are also associated with the
vacuum state In quantum field theory, the quantum vacuum state (also called the quantum vacuum or vacuum state) is the quantum state with the lowest possible energy. Generally, it contains no physical particles. The word zero-point field is sometimes used as ...
in quantum field theory. *
Gaussian beam In optics, a Gaussian beam is a beam of electromagnetic radiation with high monochromaticity whose amplitude envelope in the transverse plane is given by a Gaussian function; this also implies a Gaussian intensity (irradiance) profile. Thi ...
s are used in optical systems, microwave systems and lasers. * In
scale space Scale-space theory is a framework for multi-scale signal representation developed by the computer vision, image processing and signal processing communities with complementary motivations from physics and biological vision. It is a formal theor ...
representation, Gaussian functions are used as smoothing kernels for generating multi-scale representations in computer vision and image processing. Specifically, derivatives of Gaussians ( Hermite functions) are used as a basis for defining a large number of types of visual operations. * Gaussian functions are used to define some types of
artificial neural network Artificial neural networks (ANNs), usually simply called neural networks (NNs) or neural nets, are computing systems inspired by the biological neural networks that constitute animal brains. An ANN is based on a collection of connected unit ...
s. * In
fluorescence microscopy A fluorescence microscope is an optical microscope that uses fluorescence instead of, or in addition to, scattering, reflection, and attenuation or absorption, to study the properties of organic or inorganic substances. "Fluorescence microscop ...
a 2D Gaussian function is used to approximate the
Airy disk In optics, the Airy disk (or Airy disc) and Airy pattern are descriptions of the best- focused spot of light that a perfect lens with a circular aperture can make, limited by the diffraction of light. The Airy disk is of importance in physics, ...
, describing the intensity distribution produced by a
point source A point source is a single identifiable ''localised'' source of something. A point source has negligible extent, distinguishing it from other source geometries. Sources are called point sources because in mathematical modeling, these sources ca ...
. * In
signal processing Signal processing is an electrical engineering subfield that focuses on analyzing, modifying and synthesizing ''signals'', such as sound, images, and scientific measurements. Signal processing techniques are used to optimize transmissions, ...
they serve to define
Gaussian filter In electronics and signal processing mainly in digital signal processing, a Gaussian filter is a filter whose impulse response is a Gaussian function (or an approximation to it, since a true Gaussian response would have infinite impulse respons ...
s, such as in image processing where 2D Gaussians are used for
Gaussian blur In image processing, a Gaussian blur (also known as Gaussian smoothing) is the result of blurring an image by a Gaussian function (named after mathematician and scientist Carl Friedrich Gauss). It is a widely used effect in graphics software, ...
s. In digital signal processing, one uses a discrete Gaussian kernel, which may be defined by sampling a Gaussian, or in a different way. * In
geostatistics Geostatistics is a branch of statistics focusing on spatial or spatiotemporal datasets. Developed originally to predict probability distributions of ore grades for mining operations, it is currently applied in diverse disciplines including p ...
they have been used for understanding the variability between the patterns of a complex training image. They are used with kernel methods to cluster the patterns in the feature space.Honarkhah, M and Caers, J, 2010,
Stochastic Simulation of Patterns Using Distance-Based Pattern Modeling
', Mathematical Geosciences, 42: 487–517


See also

*
Normal distribution In statistics, a normal distribution or Gaussian distribution is a type of continuous probability distribution for a real-valued random variable. The general form of its probability density function is : f(x) = \frac e^ The parameter \mu ...
*
Lorentzian function 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) funct ...
*
Radial basis function kernel In machine learning, the radial basis function kernel, or RBF kernel, is a popular kernel function used in various kernelized learning algorithms. In particular, it is commonly used in support vector machine classification. The RBF kernel on two ...


References


External links


Mathworld, includes a proof for the relations between c and FWHM
* {{MathPages, id=home/kmath045/kmath045, title=Integrating The Bell Curve
Haskell, Erlang and Perl implementation of Gaussian distribution

Bensimhoun Michael, ''N''-Dimensional Cumulative Function, And Other Useful Facts About Gaussians and Normal Densities (2009)Code for fitting Gaussians in ImageJ and Fiji.
Exponentials Articles containing proofs Articles with example MATLAB/Octave code