Physlib

Physlib.Mathematics.Distribution.Basic

Distributions

i. Overview of distributions

Distributions are often used implicitly in physics, for example the correct way to handle a dirac delta function is to treat it as a distribution. In this file we will define distributions and some properties on them.

The distributions from a space `E` to space `F` can be thought of as a generalization of functions from `E` to `F`. We give a more precise definition of distributions below.

ii. Key results

- `E →d[𝕜] F` is the type of distributions from `E` to `F`. - `Distribution.derivative` and `Distribution.fourierTransform` allow us to make sense of these operations that might not make sense a priori on general functions.

iii. Table of Content

  • A. The definition of a distribution
  • B. Construction of distributions from linear maps
  • C. Derivatives of distributions
  • D. Fourier transform of distributions
  • E. Specific distributions

iv. Implementation notes

- In this file we will define distributions generally, in `Physlib.SpaceAndTime.Distributions` we define properties of distributions directly related to `Space`.

A. The definition of a distribution

In physics, we often encounter mathematical objects like the Dirac delta function `δ(x)` that are not functions in the traditional sense. Distributions provide a rigorous framework for handling such objects.

The core idea is to define a "generalized function" not by its value at each point, but by how it acts on a set of well-behaved "test functions".

These test functions, typically denoted `η`. The choice of test functions depends on the application here we choose test functions which are smooth and decay rapidly at infinity (called Schwartz maps). Thus really the distributions we are defining here are called tempered distributions.

A distribution `u` is a linear map that takes a test function `η` and produces a value, which can be a scalar or a vector. This action is written as `⟪u,η⟫`.

Two key examples illustrate this concept:

1. **Ordinary Functions:** Any well-behaved function `f(x)` can be viewed as a distribution. Its action on a test function `η` is defined by integration: `u_f(η) = ∫ f(x) η(x) dx` This integral "tests" the function `f` using `η`.

2. **Dirac Delta:** The Dirac delta `δ_a` (centered at `a`) is a distribution whose action is to simply evaluate the test function at `a`: `δ_a(η) = η(a)`

Formally, a distribution is a *continuous linear map* from the space of Schwartz functions `𝓢(E, 𝕜)` to a vector space `F` over `𝕜`. This definition allows us to rigorously define concepts like derivatives and Fourier transforms for these generalized functions, as we will see below.

We use the notation `E →d[𝕜] F` to denote the space of distributions from `E` to `F` where `E` is a normed vector space over `ℝ` and `F` is a normed vector space over `𝕜`.

B. Construction of distributions from linear maps

Distributions are defined as **continuous** linear maps from `𝓢(E, 𝕜)` to `F`. It is possible to define a constructor of distributions from just linear maps `𝓢(E, 𝕜) →ₗ[𝕜] F` (without the continuity requirement) by imposing a condition on the size of `u` applied to `η`.

C. Derivatives of distributions

Given a distribution `u : E →d[𝕜] F`, we can define the derivative of that distribution. In general when defining an operation on a distribution, we do it by applying a similar operation instead to the Schwartz maps it acts on.

Thus the derivative of `u` is the distribution which takes `η` to `⟪u, - η'⟫` where `η'` is the derivative of `η`.

D. Fourier transform of distributions

As with derivatives of distributions we can define the fourier transform of a distribution by taking the fourier transform of the underlying Schwartz maps. Thus the fourier transform of the distribution `u` is the distribution which takes `η` to `⟪u, F[η]⟫` where `F[η]` is the fourier transform of `η`.

E. Specific distributions

We now define specific distributions, which are used throughout physics. In particular, we define: - The constant distribution. - The dirac delta distribution. - The heaviside step function.

E.1. The constant distribution

The constant distribution is the distribution which corresponds to a constant function, it takes `η` to the integral of `η` over the volume measure.

E.2. The dirac delta distribution

The dirac delta distribution centered at `a : E` is the distribution which takes `η` to `η a`. We also define `diracDelta'` which takes in an element of `v` of `F` and outputs `η a • v`.

E.3. The heviside step function

The heaviside step function on `EuclideanSpace ℝ (Fin d.succ)` is the distribution from `EuclideanSpace ℝ (Fin d.succ)` to `ℝ` which takes a `η` to the integral of `η` in the upper-half plane (determined by the last coordinate in `EuclideanSpace ℝ (Fin d.succ)`).

