Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

The Space of Test Functions

We construct the space D(Ω)\mathcal{D}(\Omega) and equip it with the topology that determines which linear functionals qualify as distributions.

Definition

Throughout, ΩRd\Omega \subseteq \mathbb{R}^d is an open set. We use standard multi-index notation: for α=(α1,,αd)N0d\alpha = (\alpha_1, \ldots, \alpha_d) \in \mathbb{N}_0^d, we write α=α1++αd|\alpha| = \alpha_1 + \cdots + \alpha_d and Dα=1α1dαdD^\alpha = \partial_1^{\alpha_1} \cdots \partial_d^{\alpha_d}.

Definition 1 (Test functions)

The space of test functions on Ω\Omega is

D(Ω)=Cc(Ω)={φC(Ω):supp(φ)Ω},\mathcal{D}(\Omega) = C_c^\infty(\Omega) = \big\{ \varphi \in C^\infty(\Omega) : \operatorname{supp}(\varphi) \Subset \Omega \big\},

where supp(φ)={xΩ:φ(x)0}\operatorname{supp}(\varphi) = \overline{\{x \in \Omega : \varphi(x) \neq 0\}} and supp(φ)Ω\operatorname{supp}(\varphi) \Subset \Omega means the support is a compact subset of Ω\Omega.

Test functions are the “probes” we use to measure distributions. They are infinitely differentiable and vanish outside a bounded region, so integrals against them are always well-defined.

Notation. In the duality chapter, we wrote XX' for the algebraic dual (all linear functionals) and XX^* for the topological dual (continuous linear functionals). The standard convention in distribution theory, due to Schwartz, writes D(Ω)\mathcal{D}'(\Omega) for the space of distributions, which is the topological dual of D(Ω)\mathcal{D}(\Omega). This conflicts with our earlier notation, but is universal in the literature. Throughout this chapter, D(Ω)\mathcal{D}'(\Omega) always means the topological dual, i.e. the space of continuous linear functionals on D(Ω)\mathcal{D}(\Omega).

Why CcC_c^\infty is rich enough

Before diving into the topology of D(Ω)\mathcal{D}(\Omega), we address the first natural question: is this space large enough to be useful?

D(Ω)\mathcal{D}(\Omega) is dense in Lp(Ω)L^p(\Omega) for 1p<1 \leq p < \infty and in C0(Ω)C_0(\Omega). This follows from the approximation results in the function spaces chapter: continuous compactly supported functions are dense in LpL^p, and mollification promotes them to smooth compactly supported functions.

This density is a special case of a general principle.

Theorem 1 (Stone-Weierstrass (locally compact version))

Let XX be a locally compact Hausdorff space. If AC0(X)\mathcal{A} \subset C_0(X) is a subalgebra that separates points (for every xyx \neq y, some fAf \in \mathcal{A} has f(x)f(y)f(x) \neq f(y)) and vanishes nowhere (for every xx, some fAf \in \mathcal{A} has f(x)0f(x) \neq 0), then A\mathcal{A} is dense in C0(X)C_0(X) in the supremum norm.

The space D(Ω)\mathcal{D}(\Omega) satisfies both hypotheses on X=ΩX = \Omega: smooth bump functions can separate any two points, and for every xΩx \in \Omega one can construct a bump with φ(x)>0\varphi(x) > 0. Stone-Weierstrass therefore gives D(Ω)\mathcal{D}(\Omega) dense in C0(Ω)C_0(\Omega), and since C0C_0 is dense in LpL^p for 1p<1 \leq p < \infty, density in LpL^p follows by transitivity.

The mollification proof from the function spaces chapter is more constructive: it produces an explicit approximating sequence ρϵff\rho_\epsilon * f \to f. Stone-Weierstrass gives a stronger structural insight — D(Ω)\mathcal{D}(\Omega) is dense because it is an algebra that separates points, not because of any particular approximation procedure. This matters when we move beyond Rd\mathbb{R}^d: on a manifold or abstract locally compact space, mollification requires a convolution structure, but Stone-Weierstrass only requires an algebra of continuous functions.

