is an example of a bump function in one dimension. Note that the support of this function is the closed interval. In fact, by definition ofsupport, we have that, where the closure is taken with respect the Euclidean topology of the real line. The proof of smoothness follows along the same lines as for the related function discussed in theNon-analytic smooth function article. This function can be interpreted as theGaussian function scaled to fit into the unit disc: the substitution corresponds to sending to
A simple example of a (square) bump function in variables is obtained by taking the product of copies of the above bump function in one variable, so
A radially symmetric bump function in variables can be formed by taking the function defined by. This function is supported on the unit ball centered at the origin.
For another example, take an that is positive on and zero elsewhere, for example
.
Smooth transition functions
The non-analytic smooth functionf(x) considered in the article.
has a strictly positive denominator everywhere on the real line, henceg is also smooth. Furthermore,g(x) = 0 forx ≤ 0 andg(x) = 1 forx ≥ 1, hence it provides a smooth transition from the level 0 to the level 1 in theunit interval [0, 1]. To have the smooth transition in the real interval [a,b] witha < b, consider the function
For real numbersa <b <c <d, the smooth function
equals 1 on the closed interval [b,c] and vanishes outside the open interval (a,d), hence it can serve as a bump function.
Caution must be taken since, as example, taking, leads to:
which is not an infinitelydifferentiable function (so, is not "smooth"), so the constraintsa <b <c <d must be strictly fulfilled.
Some interesting facts about the function:
Are that make smooth transition curves with "almost" constant slope edges (a bump function with true straight slopes is portrayed thisAnother example).
A proper example of a smooth Bump function would be:
A proper example of a smooth transition function will be:
where could be noticed that it can be represented also throughHyperbolic functions:
It is possible to construct bump functions "to specifications". Stated formally, if is an arbitrarycompact set in dimensions and is anopen set containing there exists a bump function which is on and outside of Since can be taken to be a very small neighborhood of this amounts to being able to construct a function that is on and falls off rapidly to outside of while still being smooth.
Bump functions defined in terms of convolution
The construction proceeds as follows. One considers a compact neighborhood of contained in so Thecharacteristic function of will be equal to on and outside of so in particular, it will be on and outside of This function is not smooth however. The key idea is to smooth a bit, by taking theconvolution of with amollifier. The latter is just a bump function with a very small support and whose integral is Such a mollifier can be obtained, for example, by taking the bump function from the previous section and performing appropriate scalings.
Bump functions defined in terms of a function with support
An alternative construction that does not involve convolution is now detailed. It begins by constructing a smooth function that is positive on a given open subset and vanishes off of[1] This function's support is equal to the closure of in so if is compact, then is a bump function.
Start with any smooth function that vanishes on the negative reals and is positive on the positive reals (that is, on and on where continuity from the left necessitates); an example of such a function is for and otherwise.[1] Fix an open subset of and denote the usualEuclidean norm by (so is endowed with the usualEuclidean metric). The following construction defines a smooth function that is positive on and vanishes outside of[1] So in particular, if is relatively compact then this function will be a bump function.
If then let while if then let; so assume is neither of these. Let be anopen cover of by open balls where the open ball has radius and center Then the map defined by is a smooth function that is positive on and vanishes off of[1] For every letwhere thissupremum is not equal to (so is a non-negative real number) because the partial derivatives all vanish (equal) at any outside of while on the compact set the values of each of the (finitely many) partial derivatives are (uniformly) bounded above by some non-negative real number.[note 1] The seriesconverges uniformly on to a smooth function that is positive on and vanishes off of[1] Moreover, for any non-negative integers[1]where this series also converges uniformly on (because whenever then theth term'sabsolute value is). This completes the construction.
As a corollary, given two disjoint closed subsets of the above construction guarantees the existence of smooth non-negative functions such that for any if and only if and similarly, if and only if then the function is smooth and for any if and only if if and only if and if and only if[1] In particular, if and only if so if in addition is relatively compact in (where implies) then will be a smooth bump function with support in
While bump functions are smooth, theidentity theorem prohibits them from beinganalytic unless theyvanish identically. Bump functions are often used asmollifiers, as smoothcutoff functions, and to form smoothpartitions of unity. They are the most common class oftest functions used in analysis. The space of bump functions is closed under many operations. For instance, the sum, product, orconvolution of two bump functions is again a bump function, and anydifferential operator with smooth coefficients, when applied to a bump function, will produce another bump function.
If the boundaries of the Bump function domain is to fulfill the requirement of "smoothness", it has to preserve the continuity of all its derivatives, which leads to the following requirement at the boundaries of its domain:
TheFourier transform of a bump function is a (real) analytic function, and it can be extended to the wholecomplex plane: hence it cannot be compactly supported unless it is zero, since the only entire analytic bump function is the zero function (seePaley–Wiener theorem andLiouville's theorem). Because the bump function is infinitely differentiable, its Fourier transform must decay faster than any finite power of for a large angular frequency[2] The Fourier transform of the particular bump functionfrom above can be analyzed by asaddle-point method, and decays asymptotically asfor large[3]
^The partial derivatives are continuous functions so the image of the compact subset is a compact subset of The supremum is over all non-negative integers where because and are fixed, this supremum is taken over only finitely many partial derivatives, which is why
^K. O. Mead and L. M. Delves, "On the convergence rate of generalized Fourier expansions,"IMA J. Appl. Math., vol. 12, pp. 247–259 (1973)doi:10.1093/imamat/12.3.247.