17 declarations

abbrev

Space of distributions Ed[k]FE \to d[\mathbb{k}] F

Let k\mathbb{k} be a field (typically R\mathbb{R} or C\mathbb{C}) satisfying the `RCLike` property, EE be a normed vector space over R\mathbb{R}, and FF be a normed vector space over k\mathbb{k}. An FF-valued distribution on EE, denoted by Ed[k]FE \to d[\mathbb{k}] F, is defined as a continuous linear map from the Schwartz space S(E,k)\mathcal{S}(E, \mathbb{k}) to FF. The Schwartz space S(E,k)\mathcal{S}(E, \mathbb{k}) consists of smooth functions EkE \to \mathbb{k} whose derivatives are rapidly decreasing. This definition treats distributions as tempered distributions, providing a generalization of functions from EE to FF.

definition

Space of distributions Ed[k]FE \to_{d[\mathbb{k}]} F

The notation Ed[k]FE \to_{d[\mathbb{k}]} F denotes the space of tempered distributions from a normed vector space EE over R\mathbb{R} to a normed vector space FF over the field k\mathbb{k} (where k\mathbb{k} is typically R\mathbb{R} or C\mathbb{C}). A distribution in this space is defined as a continuous linear map from the Schwartz space S(E,k)\mathcal{S}(E, \mathbb{k}) to the vector space FF.

definition

Distribution from a bounded linear map uu on the Schwartz space

Given a linear map u:S(E,k)Fu: \mathcal{S}(E, \mathbb{k}) \to F from the Schwartz space to a normed vector space FF and a finite set ss of index pairs (k,n)N×N(k, n) \in \mathbb{N} \times \mathbb{N}, this definition constructs a distribution (a continuous linear map) in the space Ed[k]FE \to d[\mathbb{k}] F. The construction is valid provided that uu satisfies a continuity condition: there exists a constant C0C \ge 0 such that for every test function ηS(E,k)\eta \in \mathcal{S}(E, \mathbb{k}), there exist indices (k,n)s(k, n) \in s and a point xEx \in E such that u(η)CxkDnη(x), \|u(\eta)\| \le C \|x\|^k \|D^n \eta(x)\|, where Dnη(x)D^n \eta(x) denotes the norm of the nn-th iterated Fréchet derivative of the function η\eta at the point xx. This condition ensures that the linear map uu is continuous with respect to the topology of the Schwartz space, allowing it to be treated as a tempered distribution.

theorem

Action of a distribution constructed from a linear map uu is u(η)u(\eta)

Let k\mathbb{k} be an `RCLike` field (typically R\mathbb{R} or C\mathbb{C}), EE be a real normed vector space, and FF be a normed vector space over k\mathbb{k}. Let u:S(E,k)Fu: \mathcal{S}(E, \mathbb{k}) \to F be a k\mathbb{k}-linear map from the Schwartz space to FF. Suppose uu satisfies a continuity condition defined by a finite set sN×Ns \subseteq \mathbb{N} \times \mathbb{N} and a constant C0C \geq 0, such that for every test function ηS(E,k)\eta \in \mathcal{S}(E, \mathbb{k}), there exist indices (k,n)s(k, n) \in s and a point xEx \in E satisfying u(η)CxkDnη(x)\|u(\eta)\| \leq C \|x\|^k \|D^n \eta(x)\|, where Dnη(x)\|D^n \eta(x)\| denotes the norm of the nn-th iterated Fréchet derivative of η\eta at xx. Then, the distribution constructed from this linear map (denoted by `ofLinear`) applied to any test function η\eta is equal to u(η)u(\eta).

definition

Fréchet derivative operator for distributions Ed[k]FE \to d[\mathbb{k}] F

Let EE be a finite-dimensional real normed vector space and FF be a normed vector space over a field k\mathbb{k} (where k\mathbb{k} is R\mathbb{R} or C\mathbb{C}). The Fréchet derivative operator for distributions is a k\mathbb{k}-linear map that transforms a distribution u:Ed[k]Fu: E \to d[\mathbb{k}] F into a distribution valued in the space of continuous linear maps L(E,F)\mathcal{L}(E, F). For a distribution uu and a test function ηS(E,k)\eta \in \mathcal{S}(E, \mathbb{k}), the derivative DuDu is the distribution such that for any vector vEv \in E, the evaluation is given by ((Du)η)(v)=u(vη)((Du) \eta)(v) = -u(\partial_v \eta), where vη(x)=Dη(x)v\partial_v \eta(x) = D\eta(x)v is the directional derivative of the test function η\eta in the direction vv. In this framework, unlike traditional functions, every distribution is infinitely Fréchet differentiable.