More practically, density of D(Ω)\mathcal{D}(\Omega) is what makes the choice of test functions non-restrictive. If T1T_1 and T2T_2 are distributions that agree on every test function, they agree as distributions — because D(Ω)\mathcal{D}(\Omega) is rich enough to detect any difference.

D(Ω)\mathcal{D}(\Omega) is also dense in the Sobolev spaces Wk,p(Ω)W^{k,p}(\Omega) for 1p<1 \leq p < \infty (the Meyers-Serrin theorem, H=WH = W). This is a deeper result that does not follow from Stone-Weierstrass alone — it requires the calculus of mollification to commute with weak derivatives.

The inductive limit topology

The solution is to build the topology in two stages Tao, 2009.

Definition 2 (Fréchet space)

A Fréchet space is a topological vector space XX whose topology is generated by a countable family of seminorms {pk}k=0\{ p_k \}_{k=0}^\infty and which is complete with respect to the resulting metric

d(x,y)=k=012kpk(xy)1+pk(xy).d(x,y) = \sum_{k=0}^{\infty} \frac{1}{2^k} \frac{p_k(x - y)}{1 + p_k(x - y)}.

Every Banach space is a Fréchet space (take p0=p_0 = \|\cdot\| and pk=0p_k = 0 for k1k \geq 1). The difference is that a Fréchet space needs only seminorms, not a single norm. A seminorm pp satisfies all the axioms of a norm except that p(x)=0p(x) = 0 does not imply x=0x = 0. Consequently, a Fréchet space is metrizable and complete (so the Baire category theorem applies), but the metric is generally not translation-homogeneous: d(λx,0)λd(x,0)d(\lambda x, 0) \neq |\lambda|\, d(x,0). This means there is no notion of “operator norm” for linear maps between Fréchet spaces, and bounded sets are defined by seminorms rather than by a single ball.

Definition 3 (The spaces DK\mathcal{D}_K)

For a compact set KΩK \subset \Omega, define

DK(Ω)={φCc(Ω):supp(φ)K}.\mathcal{D}_K(\Omega) = \{\varphi \in C_c^\infty(\Omega) : \operatorname{supp}(\varphi) \subseteq K\}.

Equip DK\mathcal{D}_K with the countable family of seminorms

φK,k=maxαksupxKDαφ(x),k=0,1,2,\|\varphi\|_{K,k} = \max_{|\alpha| \leq k} \sup_{x \in K} |D^\alpha \varphi(x)|, \qquad k = 0, 1, 2, \ldots

The metric

dK(φ,ψ)=k=012kφψK,k1+φψK,kd_K(\varphi, \psi) = \sum_{k=0}^{\infty} \frac{1}{2^k} \frac{\|\varphi - \psi\|_{K,k}}{1 + \|\varphi - \psi\|_{K,k}}

makes DK\mathcal{D}_K a Fréchet space (complete and metrizable).

Definition 4 (Inductive limit topology on D(Ω)\mathcal{D}(\Omega))

Let K1K2K_1 \subset K_2 \subset \cdots be a compact exhaustion of Ω\Omega, so that D(Ω)=j=1DKj\mathcal{D}(\Omega) = \bigcup_{j=1}^\infty \mathcal{D}_{K_j}. The inductive limit topology on D(Ω)\mathcal{D}(\Omega) is the finest locally convex topology making every inclusion

ιj:DKj(Ω)D(Ω)\iota_j : \mathcal{D}_{K_j}(\Omega) \hookrightarrow \mathcal{D}(\Omega)

continuous. Concretely, a convex set UD(Ω)U \subseteq \mathcal{D}(\Omega) is open if and only if UDKjU \cap \mathcal{D}_{K_j} is open in DKj\mathcal{D}_{K_j} for every jj.

