Log in Sign up
Back to Discover
🔢

Convolution

math Maturity 7-9

Two shapes can blend together. One shape moves over the other. They change how they look. This helps us see new things. It can even help us see better.

2D Convolution Animation.gif
2D Convolution Animation.gif
Can you find shapes in your room?

39 words

Imagine two shapes. One shape moves over the other. They blend together to make a new shape.

2D Convolution Animation.gif
2D Convolution Animation.gif
This is called convolution.

To do this, you flip one shape first. Then you slide it across the other. You look at how much they overlap.

Convolution3.svg
Convolution3.svg
This overlap tells you the new shape.

This idea helps us in many ways. It helps computers see better. It helps us study sound and light. It even helps us understand how we see.

Halftone, Gaussian Blur.jpg
Halftone, Gaussian Blur.jpg
Math helps us see the world in new ways.

93 words

Imagine you have two different shapes. One shape moves across the other. As they move, they blend together. This blend makes a brand new shape. In math, we call this process convolution.

2D Convolution Animation.gif
2D Convolution Animation.gif

To find this new shape, you follow a few steps. First, you must flip one of the shapes. This is like looking at it in a mirror. Next, you slide the flipped shape across the first one. You measure how much they overlap at every step. This overlap creates the final result.

Convolution3.svg
Convolution3.svg

Many people use convolution to solve hard puzzles. It helps computers understand images. It also helps us study sound and light. Even human vision uses these ideas.

Halftone, Gaussian Blur.jpg
Halftone, Gaussian Blur.jpg

Math experts have used this idea for a long time. A man named D'Alembert used it in 1754. Later, famous thinkers like Laplace and Fourier studied it too. Before the 1950s, people used different names for it. One name was Faltung, which means folding in German.

164 words

Imagine you have two different shapes. One shape moves across the other. As they move, they blend together. This blend makes a brand new shape. In math, we call this process convolution.

2D Convolution Animation.gif
2D Convolution Animation.gif
Convolution is a way to combine two functions to make a third one. A function is just a rule that describes a shape or a pattern. To find the new shape, you follow a specific set of steps. First, you must reflect one of the functions about the y-axis. This is like looking at the shape in a mirror. Next, you slide that flipped shape along an axis. You measure the overlap between the two shapes at every single step. This overlap creates the final result called the convolution function.
Convolution3.svg
Convolution3.svg

This mathematical tool is very useful in many different fields. It helps engineers understand how signals like sound and light behave. In computer science, it helps machines process images and see the world. Scientists use it in geophysics and physics to study the Earth. It is also used in statistics and probability to understand data. Even the way humans see can be described using these ideas.

Halftone, Gaussian Blur.jpg
Halftone, Gaussian Blur.jpg
Because it is so helpful, many different types of math use it. For example, it can be used on circles or on sets of integers. When the shapes are very simple, like a single pulse, the result is easy to find.
Convolution of box signal with itself2.gif
Convolution of box signal with itself2.gif

People have been studying these ideas for a very long time. One of the earliest uses was by D'Alembert in 1754. He used it while working on a famous math theorem. Later, other great thinkers like Pierre Simon Laplace and Jean-Baptiste Joseph Fourier studied it. Sylvestre François Lacroix also used these ideas in his books between 1797 and 1800. Even though the math was used early, the name "convolution" was not common until the 1950s or 1960s. Before that, people called it many other things. One name was Faltung, which is the German word for folding.

There are many ways to do this math quickly. When working with computers, we often use something called a fast Fourier transform. This is also known as an FFT algorithm. Using an FFT can make the math much faster for a computer to finish. Without these fast ways, doing convolution would take a lot more work. There are even other methods like the Winograd method or the Schönhage–Strassen algorithm. These help computers handle huge amounts of data very efficiently.

comparison convolution correlation.svg
comparison convolution correlation.svg
These tools allow us to do complex math in real time.

You can see convolution working in your everyday life. It is used when we multiply large numbers together. It is also used to create filters that change how an image looks. If you have ever used a blur effect on a photo, you have seen convolution. It can also describe how an electrical circuit responds to a quick pulse. The math helps us predict exactly how the signal will change over time. It turns two separate pieces of information into one clear answer.

2D Convolution Animation.gif
2D Convolution Animation.gif

