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.

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

Time or space operationFrequency effect
Shift f(xa)f(x-a)Multiply by eiωae^{-i\omega a}
Modulate eiaxf(x)e^{iax}f(x)Shift spectrum to ωa\omega-a
Differentiate ff'Multiply by iωi\omega
Convolve fgf*gMultiply transforms
Compress f(ax)f(ax)Stretch spectrum and scale by 1/a1/\vert a\vert

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