Local convexity. A topological vector space is locally convex if every point has a neighborhood basis consisting of convex sets, or equivalently, if the topology is generated by a family of seminorms. Each DKj\mathcal{D}_{K_j} is locally convex because its topology comes from the seminorms Kj,k\|\cdot\|_{K_j,k}. The inductive limit topology on D(Ω)\mathcal{D}(\Omega) is locally convex by construction: it is defined as the finest locally convex topology making the inclusions ιj\iota_j continuous (Definition 4). Local convexity matters because it is the hypothesis of the geometric Hahn-Banach theorem (the separation theorem). Without it, the dual space D(Ω)\mathcal{D}'(\Omega) might be too small to separate points of D(Ω)\mathcal{D}(\Omega).

Why not a single norm? In a Banach space, the topology is determined by a single norm. In a Fréchet space, it comes from countably many seminorms. For D(Ω)\mathcal{D}(\Omega), neither works: the topology must enforce both that all derivatives converge uniformly and that supports stay bounded. No single norm (nor even countably many seminorms) can do both. Each DK\mathcal{D}_K is Fréchet, with seminorms K,k\|\cdot\|_{K,k}, but D(Ω)=KDK\mathcal{D}(\Omega) = \bigcup_K \mathcal{D}_K is a union over all compact KΩK \subset \Omega, and no single compact set suffices. The inductive limit topology is precisely the tool that handles this union.

This is not an abstract curiosity; it has a clean sequential characterization.

Proposition 1 (Sequential convergence in D(Ω)\mathcal{D}(\Omega))

A sequence φnφ\varphi_n \to \varphi in D(Ω)\mathcal{D}(\Omega) if and only if:

  1. There exists a compact set KΩK \subset \Omega such that supp(φn)K\operatorname{supp}(\varphi_n) \subseteq K and supp(φ)K\operatorname{supp}(\varphi) \subseteq K for all nn.

  2. For every multi-index α\alpha, DαφnDαφD^\alpha \varphi_n \to D^\alpha \varphi uniformly on KK.

Proof 1

The backward direction is immediate: if both conditions hold then φnφ\varphi_n \to \varphi in DK\mathcal{D}_K, and since the inclusion ιK:DKD(Ω)\iota_K : \mathcal{D}_K \hookrightarrow \mathcal{D}(\Omega) is continuous, convergence in D(Ω)\mathcal{D}(\Omega) follows.

For the forward direction, suppose φnφ\varphi_n \to \varphi in D(Ω)\mathcal{D}(\Omega) but the supports are not contained in any single compact set. Then there exist xnsupp(φnφ)x_n \in \operatorname{supp}(\varphi_n - \varphi) with xn|x_n| \to \infty. One constructs a continuous seminorm pp on D(Ω)\mathcal{D}(\Omega) (using the inductive limit structure) that assigns large values near xnx_n, contradicting p(φnφ)0p(\varphi_n - \varphi) \to 0. Once the supports lie in a fixed KK, convergence in D(Ω)\mathcal{D}(\Omega) restricts to convergence in DK\mathcal{D}_K, which is precisely uniform convergence of all derivatives on KK.

This is a very strong notion of convergence. Both conditions must hold: derivatives of all orders must converge uniformly, and the supports cannot wander off to infinity. For comparison, convergence in L2L^2 only requires φnφ20\int |\varphi_n - \varphi|^2 \to 0, which says nothing about derivatives and nothing about where the mass lives.

Not metrizable, but sequences suffice. A topological space is first countable if every point has a countable neighborhood basis (a sequence U1U2U_1 \supset U_2 \supset \cdots such that every neighborhood contains some UnU_n). Every metrizable space is first countable (take Un=B(x,1/n)U_n = B(x, 1/n)). The space D(Ω)\mathcal{D}(\Omega) is not first countable: a neighborhood of 0 must restrict to a neighborhood of 0 in every DKj\mathcal{D}_{K_j}, and the “size” of these restrictions can be chosen independently, so no countable collection suffices. In general, sequential continuity does not imply continuity in spaces that are not first countable. However, the inductive limit structure gives a remarkable exception: for linear maps T:D(Ω)XT : \mathcal{D}(\Omega) \to X into a locally convex space, continuity is equivalent to sequential continuity. This is because TT is continuous if and only if each restriction Tιj:DKjXT \circ \iota_j : \mathcal{D}_{K_j} \to X is continuous, and each DKj\mathcal{D}_{K_j} is metrizable. This is why we can work entirely with sequences throughout distribution theory.

