Blueprint: Characterizations of Function Spaces

13.4 Test functions in the Schwartz space

In this section, in Chapter 29 and in Chapter 35, \(\mathcal D(\Omega )\), for an open subset \(\Omega \) of the finite-dimensional real inner product space \(V\), is the space of smooth functions \(\varphi : V \to \mathbb {R}\) with compact support in \(\Omega \), and \(\mathcal S(V)\) is the space of complex Schwartz functions on \(V\). For directions \(v = (v_0, \dots , v_{k-1}) \in V^k\) let \(\partial ^v = \partial _{v_0} \cdots \partial _{v_{k-1}}\) be the iterated directional derivative, with \(\partial ^v = \mathrm{id}\) for \(k = 0\). Mathlib differentiates a distribution \(T\) on \(\Omega \) by \(\partial _w T(\varphi ) = T(-\partial _w \varphi )\) and a tempered distribution \(T\) by \(\partial _w T(u) = T(-\partial _w u)\). This section shows that test functions are Schwartz functions with the same derivatives, and that they determine tempered distributions.

Definition 13.24 Test functions as Schwartz functions
✓
#

Let \(\Omega \subseteq V\) be open and \(\varphi \in \mathcal D(\Omega )\) a test function. The complex function \(x \mapsto \varphi (x)\) on \(V\) is a Schwartz function, again denoted \(\varphi \).

Let \(\Omega \subseteq V\) be open, \(u\) a Schwartz function, \(\varphi \in \mathcal D(\Omega )\) a test function, \(a, b \in V\) and \(v \in V^k\).

  1. \(\partial _a \partial _b u = \partial _b \partial _a u\) and \(\partial _a \partial ^v u = \partial ^v \partial _a u\).

  2. \(\partial _a \partial _b \varphi = \partial _b \partial _a \varphi \) and \(\partial _a \partial ^v \varphi = \partial ^v \partial _a \varphi \).

  3. \(\partial _a \varphi (x) = D\varphi (x) a\) for every \(x \in V\).

  4. The test function \(\partial ^v \varphi \), as a Schwartz function, is the iterated derivative \(\partial ^v\) of the Schwartz function \(\varphi \).

  5. For every open \(\Omega ' \subseteq V\) and every \(\psi \in \mathcal D(\Omega ')\) with the same values as \(\varphi \), \(\partial ^v \psi \) and \(\partial ^v \varphi \) have the same values.

Proof ▼

\(\partial _a \partial _b u(x) = D^2 u(x)(a, b)\) is symmetric in \(a\) and \(b\) because \(u\) is \(C^2\) (Mathlib’s ContDiffAt.isSymmSndFDerivAt). Passing from \(\varphi \) to the complex function \(\varphi \) commutes with \(\partial _a\), since the derivative of \(x \mapsto \varphi (x) \in \mathbb {C}\) is the derivative of \(\varphi \) followed by the inclusion \(\mathbb {R}\subseteq \mathbb {C}\); by induction on \(k\) it commutes with \(\partial ^v\), and the symmetry for \(u = \varphi \) gives that of \(\varphi \). A directional derivative commutes with every iterated one by induction on \(k\), using only the commutation of two directional derivatives. The derivatives of \(\varphi \) depend only on its values.

Let \(\Omega \subseteq V\) be open, \(\varphi \in \mathcal D(\Omega )\), \(u\) a Schwartz function and \(v \in V^k\).

  1. For every distribution \(T\) on \(\Omega \), \(\partial ^v T(\varphi ) = (-1)^k \, T(\partial ^v \varphi )\).

  2. For every tempered distribution \(S\), \(\partial ^v S(u) = S\bigl((-1)^k \partial ^v u\bigr)\).

  3. The iterated derivative \(\partial ^v\) of \(u\) as a tempered distribution is the tempered distribution of the Schwartz function \(\partial ^v u\).

Proof ▼

