Wolfram Researchmathworld.wolfram.comOther Wolfram Sites
Search Site

INDEX
Algebra
Applied Mathematics
Calculus and Analysis
Discrete Mathematics
Foundations of Mathematics
Geometry
History and Terminology
Number Theory
Probability and Statistics
Recreational Mathematics
Topology
Alphabetical Index

DESTINATIONS
About MathWorld
About the Author
Headline News (RSS)
New in MathWorld
MathWorld Classroom
Interactive Entries
Random Entry

CONTACT
Contribute an Entry
Send a Message to the Team

MATHWORLD - IN PRINT
Order book from Amazon

Convolution
COMMENT On this Page EXPLORE THIS TOPIC IN the MathWorld ClassroomDOWNLOAD Mathematica Notebook

A convolution is an integral that expresses the amount of overlap of one function g as it is shifted over another function f. It therefore "blends" one function with another. For example, in synthesis imaging Eric Weisstein's World of Physics, the measured dirty map Eric Weisstein's World of Physics is a convolution of the "true" CLEAN map Eric Weisstein's World of Physics with the dirty beam Eric Weisstein's World of Physics (the Fourier transform of the sampling distribution). The convolution is sometimes also known by its German name, faltung ("folding").

Abstractly, a convolution is defined as a product of functions f and g that are objects in the algebra of Schwartz functions in R^n. Convolution of two functions f and g over a finite range [0,t] is given by

f*g=int_0^tf(tau)g(t-tau)dtau,(1)

where the symbol f*g (occasionally also written as f tensor g) denotes convolution of f and g. Convolution is more often taken over an infinite range,

f*g=int_(-infty)^inftyf(tau)g(t-tau)dtau==int_(-infty)^inftyg(tau)f(t-tau)dtau(2)

(Bracewell 1999, p. 25).

Convolution of two rectangle functions
Convolution of two Gaussian functions

The animations above graphically illustrate the convolution of two rectangle functions (left) and two Gaussians (right). In the plots, the green curve shows the convolution of the blue and red curves as a function of t, the position indicated by the vertical green line. The gray region indicates the product g(tau)f(t-tau) as a function of t, so its area as a function of t is precisely the convolution.

The convolution of two rectangle functions f==Pi_(t_1,t_2)(t) and g==Pi_(u_1,u_2)(t) has the particularly simple form

f*g==[(t-t_1-u_1)Pi(t-t_1-u_1)-(t-t_2-u_1)Pi(t-t_2-u_1)-(t-t_1-u_2)Pi(t-t_1-u_2)+(t-t_2-u_2)Pi(t-t_2-u_2)]. (3)

Even more amazingly, the convolution of two Gaussians f==e^(-(t-mu_1)^2/(2sigma_1^2))/(sigma_1sqrt(2pi)) and g==e^(-(t-mu_2)^2/(2sigma_2^2))/(sigma_2sqrt(2pi)) is another Gaussian

f*g==1/(sqrt(2pi(sigma_1^2+sigma_2^2)))e^(-[t-(mu_1+mu_2)]^2/[2(sigma_1^2+sigma_2^2)]).(4)

Let f, g, and h be arbitrary functions and a a constant. Convolution satisfies the properties

f*g=g*f(5)
f*(g*h)=(f*g)*h(6)
f*(g+h)=(f*g)+(f*h)(7)

(Bracewell 1999, p. 27), as well as

a(f*g)==(af)*g==f*(ag).(8)

Taking the derivative of a convolution gives

d/(dx)(f*g)==(df)/(dx)*g==f*(dg)/(dx).(9)

The area under a convolution is the product of areas under the factors,

int_(-infty)^infty(f*g)dx=int_(-infty)^infty[int_(-infty)^inftyf(u)g(x-u)du]dx(10)
=int_(-infty)^inftyf(u)[int_(-infty)^inftyg(x-u)dx]du(11)
=[int_(-infty)^inftyf(u)du][int_(-infty)^inftyg(x)dx].(12)

The horizontal function centroids add

<x(f*g)>==<xf>+<xg>,(13)

as do the variances

<x^2(f*g)>==<x^2f>+<x^2g>,(14)

where

<x^nf>=(int_(-infty)^inftyx^nf(x)dx)/(int_(-infty)^inftyf(x)dx).(15)

There is also a definition of the convolution which arises in probability theory and is given by

F(t)*G(t)==intF(t-x)dG(x),(16)

where intF(t-x)dG(x) is a Stieltjes integral.

SEE ALSO: Autocorrelation, Cauchy Product, Convolution Theorem, Cross-Correlation, Recurrence Plot, Wiener-Khinchin Theorem. [Pages Linking Here]

REFERENCES:

Bracewell, R. "Convolution" and "Two-Dimensional Convolution." Ch. 3 in The Fourier Transform and Its Applications, 3rd ed. New York: McGraw-Hill, pp. 25-50 and 243-244, 1999.

Hirschman, I. I. and Widder, D. V. The Convolution Transform. Princeton, NJ: Princeton University Press, 1955.

Morse, P. M. and Feshbach, H. Methods of Theoretical Physics, Part I. New York: McGraw-Hill, pp. 464-465, 1953.

Press, W. H.; Flannery, B. P.; Teukolsky, S. A.; and Vetterling, W. T. "Convolution and Deconvolution Using the FFT." §13.1 in Numerical Recipes in FORTRAN: The Art of Scientific Computing, 2nd ed. Cambridge, England: Cambridge University Press, pp. 531-537, 1992.

Weisstein, E. W. "Books about Convolution." http://www.ericweisstein.com/encyclopedias/books/Convolution.html.



CITE THIS AS:

Eric W. Weisstein. "Convolution." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/Convolution.html