Characterizing continuous functionals

The inductive limit topology determines exactly which linear functionals on D(Ω)\mathcal{D}(\Omega) are continuous.

Theorem 2 (Continuity estimate)

A linear functional T:D(Ω)RT : \mathcal{D}(\Omega) \to \mathbb{R} is continuous if and only if: for every compact KΩK \subset \Omega, there exist constants C>0C > 0 and k0k \geq 0 such that

T(φ)CφCk(K)for all φDK(Ω).|T(\varphi)| \leq C \|\varphi\|_{C^k(K)} \qquad \text{for all } \varphi \in \mathcal{D}_K(\Omega).

Both CC and kk are allowed to depend on KK; this is the crucial feature inherited from the inductive limit.

Proof 2

By definition of the inductive limit topology, TT is continuous on D(Ω)\mathcal{D}(\Omega) if and only if each restriction TDK:DKRT|_{\mathcal{D}_K} : \mathcal{D}_K \to \mathbb{R} is continuous. Since DK\mathcal{D}_K is a Fréchet space with seminorms K,k\|\cdot\|_{K,k}, continuity of a linear functional on DK\mathcal{D}_K is equivalent to boundedness by some finite combination of these seminorms, i.e. there exist C>0C > 0 and k0k \geq 0 such that T(φ)CφK,k|T(\varphi)| \leq C\|\varphi\|_{K,k} for all φDK\varphi \in \mathcal{D}_K.

Definition 5 (Order of a distribution)

The order of a distribution TT is the smallest integer k0k \geq 0 such that for every compact KΩK \subset \Omega, there exists C>0C > 0 with

T(φ)CφCk(K)for all φDK(Ω).|T(\varphi)| \leq C \|\varphi\|_{C^k(K)} \qquad \text{for all } \varphi \in \mathcal{D}_K(\Omega).

A distribution of finite order kk extends to a continuous functional on Cck(Ω)C_c^k(\Omega). A distribution of infinite order genuinely requires test functions in CcC_c^\infty.

What transfers from earlier chapters?

The spaces DK\mathcal{D}_K, D(Ω)\mathcal{D}(\Omega), and D(Ω)\mathcal{D}'(\Omega) are progressively further from Banach spaces:

SpaceTypeMetrizable?Complete?Key property
DK(Ω)\mathcal{D}_K(\Omega)Fréchet spaceYesYesBaire category holds
D(Ω)\mathcal{D}(\Omega)Inductive limit of Fréchet spacesNoYes (sequentially)Continuity = sequential continuity for linear maps
D(Ω)\mathcal{D}'(\Omega)Dual of inductive limit, with weak-* topologyNoSequentiallyMontel (every bounded set is relatively compact)

The key theorems from the linear operators chapter were proved using the Baire category theorem, which requires completeness and metrizability. Each DK\mathcal{D}_K has both, so the theorems apply there. The full space D(Ω)\mathcal{D}(\Omega) is not metrizable, so we cannot apply them directly, but we can apply them on each piece DK\mathcal{D}_K and glue the results together.

Remark 2 (Which theorems transfer)

On each DK\mathcal{D}_K (Fréchet space), everything works:

  • Baire category theorem: DK\mathcal{D}_K is a complete metric space, so it is a Baire space.

  • Banach–Steinhaus (uniform boundedness): a pointwise bounded family of continuous linear functionals on DK\mathcal{D}_K is equicontinuous. This is the key tool for proving that D\mathcal{D}' is sequentially complete and has the Montel property.

  • Open mapping theorem: a surjective continuous linear map between Fréchet spaces is open.

  • Closed graph theorem: a closed linear map between Fréchet spaces is continuous.

