# Convolution <!-- MICROSIMGEN:BEGIN v1.7 — generated by g08_place_microsims.py; three.js first (§15); do not hand-edit inside --> ## Microsims — p5.js ### Convolution (p5.js) · `x * h` <div class="microsim-player"> <iframe src="https://editor.p5js.org/sciencenibber/full/PEDdM5a-k" width="100%" height="480" frameborder="0" loading="lazy" sandbox="allow-scripts allow-same-origin" title="Convolution — p5.js microsim"></iframe> </div> *Slide, multiply, and sum one signal against another — the single operation that computes any LTI system's output.* **Open in the editor:** [&#9654; fork this sketch](https://editor.p5js.org/sciencenibber/sketches/PEDdM5a-k) · movement *IX · Foundations & the rest of the toolbox* · library `p5js` ### Related microsims Live sims on neighbouring articles — 6 of them inside this article's own Wikipedia link tree: - [[Autocorrelation]] *(in tree)* - [[Digital_image_processing]] *(in tree)* - [[Digital_signal_processing]] *(in tree)* - [[Fast_Fourier_transform]] *(in tree)* - [[Functional_analysis]] *(in tree)* - [[Impulse_response]] *(in tree)* *Sim hosted off-article; the article owns the reference, not the runtime (WIKI_RULES §10.4). Placed by `g08_place_microsims.py`.* <!-- MICROSIMGEN:END --> ## Links (Wikipedia order) <!-- injected from _registry/childlinks/Convolution.json (2026-07-30T02:09:12Z) --> `15.ai` · `ACT-R` · `AI_agent` · `AI_alignment` · `AI_anthropomorphism` · `AI_boom` · `AI_bubble` · `AI_data_center` · `AI_effect` · `AI_infrastructure` · `AI_literacy` · `AI_nationalism` · `AI_safety` · `AI_slop` · `AI_takeover` · `AI_warfare` · `AI_winter` · `Abelian_group` · `Absolute_continuity` · `Acoustics` · `Action_selection` · `Activation_function` · `Adobe_Firefly` · `Advances_in_Mathematics` · `Adversarial_machine_learning` · `Agent2Agent` · `Aidan_Gomez` · `Alan_Turing` · `AlexNet` · `Alex_Graves_(computer_scientist)` · `Alex_Krizhevsky` · `Algebraic_structure` · [[Algorithm]] · `Allen_Newell` · `AlphaFold` · `AlphaGo` · `AlphaZero` · `Analog_signal_processing` · `Analytical_chemistry` · `Andrej_Karpathy` · `Andrew_Ng` · `Applications_of_artificial_intelligence` · `Artificial_Intelligence_Act` · `Artificial_Intelligence_Cold_War` · `Artificial_general_intelligence` · `Artificial_human_companion` · [[Artificial_intelligence]] · `Artificial_intelligence_and_elections` · `Artificial_intelligence_arms_race` · `Artificial_intelligence_in_architecture` · `Artificial_intelligence_in_education` · `Artificial_intelligence_in_fiction` · `Artificial_intelligence_in_government` · `Artificial_intelligence_in_healthcare` · `Artificial_intelligence_in_marketing` · `Artificial_intelligence_in_music` · `Artificial_intelligence_in_video_games` · `Ashish_Vaswani` · `Associative_algebra` · `Asterisk` · `Attention_(machine_learning)` · `AutoGPT` · [[Autocorrelation]] · `Autoencoder` · `Automated_planning_and_scheduling` · `Automated_reasoning` · `Automated_theorem_proving` · `Autoregressive_model` · `Backpropagation` · `Banach_algebra` · `Banach_space` · `Barry_Simon` · `Batch_normalization` · `Bernard_Widrow` · `Bialgebra` · `Bias–variance_tradeoff` · `Bokeh` · `Borel_measure` · `Bounded_variation` · `Brascamp–Lieb_inequality` · `CLARION_(cognitive_architecture)` · `Cauchy_distribution` · `Cauchy_product` · `Character_(mathematics)` · `Chatbot_psychosis` · `Christopher_D._Manning` · `Circle` · `Circle_group` · `Circulant_matrix` · `Circular_convolution` · [[Claude_Shannon]] · `Cliff_Shaw` · `Closure_(mathematics)` · `Cluster_analysis` · `Cognitive_architecture` · `Compact_operator_on_Hilbert_space` · `Competition_in_artificial_intelligence` · `Computational_fluid_dynamics` · `Computational_propaganda` · `Computer_vision` · `Conjugate_gradient_method` · `Constraint_satisfaction_problem` · `Continuous_function` · `Continuous_linear_operator` · `Convex_analysis` · `Convex_function` · `Convolution_(disambiguation)` · `Convolution_for_optical_broad-beam_responses_in_scattering_media` · `Convolution_power` · `Convolution_quotient` · `Convolution_theorem` · `Convolutional_neural_network` · `Count_sketch` · `Cross-correlation` · `Cyclic_group` · `DALL-E` · `DBpedia` · `DFT_matrix` · `Daniel_Kokotajlo_(researcher)` · `Data_augmentation` · `David_Silver_(computer_scientist)` · `Deconvolution` · `Deductive_classifier` · `Deep_learning` · `Deep_learning_speech_synthesis` · `Demis_Hassabis` · `Derivative` · `Differentiable_neural_computer` · [[Differential_equation]] · `Diffusion_process` · [[Digital_image_processing]] · [[Digital_signal_processing]] · `Dirichlet_convolution` · `Discrete-time_Fourier_transform` · `Discrete_Fourier_transform` · `Donald_Knuth` · `Double_descent` · `Dream_Machine_(text-to-video_model)` · `Echo_state_network` · `Edge_detection` · `Edward_Charles_Titchmarsh` · [[Electrical_engineering]] · `Electronic_music` · `ElevenLabs` · `Elliott_H._Lieb` · `Encyclopedia_of_Mathematics` · [[Engineering]] · `Ethics_of_artificial_intelligence` · `Euclidean_space` · [[Expert_system]] · `Explainable_artificial_intelligence` · `Facial_recognition_system` · [[Fast_Fourier_transform]] · `Fei-Fei_Li` · `Finite_impulse_response` · `Flux_(text-to-image_model)` · `Fourier_transform` · `Fractional_calculus` · `Frank_Rosenblatt` · `François_Chollet` · `François_Trèves` · `Free_variables_and_bound_variables` · `Fubini's_theorem` · `Function_(mathematics)` · [[Functional_analysis]] · `GPT_Image` · `Gated_recurrent_unit` · `Gating_mechanism` · `Gaussian_blur` · `General_game_playing` · `Generative_AI` · `Generative_adversarial_network` · `Generative_engine_optimization` · `Genie_(world_model)` · `Geoffrey_Hinton` · `Geophysics` · [[German_language]] · `Glossary_of_artificial_intelligence` · `Gradient_descent` · `Graduate_Texts_in_Mathematics` · `Graph_neural_network` · `Group_(mathematics)` · `Haar_measure` · `Hadamard_product_(matrices)` · `Halftone` · `Hallucination_(artificial_intelligence)` · `Handwriting_recognition` · `Harmonic_analysis` · `Hausdorff_space` · `Helmut_H._Schaefer` · [[Herbert_A._Simon]] · `Hermitian_adjoint` · `Highway_network` · `Hilbert_space` · `History_of_artificial_intelligence` · `Hopf_algebra` · `Human_image_synthesis` · `Humanity's_Last_Exam` · `Hyperparameter_(machine_learning)` · `IBM_Watson` · `IBM_Watsonx` · `Ian_Goodfellow` · `Identity_element` · `Ideogram_(text-to-image_model)` · `Ilya_Sutskever` · `Imagen_(text-to-image_model)` · `Imitation_learning` · [[Impulse_response]] · `Indicator_function` · `Inference_engine` · `Integer` · `Integral` · [[Integral_transform]] · `Intelligent_agent` · `Inverse_Laplace_transform` · `Inverse_element` · `Inverse_function` · `J._David_Irwin` · `James_Goodnight` · `Jan_Leike` · `John_Hopfield` · `John_McCarthy_(computer_scientist)` · `John_Renshaw_Carson` · `John_Schulman` · [[John_von_Neumann]] · `Joseph_Weizenbaum` · `Jürgen_Schmidhuber` · `Kernel_(image_processing)` · `Kernel_density_estimation` · `Khatri–Rao_product` · `Kling_AI` · `Knowledge_base` · `Knowledge_representation_and_reasoning` · `Kronecker_product` · `Kunihiko_Fukushima` · `LIDA_(cognitive_architecture)` · `Language_model` · [[Laplace_transform]] · `Large_eddy_simulation` · `Large_language_model` · `Lars_Hörmander` · `Latent_diffusion_model` · `Lebesgue_integral` · `Lethal_autonomous_weapon` · `Linear_system` · [[Linear_time-invariant_system]] · `List_of_artificial_intelligence_companies` · `List_of_artificial_intelligence_projects` · `List_of_convolutions_of_probability_distributions` · `List_of_large_language_models` · [[Lists_of_open-source_artificial_intelligence_software]] · `Locally_compact_abelian_group` · `Locally_integrable_function` · `Long_short-term_memory` · `Loss_functions_for_classification` · `Lotfi_A._Zadeh` · `Lp_space` · [[Machine_learning]] · `Machine_vision` · `Mamba_(deep_learning_architecture)` · `Marvin_Minsky` · `MathWorld` · `Mathematics` · `Measure_(mathematics)` · `Mellin_transform` · `Midjourney` · `Military_applications_of_artificial_intelligence` · `Model_Context_Protocol` · `Modular_arithmetic` · `Moving-average_model` · `Moving_average` · `MuZero` · `Multidimensional_discrete_convolution` · `Multilayer_perceptron` · `Multiplication` · `Multiplication_operator` · `Mustafa_Suleyman` · `Nathaniel_Rochester_(computer_scientist)` · `Neural_Turing_machine` · `Neural_machine_translation` · [[Neural_network_(machine_learning)]] · `Neuro-symbolic_AI` · `Noam_Shazeer` · `Normal_distribution` · `Normal_operator` · `Normalization_(machine_learning)` · `Numerical_analysis` · `Numerical_linear_algebra` · `Oasis_(Minecraft_clone)` · `Oliver_Selfridge` · `OpenAI_Five` · `OpenCog` · `Operation_(mathematics)` · `Optical_character_recognition` · `Optics` · `Oriol_Vinyals` · `Overfitting` · `Overlap–add_method` · `Overlap–save_method` · `Parameter` · `Partial_derivative` · `Paul_Werbos` · `Periodic_function` · `Periodic_summation` · `Peter–Weyl_theorem` · [[Physics]] · `Policy_gradient_method` · `Polynomial` · `Post-training_of_large_language_models` · `Precautionary_principle` · [[Probability]] · `Probability_distribution` · `Probability_measure` · `Probability_theory` · `Procedural_reasoning_system` · `Project_Debater` · `Prompt_engineering` · `Pushforward_measure` · `Q-learning` · `Quasi-Newton_method` · `Quoc_V._Le` · `R._Tyrrell_Rockafellar` · `Radon_measure` · `Radon–Nikodym_theorem` · `Random_variable` · `Rasmus_Pagh` · `Reasoning_model` · `Reasoning_system` · `Recraft` · `Recurrent_neural_network` · `Recursive_self-improvement` · `Regression_analysis` · `Regularization_(mathematics)` · `Regulation_of_artificial_intelligence` · `Regulation_of_artificial_intelligence_in_the_United_States` · [[Reinforcement_learning]] · `Reinforcement_learning_from_human_feedback` · `Residual_neural_network` · `Retrieval-augmented_generation` · `Reverberation` · `Riffusion` · `Ring_(mathematics)` · `Robot_control` · `Rule-based_system` · `Runway_(company)` · `Scaled_correlation` · `Schönhage–Strassen_algorithm` · `Seedance_2.0` · `Self-driving_car` · `Self-supervised_learning` · `Semantic_reasoner` · `Seppo_Linnainmaa` · `Seymour_Papert` · `Shun'ichi_Amari` · `Sigmoid_function` · [[Signal-to-noise_ratio]] · [[Signal_processing]] · `Siméon_Denis_Poisson` · `Smoothed-particle_hydrodynamics` · `Softmax_function` · `Sora_(text-to-video_model)` · `Spectral_line_shape` · `Spectroscopy` · `Spectrum` · `Speech_recognition` · `Stable_Diffusion` · `State–action–reward–state–action` · `Statistics` · `Stephen_Grossberg` · `Stochastic_gradient_descent` · `Suno_(platform)` · `Superposition_principle` · `Support_(mathematics)` · `Sylvestre_François_Lacroix` · `Symbolic_artificial_intelligence` · `Takeo_Kanade` · `Taylor's_theorem` · `Text-to-image_model` · `Text-to-video_model` · `Time-invariant_system` · `Time-resolved_spectroscopy` · `Timeline_of_artificial_intelligence` · `Titchmarsh_convolution_theorem` · `Toeplitz_matrix` · `Topological_group` · `Topology` · `Total_variation` · `Training,_validation,_and_test_data_sets` · [[Transfer_function]] · `Transformer_(deep_learning)` · `Two-sided_Laplace_transform` · `Udio` · `Uncanny_valley` · `Unitary_representation` · `Variational_autoencoder` · `Veo_(text-to-video_model)` · `Vibe_coding` · `Virtual_politician` · `Vision_transformer` · `Visual_perception` · `Vito_Volterra` · `Walter_Pitts` · `Walter_Rudin` · `Warren_Sturgis_McCulloch` · `WaveNet` · `Waveform` · `Wavelet_transform` · `Weak_artificial_intelligence` · `Weight_initialization` · `Whisper_(speech_recognition_system)` · `Wikidata` · `William_Beckner_(mathematician)` · `Word_embedding` · `Workplace_impact_of_artificial_intelligence` · `World_model_(artificial_intelligence)` · `YAGO_(database)` · `Yann_LeCun` · `Yoshua_Bengio` · `Young's_convolution_inequality` · [[Z-transform]] > Signal Processing concept · part of the Signal Processing Portal · movement IX · !09 解析 kaiseki.svg <!-- RENDER-THUMB:START --> !480 *Rendered from the live microsim (▶ motion).* <!-- RENDER-THUMB:END --> ## See it next [![Linear time-invariant system|200](Linear_time-invariant_system_thumb.png)](Linear_time-invariant_system) *→ [[Linear_time-invariant_system|Linear time-invariant system]]* <!-- VISUAL-LINK:END --> --- Back to Signal Processing Portal · the room · Semiotic gateway <!-- REAL-GENERATIVE-MEDIA:START --> ## From the Real GENERATIVE library ![Animated: Convolution](https://upload.wikimedia.org/wikipedia/commons/6/6a/Convolution_of_box_signal_with_itself2.gif) *Animated: Convolution — placed from the Real G.E.N.E.R.A.T.I.V.E. course library (Information room). Source: Wikimedia Commons (via Wikipedia article media). [Details & license](https://commons.wikimedia.org/wiki/File:Convolution_of_box_signal_with_itself2.gif).* > In mathematics (in particular, functional analysis), convolution is a mathematical operation on two functions ( f {\displaystyle f} and g {\displaystyle g} ) that produces a third function ( f ∗ g {\displaystyle f*g} ). The term convolution refers to both the result function and to the process of computing it. ([Wikipedia](https://en.wikipedia.org/wiki/Convolution)) <!-- REAL-GENERATIVE-MEDIA:END --> ## Media (PD/CC) <!-- MEDIA-DEPLOY:Convolution/Convolution_of_box_signal_with_itself2.gif --> !Gif Library/Convolution/Convolution of box signal with itself2.gif *Convolution_of_box_signal_with_itself2.gif · Convolution_of_box_signal_with_itself.gif: Brian Amberg derivative work: Tinos (talk) · CC BY-SA 3.0 · [source](https://commons.wikimedia.org/wiki/File:Convolution_of_box_signal_with_itself2.gif)* <!-- /MEDIA-DEPLOY --> ## What it is Convolution is a mathematical operation on two functions that produces a third expressing how the shape of one is modified by the other — formed by sliding one function over the other, multiplying, and integrating (or summing) the overlap. ## How it works / why it matters For continuous signals it is defined as $(f * g)(t) = \int f(\tau)\,g(t-\tau)\,d\tau$, and for discrete signals as $(f * g)[n] = \sum_k f[k]\,g[n-k]$ — flip one signal, shift it, and accumulate the pointwise product. Its central role in signal processing comes from the fact that any **linear time-invariant** system computes its output as the convolution of the input with the system's **impulse response**. The **convolution theorem** makes it doubly powerful: convolution in the time domain equals simple multiplication of spectra in the frequency domain, so fast convolution is often done via the DFT. ## Signs & universals Instantiates: transformation · signal · frequency — a transformation combining signals that becomes multiplication in the frequency domain. ## Related Convolution is exactly how a [[Linear_time-invariant_system]] acts on its input — its output is the input convolved with the impulse response, the central theorem tying the two together. It is the mathematical engine of every Digital filter, and via the convolution theorem it is computed efficiently through the Discrete Fourier transform; in two dimensions it drives [[Digital_image_processing]] and in one dimension the effects of Audio signal processing. <!-- VISUAL-LINK:START --> <!-- CRAFT-LINK:START g12 --> *Built to the [[WT!P5_js_Microsim_Master_Class|p5.js Master Class]].* <!-- CRAFT-LINK:END --> ## Wikipedia : Wikitube **Strict pair:** [Wikipedia](https://en.wikipedia.org/wiki/Convolution) : [Wikitube](https://en.wikitube.io/wiki/Convolution) ## Previous hub tags Tree parent: [[Information_theory]]. Legacy hubs: none. --- *Sources: 1 legacy note. Minted wave 1, 2026-07-30 (v1.6 order).*