# Laplacian of the indicator

{{ safesubst:#invoke:Unsubst||$N=Technical |date=__DATE__ |$B= {{#invoke:Message box|ambox}} }} In mathematics, the Laplacian of the indicator of the domain D is a generalisation of the Dirac Template:Mvar-function to higher dimensions, and is non-zero only on the surface of D. It can be viewed as the surface delta prime function. It is analogous to the second derivative of the Heaviside step function in one dimension. It can be obtained by letting the Laplace operator work on the indicator function of some domain D.

The Laplacian of the indicator can be thought of as having infinitely positive and negative values when evaluated very near the boundary of the domain D. From a mathematical viewpoint, it is not strictly a function but a generalized function or measure. Similarly to the derivative of the Dirac delta function in one dimension, the Laplacian of the indicator only makes sense as a mathematical object when it appears under an integral sign; i.e. it is a distribution function. Just as in the formulation of distribution theory, it is in practice regarded as a limit of a sequence of smooth functions; one may meaningfully take the Laplacian of a bump function, which is smooth by definition, and let the bump function approach the indicator in the limit.

## Introduction

File:Laplacian of the indicator v2.jpg
An approximation of the negative indicator function of an ellipse in the plane (left), the derivative in the direction normal to the boundary (middle), and its Laplacian (right). In the limit, the right-most graph goes to the (negative) Laplacian of the indicator. Purely intuitively speaking, the right-most graph resembles an elliptic castle with a castle wall on the inside and a moat in front of it; in the limit, the wall and moat become infinitely high and deep (and narrow).

Paul Dirac introduced the [[Dirac delta function|Dirac Template:Mvar-function]], as it has become known, as early as 1930. The one-dimensional Dirac Template:Mvar-function is non-zero only at a single point. Likewise, the multidimensional generalisation, as it is usually made, is non-zero only at a single point. In Cartesian coordinates, the d-dimensional Dirac Template:Mvar-function is a product of d one-dimensional Template:Mvar-functions; one for each Cartesian coordinate (see e.g. generalizations of the Dirac delta function).

However, a different generalisation is possible. The point zero, in one dimension, can be considered as the boundary of the positive halfline. The function 1x>0 equals 1 on the positive halfline and zero otherwise, and is also known as the Heaviside step function. Formally, the Dirac Template:Mvar-function and its derivative can be viewed as the first and second derivative of the Heaviside step function, i.e. ∂x1x>0 and $\partial _{x}^{2}{\mathbf {1} }_{x>0}$ .

The analogue of the step function in higher dimensions is the indicator function, which can be written as 1xD, where D is some domain. The indicator function is also known as the characteristic function. In analogy with the one-dimensional case, the following higher-dimensional generalisations of the Dirac Template:Mvar-function and its derivative have been proposed:

{\begin{aligned}&\delta (x)\to -n_{x}\cdot \nabla _{x}{\mathbf {1} }_{x\in D},\\&\delta '(x)\to \nabla _{x}^{2}{\mathbf {1} }_{x\in D}.\end{aligned}} Here n is the outward normal vector. Here the Dirac Template:Mvar-function is generalised to a surface delta function on the boundary of some domain D in d ≥ 1 dimensions. This definition includes the usual one-dimensional case, when the domain is taken to be the positive halfline. It is zero except on the boundary of the domain D (where it is infinite), and it integrates to the total surface area enclosing D, as shown below.

The Dirac Template:Mvar-function is generalised to a surface delta prime function on the boundary of some domain D in d ≥ 1 dimensions. In one dimension and by taking D equal to the positive halfline, the usual one-dimensional Template:Mvar-function can be recovered.

Both the normal derivative of the indicator and the Laplacian of the indicator are supported by surfaces rather than points. The generalisation is useful in e.g. quantum mechanics, as surface interactions can lead to boundary conditions in d > 1, while point interactions cannot. Naturally, point and surface interactions coincide for d=1. Both surface and point interactions have a long history in quantum mechanics, and there exists a sizeable literature on so-called surface delta potentials or delta-sphere interactions. Surface delta functions use the one-dimensional Dirac Template:Mvar-function, but as a function of the radial coordinate r, e.g. δ(rR) where R is the radius of the sphere.

Although seemingly ill-defined, derivatives of the indicator function can formally be defined using the theory of distributions or generalized functions: one can obtain a well-defined prescription by postulating that the Laplacian of the indicator, for example, is defined by two integrations by parts when it appears under an integral sign. Alternatively, the indicator (and its derivatives) can be approximated using a bump function (and its derivatives). The limit, where the (smooth) bump function approaches the indicator function, must then be put outside of the integral.

## Surface Dirac delta prime function

This section will prove that the Laplacian of the indicator is a surface delta prime function. The surface delta function will be considered below.

First, for a function f in the interval (a,b), recall the fundamental theorem of calculus

$\int _{a}^{b}{\frac {\partial f(x)}{\partial x}}\,dx={\underset {x\nearrow b}{\lim }}f(x)-{\underset {x\searrow a}{\lim }}f(x),$ assuming that f is locally integrable. Now for a < b it follows, by proceeding heuristically, that

{\begin{aligned}\int _{-\infty }^{+\infty }{\frac {\partial ^{2}{\mathbf {1} }_{a Here 1a<x<b is the indicator function of the domain a < x < b. The indicator equals one when the condition in its subscript is satisfied, and zero otherwise. In this calculation, two integrations by parts show that the first equality holds; the boundary terms are zero when a and b are finite, or when f vanishes at infinity. The last equality shows a sum of outward normal derivatives, where the sum is over the boundary points a and b, and where the signs follow from the outward direction (i.e. positive for b and negative for a). Although derivatives of the indicator do not formally exist, following the usual rules of partial integration provides the 'correct' result. When considering a finite d-dimensional domain D, the sum over outward normal derivatives is expected to become an integral, which can be confirmed as follows:

{\begin{aligned}\int _{{\mathbf {R} }^{d}}\nabla _{x}^{2}{\mathbf {1} }_{x\in D}\,f(x)\;dx&=\int _{{\mathbf {R} }^{d}}{\mathbf {1} }_{x\in D}\,\nabla _{x}^{2}f(x)\;dx,\\&=\int _{D}\,\nabla _{x}^{2}f(x)\;dx,\\&=\oint _{\partial D}\,{\underset {\alpha \to \beta }{\lim }}n_{\beta }\cdot \nabla _{\alpha }f(\alpha )\;d\beta .\end{aligned}} Again, the first equality follows by two integrations by parts (in higher dimensions this proceeds by Green's second identity) where the boundary terms disappear as long as the domain D is finite or if f vanishes at infinity; e.g. both 1xD and ∇x1xD are zero when evaluated at the 'boundary' of Rd when the domain D is finite. The third equality follows by the divergence theorem and shows, again, a sum (or, in this case, an integral) of outward normal derivatives over all boundary locations. The divergence theorem is valid for piecewise smooth domains D, and hence D needs to be piecewise smooth.

Thus the Dirac Template:Mvar-function can be generalised to exist on a piecewise smooth surface, by taking the Laplacian of the indicator of the domain D giving rise to that surface. Naturally, the difference between a point and a surface disappears in one dimension.

In electrostatics, a surface dipole (or Double layer potential) can be modelled by the limiting distribution of the Laplacian of the indicator.

The calculation above derives from research on path integrals in quantum physics.

## Surface Dirac delta function

This section will prove that the (inward) normal derivative of the indicator is a surface delta function.

For a finite domain D or when f vanishes at infinity, it follows by the divergence theorem that

$\int _{{\mathbf {R} }^{d}}\nabla _{x}^{2}\left({\mathbf {1} }_{x\in D}\,f(x)\right)\;dx=0.$ By the product rule, it follows that

$\int _{{\mathbf {R} }^{d}}\,\nabla _{x}^{2}{\mathbf {1} }_{x\in D}\,f(x)\;dx+\int _{{\mathbf {R} }^{d}}{\mathbf {1} }_{x\in D}\,\nabla _{x}^{2}f(x)\;dx=-2\int _{{\mathbf {R} }^{d}}\nabla _{x}{\mathbf {1} }_{x\in D}\cdot \nabla _{x}f(x)\;dx.$ Following from the analysis of the section above, the two terms on the left-hand side are equal, and thus

$\oint _{\partial D}\,{\underset {\alpha \to \beta }{\lim }}n_{\beta }\cdot \nabla _{\alpha }f(\alpha )\;d\beta =-\displaystyle \int _{{\mathbf {R} }^{d}}\nabla _{x}{\mathbf {1} }_{x\in D}\cdot \nabla _{x}f(x)\;dx.$ The gradient of the indicator vanishes everywhere, except near the boundary of D. Suppose that, near the boundary, ∇xf(x) is equal to nxg(x), where g is some other function. Then it follows that

$\oint _{\partial D}\,g(\beta )\;d\beta =-\int _{{\mathbf {R} }^{d}}\,\nabla _{x}{\mathbf {1} }_{x\in D}\,\cdot \,n_{x}\,g(x)\;dx.$ The outward normal nx was originally only defined for x in the surface, but it can be defined to exist for all x; for example by taking the outward normal of the boundary point nearest to x.

The foregoing analysis shows that −nx ⋅ ∇x1xD can be regarded as the surface generalisation of the one-dimensional Dirac delta function. By setting the function g equal to one, it follows that the inward normal derivative of the indicator integrates to the surface area of D.

In electrostatics, surface charge densities (or single boundary layers) can be modelled using the surface delta function as above. The usual Dirac delta function be used in some cases, e.g. when the surface is spherical. In general, the surface delta function discussed here may be used to represent the surface charge density on a surface of any shape.

The calculation above derives from research on path integrals in quantum physics.

## Approximations by bump functions

This section shows how derivatives of the indicator can be treated numerically under an integral sign.

In principle, the indicator cannot be differentiated numerically, since its derivative is either zero or infinite. But, for practical purposes, the indicator can be approximated by a bump function, indicated by Iε(x) and approaching the indicator for ε → 0. Several options are possible, but it is convenient to let the bump function be non-negative and approach the indicator from below, i.e.

{\begin{aligned}0\leq I_{\varepsilon }(x)&\leq {\mathbf {1} }_{{x}\in D}\quad \forall \varepsilon >0\\{\underset {\varepsilon \searrow 0}{\lim }}\;I_{\varepsilon }(x)&={\mathbf {1} }_{x\in D}\end{aligned}} This ensures that the family of bump functions is identically zero outside of D. This is convenient, since it is possible that the function f is only defined in the interior of D. For f defined in D, we thus obtain the following:

{\begin{aligned}-{\underset {\varepsilon \searrow 0}{\lim }}\int _{{\mathbf {R} }^{d}}\,f(x)\,n_{x}\cdot \nabla _{x}I_{\varepsilon }(x)\;dx&=\oint _{\partial D}\,{\underset {\alpha \to \beta }{\lim }}f(\alpha )\;d\beta ,\\{\underset {\varepsilon \searrow 0}{\lim }}\,\int _{{\mathbf {R} }^{d}}\nabla _{x}^{2}I_{\varepsilon }(x)\,f(x)\;dx&=\oint _{\partial D}\,{\underset {\alpha \to \beta }{\lim }}n_{\beta }\cdot \nabla _{\alpha }f(\alpha )\;d\beta ,\end{aligned}} where the interior coordinate α approaches the boundary coordinate β from the interior of D, and where there is no requirement for f to exist outside of D.

When f is defined on both sides of the boundary, and is furthermore differentiable across the boundary of D, then it is less crucial how the bump function approaches the indicator.

## Applications

### Quantum mechanics

In quantum mechanics, point interactions are well known and there is a large body of literature on the subject. A well-known example of a one-dimensional singular potential is the Schrödinger equation with a Dirac delta potential. The one-dimensional Dirac delta prime potential, on the other hand, has caused controversy. The controversy was seemingly settled by an independent paper, although even this paper attracted later criticism.

A lot more attention has been focused on the one-dimensional Dirac delta prime potential recently.    

A point on the one-dimensional line can be considered both as a point and as surface; as a point marks the boundary between two regions. Two generalisations of the Dirac delta-function to higher dimensions have thus been made: the generalisation to a multidimensional point, as well as the generalisation to a multidimensional surface.

The former generalisations are known as point interactions, whereas the latter are known under different names, e.g. "delta-sphere interactions" and "surface delta interactions". The latter generalisations may use derivatives of the indicator, as explained here, or the one-dimensional Dirac Template:Mvar-function as a function of the radial coordinate r.

### Fluid dynamics

The Laplacian of the indicator has been used in fluid dyamics, e.g. to model the interfaces between different media.

### Surface reconstruction

The divergence of the indicator and the Laplacian of the indicator (or of the characteristic function, as the indicator is also known) have been used as the sample information from which surfaces can be reconstructed.