Skip to main content

Fourier Integrals and Transforms

Fourier transforms extend Fourier series from periodic functions to signals on the whole real line. Instead of discrete harmonic frequencies nπ/Ln\pi/L, a nonperiodic signal is decomposed into a continuum of frequencies. This is the mathematical foundation of spectra, filtering, diffraction, signal processing, and many PDE solution formulas.

Joseph Fourier is shown in a historical portrait.

Figure: Joseph Fourier's work on heat flow led to Fourier series and transforms. Image: Wikimedia Commons, Jules Boilly, public domain.

The transform trades localization in time or space for frequency information. Smoothness, decay, shifts, modulation, and convolution all have clean frequency-domain interpretations. Compared with the Laplace transform, the Fourier transform is usually two-sided and emphasizes steady spectral content rather than initial-value algebra.

Definitions

One common convention for the Fourier transform is

f^(ω)=F{f}(ω)=f(x)eiωxdx.\hat f(\omega)=\mathcal{F}\{f\}(\omega)=\int_{-\infty}^{\infty}f(x)e^{-i\omega x}\,dx.

The inverse transform is

f(x)=12πf^(ω)eiωxdω,f(x)=\frac{1}{2\pi}\int_{-\infty}^{\infty}\hat f(\omega)e^{i\omega x}\,d\omega,

when the hypotheses for inversion hold.

Linearity is

F{af+bg}=af^+bg^.\mathcal{F}\{af+bg\}=a\hat f+b\hat g.

Translation in xx gives modulation in frequency:

F{f(xa)}=eiωaf^(ω).\mathcal{F}\{f(x-a)\}=e^{-i\omega a}\hat f(\omega).

Modulation in xx gives translation in frequency:

F{eiaxf(x)}=f^(ωa).\mathcal{F}\{e^{iax}f(x)\}=\hat f(\omega-a).

Convolution is

(fg)(x)=f(ξ)g(xξ)dξ,(f*g)(x)=\int_{-\infty}^{\infty}f(\xi)g(x-\xi)\,d\xi,

and the convolution theorem is

F{fg}=f^(ω)g^(ω).\mathcal{F}\{f*g\}=\hat f(\omega)\hat g(\omega).

Key results

The Fourier integral can be viewed as a limiting form of Fourier series as the period tends to infinity. Discrete frequencies become continuously spaced, sums become integrals, and coefficients become a spectral density. This connection explains why the same sine-cosine intuition remains useful.

Differentiation becomes multiplication by frequency:

