ArticleslgStudy

mathematics

Convolution

Convolution is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Convolution rather than just read about it. In short: In mathematics (in particular, functional analysis), convolution is a mathematical operation on two functions f and g that produces a third function f∗g, as the integral of the product of the two functions after one is reflected about the y-axis and shifted. The term convolution refers to both the resulting function and to the process of computing it.

Convolution — main illustration
Convolution — illustration

Key takeaways

  • Convolution belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Convolution to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Convolution from memory before moving on to harder problems.

Reference excerpt

In mathematics (in particular, functional analysis), convolution is a mathematical operation on two functions f and g that produces a third function f∗g, as the integral of the product of the two functions after one is reflected about the y-axis and shifted. The term convolution refers to both the resulting function and to the process of computing it. The integral is evaluated for all values of shift, producing the convolution function. The choice of which function is reflected and shifted before the integral does not change the integral result (see commutativity). Graphically, it expresses how the 'shape' of one function is modified by the other. Some features of convolution are similar to cross-correlation: for real-valued functions, of a continuous or discrete variable, convolution f∗g differs from cross-correlation f⋆g only in that either f(x) or g(x) is reflected about the y-axis in convolution; thus it is a cross-correlation of g(−x) and f(x), or f(−x) and g(x). For complex-valued functions, the cross-correlation operator is the adjoint of the convolution operator. Convolution has applications that include probability, statistics, acoustics, spectroscopy, signal processing and image processing, computer vision and human vision, geophysics, engineering, physics, and differential equations. The convolution can be defined for functions on Euclidean space and other groups (as algebraic structures). For example, periodic functions, such as the discrete-time Fourier transform, can be defined on a circle and convolved by periodic convolution. (See row 18 at DTFT § Properties.) A discrete convolution can be defined for functions on the set of integers. Generalizations of convolution have applications in the field of numerical analysis and numerical linear algebra, and in the design and implementation of finite impulse response filters in signal processing. Computing the inverse of the convolution operation is known as deconvolution.

Definition The convolution of f and g is written f∗g, denoting the operator with the symbol ∗. It is defined as the integral of the product of the two functions after one is reflected about the y-axis and shifted. As such, it is a particular kind of integral transform:

(f∗g)(t):=∫−∞∞f(τ)g(t−τ)dτ. An equivalent definition is (see commutativity):

(f∗g)(t):=∫−∞∞f(t−τ)g(τ)dτ. While the symbol t is used above, it need not represent the time domain. At each t, the convolution formula can be described as the area under the function f(τ) weighted by the function g(−τ) shifted by the amount t. As t changes, the weighting function g(t−τ) emphasizes different parts of the input function f(τ); If t is a positive value, then g(t−τ) is equal to g(−τ) that slides or is shifted along the τ-axis toward the right (toward +∞) by the amount of t, while if t is a negative value, then g(t−τ) is equal to g(−τ) that slides or is shifted toward the left (toward −∞) by the amount of |t|. For functions f, g supported on only [0,∞) (i.e., zero for negative arguments), the integration limits can be truncated, resulting in:

(f∗g)(t)=∫0tf(τ)g(t−τ)dτ for f,g:[0,∞)→ℝ. For the multi-dimensional formulation of convolution, see domain of definition (below).

Notation A common engineering notational convention is:

f(t)∗g(t):=∫−∞∞f(τ)g(t−τ)dτ⏟(f∗g)(t), which has to be interpreted carefully to avoid confusion. For instance, f(t)∗g(t−t0) is equivalent to (f∗g)(t−t0), but f(t−t0)∗g(t−t0) is in fact equivalent to (f∗g)(t−2t0).

Relations with other transforms Given two functions f(t) and g(t) with bilateral Laplace transforms (two-sided Laplace transform)

F(s)=∫−∞∞e−su f(u) du and

G(s)=∫−∞∞e−sv g(v) dv respectively, the convolution operation (f∗g)(t) can be defined as the inverse Laplace transform of the product of F(s) and G(s). More precisely,

