- Source: Non-analytic smooth function
In mathematics, smooth functions (also called infinitely differentiable functions) and analytic functions are two very important types of functions. One can easily prove that any analytic function of a real argument is smooth. The converse is not true, as demonstrated with the counterexample below.
One of the most important applications of smooth functions with compact support is the construction of so-called mollifiers, which are important in theories of generalized functions, such as Laurent Schwartz's theory of distributions.
The existence of smooth but non-analytic functions represents one of the main differences between differential geometry and analytic geometry. In terms of sheaf theory, this difference can be stated as follows: the sheaf of differentiable functions on a differentiable manifold is fine, in contrast with the analytic case.
The functions below are generally used to build up partitions of unity on differentiable manifolds.
An example function
= Definition of the function
=Consider the function
f
(
x
)
=
{
e
−
1
x
if
x
>
0
,
0
if
x
≤
0
,
{\displaystyle f(x)={\begin{cases}e^{-{\frac {1}{x}}}&{\text{if }}x>0,\\0&{\text{if }}x\leq 0,\end{cases}}}
defined for every real number x.
= The function is smooth
=The function f has continuous derivatives of all orders at every point x of the real line. The formula for these derivatives is
f
(
n
)
(
x
)
=
{
p
n
(
x
)
x
2
n
f
(
x
)
if
x
>
0
,
0
if
x
≤
0
,
{\displaystyle f^{(n)}(x)={\begin{cases}\displaystyle {\frac {p_{n}(x)}{x^{2n}}}\,f(x)&{\text{if }}x>0,\\0&{\text{if }}x\leq 0,\end{cases}}}
where pn(x) is a polynomial of degree n − 1 given recursively by p1(x) = 1 and
p
n
+
1
(
x
)
=
x
2
p
n
′
(
x
)
−
(
2
n
x
−
1
)
p
n
(
x
)
{\displaystyle p_{n+1}(x)=x^{2}p_{n}'(x)-(2nx-1)p_{n}(x)}
for any positive integer n. From this formula, it is not completely clear that the derivatives are continuous at 0; this follows from the one-sided limit
lim
x
↘
0
e
−
1
x
x
m
=
0
{\displaystyle \lim _{x\searrow 0}{\frac {e^{-{\frac {1}{x}}}}{x^{m}}}=0}
for any nonnegative integer m.
= The function is not analytic
=As seen earlier, the function f is smooth, and all its derivatives at the origin are 0. Therefore, the Taylor series of f at the origin converges everywhere to the zero function,
∑
n
=
0
∞
f
(
n
)
(
0
)
n
!
x
n
=
∑
n
=
0
∞
0
n
!
x
n
=
0
,
x
∈
R
,
{\displaystyle \sum _{n=0}^{\infty }{\frac {f^{(n)}(0)}{n!}}x^{n}=\sum _{n=0}^{\infty }{\frac {0}{n!}}x^{n}=0,\qquad x\in \mathbb {R} ,}
and so the Taylor series does not equal f(x) for x > 0. Consequently, f is not analytic at the origin.
= Smooth transition functions
=The function
g
(
x
)
=
f
(
x
)
f
(
x
)
+
f
(
1
−
x
)
,
x
∈
R
,
{\displaystyle g(x)={\frac {f(x)}{f(x)+f(1-x)}},\qquad x\in \mathbb {R} ,}
has a strictly positive denominator everywhere on the real line, hence g is also smooth. Furthermore, g(x) = 0 for x ≤ 0 and g(x) = 1 for x ≥ 1, hence it provides a smooth transition from the level 0 to the level 1 in the unit interval [0, 1]. To have the smooth transition in the real interval [a, b] with a < b, consider the function
R
∋
x
↦
g
(
x
−
a
b
−
a
)
.
{\displaystyle \mathbb {R} \ni x\mapsto g{\Bigl (}{\frac {x-a}{b-a}}{\Bigr )}.}
For real numbers a < b < c < d, the smooth function
R
∋
x
↦
g
(
x
−
a
b
−
a
)
g
(
d
−
x
d
−
c
)
{\displaystyle \mathbb {R} \ni x\mapsto g{\Bigl (}{\frac {x-a}{b-a}}{\Bigr )}\,g{\Bigl (}{\frac {d-x}{d-c}}{\Bigr )}}
equals 1 on the closed interval [b, c] and vanishes outside the open interval (a, d), hence it can serve as a bump function.
A smooth function which is nowhere real analytic
A more pathological example is an infinitely differentiable function which is not analytic at any point. It can be constructed by means of a Fourier series as follows. Define for all
x
∈
R
{\displaystyle x\in \mathbb {R} }
F
(
x
)
:=
∑
k
∈
N
e
−
2
k
cos
(
2
k
x
)
.
{\displaystyle F(x):=\sum _{k\in \mathbb {N} }e^{-{\sqrt {2^{k}}}}\cos(2^{k}x)\ .}
Since the series
∑
k
∈
N
e
−
2
k
(
2
k
)
n
{\displaystyle \sum _{k\in \mathbb {N} }e^{-{\sqrt {2^{k}}}}{(2^{k})}^{n}}
converges for all
n
∈
N
{\displaystyle n\in \mathbb {N} }
, this function is easily seen to be of class C∞, by a standard inductive application of the Weierstrass M-test to demonstrate uniform convergence of each series of derivatives.
We now show that
F
(
x
)
{\displaystyle F(x)}
is not analytic at any dyadic rational multiple of π, that is, at any
x
:=
π
⋅
p
⋅
2
−
q
{\displaystyle x:=\pi \cdot p\cdot 2^{-q}}
with
p
∈
Z
{\displaystyle p\in \mathbb {Z} }
and
q
∈
N
{\displaystyle q\in \mathbb {N} }
. Since the sum of the first
q
{\displaystyle q}
terms is analytic, we need only consider
F
>
q
(
x
)
{\displaystyle F_{>q}(x)}
, the sum of the terms with
k
>
q
{\displaystyle k>q}
. For all orders of derivation
n
=
2
m
{\displaystyle n=2^{m}}
with
m
∈
N
{\displaystyle m\in \mathbb {N} }
,
m
≥
2
{\displaystyle m\geq 2}
and
m
>
q
/
2
{\displaystyle m>q/2}
we have
F
>
q
(
n
)
(
x
)
:=
∑
k
∈
N
k
>
q
e
−
2
k
(
2
k
)
n
cos
(
2
k
x
)
=
∑
k
∈
N
k
>
q
e
−
2
k
(
2
k
)
n
≥
e
−
n
n
2
n
(
a
s
n
→
∞
)
{\displaystyle F_{>q}^{(n)}(x):=\sum _{k\in \mathbb {N} \atop k>q}e^{-{\sqrt {2^{k}}}}{(2^{k})}^{n}\cos(2^{k}x)=\sum _{k\in \mathbb {N} \atop k>q}e^{-{\sqrt {2^{k}}}}{(2^{k})}^{n}\geq e^{-n}n^{2n}\quad (\mathrm {as} \;n\to \infty )}
where we used the fact that
cos
(
2
k
x
)
=
1
{\displaystyle \cos(2^{k}x)=1}
for all
2
k
>
2
q
{\displaystyle 2^{k}>2^{q}}
, and we bounded the first sum from below by the term with
2
k
=
2
2
m
=
n
2
{\displaystyle 2^{k}=2^{2m}=n^{2}}
. As a consequence, at any such
x
∈
R
{\displaystyle x\in \mathbb {R} }
lim sup
n
→
∞
(
|
F
>
q
(
n
)
(
x
)
|
n
!
)
1
/
n
=
+
∞
,
{\displaystyle \limsup _{n\to \infty }\left({\frac {|F_{>q}^{(n)}(x)|}{n!}}\right)^{1/n}=+\infty \,,}
so that the radius of convergence of the Taylor series of
F
>
q
{\displaystyle F_{>q}}
at
x
{\displaystyle x}
is 0 by the Cauchy-Hadamard formula. Since the set of analyticity of a function is an open set, and since dyadic rationals are dense, we conclude that
F
>
q
{\displaystyle F_{>q}}
, and hence
F
{\displaystyle F}
, is nowhere analytic in
R
{\displaystyle \mathbb {R} }
.
Application to Taylor series
For every sequence α0, α1, α2, . . . of real or complex numbers, the following construction shows the existence of a smooth function F on the real line which has these numbers as derivatives at the origin. In particular, every sequence of numbers can appear as the coefficients of the Taylor series of a smooth function. This result is known as Borel's lemma, after Émile Borel.
With the smooth transition function g as above, define
h
(
x
)
=
g
(
2
+
x
)
g
(
2
−
x
)
,
x
∈
R
.
{\displaystyle h(x)=g(2+x)\,g(2-x),\qquad x\in \mathbb {R} .}
This function h is also smooth; it equals 1 on the closed interval [−1,1] and vanishes outside the open interval (−2,2). Using h, define for every natural number n (including zero) the smooth function
ψ
n
(
x
)
=
x
n
h
(
x
)
,
x
∈
R
,
{\displaystyle \psi _{n}(x)=x^{n}\,h(x),\qquad x\in \mathbb {R} ,}
which agrees with the monomial xn on [−1,1] and vanishes outside the interval (−2,2). Hence, the k-th derivative of ψn at the origin satisfies
ψ
n
(
k
)
(
0
)
=
{
n
!
if
k
=
n
,
0
otherwise,
k
,
n
∈
N
0
,
{\displaystyle \psi _{n}^{(k)}(0)={\begin{cases}n!&{\text{if }}k=n,\\0&{\text{otherwise,}}\end{cases}}\quad k,n\in \mathbb {N} _{0},}
and the boundedness theorem implies that ψn and every derivative of ψn is bounded. Therefore, the constants
λ
n
=
max
{
1
,
|
α
n
|
,
‖
ψ
n
‖
∞
,
‖
ψ
n
(
1
)
‖
∞
,
…
,
‖
ψ
n
(
n
)
‖
∞
}
,
n
∈
N
0
,
{\displaystyle \lambda _{n}=\max {\bigl \{}1,|\alpha _{n}|,\|\psi _{n}\|_{\infty },\|\psi _{n}^{(1)}\|_{\infty },\ldots ,\|\psi _{n}^{(n)}\|_{\infty }{\bigr \}},\qquad n\in \mathbb {N} _{0},}
involving the supremum norm of ψn and its first n derivatives, are well-defined real numbers. Define the scaled functions
f
n
(
x
)
=
α
n
n
!
λ
n
n
ψ
n
(
λ
n
x
)
,
n
∈
N
0
,
x
∈
R
.
{\displaystyle f_{n}(x)={\frac {\alpha _{n}}{n!\,\lambda _{n}^{n}}}\psi _{n}(\lambda _{n}x),\qquad n\in \mathbb {N} _{0},\;x\in \mathbb {R} .}
By repeated application of the chain rule,
f
n
(
k
)
(
x
)
=
α
n
n
!
λ
n
n
−
k
ψ
n
(
k
)
(
λ
n
x
)
,
k
,
n
∈
N
0
,
x
∈
R
,
{\displaystyle f_{n}^{(k)}(x)={\frac {\alpha _{n}}{n!\,\lambda _{n}^{n-k}}}\psi _{n}^{(k)}(\lambda _{n}x),\qquad k,n\in \mathbb {N} _{0},\;x\in \mathbb {R} ,}
and, using the previous result for the k-th derivative of ψn at zero,
f
n
(
k
)
(
0
)
=
{
α
n
if
k
=
n
,
0
otherwise,
k
,
n
∈
N
0
.
{\displaystyle f_{n}^{(k)}(0)={\begin{cases}\alpha _{n}&{\text{if }}k=n,\\0&{\text{otherwise,}}\end{cases}}\qquad k,n\in \mathbb {N} _{0}.}
It remains to show that the function
F
(
x
)
=
∑
n
=
0
∞
f
n
(
x
)
,
x
∈
R
,
{\displaystyle F(x)=\sum _{n=0}^{\infty }f_{n}(x),\qquad x\in \mathbb {R} ,}
is well defined and can be differentiated term-by-term infinitely many times. To this end, observe that for every k
∑
n
=
0
∞
‖
f
n
(
k
)
‖
∞
≤
∑
n
=
0
k
+
1
|
α
n
|
n
!
λ
n
n
−
k
‖
ψ
n
(
k
)
‖
∞
+
∑
n
=
k
+
2
∞
1
n
!
1
λ
n
n
−
k
−
2
⏟
≤
1
|
α
n
|
λ
n
⏟
≤
1
‖
ψ
n
(
k
)
‖
∞
λ
n
⏟
≤
1
<
∞
,
{\displaystyle \sum _{n=0}^{\infty }\|f_{n}^{(k)}\|_{\infty }\leq \sum _{n=0}^{k+1}{\frac {|\alpha _{n}|}{n!\,\lambda _{n}^{n-k}}}\|\psi _{n}^{(k)}\|_{\infty }+\sum _{n=k+2}^{\infty }{\frac {1}{n!}}\underbrace {\frac {1}{\lambda _{n}^{n-k-2}}} _{\leq \,1}\underbrace {\frac {|\alpha _{n}|}{\lambda _{n}}} _{\leq \,1}\underbrace {\frac {\|\psi _{n}^{(k)}\|_{\infty }}{\lambda _{n}}} _{\leq \,1}<\infty ,}
where the remaining infinite series converges by the ratio test.
Application to higher dimensions
For every radius r > 0,
R
n
∋
x
↦
Ψ
r
(
x
)
=
f
(
r
2
−
‖
x
‖
2
)
{\displaystyle \mathbb {R} ^{n}\ni x\mapsto \Psi _{r}(x)=f(r^{2}-\|x\|^{2})}
with Euclidean norm ||x|| defines a smooth function on n-dimensional Euclidean space with support in the ball of radius r, but
Ψ
r
(
0
)
>
0
{\displaystyle \Psi _{r}(0)>0}
.
Complex analysis
This pathology cannot occur with differentiable functions of a complex variable rather than of a real variable. Indeed, all holomorphic functions are analytic, so that the failure of the function f defined in this article to be analytic in spite of its being infinitely differentiable is an indication of one of the most dramatic differences between real-variable and complex-variable analysis.
Note that although the function f has derivatives of all orders over the real line, the analytic continuation of f from the positive half-line x > 0 to the complex plane, that is, the function
C
∖
{
0
}
∋
z
↦
e
−
1
z
∈
C
,
{\displaystyle \mathbb {C} \setminus \{0\}\ni z\mapsto e^{-{\frac {1}{z}}}\in \mathbb {C} ,}
has an essential singularity at the origin, and hence is not even continuous, much less analytic. By the great Picard theorem, it attains every complex value (with the exception of zero) infinitely many times in every neighbourhood of the origin.
See also
Bump function
Fabius function
Flat function
Mollifier
Notes
External links
"Infinitely-differentiable function that is not analytic". PlanetMath.
Kata Kunci Pencarian:
- Non-analytic smooth function
- Analytic function
- Bump function
- Smoothness
- Transition function
- Complex analysis
- Taylor series
- Analytic capacity
- Rectifier (neural networks)
- Borel's lemma