Induction on \(k\): \(\partial ^v T = \partial _{v_0} \partial ^{v'} T\) with \(v' = (v_1, \dots , v_{k-1})\), so \(\partial ^v T(\varphi ) = \partial ^{v'} T(-\partial _{v_0} \varphi ) = (-1)^{k-1} \, T(-\partial ^{v'} \partial _{v_0} \varphi )\), and \(\partial ^{v'} \partial _{v_0} \varphi = \partial _{v_0} \partial ^{v'} \varphi = \partial ^v \varphi \) by Lemma 13.25. The same induction works for \(S\), and for the Schwartz function \(u\) it iterates Mathlib’s TemperedDistribution.lineDerivOp_toTemperedDistributionCLM_eq.

Tempered distributions are determined by their values on test functions, because the cut-offs of a Schwartz function converge to it in the topology of \(\mathcal S(V)\).

Let \(\chi _{1,2}\) be the smooth cut-off of Definition 13.18, with values in \([0, 1]\), equal to \(1\) on the closed unit ball and to \(0\) outside the ball of radius \(2\), and let \(p_{k,m}(w) = \sup _x \| x\| ^k \| D^m w(x)\| \) be the Schwartz seminorms. For every Schwartz function \(u\) and every \(N \in \mathbb {N}\), the cut-off of \(u\) at radius \(N + 1\) is the smooth compactly supported function

\[ \chi _N u : x \mapsto \chi _{1,2}\bigl(x / (N + 1)\bigr) \, u(x) . \]

For all \(k, m \in \mathbb {N}\) and \(x \in V\) let

\begin{align*} B_m(x) & = \| D^m u(x)\| + \sum _{i=0}^m \binom {m}{i} \, p_{0,i}(\chi _{1,2}) \, \| D^{m-i} u(x)\| , \\ C_{k,m}(u) & = p_{k+1,m}(u) + \sum _{i=0}^m \binom {m}{i} \, p_{0,i}(\chi _{1,2}) \, p_{k+1,m-i}(u) \geq 0. \end{align*}

For every Schwartz function \(u\) and all \(k, m, N \in \mathbb {N}\), the cut-off \(\chi _N u\), the seminorm \(p_{k,m}\) and the constant \(C_{k,m}(u)\) of Definition 13.27 satisfy

\[ p_{k,m}(u - \chi _N u) \leq \frac{C_{k,m}(u)}{N + 1} . \]
Proof ▼

For \(0 \leq c \leq 1\), \(D^i(\chi _{1,2}(c \, \cdot ))(x) = c^i D^i \chi _{1,2}(c x)\) has norm at most \(p_{0,i}(\chi _{1,2})\), so the Leibniz rule (Mathlib’s norm_iteratedFDeriv_mul_le) gives \(\| D^m (u - \chi _N u)(x)\| \leq B_m(x)\) for every \(x\). On the open ball of radius \(N + 1\) the cut-off is \(1\), so \(u - \chi _N u\) vanishes near each of its points and so do all its derivatives. For \(\| x\| \geq N + 1\), \((N + 1) \| x\| ^k B_m(x) \leq \| x\| ^{k+1} B_m(x) \leq C_{k,m}(u)\).

Lemma 13.29 Cut-offs converge in the Schwartz space
✓
#

For every Schwartz function \(u\), \(\chi _N u \to u\) in \(\mathcal S(V)\) as \(N \to \infty \).

Proof ▼

The topology of \(\mathcal S(V)\) is that of the seminorms \(p_{k,m}\) (Mathlib’s schwartz_withSeminorms), and each \(p_{k,m}(\chi _N u - u)\) is at most \(C_{k,m}(u) / (N + 1)\) by Lemma 13.28.

Since every \(\chi _N u\) is smooth with compact support, the smooth compactly supported complex functions are dense in \(\mathcal S(V)\).

Theorem 13.30 Test functions determine tempered distributions
✓

Let \(F\) be a complex normed space and \(T\) a tempered distribution on \(V\) with values in \(F\). If \(T(\varphi ) = 0\) for every \(\varphi \in \mathcal D(V)\), then \(T = 0\).

Proof ▼

Every smooth compactly supported \(w : V \to \mathbb {C}\) is \(\operatorname {Re} w + i \operatorname {Im} w\) with \(\operatorname {Re} w, \operatorname {Im} w \in \mathcal D(V)\), so \(T\) vanishes on it by linearity. For a Schwartz function \(u\), \(T(\chi _N u) = 0\) for every \(N\) and \(T(\chi _N u) \to T(u)\) by Lemma 13.29 and the continuity of \(T\).