F{f(x)}=iωf^(ω),\mathcal{F}\{f'(x)\}=i\omega\hat f(\omega),

assuming boundary terms vanish. More generally,

F{f(n)(x)}=(iω)nf^(ω).\mathcal{F}\{f^{(n)}(x)\}=(i\omega)^n\hat f(\omega).

This property turns constant-coefficient differential equations on infinite domains into algebraic equations in ω\omega.

Scaling obeys

F{f(ax)}=1af^(ωa),a0.\mathcal{F}\{f(ax)\}=\frac{1}{|a|}\hat f\left(\frac{\omega}{a}\right),\qquad a\ne 0.

Compressing a function in space spreads its transform in frequency. This is one form of the uncertainty principle: a signal cannot be both sharply localized in space and sharply localized in frequency.

Parseval's identity, under this convention, is

f(x)2dx=12πf^(ω)2dω.\int_{-\infty}^{\infty}|f(x)|^2\,dx =\frac{1}{2\pi}\int_{-\infty}^{\infty}|\hat f(\omega)|^2\,d\omega.

It says that energy is preserved up to the convention factor. Different transform conventions distribute factors of 2π2\pi differently, so formulas must be used consistently.

Fourier transforms are often interpreted distributionally. The transform of a constant is a multiple of the Dirac delta, and the transform of a pure sinusoid consists of impulses at its frequencies. This is natural for idealized signals that do not decay.

Filtering is multiplication in the frequency domain. A low-pass filter reduces high-frequency components, a high-pass filter reduces low-frequency components, and a band-pass filter keeps a selected frequency range. In the time domain, this multiplication corresponds to convolution with an impulse response.

The transform of a Gaussian is another Gaussian, up to convention-dependent constants. This special self-similarity is one reason Gaussians appear throughout probability, heat kernels, optics, and signal processing. The heat equation on the real line has a Gaussian fundamental solution, and Fourier transforms make that result almost algebraic because each frequency decays independently.

Smoothness and decay trade places. If ff has many derivatives that decay well, then f^\hat f tends to decay rapidly. If ff is sharply cut off or discontinuous, the transform decays more slowly and often has oscillatory side lobes. The rectangular pulse example produces a sinc-shaped transform precisely because the pulse has jump discontinuities at its endpoints.

Frequency-domain phase is as important as magnitude. The magnitude f^(ω)\vert \hat f(\omega)\vert tells how much of a frequency is present, but the phase tells how components align in space or time. A shift in the original signal changes phase but not magnitude. Therefore two signals can have the same magnitude spectrum and still look different because their phases differ.

The Fourier transform is often used to solve linear PDEs on infinite domains. For the heat equation ut=kuxxu_t=ku_{xx}, transforming in xx gives

u^t=kω2u^,\hat u_t=-k\omega^2\hat u,

so

u^(ω,t)=ekω2tu^(ω,0).\hat u(\omega,t)=e^{-k\omega^2t}\hat u(\omega,0).

Each frequency decays at a rate proportional to ω2\omega^2, so high-frequency roughness disappears quickly.

The inverse transform of the multiplier ekω2te^{-k\omega^2t} is the heat kernel. Convolving the initial data with that kernel gives the solution. This shows the same convolution-multiplication duality from another angle: a PDE evolution can be interpreted as filtering the initial condition by a time-dependent smoothing kernel.

For the wave equation utt=c2uxxu_{tt}=c^2u_{xx}, transforming in xx gives an oscillator equation for each frequency:

u^tt+c2ω2u^=0.\hat u_{tt}+c^2\omega^2\hat u=0.

Thus each frequency oscillates with angular frequency cωc\vert \omega\vert . This is the infinite-domain counterpart of Fourier-series mode evolution on a finite interval.

In numerical work, the discrete Fourier transform assumes periodic data over the sampled window. If the first and last sample do not match smoothly, the periodic extension has artificial jumps, which create high-frequency content. Windowing, padding, or choosing a better sampling interval can reduce leakage, but each choice changes the interpretation of the spectrum.

Conventions must be tracked carefully. Some fields put 1/2π1/\sqrt{2\pi} in both transform and inverse. Some use frequency ξ\xi in cycles per unit rather than angular frequency ω\omega in radians per unit. Then exponentials use e2πiξxe^{-2\pi i\xi x} instead of eiωxe^{-i\omega x}. The mathematics is equivalent, but formulas change.

Dimensional units help catch convention mistakes. If xx is measured in meters, angular frequency ω\omega has units of radians per meter, and the transform integral includes a factor of meters from dxdx. Scaling constants are not arbitrary decorations; they preserve the dimensions of inverse reconstruction.

Visual

This transform diagram makes the analysis/synthesis contract explicit: an aperiodic signal becomes a continuous spectrum, operations are performed as algebraic multipliers or phase factors, and the inverse integral reconstructs the result. The operations subgraph covers the common architecture behind filtering, convolution, differentiation, and PDE evolution. The verification branch is necessary because Fourier conventions and units change the constants even when the structural pipeline is the same.

The expanded tables below use the angular-frequency convention f^(ω)=f(x)eiωxdx\hat f(\omega)=\int_{-\infty}^{\infty}f(x)e^{-i\omega x}\,dx. The constants for the cycles-per-unit convention ξ=ω/(2π)\xi=\omega/(2\pi) are listed in a separate row when they differ.

Operational rules

Time or space operation on f(x)f(x)Frequency-domain effect on f^(ω)\hat f(\omega)
Linearity af+bgaf+bgaf^+bg^a\hat f+b\hat g
Conjugate f(x)\overline{f(x)}f^(ω)\overline{\hat f(-\omega)}
Reflection f(x)f(-x)f^(ω)\hat f(-\omega)
Shift f(xa)f(x-a)eiωaf^(ω)e^{-i\omega a}\,\hat f(\omega)
Modulation eiaxf(x)e^{iax}f(x)f^(ωa)\hat f(\omega-a)
Scaling f(αx)f(\alpha x), α0\alpha\ne 01αf^ ⁣(ωα)\dfrac{1}{\lvert \alpha\rvert }\hat f\!\left(\dfrac{\omega}{\alpha}\right)
Derivative f(n)(x)f^{(n)}(x)(iω)nf^(ω)(i\omega)^n\hat f(\omega)
Multiplication by xnx^n: xnf(x)x^n f(x)inf^(n)(ω)i^n\,\hat f^{(n)}(\omega)
Integral xf\displaystyle\int_{-\infty}^{x}f (if it decays)f^(ω)iω+πf^(0)δ(ω)\dfrac{\hat f(\omega)}{i\omega}+\pi\hat f(0)\delta(\omega)
Convolution (fg)(x)(f*g)(x)f^(ω)g^(ω)\hat f(\omega)\,\hat g(\omega)
Pointwise product f(x)g(x)f(x)g(x)12π(f^g^)(ω)\dfrac{1}{2\pi}(\hat f*\hat g)(\omega)
Parseval / Plancherelf2dx=12πf^2dω\displaystyle\int\lvert f\rvert ^2\,dx=\dfrac{1}{2\pi}\int\lvert \hat f\rvert ^2\,d\omega
DualityF{f^}(ω)=2πf(ω)\mathcal{F}\{\hat f\}(\omega)=2\pi\,f(-\omega)

Transform pairs (angular-frequency convention)

f(x)f(x)f^(ω)\hat f(\omega)Notes
δ(x)\delta(x)11Identity for convolution
δ(xa)\delta(x-a)eiωae^{-i\omega a}Shifted impulse
112πδ(ω)2\pi\,\delta(\omega)Distributional pair
eiaxe^{iax}2πδ(ωa)2\pi\,\delta(\omega-a)Modulation of constant
cos(ax)\cos(ax)π[δ(ωa)+δ(ω+a)]\pi\bigl[\delta(\omega-a)+\delta(\omega+a)\bigr]Even sinusoid
sin(ax)\sin(ax)iπ[δ(ωa)δ(ω+a)]-i\pi\bigl[\delta(\omega-a)-\delta(\omega+a)\bigr]Odd sinusoid
sgn(x)\operatorname{sgn}(x)2iω\dfrac{2}{i\omega}Principal value sense
u(x)u(x) (Heaviside)πδ(ω)+1iω\pi\delta(\omega)+\dfrac{1}{i\omega}One-sided step
1x\dfrac{1}{x}iπsgn(ω)-i\pi\,\operatorname{sgn}(\omega)Principal value
Rectangular pulse 1xa\mathbf{1}_{\lvert x\rvert \le a}2sin(ωa)ω\dfrac{2\sin(\omega a)}{\omega}sinc\operatorname{sinc}-shape
Triangular pulse (1x/a)+\bigl(1-\lvert x\rvert /a\bigr)_+4sin2(ωa/2)aω2\dfrac{4\sin^2(\omega a/2)}{a\,\omega^2}Auto-correlation of rectangle
One-sided eaxu(x)e^{-ax}u(x), a>0a\gt 01a+iω\dfrac{1}{a+i\omega}Causal exponential
Two-sided eaxe^{-a\lvert x\rvert }, a>0a\gt 02aa2+ω2\dfrac{2a}{a^2+\omega^2}Lorentzian / Cauchy form
Lorentzian 1a2+x2\dfrac{1}{a^2+x^2}, a>0a\gt 0πaeaω\dfrac{\pi}{a}\,e^{-a\lvert \omega\rvert }Inverse of the previous row
Gaussian ex2/(2σ2)e^{-x^2/(2\sigma^2)}σ2πeσ2ω2/2\sigma\sqrt{2\pi}\,e^{-\sigma^2\omega^2/2}Self-Fourier up to scaling
Sinc sin(Ωx)πx\dfrac{\sin(\Omega x)}{\pi x}1ωΩ\mathbf{1}_{\lvert \omega\rvert \le \Omega}Ideal lowpass kernel
xeax2x\,e^{-a x^2}, a>0a\gt 0iω2aπaeω2/(4a)-\dfrac{i\omega}{2a}\sqrt{\dfrac{\pi}{a}}\,e^{-\omega^2/(4a)}Derivative of Gaussian

Convention factor cheatsheet

The convention f^(ξ)=f(x)e2πiξxdx\hat f(\xi)=\int f(x)e^{-2\pi i\xi x}\,dx (cycles per unit) replaces ω\omega by 2πξ2\pi\xi everywhere. The effect on common rules:

QuantityAngular (ω\omega)Cycles (ξ=ω/2π\xi=\omega/2\pi)
Derivative factoriωi\omega2πiξ2\pi i\xi
Gaussian self-pairσ2πeσ2ω2/2\sigma\sqrt{2\pi}\,e^{-\sigma^2\omega^2/2}σe2π2σ2ξ2\sigma\,e^{-2\pi^2\sigma^2\xi^2}
Inversion constant12π\dfrac{1}{2\pi} in front11 in front
Parsevalf2=12πf^2\int\lvert f\rvert ^2=\dfrac{1}{2\pi}\int\lvert \hat f\rvert ^2f2=f^2\int\lvert f\rvert ^2=\int\lvert \hat f\rvert ^2

Worked example 1: Transform of a rectangular pulse

Problem. Find the Fourier transform of

f(x)={1,xa,0,x>a.f(x)= \begin{cases} 1,& |x|\le a,\\ 0,& |x|>a. \end{cases}

Method.

  1. Use the definition:
f^(ω)=f(x)eiωxdx.\hat f(\omega)=\int_{-\infty}^{\infty}f(x)e^{-i\omega x}\,dx.
  1. Since f=1f=1 only on [a,a][-a,a],
f^(ω)=aaeiωxdx.\hat f(\omega)=\int_{-a}^{a}e^{-i\omega x}\,dx.
  1. Integrate for ω0\omega\ne 0:
f^(ω)=[eiωxiω]aa=eiωaeiωaiω.\hat f(\omega)=\left[\frac{e^{-i\omega x}}{-i\omega}\right]_{-a}^{a} =\frac{e^{-i\omega a}-e^{i\omega a}}{-i\omega}.
  1. Use eiθeiθ=2isinθe^{i\theta}-e^{-i\theta}=2i\sin\theta:
f^(ω)=2sin(ωa)ω.\hat f(\omega)=\frac{2\sin(\omega a)}{\omega}.
  1. At ω=0\omega=0, compute by continuity:
f^(0)=aa1dx=2a.\hat f(0)=\int_{-a}^{a}1\,dx=2a.

Answer.

f^(ω)=2sin(ωa)ω,f^(0)=2a.\hat f(\omega)=\frac{2\sin(\omega a)}{\omega},\qquad \hat f(0)=2a.

Check. The transform is real and even because the original pulse is real and even.

The zeros occur when ωa\omega a is a nonzero multiple of π\pi. Widening the pulse increases aa, which moves the zeros closer together in frequency. This is the width tradeoff in a concrete form: a wider object in space has a narrower central spectral lobe, while a narrower object has a broader spectrum.

Worked example 2: Solving a transformed differential equation

Problem. Solve on the real line, formally,

u+u=f(x).-u''+u=f(x).

Method.

  1. Take Fourier transforms:
F{u}+F{u}=f^(ω).\mathcal{F}\{-u''\}+\mathcal{F}\{u\}=\hat f(\omega).
  1. Since F{u}=(iω)2u^=ω2u^\mathcal{F}\{u''\}=(i\omega)^2\hat u=-\omega^2\hat u,
F{u}=ω2u^.\mathcal{F}\{-u''\}=\omega^2\hat u.
  1. The transformed equation is
ω2u^+u^=f^.\omega^2\hat u+\hat u=\hat f.
  1. Factor:
(1+ω2)u^=f^.(1+\omega^2)\hat u=\hat f.
  1. Solve:
u^(ω)=f^(ω)1+ω2.\hat u(\omega)=\frac{\hat f(\omega)}{1+\omega^2}.

Answer. The solution is obtained by inverse transform:

u=F1{f^(ω)1+ω2}.u=\mathcal{F}^{-1}\left\{\frac{\hat f(\omega)}{1+\omega^2}\right\}.

Check. The factor 1/(1+ω2)1/(1+\omega^2) damps high frequencies, so the solution is smoother than the input.

This algebraic multiplier is the transfer function of the operator d2/dx2+1-d^2/dx^2+1 on the real line. Because the denominator never vanishes, every frequency can be solved for. If the denominator had zeros on the real axis, solvability and resonance would require more careful interpretation.

Code

import numpy as np

N = 1024
L = 40.0
x = np.linspace(-L / 2, L / 2, N, endpoint=False)
dx = x[1] - x[0]
f = (np.abs(x) <= 2.0).astype(float)

omega = 2 * np.pi * np.fft.fftfreq(N, d=dx)
F = dx * np.fft.fft(f)
U = F / (1.0 + omega**2)
u = np.fft.ifft(U / dx).real

print(u.max(), u.min())

The discrete FFT uses a finite periodic grid, so scaling and endpoint assumptions differ from the continuous transform. The code is still useful for exploring how division by 1+ω21+\omega^2 suppresses high-frequency content.

The variable omega is arranged in FFT order, with nonnegative frequencies followed by negative frequencies. Plotting often requires fftshift to center zero frequency. Scaling by dx is included to make the discrete sum resemble the continuous integral under this convention.

Common pitfalls

  • Mixing Fourier transform conventions and losing factors of 2π2\pi.
  • Forgetting that the transform is usually two-sided, unlike the one-sided Laplace transform used for IVPs.
  • Treating ideal nondecaying signals as ordinary integrable functions instead of distributions.
  • Using FFT output as if it were automatically scaled like the continuous transform.
  • Ignoring periodic wraparound when applying FFTs to nonperiodic data.
  • Confusing shift in time or space with shift in frequency.
  • Assuming high-frequency truncation has no effect near discontinuities.
  • Forgetting that differentiation formulas require decay or boundary conditions that remove boundary terms.
  • Looking only at magnitude spectra when shifts or delays make phase essential.
  • Forgetting that angular frequency and cycles-per-unit frequency differ by a factor of 2π2\pi.
  • Treating finite-window spectra as if they came from an infinite observation interval.
  • Ignoring aliasing when sampled data contain frequencies above the Nyquist frequency.
  • Comparing FFT amplitudes across different sample spacings without rescaling.
  • Overinterpreting noisy spectral peaks.

Connections