theorem

((Du)η)(v)=u(vη)((Du) \eta)(v) = -u(\partial_v \eta)

Let EE be a finite-dimensional real normed vector space, k\mathbb{k} be a field (typically R\mathbb{R} or C\mathbb{C}), and FF be a normed vector space over k\mathbb{k}. For a distribution u:Ed[k]Fu: E \to d[\mathbb{k}] F, a Schwartz test function ηS(E,k)\eta \in \mathcal{S}(E, \mathbb{k}), and a vector vEv \in E, the evaluation of the Fréchet derivative of the distribution, denoted DuDu, is given by ((Du)η)(v)=u(vη) ((Du) \eta)(v) = -u(\partial_v \eta) where vη\partial_v \eta is the Schwartz function representing the directional derivative of η\eta in the direction vv, i.e., (vη)(x)=Dη(x)v(\partial_v \eta)(x) = D\eta(x)v.

definition

Fourier transform of a distribution uu

Let EE be a normed vector space over R\mathbb{R} and FF be a complex normed vector space. The Fourier transform F\mathcal{F} is a C\mathbb{C}-linear map from the space of FF-valued distributions on EE to itself, denoted as (Ed[C]F)(Ed[C]F)(E \to d[\mathbb{C}] F) \to (E \to d[\mathbb{C}] F). Given a distribution uu and a test function ηS(E,C)\eta \in \mathcal{S}(E, \mathbb{C}), the action of the Fourier transform of uu (denoted u^\hat{u} or F{u}\mathcal{F}\{u\}) is defined by F{u},η=u,F{η} \langle \mathcal{F}\{u\}, \eta \rangle = \langle u, \mathcal{F}\{\eta\} \rangle where F{η}\mathcal{F}\{\eta\} is the Fourier transform of the Schwartz function η\eta.

theorem

Fu,η=u,Fη\langle \mathcal{F}u, \eta \rangle = \langle u, \mathcal{F}\eta \rangle

Let EE be a real normed vector space and FF be a complex normed vector space. For a distribution uEd[C]Fu \in E \to d[\mathbb{C}] F and a Schwartz test function ηS(E,C)\eta \in \mathcal{S}(E, \mathbb{C}), the action of the Fourier transform of uu (denoted Fu\mathcal{F}u) on η\eta is equal to the action of uu on the Fourier transform of η\eta (denoted Fη\mathcal{F}\eta): Fu,η=u,Fη. \langle \mathcal{F}u, \eta \rangle = \langle u, \mathcal{F}\eta \rangle.

definition

Constant distribution cFc \in F

Given a vector cFc \in F, the constant distribution is the element of the space of distributions Ed[k]FE \to d[\mathbb{k}] F that maps a Schwartz test function ηS(E,k)\eta \in \mathcal{S}(E, \mathbb{k}) to the integral Eη(x)cdx \int_E \eta(x) \cdot c \, dx where dxdx denotes the volume measure on EE. This construction requires that the volume measure on EE has temperate growth.

theorem

Action of Constant Distribution cc on Test Function η\eta is Eη(x)cdx\int_E \eta(x) \cdot c \, dx

Let k\mathbb{k} be a field (such as R\mathbb{R} or C\mathbb{C}), EE be a normed vector space over R\mathbb{R}, and FF be a normed vector space over k\mathbb{k}. Suppose the volume measure on EE has temperate growth. For any constant vector cFc \in F and any Schwartz test function ηS(E,k)\eta \in \mathcal{S}(E, \mathbb{k}), the action of the constant distribution associated with cc on η\eta is given by the integral: const c,η=Eη(x)cdx \langle \text{const } c, \eta \rangle = \int_E \eta(x) \cdot c \, dx where dxdx denotes the volume measure on EE.

theorem

The Fréchet derivative of a constant distribution is zero

