24.5 Fourier transforms of integrable functions
This section is general analysis on \(\mathbb {R}\), used for the scaling function \(\varphi = \mathcal F^{-1} \Phi \) in the following sections. The Fourier transform of \(f : \mathbb {R}\to \mathbb {C}\) is
and its inverse transform is \(\mathcal F^{-1} f(x) = \int _\mathbb {R}f(\xi ) e^{2\pi i x \xi } \, d\xi \). Lean reads the integral of a function that is not integrable as \(0\); with this convention the statements below without integrability hypotheses hold for every \(f\).
Let \(f \colon \mathbb {R}\to \mathbb {C}\).
If \(f\) is integrable, then the functions \(\widehat f\) and \(\mathcal F^{-1} f\) are continuous.
For all \(\xi , x \in \mathbb {R}\),
\[ |\widehat f(\xi )| \leq \int _\mathbb {R}|f| \quad \text{and}\quad |\mathcal F^{-1} f(x)| \leq \int _\mathbb {R}|f| . \]
The case \(V = \mathbb {R}\) of Lemma 13.15 and Lemma 13.17: \(|e^{-2\pi i x \xi }| = 1\), and dominated convergence with the dominating function \(|f|\); the bound for \(\widehat f\) is Mathlib’s Real.norm_fourier_le_integral_norm, and the inverse transform is \(\mathcal F^{-1} f(x) = \widehat f(-x)\).
For every \(f : \mathbb {R}\to \mathbb {C}\), \(\widehat f(0) = \int _\mathbb {R}f\).
\(e^{-2\pi i x \cdot 0} = 1\) for every \(x \in \mathbb {R}\) (the case \(V = \mathbb {R}\) of Lemma 13.15).
For every \(f \colon \mathbb {R}\to \mathbb {C}\) and every \(c \in \mathbb {C}\), \(\mathcal F(c f) = c \widehat f\) and \(\mathcal F^{-1}(c f) = c \mathcal F^{-1} f\).
For every finite family \((F_i)_{i \in S}\) of integrable functions \(F_i \colon \mathbb {R}\to \mathbb {C}\),
\[ \mathcal F\Bigl(\sum _{i \in S} F_i\Bigr) = \sum _{i \in S} \widehat{F_i} \quad \text{and}\quad \mathcal F^{-1}\Bigl(\sum _{i \in S} F_i\Bigr) = \sum _{i \in S} \mathcal F^{-1} F_i . \]
Linearity of the integral.
For \(b \in \mathbb {R}\) let \(e_b(x) = e^{2\pi i b x}\). For every \(f : \mathbb {R}\to \mathbb {C}\) and all \(a, b, \xi , x \in \mathbb {R}\):
\(\mathcal F[f(\cdot + a)](\xi ) = e^{2\pi i a \xi } \widehat f(\xi )\) and \(\mathcal F[f(\cdot - a)](\xi ) = e^{-2\pi i a \xi } \widehat f(\xi )\);
\(\mathcal F^{-1}[f(\cdot + a)](x) = e^{-2\pi i a x} \mathcal F^{-1} f(x)\);
\(\mathcal F(e_b f)(\xi ) = \widehat f(\xi - b)\) and \(\mathcal F^{-1}(e_b f)(x) = \mathcal F^{-1} f(x + b)\).
The substitution \(y = x + a\), and \(e^{-2\pi i x \xi } e^{2\pi i b x} = e^{-2\pi i x (\xi - b)}\).
For every \(f : \mathbb {R}\to \mathbb {C}\) and all \(b, \xi , x \in \mathbb {R}\):
\(\mathcal F[f(a\, \cdot )](\xi ) = |a|^{-1} \widehat f(\xi / a)\) for every \(a \neq 0\);
\(\mathcal F^{-1}[f(a\, \cdot )](x) = a^{-1} \mathcal F^{-1} f(x / a)\) for every \(a {\gt} 0\);
\(\widehat g(\xi ) = a^{-1} e^{-2\pi i b \xi / a} \widehat f(\xi / a)\) for every \(a {\gt} 0\), where \(g(x) = f(ax - b)\).
The substitution \(y = ax\), with \(dx = |a|^{-1} \, dy\). The third identity is the first one for \(f(\cdot - b)\), together with Lemma 24.65.
The third identity is the form met by the cascade algorithm \(\eta _{n+1}(x) = \sum _k c_k \eta _n(2x - k)\).
For every \(f : \mathbb {R}\to \mathbb {C}\) and all \(\xi , x \in \mathbb {R}\), with \(\bar f(x) = \overline{f(x)}\),
The case \(V = \mathbb {R}\) of Lemma 13.16: \(\overline{e^{-2\pi i x \xi }} = e^{2\pi i x \xi }\), and conjugation commutes with the integral.
The multiplication formula and Parseval’s identity.
The transform moves from one factor of a product to the other. Together with Fourier inversion this gives Parseval’s identity for integrable functions with integrable transforms.
For all integrable \(f, g : \mathbb {R}\to \mathbb {C}\),
and the same holds with \(\mathcal F^{-1}\) in place of \(\mathcal F\):
The case \(V = \mathbb {R}\) of Lemma 13.17: by Fubini’s theorem both sides of the first identity equal the absolutely convergent double integral \(\int _\mathbb {R}\int _\mathbb {R}e^{-2\pi i x \xi } f(x) g(\xi ) \, dx \, d\xi \). The second identity is the same with \(e^{2\pi i x \xi }\).
Let \(f : \mathbb {R}\to \mathbb {C}\) be integrable, and let \(g : \mathbb {R}\to \mathbb {C}\) be continuous and integrable with integrable \(\widehat g\). Then
In particular \(\int _\mathbb {R}|\widehat f|^2 = \int _\mathbb {R}|f|^2\) for every continuous integrable \(f : \mathbb {R}\to \mathbb {C}\) with integrable \(\widehat f\).
Mathlib’s sesquilinear multiplication formula \(\int _\mathbb {R}\widehat h \, \overline{k} = \int _\mathbb {R}h \, \overline{\mathcal F^{-1} k}\) for integrable \(h, k : \mathbb {R}\to \mathbb {C}\), with \(h = f\) and \(k = \widehat g\), gives \(\int _\mathbb {R}\widehat f \, \overline{\widehat g} = \int _\mathbb {R}f \, \overline{\mathcal F^{-1} \widehat g}\), and \(\mathcal F^{-1} \widehat g = g\) by the Fourier inversion theorem, which holds for continuous integrable \(g\) with integrable \(\widehat g\). For \(g = f\) the identity reads \(\int |f|^2 = \int |\widehat f|^2\), since \(z \bar z = |z|^2\).
For every integrable \(f : \mathbb {R}\to \mathbb {C}\) and every Schwartz function \(\psi : \mathbb {R}\to \mathbb {C}\),
\(\mathcal F^{-1} \psi \) is a Schwartz function, hence integrable, and \(\mathcal F \mathcal F^{-1} \psi = \psi \) by Fourier inversion on the Schwartz space. Apply Proposition 24.68 to \(f\) and \(\mathcal F^{-1} \psi \).
The fundamental lemma.
A function whose integrals against all test functions supported in an open set vanish is zero almost everywhere on that set, and everywhere on it if it is continuous.
Let \(U \subseteq \mathbb {R}\) be open, and let \(f : \mathbb {R}\to \mathbb {C}\) satisfy \(\int _\mathbb {R}\psi f = 0\) for every Schwartz function \(\psi : \mathbb {R}\to \mathbb {C}\) whose support is compact and contained in \(U\).
If \(f\) is locally integrable on \(U\), then \(f(x) = 0\) for almost every \(x \in U\).
If \(f\) is continuous, then \(f(x) = 0\) for every \(x \in U\).
Mathlib’s fundamental lemma tests with real smooth functions \(g\) with compact support in \(U\), and \(x \mapsto g(x)\), read as a complex function, is a Schwartz function. Two continuous functions that agree almost everywhere on an open set agree on it, since nonempty open sets have positive Lebesgue measure.