F(s)⋅G(s)=∫−∞∞e−su f(u) du⋅∫−∞∞e−sv g(v) dv=∫−∞∞∫−∞∞e−s(u+v) f(u) g(v) du dv Let t=u+v, then

F(s)⋅G(s)=∫−∞∞∫−∞∞e−st f(u) g(t−u) du dt=∫−∞∞e−st∫−∞∞f(u) g(t−u) du⏟(f∗g)(t) dt=∫−∞∞e−st(f∗g)(t) dt. Note that F(s)⋅G(s) is the bilateral Laplace transform of (f∗g)(t). A similar derivation can be done using the unilateral Laplace transform (one-sided Laplace transform). The convolution operation also describes the output (in terms of the input) of an important class of operations known as linear time-invariant (LTI). See LTI system theory for a derivation of convolution as the result of LTI constraints. In terms of the Fourier transforms of the input and output of an LTI operation, no new frequency components are created. The existing ones are only modified (amplitude and/or phase). In other words, the output transform is the pointwise product of the input transform with a third transform (known as a transfer function). See Convolution theorem for a derivation of that property of convolution. Conversely, convolution can be derived as the inverse Fourier transform of the pointwise product of two Fourier transforms.

Visual explanation

Historical developments One of the earliest uses of the convolution integral appeared in D'Alembert's derivation of Taylor's theorem in Recherches sur différents points importants du système du monde, published in 1754. Also, an expression of the type:

∫f(u)⋅g(x−u)du is used by Sylvestre François Lacroix on page 505 of his book entitled Treatise on differences and series, which is the last of 3 volumes of the encyclopedic series: Traité du calcul différentiel et du calcul intégral, Chez Courcier, Paris, 1797–1800. Soon thereafter, convolution operations appear in the works of Pierre Simon Laplace, Jean-Baptiste Joseph Fourier, Siméon Denis Poisson, and others. The term itself did not come into wide use until the 1950s or 1960s. Prior to that it was sometimes known as Faltung (which means folding in German), composition product, superposition integral, and Carson's integral. Yet it appears as early as 1903, though the definition is rather unfamiliar in older uses. The operation:

∫0tφ(s)ψ(t−s)ds,0≤t<∞, is a particular case of composition products considered by the Italian mathematician Vito Volterra in 1913.

Circular convolution

When a function gT is periodic, with period T, then for functions, f, such that f∗gT exists, the convolution is also periodic and identical to:

… excerpt ends here. Continue reading the full article.

Illustrations

Convolution: Visual comparison of convolution, cross-correlation, and autocorrelation. For the operations involving function f, and assuming the height of f is 1.0, the value of the result at 5 different points is indicated by the shaded area below each point. The symmetry of f is the reason f⋆g and g∗f are identical in this example.
Visual comparison of convolution, cross-correlation, and autocorrelation. For the operations involving function f, and assuming the height of f is 1.0, the value of the result at 5 different points is indicated by the shaded area below each point. The symmetry of f is the reason f⋆g and g∗f are identical in this example.
Convolution illustration
Convolution illustration
Convolution illustration
Convolution: Discrete 2D convolution animation
Discrete 2D convolution animation

Worked examples

Example 1 — a first encounter with Convolution

Start with the simplest possible case. Write down what Convolution claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Convolution before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Convolution ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Convolution

In research
Convolution appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Convolution in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Convolution is common in secondary-school and first-year university syllabi. It links to neighbouring topics Bilinear maps, Feature detection (computer vision), Fourier analysis, so understanding it makes those chapters shorter.
In everyday life
Look for Convolution outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Convolution” →

How to study Convolution in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Convolution means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Convolution out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Convolution in simple terms?

In mathematics (in particular, functional analysis), convolution is a mathematical operation on two functions f and g that produces a third function f∗g, as the integral of the product of the two functions after one is reflected about the y-axis and shifted. The term convolution refers to both the…

Why does Convolution matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Convolution?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Convolution.

Tags

  • Bilinear maps
  • Feature detection (computer vision)
  • Fourier analysis
  • Functional analysis
  • Image processing

Keep exploring