Let EE be a finite-dimensional real normed vector space equipped with an additive Haar measure, and let FF be a normed space over R\mathbb{R}. For any constant vector cFc \in F, the Fréchet derivative of the constant distribution associated with cc is the zero distribution.

definition

Dirac delta distribution δa\delta_a

Given a point aa in a normed vector space EE over R\mathbb{R}, the Dirac delta distribution δa\delta_a is a distribution in the space Ed[k]kE \to d[\mathbb{k}] \mathbb{k}. It is defined as the continuous linear map that takes a Schwartz test function ηS(E,k)\eta \in \mathcal{S}(E, \mathbb{k}) to its value at aa, denoted by δa,η=η(a)\langle \delta_a, \eta \rangle = \eta(a).

theorem

Action of Dirac delta distribution δa(η)=η(a)\delta_a(\eta) = \eta(a)

Let EE be a normed vector space over R\mathbb{R} and k\mathbb{k} be a field (such as R\mathbb{R} or C\mathbb{C}) satisfying the `RCLike` property. For any point aEa \in E and any Schwartz test function ηS(E,k)\eta \in \mathcal{S}(E, \mathbb{k}), the action of the Dirac delta distribution δa\delta_a on η\eta is given by evaluation at aa: δa,η=η(a)\langle \delta_a, \eta \rangle = \eta(a)

definition

Vector-valued Dirac delta distribution δav\delta_a \cdot v

Let EE be a normed vector space over R\mathbb{R} and FF be a normed vector space over a field k\mathbb{k} (where k\mathbb{k} is R\mathbb{R} or C\mathbb{C} satisfying the `RCLike` property). Given a point aEa \in E and a vector vFv \in F, the vector-valued Dirac delta distribution is a distribution in the space Ed[k]FE \to d[\mathbb{k}] F. It is defined as the continuous linear map that takes a Schwartz test function ηS(E,k)\eta \in \mathcal{S}(E, \mathbb{k}) and maps it to the scalar-vector product of the function's value at aa and the vector vv: δav,η=η(a)v \langle \delta_a^v, \eta \rangle = \eta(a) \cdot v Intuitively, this represents an infinitely intense vector field concentrated at a single point aa pointing in the direction vv.

theorem

δav,η=η(a)v\langle \delta_a^v, \eta \rangle = \eta(a) \cdot v

Let EE be a normed vector space over R\mathbb{R} and FF be a normed vector space over a field k\mathbb{k} (where k\mathbb{k} is R\mathbb{R} or C\mathbb{C}). For any point aEa \in E, vector vFv \in F, and Schwartz test function ηS(E,k)\eta \in \mathcal{S}(E, \mathbb{k}), the action of the vector-valued Dirac delta distribution δav\delta_a^v on η\eta is given by the scalar-vector product: δav,η=η(a)v\langle \delta_a^v, \eta \rangle = \eta(a) \cdot v

definition

Heaviside step distribution on Rd+1\mathbb{R}^{d+1}

For a given dNd \in \mathbb{N}, the Heaviside step distribution is a tempered distribution on the Euclidean space Rd+1\mathbb{R}^{d+1}. Its action on a Schwartz test function ηS(Rd+1,R)\eta \in \mathcal{S}(\mathbb{R}^{d+1}, \mathbb{R}) is defined by the integral of η\eta over the upper half-space where the last coordinate is positive: H,η={xRd+1xd+1>0}η(x)dx \langle H, \eta \rangle = \int_{\{x \in \mathbb{R}^{d+1} \mid x_{d+1} > 0\}} \eta(x) \, dx where xd+1x_{d+1} denotes the last component of the vector xx.

theorem

Action of the Heaviside step distribution HH on a Schwartz function η\eta

For any natural number dd and any Schwartz test function ηS(Rd+1,R)\eta \in \mathcal{S}(\mathbb{R}^{d+1}, \mathbb{R}), the action of the Heaviside step distribution HH on η\eta is defined by the integral of η\eta over the upper half-space where the last coordinate is positive: H,η={xRd+1xd+1>0}η(x)dx \langle H, \eta \rangle = \int_{\{x \in \mathbb{R}^{d+1} \mid x_{d+1} > 0\}} \eta(x) \, dx where xd+1x_{d+1} denotes the last coordinate of the vector xx.