On D(Ω)\mathcal{D}(\Omega) (inductive limit), partial transfer:

  • Banach–Steinhaus: does not apply directly (not metrizable), but the fix KK, then vary KK strategy works. See Remark 3 below.

  • Open mapping / closed graph: versions exist for inductive limits (the Grothendieck–de Wilde theorem), but we will not need them.

  • Hahn–Banach: works on D(Ω)\mathcal{D}(\Omega) because it is locally convex. This guarantees enough continuous functionals to separate points (the geometric version only needs local convexity, not metrizability).

On D(Ω)\mathcal{D}'(\Omega) (weak-* dual), the duality chapter transfers:

  • Weak-* convergence: convergence of distributions is exactly the weak-* convergence from the duality chapter.

  • Banach–Alaoglu: does not apply directly (no norm, so no “unit ball”). It is replaced by the Montel property: every bounded set in D\mathcal{D}' is relatively sequentially compact. The proof uses Banach–Steinhaus on each DK\mathcal{D}_K plus a diagonal argument, the same structure as Banach–Alaoglu for separable preduals.

  • Separation: test functions separate distributions and distributions separate test functions (Hahn–Banach on D\mathcal{D}).

Remark 3 (The “fix KK, then vary KK” strategy)

This is the fundamental technique for working with the inductive limit. Suppose {Tn}\{T_n\} is a sequence of distributions that is pointwise bounded: supnTn,φ<\sup_n |\langle T_n, \varphi \rangle| < \infty for every φD(Ω)\varphi \in \mathcal{D}(\Omega). We want to conclude something uniform.

Step 1: Fix KK. Pick any compact KΩK \subset \Omega. The restrictions TnDKT_n|_{\mathcal{D}_K} are a family of continuous linear functionals on the Fréchet space DK\mathcal{D}_K. They are pointwise bounded (by assumption). Apply Banach–Steinhaus on DK\mathcal{D}_K: the family is equicontinuous, meaning there exist CK>0C_K > 0 and kK0k_K \geq 0 such that

Tn,φCKφCkK(K)for all n and all φDK.|\langle T_n, \varphi \rangle| \leq C_K \|\varphi\|_{C^{k_K}(K)} \quad \text{for all } n \text{ and all } \varphi \in \mathcal{D}_K.

Step 2: Vary KK. Repeat for every compact set in an exhaustion K1K2K_1 \subset K_2 \subset \cdots of Ω\Omega. For each KjK_j, we get constants CjC_j and orders kjk_j, and these will generally differ from one KjK_j to the next. That is fine: any test function φ\varphi has compact support, so φDKj\varphi \in \mathcal{D}_{K_j} for some jj, and the estimate for that KjK_j applies.

The result is not a single uniform bound (which would require a single norm), but a family of bounds, one per compact set. This is exactly the structure of the continuity estimate in Theorem 2: the constants CC and kk depend on KK because Banach–Steinhaus is applied separately on each DK\mathcal{D}_K.

This two-step strategy is used throughout distribution theory:

  • Sequential completeness of D\mathcal{D}': fix KK, get equicontinuity, then extend convergence from DK\mathcal{D}_K to all of D\mathcal{D}.

  • Montel property: fix KK, get equicontinuity, then use a diagonal argument over K1K2K_1 \subset K_2 \subset \cdots to extract a convergent subsequence.

  • Convergent sequences are bounded: fix KK, apply Banach–Steinhaus to get uniform order on each compact set.

The recurring pattern: do Fréchet space arguments on each DK\mathcal{D}_K, then glue via the inductive limit. The inductive limit structure is the price we pay for the compact support condition; the reward is a dual space (D\mathcal{D}') where differentiation always makes sense.

References
  1. Tao, T. (2009, April 19). 245C, Notes 3: Distributions [Blog post]. https://terrytao.wordpress.com/2009/04/19/245c-notes-3-distributions/