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[𝕜] Fis the type of distributions fromEtoF.Distribution.derivativeandDistribution.fourierTransformallow 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
PhysLean.SpaceAndTime.Distributionswe define properties of distributions directly related toSpace.
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:
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) dxThis integral "tests" the functionfusingη.Dirac Delta: The Dirac delta
δ_a(centered ata) is a distribution whose action is to simply evaluate the test function ata:δ_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 𝕜.
An F-valued distribution on E (where E is a normed vector space over ℝ and F is a
normed vector space over 𝕜) is a continuous linear map 𝓢(E, 𝕜) →L[𝕜] F where 𝒮(E, 𝕜) is
the Schwartz space of smooth functions E → 𝕜 with rapidly decreasing iterated derivatives. This
is notated as E →d[𝕜] F.
This should be seen as a generalisation of functions E → F.
Instances For
An F-valued distribution on E (where E is a normed vector space over ℝ and F is a
normed vector space over 𝕜) is a continuous linear map 𝓢(E, 𝕜) →L[𝕜] F where 𝒮(E, 𝕜) is
the Schwartz space of smooth functions E → 𝕜 with rapidly decreasing iterated derivatives. This
is notated as E →d[𝕜] F.
This should be seen as a generalisation of functions E → F.
Equations
- One or more equations did not get rendered due to their size.
Instances For
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 η.
The construction of a distribution from the following data:
- We take a finite set
sof pairs(k, n) ∈ ℕ × ℕthat will be explained later. - We take a linear map
uthat evaluates the given Schwartz functionη. At this stage we don't needuto be continuous. - Recall that a Schwartz function
ηsatisfies a bound‖x‖ᵏ * ‖(dⁿ/dxⁿ) η‖ < MₙₖwhereMₙₖ : ℝonly depends on(k, n) : ℕ × ℕ. - This step is where
sis used: for each test functionη, the norm‖u η‖is required to be bounded byC * (‖x‖ᵏ * ‖(dⁿ/dxⁿ) η‖)for somex : ℝand for some(k, n) ∈ s, whereC ≥ 0is a global scalar.
Equations
- Distribution.ofLinear 𝕜 s u hu = SchwartzMap.mkCLMtoNormedSpace ⇑u ⋯ ⋯ ⋯
Instances For
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 η.
The Fréchet derivative of a distribution.
Informally, for a distribution u : E →d[𝕜] F,
the Fréchet derivative fderiv u x v corresponds to the derivative of u at the
point x in the direction v. For example, if F = ℝ³
then fderiv u x v is a vector in ℝ³ corresponding to
(v₁ ∂u₁/∂x₁ + v₂ ∂u₁/∂x₂ + v₃ ∂u₁/∂x₃, v₁ ∂u₂/∂x₁ + v₂ ∂u₂/∂x₂ + v₃ ∂u₂/∂x₃,...).
Formally, for a distribution u : E →d[𝕜] F, this is actually defined
the distribution which takes test function η : E → 𝕜 to
- u (SchwartzMap.evalCLM v (SchwartzMap.fderivCLM 𝕜 η)).
Note that, unlike for functions, the Fréchet derivative of a distribution always exists.
Equations
- One or more equations did not get rendered due to their size.
Instances For
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 η.
Definition of Fourier transform of distribution: Let u be a distribution. Then its Fourier
transform is F{u} where given a test function η, F{u}(η) := u(F{η}).
Equations
- Distribution.fourierTransform E F = { toFun := fun (u : E→d[ℂ] F) => ContinuousLinearMap.comp u (SchwartzMap.fourierTransformCLM ℂ), map_add' := ⋯, map_smul' := ⋯ }
Instances For
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.
The constant distribution E →d[𝕜] F, for a given c : F this corresponds
to the integral ∫ x, η x • c ∂MeasureTheory.volume.
Equations
- Distribution.const 𝕜 E c = SchwartzMap.mkCLMtoNormedSpace (fun (η : SchwartzMap E 𝕜) => ∫ (x : E), η x • c) ⋯ ⋯ ⋯
Instances For
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.
Dirac delta distribution diracDelta 𝕜 a : E →d[𝕜] 𝕜 takes in a test function η : 𝓢(E, 𝕜)
and outputs η a. Intuitively this is an infinite density at a single point a.
Equations
- Distribution.diracDelta 𝕜 a = SchwartzMap.delta 𝕜 𝕜 a
Instances For
Dirac delta in a given direction v : F. diracDelta' 𝕜 a v takes in a test function
η : 𝓢(E, 𝕜) and outputs η a • v. Intuitively this is an infinitely intense vector field
at a single point a pointing at the direction v.
Equations
Instances For
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)).
The Heaviside step distribution defined on (EuclideanSpace ℝ (Fin d.succ))
equal to 1 in the positive z-direction and 0 in the negative z-direction.
Equations
- One or more equations did not get rendered due to their size.