521 words

Convolution is a fundamental mathematical operation used to combine two functions. This process produces a third function, which represents how one shape modifies another. In functional analysis, convolution is defined as the integral of the product of two functions. One function is first reflected across the y-axis and then shifted along an axis. The term "convolution" describes both the mathematical process and the resulting function itself. It is a specific type of integral transform used to study how different signals or shapes interact.

Convolution3.svg
Convolution3.svg

To understand the mechanism, imagine one function acting as a weighting tool for another. You begin by reflecting one function about the y-axis. Then, you slide this reflected function along the horizontal axis by a specific amount, often called the shift. At every possible shift, you calculate the area under the product of the two functions. This area is the value of the convolution at that specific point. As the shift changes, the weighting function emphasizes different parts of the input function. If the shift is positive, the function slides toward the right. If the shift is negative, it slides toward the left.

comparison convolution correlation.svg
comparison convolution correlation.svg

There are several distinct types of convolution depending on the mathematical context. Continuous convolution involves functions on Euclidean space, often using integrals. Discrete convolution is used for functions defined on sets of integers, such as sequences of numbers. When functions are periodic, they can undergo circular or cyclic convolution. This occurs when the convolution is performed on a circle or within a cyclic group. In digital signal processing, circular convolution is often used alongside fast Fourier transform algorithms. Another variation is the Cauchy product, which occurs when convolving the coefficients of two polynomials.

2D Convolution Animation.gif
2D Convolution Animation.gif

History shows that these ideas emerged long before the term "convolution" became common. One of the earliest recorded uses appeared in 1754 in D'Alembert's work on Taylor's theorem. Between 1797 and 1800, Sylvestre François Lacroix used similar expressions in his encyclopedic series. Great mathematicians like Pierre Simon Laplace, Jean-Baptiste Joseph Fourier, and Siméon Denis Poisson also contributed to these ideas. Interestingly, the name "convolution" did not see widespread use until the 1950s or 1960s. Before this, researchers used names like "Faltung," which is German for "folding," or the "superposition integral." In 1913, Vito Volterra also studied these operations as composition products.

Convolution is significant because it describes the behavior of linear time-invariant (LTI) systems. In these systems, the output is the convolution of the input with the system's impulse response. This relationship is vital in engineering and physics. For example, convolution can model how a resistor-capacitor circuit responds to a narrow electrical pulse. The mathematical result can be a "smeared" or modified version of the original signal. In the frequency domain, the convolution theorem states that convolution in one domain is equivalent to pointwise multiplication in another. This allows scientists to use Fourier transforms to simplify complex calculations.

Convolution of box signal with itself2.gif
Convolution of box signal with itself2.gif

Computers use specialized algorithms to perform these calculations efficiently. A standard discrete convolution can be very slow for large datasets. To speed this up, engineers use fast convolution algorithms. The most common method uses the Fast Fourier Transform (FFT) to convert the problem into circular convolution. This reduces the computational complexity significantly. Other advanced methods include the Winograd method, which speeds up 1D, 2D, and 3D convolutions. For very long sequences, scientists use the overlap-save or overlap-add methods. These techniques allow for real-time processing in modern technology.

Halftone, Gaussian Blur.jpg
Halftone, Gaussian Blur.jpg

The applications of convolution span almost every field involving data and signals. In computer vision and human vision, it helps machines recognize shapes and patterns. Image processing relies on convolution for tasks like applying a Gaussian blur to a photo. It is also essential in acoustics, geophysics, and spectroscopy. Even in pure mathematics, it relates to probability, statistics, and differential equations. Whether it is multiplying large numbers or analyzing seismic waves, convolution provides the framework for understanding how complex systems transform information.

666 words
🖼️ Images & Media (6)
File:comparison convolution correlation.svg
comparison convolution correlation.svg
File:Convolution3.svg
Convolution3.svg
File:Convolution of box signal with itself2.gif
Convolution of box signal with itself2.gif
File:Convolution of spiky function with box2.gif
Convolution of spiky function with box2.gif
File:2D Convolution Animation.gif
2D Convolution Animation.gif
File:Halftone, Gaussian Blur.jpg
Halftone, Gaussian Blur.jpg
Up Next
🔢
Convolution theorem
Math
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.