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
Space of distributions
Let be a field (typically or ) satisfying the `RCLike` property, be a normed vector space over , and be a normed vector space over . An -valued distribution on , denoted by , is defined as a continuous linear map from the Schwartz space to . The Schwartz space consists of smooth functions whose derivatives are rapidly decreasing. This definition treats distributions as tempered distributions, providing a generalization of functions from to .
Space of distributions
The notation denotes the space of tempered distributions from a normed vector space over to a normed vector space over the field (where is typically or ). A distribution in this space is defined as a continuous linear map from the Schwartz space to the vector space .
Distribution from a bounded linear map on the Schwartz space
Given a linear map from the Schwartz space to a normed vector space and a finite set of index pairs , this definition constructs a distribution (a continuous linear map) in the space . The construction is valid provided that satisfies a continuity condition: there exists a constant such that for every test function , there exist indices and a point such that where denotes the norm of the -th iterated Fréchet derivative of the function at the point . This condition ensures that the linear map is continuous with respect to the topology of the Schwartz space, allowing it to be treated as a tempered distribution.
Action of a distribution constructed from a linear map is
Let be an `RCLike` field (typically or ), be a real normed vector space, and be a normed vector space over . Let be a -linear map from the Schwartz space to . Suppose satisfies a continuity condition defined by a finite set and a constant , such that for every test function , there exist indices and a point satisfying , where denotes the norm of the -th iterated Fréchet derivative of at . Then, the distribution constructed from this linear map (denoted by `ofLinear`) applied to any test function is equal to .
Fréchet derivative operator for distributions
Let be a finite-dimensional real normed vector space and be a normed vector space over a field (where is or ). The Fréchet derivative operator for distributions is a -linear map that transforms a distribution into a distribution valued in the space of continuous linear maps . For a distribution and a test function , the derivative is the distribution such that for any vector , the evaluation is given by , where is the directional derivative of the test function in the direction . In this framework, unlike traditional functions, every distribution is infinitely Fréchet differentiable.
Let be a finite-dimensional real normed vector space, be a field (typically or ), and be a normed vector space over . For a distribution , a Schwartz test function , and a vector , the evaluation of the Fréchet derivative of the distribution, denoted , is given by where is the Schwartz function representing the directional derivative of in the direction , i.e., .
Fourier transform of a distribution
Let be a normed vector space over and be a complex normed vector space. The Fourier transform is a -linear map from the space of -valued distributions on to itself, denoted as . Given a distribution and a test function , the action of the Fourier transform of (denoted or ) is defined by where is the Fourier transform of the Schwartz function .
Let be a real normed vector space and be a complex normed vector space. For a distribution and a Schwartz test function , the action of the Fourier transform of (denoted ) on is equal to the action of on the Fourier transform of (denoted ):
Constant distribution
Given a vector , the constant distribution is the element of the space of distributions that maps a Schwartz test function to the integral where denotes the volume measure on . This construction requires that the volume measure on has temperate growth.
Action of Constant Distribution on Test Function is
Let be a field (such as or ), be a normed vector space over , and be a normed vector space over . Suppose the volume measure on has temperate growth. For any constant vector and any Schwartz test function , the action of the constant distribution associated with on is given by the integral: where denotes the volume measure on .
The Fréchet derivative of a constant distribution is zero
Let be a finite-dimensional real normed vector space equipped with an additive Haar measure, and let be a normed space over . For any constant vector , the Fréchet derivative of the constant distribution associated with is the zero distribution.
Dirac delta distribution
Given a point in a normed vector space over , the Dirac delta distribution is a distribution in the space . It is defined as the continuous linear map that takes a Schwartz test function to its value at , denoted by .
Action of Dirac delta distribution
Let be a normed vector space over and be a field (such as or ) satisfying the `RCLike` property. For any point and any Schwartz test function , the action of the Dirac delta distribution on is given by evaluation at :
Vector-valued Dirac delta distribution
Let be a normed vector space over and be a normed vector space over a field (where is or satisfying the `RCLike` property). Given a point and a vector , the vector-valued Dirac delta distribution is a distribution in the space . It is defined as the continuous linear map that takes a Schwartz test function and maps it to the scalar-vector product of the function's value at and the vector : Intuitively, this represents an infinitely intense vector field concentrated at a single point pointing in the direction .
Let be a normed vector space over and be a normed vector space over a field (where is or ). For any point , vector , and Schwartz test function , the action of the vector-valued Dirac delta distribution on is given by the scalar-vector product:
Heaviside step distribution on
For a given , the Heaviside step distribution is a tempered distribution on the Euclidean space . Its action on a Schwartz test function is defined by the integral of over the upper half-space where the last coordinate is positive: where denotes the last component of the vector .
Action of the Heaviside step distribution on a Schwartz function
For any natural number and any Schwartz test function , the action of the Heaviside step distribution on is defined by the integral of over the upper half-space where the last coordinate is positive: where denotes the last coordinate of the vector .
