1 Introduction

The standard Schauder theory states that if \(\Delta u=f\) in \(B_1(0) \subset {\mathbb {R}}^n\) and f is Hölder continuous \(( C^{0,\alpha }\), \(0< \alpha <1\)), then u is \(C^{2,\alpha }\). However, it fails when \(\alpha =0\), that is, if \(\Delta u\) is just continuous, then u may not be \(C^{2}\), as shown by a standard example in \({\mathbb {R}}^2\) (see [3]):

$$\begin{aligned} w(x,y)= \left\{ \begin{array}{l l } (x^2-y^2)\ln (-\ln (x^2+y^2)) & \quad 0<x^2+y^2\le \frac{1}{4}, \\ 0 & \quad (x,y)=(0,0). \end{array}\right. \end{aligned}$$

This function has continuous Laplacian but is not \(C^2\) because it is not twice differentiable at the origin. (Another such example can be obtained by replacing \(x^2-y^2\) with xy.)

The main goal of this paper is to construct (a family of) functions that are twice differentiable everywhere with continuous Laplacian and unbounded Hessian. These functions have only gained twice differentiablity at the origin over the above example; nevertheless, it appears that some effort is needed to achieve the gain.

Theorem 1.1

Given any \(C^2\) function \(\varphi : (0, \infty ) \rightarrow {\mathbb {R}}\) satisfying

$$\begin{aligned} \lim _{s \rightarrow \infty } \varphi (s) = \infty , \quad \lim _{s \rightarrow \infty } \varphi ' (s) = 0, \quad \lim _{s \rightarrow \infty } \varphi ''(s) = 0, \end{aligned}$$

there is a function \(u: {\mathbb {R}}^n \rightarrow {\mathbb {R}}\) depending on \(\varphi\) with compact support, such that it is twice differentiable everywhere in \({\mathbb {R}}^n\), and it has continuous Laplacian and unbounded Hessian. In particular, u is not in \(C^2({\mathbb {R}}^n)\).

Obviously there are many choices of such functions \(\varphi\); for example, \(\varphi (s)= s^{\alpha }\) with \(0<\alpha <1\), \(\varphi (s)=\ln (s)\), or \(\varphi (s)= \ln \ln \cdots \ln s\) if \(s>c\).

As a consequence, the following is a simple application to the Dirichlet problem.

Corollary 1.2

There is a continuous function f such that the unique solution of the Dirichlet problem

$$\begin{aligned} \left\{ \begin{array}{ll} \displaystyle \Delta u (x) = f (x) \quad \text{ in } \, B_1(0), \\ u(x) = 0 \quad \text{ on } \, \partial B_1(0) \end{array}\right. \end{aligned}$$

is twice differentiable in \(\overline{B_1(0)}\) and has unbounded Hessian.

For any positive integer k, the Schauder theory also asserts that if \(\Delta u\) is \(C^{k, \alpha }\), then u is \(C^{k+2, \alpha }\). Once again, it fails when \(\alpha =0\), that is, if \(\Delta u\) is just \(C^{k}\), then u may not be \(C^{k+2}\). As a result of our construction we have an extension of Theorem 1.1.

Theorem 1.3

Given any \(C^{k+2}\) function \(\varphi : (0, \infty ) \rightarrow {\mathbb {R}}\) satisfying

$$\begin{aligned} \lim _{s \rightarrow \infty } \varphi (s) = \infty , \quad \lim _{s \rightarrow \infty } \varphi ' (s) = \cdots = \lim _{s \rightarrow \infty } \varphi ^{(k+2)}(s) = 0, \end{aligned}$$

there is a function \(u:{\mathbb {R}}^n \rightarrow {\mathbb {R}}\) depending on \(\varphi\) with compact support, such that u is \((k+2)\)-times differentiable everywhere in \({\mathbb {R}}^n\), \(\Delta u\) is \(C^k\), but \(D^{k+2}u\) is unbounded. In particular, u is not in \(C^{k+2}({\mathbb {R}}^n)\).

Corollary 1.4

There is a \(C^k\) function f such that the unique solution of the Dirichlet problem

$$\begin{aligned} \left\{ \begin{array}{ll} \displaystyle \Delta u (x) = f (x) \quad \text{ in } \, B_1(0), \\ u(x) = 0 \quad \text{ on }\, \partial B_1(0) \end{array}\right. \end{aligned}$$

is \((k+2)\)-times differentiable in \(\overline{B_1(0)}\), but \(D^{k+2}u\) is unbounded.

We would like to point out a dichotomy: although the Schauder theory fails when \(\alpha =0\) for each k, it is indeed true if \(k = \infty\), since \(\Delta u \in C^{\infty }\) does imply \(u \in C^{\infty }\) by the elliptic theory.

According to Theorem 1.1, it would be rather natural to ask if unbounded Hessian is the only reason that hinders u from being \(C^2\). Thus we propose the following problem.

Problem: If a function u is twice differentiable everywhere, \(\Delta u\) is continuous, and the Hessian of u is locally bounded, then is u always \(C^2\)?

We remark that the method of construction for Theorem 1.1 will not yield examples of twice differentiable function with continuous Laplacian and bounded Hessian without being \(C^2\). On the other hand, if the function is not required to be twice differentiable everywhere, then there are simple examples of functions with continuous Laplacian and bounded Hessian, such as the following function ( [4]) that is not twice differentiable at the origin.

$$\begin{aligned} \phi (x, y) = \left\{ \begin{array}{l l } (x^2-y^2)\sin (\ln (-\ln (x^2+y^2))) & \quad 0<x^2+y^2\le \frac{1}{4}, \\ 0 & \quad (x,y)=(0,0). \end{array}\right. \end{aligned}$$

We also observe that if \(\Delta u\) is continuous, then the modulus of continuity of Du is of \(o(L\log L)\). (If \(\Delta u\) is just bounded, then the modulus of continuity of Du is only of \(O(L\log L)\). [5]) Precisely, the following is true.

Proposition 1.5

Let u be a \(C^1\) solution of \(\Delta u =f\), where f is a continuous function on \(B_1(0)\) in \({\mathbb {R}}^n\). Then for any \(x,y \in B_{\frac{1}{2}}(0)\),

$$\begin{aligned} \big | Du(x) - Du (y) \big |\le Cd \left( \sup _{B_1} |u| + \sup _{B_1} |f| + \int _{d}^1 \frac{\omega (r)}{r} dr \right) , \end{aligned}$$

where \(d=|x-y|\), \(\omega (r)=\displaystyle \sup _{|x-y|<r} |f(x)-f(y)|\), and C is a constant depending only on n.

Here we notice that

$$\begin{aligned} \lim _{d \rightarrow 0} \frac{d\int _{d}^1 \frac{\omega (r)}{r} dr}{d\ln d} =0, \end{aligned}$$

which can be easily proved by considering two cases: \(\displaystyle \lim _{d \rightarrow 0} \int _{d}^1 \frac{\omega (r)}{r} dr < \infty\) or \(\displaystyle \lim _{d \rightarrow 0} \int _{d}^1 \frac{\omega (r)}{r} dr = \infty .\) It is this \(o(L\log L)\) observation that motivated us to Theorems 1.1 and 1.3.

Theorems 1.1 and 1.3 will be proved in Sects. 3 and 4, respectively, after a thorough study of a building block function in Sect. 2. One of the ideas in the construction has its origin in [2] (and also [1]), where the inhomogeneous Cauchy-Riemann equation in the complex plane was considered. Since the proof of Proposition 1.5 is almost identical to that for Corollary 1 in [5], we include a detailed proof in the Appendix for the convenience of the reader.

2 A building block function

In this section we will look at a function that will become a building block and provide some crucial insights for the construction of examples for Theorem 1.1.

Recall that \(\varphi\) is a function satisfying

$$\begin{aligned} \lim _{s \rightarrow \infty } \varphi (s) = \infty , \quad \lim _{s \rightarrow \infty } \varphi ' (s) = 0, \quad \lim _{s \rightarrow \infty } \varphi ''(s) = 0. \end{aligned}$$
(1)

Thus for \(x=(x_1,\ldots ,x_n) \in {\mathbb {R}}^n\), \(\displaystyle \lim _{|x| \rightarrow 0} \varphi (-\ln |x|^2) = \infty\). Nevertheless, the product of \(\varphi (-\ln |x|^2)\) with positive powers of |x| is well controlled, as shown by the following two simple lemmas that will be repeatedly used later in the construction.

Lemma 2.1

For any \(\beta >0\) and \(\varphi\) satisfying (1),

$$\begin{aligned} \lim _{|x| \rightarrow 0} |x|^\beta \varphi \left( -\ln |x|^2 \right) =0. \end{aligned}$$

Proof

Letting \(s=\frac{1}{|x|}\), \(\displaystyle \lim _{|x| \rightarrow 0} |x|^\beta \varphi \left( -\ln |x|^2 \right) = \lim _{s \rightarrow \infty } \frac{\varphi (\ln s^2)}{s^{\beta }}\) is of \(\frac{\infty }{\infty }\) type. By the L’Hopital’s Rule,

$$\begin{aligned} \lim _{s \rightarrow \infty } \frac{\varphi (\ln s^2)}{s^{\beta }} = \lim _{s \rightarrow \infty } \frac{ 2\varphi ' (\ln s^2) }{\beta s^{\beta }} =0, \end{aligned}$$

as long as \(\beta >0\). \(\square\)

Lemma 2.2

For any \(0 < \beta \le 1\) and \(\varphi\) satisfying (1), there is a constant \(C_{\varphi }\) depending only on \(\varphi\), such that

$$\begin{aligned} \sup _{\begin{array}{c} |x| \le \frac{2}{3} \\ 0<\beta \le 1 \end{array}} \beta |x|^\beta \left| \varphi \left( -\ln |x|^2 \right) \right| \le C_{\varphi }. \end{aligned}$$

Proof

By Lemma 2.1, we know

$$\begin{aligned} \lim _{|x| \rightarrow 0} \beta |x|^\beta \varphi \left( -\ln |x|^2 \right) =0. \end{aligned}$$

When \(|x|=\frac{2}{3}\),

$$\begin{aligned} \beta |x|^\beta \left| \varphi \left( -\ln |x|^2 \right) \right| = \beta \left( \frac{2}{3} \right) ^\beta \left| \varphi \left( \ln \left( \frac{9}{4} \right) \right) \right| \le \left| \varphi \left( \ln \left( \frac{9}{4} \right) \right) \right| , \end{aligned}$$

which is a constant independent of t.

It remains to show that the local maximum of \(\beta |x|^{\beta } \left| \varphi \left( -\ln |x|^2 \right) \right|\) is also bounded by a constant depending only on \(\varphi\). Denote \(s=\frac{1}{|x|}\), then \(s > 1\), and

$$\begin{aligned} \beta |x|^{\beta } \varphi \left( -\ln |x|^2 \right) \end{aligned}$$

is equivalent to

$$\begin{aligned} \lambda (s) = \beta \frac{\varphi (\ln s^2) }{s^{\beta }}. \end{aligned}$$

We will find the local extremum of \(\lambda (s)\). Because

$$\begin{aligned} \lambda '(s)= \beta \frac{2\varphi ' (\ln s^2) - \beta \varphi (\ln s^2)}{s^{\beta +1}}, \end{aligned}$$

a critical point \(s_0\) must satisfy

$$\begin{aligned} 2\varphi ' (\ln s_0^2) = \beta \varphi (\ln s_0 ^2). \end{aligned}$$

At this point the local extremum of \(\lambda\) is

$$\begin{aligned} \lambda (s_0) = \beta \frac{\varphi (\ln s_0^2) }{s_0^{\beta }} = \beta \frac{\frac{2}{\beta }\varphi '(\ln s_0^2) }{s_0^{\beta }} = \frac{2\varphi '(\ln s_0^2) }{s_0^{\beta }}, \end{aligned}$$

and so

$$\begin{aligned} |\lambda (s_0) | = \left| \frac{2\varphi '(\ln s_0^2) }{s_0^{\beta }} \right| < 2 \left| \varphi '(\ln s_0 ^2) \right| . \end{aligned}$$

From (1) we know that \(\displaystyle |\varphi '(\ln s_0^2)|\) is bounded by a constant depending only on \(\varphi\). Thus the local maximum of \(|\lambda (s)|= \beta |x|^{\beta } \left| \varphi \left( -\ln |x|^2 \right) \right|\) is also bounded by a constant depending only on \(\varphi\). This completes the proof.\(\square\)

It is worth noting that Lemma 2.2 would not be true without the coefficient of \(\beta\) in the function. For example, let \(\displaystyle \{ x_k \}\) be a sequence of points in \({\mathbb {R}}^n\) with \(|x_k|=e^{-2^k}\), and let \(\beta _k=\frac{1}{2^k}\), then \(|x_k| \rightarrow 0\) and \(\beta _k \rightarrow 0\) as \(k \rightarrow \infty\), but

$$\begin{aligned} |x_k|^{\beta _k} \varphi \left( -\ln |x_k|^2 \right) = e^{-1} \varphi \left( 2^{k+1} \right) \rightarrow \infty . \end{aligned}$$

This difference will be crucial to our construction of functions with continuous Laplacian and unbounded Hessian.

For any \(|x| \le \frac{1}{2}\), define a function v(x) by

$$\begin{aligned} v(x) = \left\{ \begin{array}{l l } x_1x_2 \varphi \left( -\ln |x|^2 \right) & \quad 0 < |x| \le \frac{1}{2}, \\ 0 & \quad x=0. \end{array}\right. \end{aligned}$$
(2)

This function will be a building block for our construction, it generalizes the function w at the beginning of Sect. 1 from \({\mathbb {R}}^2\) to \({\mathbb {R}}^n\). It satisfies almost all the conditions in Theorem 1.1, except one that it is not twice differentiable at the origin.

Lemma 2.3

The function v defined by (2) has continuous Laplacian and unbounded Hessian, but it is not twice differentiable at 0.

Proof

By definition, v(x) is \(C^2\) for all \(x \ne 0\), and its derivatives are the following. (In the case \(n \ge 3\), we use i and j to denote indices that are greater than or equal to 3.)

$$\begin{aligned} \frac{\partial v}{\partial x_1} (x)&= x_2 \varphi \left( -\ln |x|^2 \right) - \frac{2x_1^2x_2}{|x|^2} \varphi ' \left( -\ln |x|^2 \right) , \\ \frac{\partial v}{\partial x_2} (x)&= x_1 \varphi \left( -\ln |x|^2 \right) - \frac{2x_1 x_2^2}{|x|^2} \varphi ' \left( -\ln |x|^2 \right) , \\ \frac{\partial v}{\partial x_i} (x)&= - \frac{2x_1x_2x_i}{|x|^2} \varphi ' \left( -\ln |x|^2 \right) , \\ \frac{\partial ^2 v}{\partial x_1 ^2} (x)&= -\frac{6 x_1x_2}{|x|^2} \varphi ' \left( -\ln |x|^2 \right) + \frac{4x_1^3 x_2}{|x|^4} \varphi ' \left( -\ln |x|^2 \right) + \frac{4x_1^3 x_2}{|x|^4} \varphi '' \left( -\ln |x|^2 \right) , \\ \frac{\partial ^2 v}{\partial x_2 ^2} (x)&= -\frac{6x_1x_2}{|x|^2} \varphi ' \left( -\ln |x|^2 \right) + \frac{4x_1 x_2^3}{|x|^4} \varphi ' \left( -\ln |x|^2 \right) + \frac{4x_1 x_2^3}{|x|^4} \varphi '' \left( -\ln |x|^2 \right) , \\ \frac{\partial ^2 v}{\partial x_i ^2} (x)&= -\frac{2x_1x_2}{|x|^2} \varphi ' \left( -\ln |x|^2 \right) + \frac{4x_1x_2x_i^2}{|x|^4} \varphi ' \left( -\ln |x|^2 \right) + \frac{4x_1x_2x_i^2}{|x|^4} \varphi '' \left( -\ln |x|^2 \right) , \\ \frac{\partial ^2 v}{\partial x_1 \partial x_2} (x)&= \varphi \left( -\ln |x|^2 \right) - \frac{2(x_1^2+x_2^2)}{|x|^2} \varphi ' \left( -\ln |x|^2 \right) \\ &\quad + \frac{4x_1^2x_2^2}{|x|^4} \varphi ' \left( -\ln |x|^2 \right) + \frac{4x_1^2x_2^2}{|x|^4} \varphi '' \left( -\ln |x|^2 \right) , \\ \frac{\partial ^2 v}{\partial x_1 \partial x_i} (x)&= \frac{-2x_2x_i}{|x|^2} \varphi ' \left( -\ln |x|^2 \right) + \frac{4x_1^2x_2x_i}{|x|^4} \varphi ' \left( -\ln |x|^2 \right) + \frac{4x_1^2x_2x_i}{|x|^4} \varphi '' \left( -\ln |x|^2 \right) , \\ \frac{\partial ^2 v}{\partial x_2 \partial x_i} (x)&= \frac{-2x_1x_i}{|x|^2} \varphi ' \left( -\ln |x|^2 \right) + \frac{4x_1x_2^2x_i}{|x|^4} \varphi ' \left( -\ln |x|^2 \right) + \frac{4x_1x_2^2x_i}{|x|^4} \varphi '' \left( -\ln |x|^2 \right) , \\ \frac{\partial ^2 v}{\partial x_j \partial x_i} (x)&= -\frac{2x_1x_2}{|x|^2}\delta _{ij} \varphi ' \left( -\ln |x|^2 \right) + \frac{4 x_1x_2x_ix_j}{|x|^4} \varphi ' \left( -\ln |x|^2 \right) + \frac{4x_1x_2x_ix_j}{|x|^4} \varphi '' \left( -\ln |x|^2 \right) . \end{aligned}$$

We observe that each term in these derivatives is of the form \(p(x)\varphi \left( -\ln |x|^2 \right)\), \(p(x)\varphi ' \left( -\ln |x|^2 \right)\), or \(p(x)\varphi '' \left( -\ln |x|^2 \right)\), where p(x) is homogeneous in x. For first derivatives, the degree of homogeneity is 1, and for second derivatives, the degree of homogeneity is 0. Because of this, by Lemma 2.1 and the choice of \(\varphi\),

$$\begin{aligned} \lim _{|x| \rightarrow 0} \frac{\partial v}{\partial x_1} (x)= &\, \lim _{|x| \rightarrow 0} \frac{\partial v}{\partial x_2} (x) = \lim _{|x| \rightarrow 0} \frac{\partial v}{\partial x_i} (x) =0,\\ \lim _{|x| \rightarrow 0} \frac{\partial ^2 v}{\partial x_1^2} (x)= &\, \lim _{|x| \rightarrow 0} \frac{\partial ^2 v}{\partial x_2^2} (x) = \lim _{|x| \rightarrow 0} \frac{\partial ^2 v}{\partial x_i^2} (x) \\= &\, \lim _{|x| \rightarrow 0} \frac{\partial ^2 v}{\partial x_1 x_i} (x) = \lim _{|x| \rightarrow 0} \frac{\partial ^2 v}{\partial x_2 x_i} (x)= \lim _{|x| \rightarrow 0} \frac{\partial ^2 v}{\partial x_i x_j} (x) = 0. \end{aligned}$$

Thus all the first and second derivatives of v approach 0 as \(|x| \rightarrow 0\), except for

$$\begin{aligned} \frac{\partial ^2 v}{\partial x_1 \partial x_2} (x)= &\, \varphi \left( -\ln |x|^2 \right) - \frac{2(x_1^2+x_2^2)}{|x|^2} \varphi ' \left( -\ln |x|^2 \right) \\ & + \frac{4x_1^2x_2^2}{|x|^4} \varphi ' \left( -\ln |x|^2 \right) + \frac{4x_1^2x_2^2}{|x|^4} \varphi '' \left( -\ln |x|^2 \right) . \end{aligned}$$

As \(|x| \rightarrow 0\), its first term goes to \(\infty\) and all the other terms go to 0, thus \(\frac{\partial ^2 v}{\partial x_1 \partial x_2} (x)\) is unbounded near the origin, which causes the Hessian of v to be unbounded.

On the other hand, because each diagonal entry of the Hessian has a removable discontinuity at the origin,

$$\begin{aligned} \Delta v(x)= &\, \frac{\partial ^2 v}{\partial x_1 ^2} (x) + \frac{\partial ^2 v}{\partial x_2 ^2} (x) + \sum _{i=3}^n \frac{\partial ^2 v}{\partial x_i ^2} (x) \\= &\, - \frac{( 2n+8 ) x_1x_2}{|x|^2} \varphi ' \left( -\ln |x|^2 \right) + \frac{4x_1 x_2 }{|x|^2} \Big ( \varphi ' \left( -\ln |x|^2 \right) +\varphi '' \left( -\ln |x|^2 \right) \Big ) \\\rightarrow & 0 \quad \text {as} \,\, |x| \rightarrow 0. \end{aligned}$$

Lastly, we check the differentiablity of v at 0. It is differentiable because by Lemma 2.1,

$$\begin{aligned} \frac{\left| v(x)-v(0) \right| }{|x|} = \frac{\left| x_1x_2 \varphi \left( -\ln |x|^2 \right) \right| }{|x|} \le |x| \left| \varphi \left( -\ln |x|^2 \right) \right| \rightarrow 0 \quad \text {as} \,\, |x| \rightarrow 0. \end{aligned}$$

Therefore, all first derivatives of v equal 0 at the origin, and v is \(C^1\) throughout \({\mathbb {R}}^n\). Computing the partial derivative \(\frac{\partial ^2 v}{\partial x_1 ^2} (0)\) by definition, we have

$$\begin{aligned} \frac{\partial ^2 v}{\partial x_1 ^2} (0) = \lim _{h \rightarrow 0} \dfrac{\frac{\partial v}{\partial x_1 } ((h,0,\ldots ,0)) - \frac{\partial v}{\partial x_1 } ((0,\ldots ,0)) }{h} = \lim _{h \rightarrow 0} \frac{0-0}{h} =0. \end{aligned}$$

Similarly, we also have

$$\begin{aligned} \frac{\partial ^2 v}{\partial x_2 ^2} (0) = \cdots = \frac{\partial ^2 v}{\partial x_n ^2} (0)=0. \end{aligned}$$

Therefore, \(\Delta v (0)=0\). Consequently, \(\Delta v\) is continuous at 0. However, v is not twice differentiable at 0. To see that, we check the differentiability of \(\frac{\partial v}{\partial x_1 }\) at 0:

$$\begin{aligned} \frac{\left| \frac{\partial v}{\partial x_1 } (x)- \frac{\partial v}{\partial x_1 } (0) \right| }{|x|} = \frac{\left| x_2 \varphi \left( -\ln |x|^2 \right) - \frac{2x_1^2x_2}{|x|^2} \varphi ' \left( -\ln |x|^2 \right) \right| }{|x|}. \end{aligned}$$

Let \(x_1=x_3=\cdots =x_n=0\), then \(|x_2|=|x|\) and

$$\begin{aligned} \frac{\left| \frac{\partial v}{\partial x_1 } (x)- \frac{\partial v}{\partial x_1 } (0) \right| }{|x|} = \frac{\left| x_2 \varphi \left( -\ln |x_2|^2 \right) \right| }{|x_2|}= \left| \varphi \left( -\ln |x_2|^2 \right) \right| \rightarrow \infty \quad \text {as} \,\, x_2 \rightarrow 0, \end{aligned}$$

hence \(\frac{\partial v}{\partial x_1 }\) is not differentiable at 0. Similarly, \(\frac{\partial v}{\partial x_2 }\) is not differentiable at 0 either.

Interestingly,

$$\begin{aligned} \frac{\left| \frac{\partial v}{\partial x_i } (x)- \frac{\partial v}{\partial x_i } (0) \right| }{|x|} = \frac{\left| - \frac{2x_1x_2x_i}{|x|^2} \varphi ' \left( -\ln |x|^2 \right) \right| }{|x|} \le 2\left| \varphi ' \left( -\ln |x|^2 \right) \right| \rightarrow 0 \quad \text {as} \,\, x \rightarrow 0, \end{aligned}$$

thus \(\frac{\partial v}{\partial x_i }\) for all \(i \ge 3\) are differentiable at 0.

Therefore, v fails to be twice differentiable at 0 because \(\frac{\partial v}{\partial x_1 }\) and \(\frac{\partial v}{\partial x_2 }\) are not differentiable at 0. This completes the proof of Lemma 2.3.\(\square\)

3 Construction for Theorem 1.1

In this section, we will first “smooth out" v into a function that is \(C^2\) at the origin, then we will combine a sequence of such functions through scaling and translation to create a desired function that is twice differentiable everywhere with continuous Laplacian and unbounded Hessian, thus proving Theorem 1.1.

Definition 3.1

Let \(\eta : [0, \infty ) \rightarrow [0,1]\) be a fixed, non-increasing \(C^{\infty }\) function such that

$$\begin{aligned} \eta (s) \equiv 1 \,\, \text{ for } \,\, 0 \le s \le \frac{1}{2} \quad \text {and} \quad \eta (s) \equiv 0 \,\, \text{ for } \,\, s \ge \frac{2}{3}. \end{aligned}$$
(3)

For any \(0<t\le \frac{1}{2}\), define a function \(u_t: {\mathbb {R}}^n \rightarrow {\mathbb {R}} \,\, (n \ge 2)\) by

$$\begin{aligned} u_t(x) = \left\{ \begin{array}{l l l} 0 & \quad x=0, \\ \eta (|x|)x_1 x_2|x|^{2t}\varphi (-\ln |x|^2 ) & \quad 0< |x|< 1, \\ 0 & \quad |x| \ge 1. \end{array}\right. \end{aligned}$$
(4)

It follows immediately from Lemma 2.1 and (3) that \(u_t\) is continuous everywhere. Actually, it can be shown that \(u_t \in C^2 \left( {\mathbb {R}}^n \right)\), but we will not verify it here because it is not to be used in our construction.

What will be essential to our construction is the fact that all the first derivatives of \(u_t\) and second derivatives of the form \(\frac{\partial ^2 u_t}{\partial x_j ^2}\) are uniformly bounded by constants independent of t. However, that is not the case for \(\frac{\partial ^2 u_t}{\partial x_1 \partial x_2}\), as will be shown later in this section.

Lemma 3.2

There is a constant \(C_{\eta , \varphi }\) depending only on \(\eta\) and \(\varphi\), such that

$$\begin{aligned} & \sup _{x \in {\mathbb {R}}^n} \left| u_t (x) \right| \le C_{\eta , \varphi }. \end{aligned}$$
(5)
$$\begin{aligned} & \sup _{x \in {\mathbb {R}}^n} \left| \frac{\partial u_t}{\partial x_j} (x) \right| \le C_{\eta , \varphi } \quad \text {for} \quad j=1,\ldots , n. \end{aligned}$$
(6)
$$\begin{aligned} & \sup _{x \in {\mathbb {R}}^n} \left| \frac{\partial ^2 u_t}{\partial x_j^2} (x) \right| \le C_{\eta , \varphi } \quad \text {for} \quad j=1,\ldots , n. \end{aligned}$$
(7)

Proof

By the definition of \(u_t\),

$$\begin{aligned} \sup _{x \in {\mathbb {R}}^n} \left| u_t (x) \right| = \sup _{|x| \le \frac{2}{3} } \left| u_t (x) \right| , \quad \sup _{x \in {\mathbb {R}}^n} \left| \frac{\partial u_t}{\partial x_j} (x) \right| = \sup _{|x| \le \frac{2}{3}} \left| \frac{\partial u_t}{\partial x_j} (x) \right| , \quad \end{aligned}$$

and

$$\begin{aligned} \sup _{x \in {\mathbb {R}}^n} \left| \frac{\partial ^2 u_t}{ \partial x_j^2 } (x) \right| = \sup _{|x| \le \frac{2}{3}} \left| \frac{\partial ^2 u_t}{\partial x_j^2} (x) \right| , \end{aligned}$$

so we assume \(|x| \le \frac{2}{3}\). Furthermore, since \(0<t \le \frac{1}{2}\), when \(\frac{1}{2} \le |x| \le \frac{2}{3}\), we know \(\left| u_t (x) \right|\), \(\left| \frac{\partial u_t}{\partial x_j} (x) \right|\), and \(\left| \frac{\partial ^2 u_t}{ \partial x_j^2 } (x) \right|\) are all bounded by a constant depending on \(\eta\) and \(\varphi\) and independent of t. Therefore it remains to show that when \(|x| < \frac{1}{2}\), \(\left| u_t (x) \right|\), \(\left| \frac{\partial u_t}{\partial x_j} (x) \right|\), and \(\left| \frac{\partial ^2 u_t}{ \partial x_j^2 } (x) \right|\) are all bounded by a constant independent of t.

First, when \(|x| < \frac{1}{2}\), we have \(|u_t(x)| \le |x|^2 \varphi (-\ln |x|^2 )\). Then since \(\displaystyle \lim _{|x| \rightarrow 0} |x|^2 \varphi \left( -\ln |x|^2 \right) =0\) by Lemma 2.1, we know \(\displaystyle \sup _{|x| < \frac{1}{2} } \left| u_t (x) \right|\) is bounded by a constant independent of t. Thus (5) is true.

Since \(\eta (|x|) \equiv 1\) for \(|x| \le \frac{1}{2}\), the derivatives of \(u_t\) when \(0< |x| < \frac{1}{2}\) are the following.

$$\begin{aligned} \frac{\partial u_t}{\partial x_1} (x)= &\, x_2|x|^{2t} \varphi (-\ln |x|^2 ) + 2t x_1^2 x_2 |x|^{2t-2} \varphi (-\ln |x|^2 ) \nonumber \\ & - 2x_1 ^2 x_2|x|^{2t-2} \varphi ' (-\ln |x|^2 ). \end{aligned}$$
(8)
$$\begin{aligned} \frac{\partial u_t}{\partial x_2} (x)= &\, x_1|x|^{2t} \varphi (-\ln |x|^2 ) + 2t x_1 x_2^2 |x|^{2t-2}\varphi (-\ln |x|^2 ) \nonumber \\ & - 2x_1 x_2^2 |x|^{2t-2}\varphi ' (-\ln |x|^2 ). \end{aligned}$$
(9)

In the case \(n \ge 3\), for any \(i \ge 3\),

$$\begin{aligned} \frac{\partial u_t}{\partial x_i} (x)= &\, 2t x_1 x_2 x_i |x|^{2t-2}\varphi (-\ln |x|^2 ) - 2x_1 x_2 x_i |x|^{2t-2}\varphi ' (-\ln |x|^2 ). \end{aligned}$$
(10)

The first and second terms in (8) are bounded by

$$\begin{aligned} |x|^{2t+1} \left| \varphi (-\ln |x|^2 ) \right| . \end{aligned}$$

Because \(|x| < \frac{1}{2}\), we have \(|x|^{2t+1} \le |x|,\) so

$$\begin{aligned} |x|^{2t+1} \left| \varphi (-\ln |x|^2 ) \right| \le |x| \left| \varphi (-\ln |x|^2 ) \right| . \end{aligned}$$

By Lemma 2.1, \(|x| \varphi (-\ln |x|^2 )\) has a removable discontinuity at 0, therefore on the set \(|x| < \frac{1}{2}\) it is bounded by a constant depending only on \(\varphi\). Thus the first and second terms in (8) are bounded by a constant depending only on \(\varphi\). The last term in (8),

$$\begin{aligned} 2 x_1 ^2 x_2|x|^{2t-2} \varphi ' (-\ln |x|^2 ), \end{aligned}$$

is bounded by

$$\begin{aligned} 2|x|^{2t+1} \left| \varphi ' (-\ln |x|^2 ) \right| . \end{aligned}$$

It is further bounded by

$$\begin{aligned} 2|x| \left| \varphi ' (-\ln |x|^2 ) \right| \end{aligned}$$

since \(|x| < \frac{1}{2}\). Because of (1), we know \(|x| \varphi ' (-\ln |x|^2 )\) has a removable discontinuity at 0, therefore on the set \(|x| < \frac{1}{2}\) it is bounded by a constant depending only on \(\varphi\). Thus the last term in (8) is also bounded by a constant depending only on \(\varphi\). Therefore, \(\frac{\partial u_t}{\partial x_1}\) is bounded by a constant depending on \(\varphi\) only. In the same way, we can prove that \(\frac{\partial u_t}{\partial x_2}\) and \(\frac{\partial u_t}{\partial x_i} (i \ge 3)\) are also bounded by a constant depending on \(\varphi\) only. This proves (6).

Lastly, we prove (7). When \(0< |x| < \frac{1}{2}\),

$$\begin{aligned} \frac{\partial ^2 u_t}{\partial x_1^2} (x)= &\, 6t x_1 x_2 |x|^{2t-2} \varphi (-\ln |x|^2 ) + 2t(2t-2) x_1^3 x_2 |x|^{2t-4} \varphi (-\ln |x|^2 ) \nonumber \\ & - 2 x_1 x_2 |x|^{2t-2} \varphi ' (-\ln |x|^2 ) - 4t x_1 ^3 x_2 |x|^{2t-4} \varphi ' (-\ln |x|^2 ) \nonumber \\ & - 6 x_1 x_2 |x|^{2t-2} \varphi ' (-\ln |x|^2 ) - 2(2t-2) x_1^3 x_2 |x|^{2t-4} \varphi ' (-\ln |x|^2 ) \nonumber \\ & + 4 x_1^3 x_2 |x|^{2t-4} \varphi '' (-\ln |x|^2 ). \end{aligned}$$
(11)
$$\begin{aligned} \frac{\partial ^2 u_t}{\partial x_2^2} (x)= &\, 6t x_1 x_2 |x|^{2t-2} \varphi (-\ln |x|^2 ) + 2t(2t-2) x_1 x_2^3 |x|^{2t-4} \varphi (-\ln |x|^2 ) \nonumber \\ & - 2 x_1 x_2 |x|^{2t-2} \varphi ' (-\ln |x|^2 ) - 4t x_1 x_2 ^3 |x|^{2t-4} \varphi ' (-\ln |x|^2 ) \nonumber \\ & - 6 x_1 x_2 |x|^{2t-2} \varphi ' (-\ln |x|^2 ) - 2(2t-2) x_1 x_2^3 |x|^{2t-4} \varphi ' (-\ln |x|^2 ) \nonumber \\ & + 4 x_1 x_2 ^3 |x|^{2t-4} \varphi '' (-\ln |x|^2 ). \end{aligned}$$
(12)

In the case \(n \ge 3\), for any \(i \ge 3\),

$$\begin{aligned} \frac{\partial ^2 u_t}{\partial x_i^2} (x)= &\, 2t x_1 x_2 |x|^{2t-2} \varphi (-\ln |x|^2 ) + 2t(2t-2) x_1 x_2 x_i^2 |x|^{2t-4} \varphi (-\ln |x|^2 ) \nonumber \\ & + (4-8t) x_1 x_2x_i^2 |x|^{2t-4} \varphi ' (-\ln |x|^2 ) - 2 x_1 x_2 x_i^2 |x|^{2t-3} \varphi ' (-\ln |x|^2 ) \nonumber \\ & - 2 x_1 x_2 |x|^{2t-2} \varphi ' (-\ln |x|^2 ) + 4 x_1 x_2 x_i^2 |x|^{2t-4} \varphi '' (-\ln |x|^2 ). \end{aligned}$$
(13)

To prove (7) we need to estimate each term of (11), (12), and (13).

We start with (11). Note that since \(|x| < \frac{1}{2}\), the 3rd through 6th terms are bounded by

$$\begin{aligned} C|x|^{2t} \left| \varphi ' (-\ln |x|^2 ) \right| , \end{aligned}$$

which is further bounded by

$$\begin{aligned} C \left| \varphi ' (-\ln |x|^2 ) \right| . \end{aligned}$$

By (1), \(\varphi ' (-\ln |x|^2 )\) has a removable discontinuity at 0, therefore on the set \(|x| < \frac{1}{2}\) it is bounded by a constant depending only on \(\varphi\). Similarly the 7th term is also bounded by a constant depending only on \(\varphi\).

The first term,

$$\begin{aligned} 6t x_1 x_2 |x|^{2t-2} \varphi (-\ln |x|^2 ), \end{aligned}$$

and the second term,

$$\begin{aligned} 2t(2t-2) x_1^3 x_2 |x|^{2t-4} \varphi (-\ln |x|^2 ), \end{aligned}$$

are bounded by

$$\begin{aligned} Ct|x|^{2t}\left| \varphi (-\ln |x|^2 ) \right| . \end{aligned}$$

By Lemma 2.2,

$$\begin{aligned} 2t|x|^{2t}\left| \varphi (-\ln |x|^2 ) \right| \le C_{ \varphi }, \end{aligned}$$

where \(C_{\varphi }\) depends only on \(\varphi\). Hence the first and second terms are bounded by a constant depending on \(\varphi\). Therefore, we have proved that all the terms in (11) are uniformly bounded by a constant independent of t.

All the terms in (12) and (13) can be estimated in the same way, so this completes the proof of (7).\(\square\)

Now we are ready to construct the main function, u, by “piecing together" a sequence of functions \(u_{t_k}\) as follows.

Choose two decreasing sequences of numbers \(R_k \rightarrow 0\) and \(r_k \rightarrow 0\), such that

$$\begin{aligned} R_k > r_k, \end{aligned}$$

and for geometric reasons that will be explained later we also require

$$\begin{aligned} R_k -r_k > R_{k+1}+r_{k+1}; \end{aligned}$$
(14)

for example, we may choose \(R_k=10^{-k}\) and \(r_k=10^{-(k+1)}\).

We use \(\zeta _0\) to denote the point \(\left( \frac{1}{\sqrt{2}}, \frac{1}{\sqrt{2}},\ldots , \frac{1}{\sqrt{2}} \right)\) in \({\mathbb {R}}^n\) and choose a sequence \(\{t_k\}\) such that \(0< t_k < \frac{1}{4}\) and \(\displaystyle \lim _{k \rightarrow \infty } t_k =0\). Define the function u(x) by

$$\begin{aligned} u(x) = \sum _{k=1}^{\infty } \epsilon _k r_k ^2 u_{t_k} \left( \frac{x-R_k \zeta _0}{r_k} \right) , \end{aligned}$$
(15)

where the only conditions on \(\epsilon _k\) for now are \(\epsilon _k>0\) and \(\displaystyle \lim _{k \rightarrow \infty } \epsilon _k =0\), we do not need to assign specific values to \(\epsilon _k\) until near the end of this section.

Condition (14) ensures that the balls centered at the points \(R_k\zeta _0\) with radii \(r_k\) are mutually disjoint.

figure a

For each \(k \in {\mathbb {N}}\), let \(B_k\) be the ball centered at the point \(R_k \zeta _0\) with radius \(\frac{2}{3}r_k\), then these \(B_k\) are also mutually disjoint. By (3) and (4), the support of each function \(u_{t_k} \left( \frac{x-R_k \zeta _0}{r_k} \right)\) is the ball \(\{x \in {\mathbb {R}}^n: |x-R_k \zeta _0| \le \frac{2}{3}r_k \}\), which is \(B_k\). Therefore, although the definition of u(x) appears to be an infinite sum, it actually is only a single term. For any given \(x \in {\mathbb {R}}^n\), if x is not in any of the \(B_k\), then

$$\begin{aligned} u(x)=0, \end{aligned}$$

otherwise

$$\begin{aligned} u(x)=\epsilon _k r_k ^2 u_{t_k} \left( \frac{x-R_k \zeta _0}{r_k} \right) \quad \text {for some} \,\, k. \end{aligned}$$

As \(k \rightarrow \infty\), the radius of \(B_k\) goes down to 0 and its center moves toward the origin, but none of the balls \(B_k\) contains the origin. In fact, for any \(j=1,\ldots , n\), the \(x_j\)-th coordinate hyperplane does not intersect any of the ball \(B_k\). To see this, let

$$\begin{aligned} (x_1,\ldots ,x_{j-1}, 0, x_{j+1},\ldots , x_n) \end{aligned}$$

be an arbitrary point on the \(x_j\)-th coordinate hyperplane. The distance from this point to the center of the ball, \(R_k\zeta _0 = \left( \frac{R_k}{\sqrt{2}},\ldots , \frac{R_k}{\sqrt{2}} \right)\), is

$$\begin{aligned} & \sqrt{ \left( \frac{R_k}{\sqrt{2}} -x_1 \right) ^2+ \cdots + \left( \frac{R_k}{\sqrt{2}} -x_{j-1 }\right) ^2+ \left( \frac{R_k}{\sqrt{2}} \right) ^2 + \left( \frac{R_k}{\sqrt{2}} -x_{j+1} \right) ^2 + \cdots + \left( \frac{R_k}{\sqrt{2}} -x_n \right) ^2 }\\ & \quad \ge \frac{R_k}{\sqrt{2}}> \frac{r_k}{\sqrt{2}} > \frac{2}{3}r_k, \end{aligned}$$

since \(\frac{1}{\sqrt{2}} \approx 0.71\) and \(\frac{2}{3} \approx 0.67\). Thus \(u = 0\) on all of the n coordinate hyperplanes, and consequently \(u(0)=0.\) By (5) \(u_{t_k}\) is uniformly bounded by a constant independent of \(t_k\), hence by definition \(\displaystyle \lim _{|x| \rightarrow 0} u(x)=0\). Therefore u is continuous at the origin, and thus continuous everywhere in \({\mathbb {R}}^n\).

Lemma 3.3

The function u(x) as defined in (15) is twice differentiable everywhere in \({\mathbb {R}}^n\), and all its first and second order partial derivatives at the origin are equal to 0.

Proof

By definition u(x) is \(C^2\) for all \(x \ne 0\), so we only need to show it is twice differentiable at the origin. Because \(u=0\) on all the coordinate hyperplanes, for any \(i,j=1,\ldots ,n\),

$$\begin{aligned} \frac{\partial u}{\partial x_j} (0)=0 \quad \text {and} \quad \frac{\partial ^2 u}{\partial x_i \partial x_j} (0)=0. \end{aligned}$$

Thus

$$\begin{aligned} \lim _{|x| \rightarrow 0}\frac{ u (x) -u (0) - \sum _{i =1}^n \frac{\partial u}{\partial x_i} (0) x_i - \frac{1}{2} \sum _{i,j=1}^n \frac{\partial ^2 u}{\partial x_i \partial x_j}(0) x_i x_j }{|x|^2} = \lim _{|x| \rightarrow 0} \frac{u (x) }{|x|^2} \end{aligned}$$

Recall that the balls \(B_k\) are mutually disjoint, so for any given \(x \in {\mathbb {R}}^n\), either

$$\begin{aligned} u(x)=0, \end{aligned}$$

or

$$\begin{aligned} u(x) = \epsilon _k r_k ^2 u_{t_k} \left( \frac{x-R_k \zeta _0}{r_k} \right) \quad \text {for some} \,\, k. \end{aligned}$$

By (5) we have \(|u_{t_k}| \le C_{\eta , \varphi }\) which only depends on \(\eta\) and \(\varphi\). Thus

$$\begin{aligned} \frac{|u(x) | }{|x|^2 } \le \frac{\epsilon _k r_k^2 C_{\eta , \varphi } }{\left( R_k - \frac{2}{3}r_k \right) ^2} = \frac{\epsilon _k C_{\eta , \varphi } }{\left( \frac{R_k}{r_k} - \frac{2}{3}\right) ^2 } < \frac{\epsilon _k C_{\eta , \varphi } }{\left( 1 - \frac{2}{3} \right) ^2 } \rightarrow 0 \quad \text {as} \,\, k \rightarrow \infty . \end{aligned}$$

Hence we know that

$$\begin{aligned} \lim _{|x| \rightarrow 0}\frac{ u (x) -u (0) - \sum _{i =1}^n \frac{\partial u}{\partial x_i} (0) x_i - \frac{1}{2} \sum _{i,j=1}^n \frac{\partial ^2 u}{\partial x_i \partial x_j}(0) x_i x_j }{|x|^2} =0, \end{aligned}$$

which means u is twice differentiable at the origin. This completes the proof.\(\square\)

Lastly, we will show that u has continuous Laplacian but unbounded Hessian.

Lemma 3.4

The function u(x) as defined in (15) has continuous Laplacian everywhere in \({\mathbb {R}}^n\), and the partial derivative \(\frac{\partial ^2 u}{\partial x_1 \partial x_2}\) is unbounded near the origin.

Proof

Because \(u=0\) on all the coordinate hyperplanes,

$$\begin{aligned} \frac{\partial ^2 u}{\partial x_j^2} (0)=0. \end{aligned}$$

For any given \(x \in {\mathbb {R}}^n\), either

$$\begin{aligned} \frac{\partial ^2 u}{\partial x_j^2}(x)=0, \end{aligned}$$

or

$$\begin{aligned} \frac{\partial ^2 u}{\partial x_j^2}(x) = \epsilon _k \frac{\partial ^2 u_{t_k}}{\partial x_j^2} \left( \frac{x-R_k \zeta _0}{r_k} \right) \quad \text {for some} \,\, k. \end{aligned}$$

By (7) in Lemma 3.2,

$$\begin{aligned} \epsilon _k \left| \frac{\partial ^2 u_{t_k}}{\partial x_j^2} \left( \frac{x-R_k \zeta _0}{r_k} \right) \right| \le \epsilon _k C_{\eta , \varphi } \rightarrow 0 \quad \text {as} \,\, k \rightarrow \infty . \end{aligned}$$

Thus \(\displaystyle \lim _{|x| \rightarrow 0} \frac{\partial ^2 u}{\partial x_j^2}(x) = 0\), which implies that \(\displaystyle \frac{\partial ^2 u}{\partial x_j^2}(x)\) is continuous at 0. Since it is also continuous for all \(x \ne 0\), it is continuous everywhere. This proves that \(\displaystyle \Delta u = \sum \nolimits _{j=1}^n \frac{\partial ^2 u}{\partial x_j^2}\) is continuous everywhere in \({\mathbb {R}}^n\).

Next we will show \(\displaystyle \frac{\partial ^2 u}{\partial x_1 \partial x_2}\) is unbounded near the origin. For general t,

$$\begin{aligned} \frac{\partial ^2 u_t}{\partial x_1 \partial x_2} (x)= &\, \eta '' (|x|) x_1^2 x_2 ^2 |x|^{2t-2} \varphi (-\ln |x|^2 ) + \eta ' (|x|) \left( x_1^2 + x_2^2 \right) |x|^{2t-1} \varphi (-\ln |x|^2 ) \nonumber \\ & + (4t-1) \eta ' (|x|) x_1^2 x_2^2|x|^{2t-3} \varphi (-\ln |x|^2 ) - 4 \eta ' (|x|) x_1^2 x_2^2 |x|^{2t-3} \varphi ' (-\ln |x|^2 ) \nonumber \\ & + \eta (|x|) |x|^{2t} \varphi (-\ln |x|^2 ) + 2t \eta (|x|) \left( x_1^2 + x_2^2 \right) |x|^{2t-2} \varphi (-\ln |x|^2 ) \nonumber \\ & - 2 \eta (|x|) \left( x_1^2 + x_2^2 \right) |x|^{2t-2} \varphi ' (-\ln |x|^2 ) + 2t(2t-2) \eta (|x|) x_1 ^2 x_2^2 |x|^{2t-4} \varphi (-\ln |x|^2 ) \nonumber \\ & + (4-8t) \eta (|x|) x_1^2 x_2^2 |x|^{2t-4} \varphi ' (-\ln |x|^2 ) + 4 \eta (|x|) x_1^2 x_2^2 |x|^{2t-4} \varphi '' (-\ln |x|^2 ). \end{aligned}$$
(16)

For each k, choose \(x^{(k)} \in {\mathbb {R}}^n\) such that

$$\begin{aligned} \frac{x^{(k)} - R_k\zeta _0}{r_k} = \left( e^{-\frac{1}{4t_k}}, 0,\ldots 0 \right) . \end{aligned}$$

Then \(x^{(k)}\) is in the ball \(B_k\) and

$$\begin{aligned} \displaystyle \frac{\partial ^2 u}{\partial x_1 \partial x_2} \left( x^{(k)} \right) \,\, = \,\, \epsilon _k \frac{\partial ^2 u_{t_k} }{\partial x_1 \partial x_2} \left( \frac{x^{(k)}-R_k\zeta _0}{r_k} \right) \,\, = \,\, \epsilon _k \frac{\partial ^2 u_{t_k} }{\partial x_1 \partial x_2} \left( \left( e^{-\frac{1}{4t_k}}, 0,\ldots 0 \right) \right) . \end{aligned}$$
(17)

Because \(t_k < \frac{1}{4}\), we know \(e^{-\frac{1}{4t_k}}< e^{-1} < \frac{1}{2}\), so in a neighborhood of \(e^{-\frac{1}{4t_k}}\), \(\eta (|x|) \equiv 1\) and \(\eta '(|x|) = \eta '' (|x|) =0.\) Also note that \(x_2=0\) at the point \(\left( e^{-\frac{1}{4t_k}}, 0,\ldots 0 \right)\), then by (16) we have

$$\begin{aligned} & \frac{\partial ^2 u_{t_k}}{\partial x_1 \partial x_2} \left( \left( e^{-\frac{1}{4t_k}}, 0,\ldots 0 \right) \right) \nonumber \\ & \quad = \left( e^{-\frac{1}{4t_k}} \right) ^{2t_k} \varphi \left( -\ln \left( e^{-\frac{1}{4t_k}} \right) ^2 \right) + 2t_k \left( e^{-\frac{1}{4t_k}} \right) ^{2t_k} \varphi \left( -\ln \left( e^{-\frac{1}{4t_k}} \right) ^2 \right) \nonumber \\ & \qquad - 2 \left( e^{-\frac{1}{4t_k}} \right) ^{2t_k} \varphi ' \left( -\ln \left( e^{-\frac{1}{4t_k}} \right) ^2 \right) \nonumber \\ & \quad = e^{-\frac{1}{2}} \varphi \left( \frac{1}{2t_k} \right) + 2t_k \left( e^{-\frac{1}{4t_k}} \right) ^{2t_k} \varphi \left( -\ln \left( e^{-\frac{1}{4t_k}} \right) ^2 \right) - 2 e^{-\frac{1}{2}} \varphi ' \left( \frac{1}{2t_k} \right) , \end{aligned}$$

where we purposefully did not simplify the second term. Thus (17) becomes

$$\begin{aligned} \frac{\partial ^2 u}{\partial x_1 \partial x_2} \left( x^{(k)} \right)= &\, \epsilon _k e^{-\frac{1}{2}} \varphi \left( \frac{1}{2t_k} \right) + \epsilon _k\cdot 2t_k \left( e^{-\frac{1}{4t_k}} \right) ^{2t_k} \varphi \left( -\ln \left( e^{-\frac{1}{4t_k}} \right) ^2 \right) \nonumber \\ & - 2 \epsilon _k e^{-\frac{1}{2}} \varphi ' \left( \frac{1}{2t_k} \right) . \end{aligned}$$
(18)

The second term in (18) goes to 0 because

$$\begin{aligned} \epsilon _k \left| 2t_k \left( e^{-\frac{1}{4t_k}} \right) ^{2t_k} \varphi \left( -\ln \left( e^{-\frac{1}{4t_k}} \right) ^2 \right) \right| \le \epsilon _k C_{\varphi } \end{aligned}$$

by Lemma 2.2. The third term in (18) goes to 0 because \(\frac{1}{2t_k} \rightarrow \infty\) and \(\displaystyle \lim _{s \rightarrow \infty } \varphi '(s)=0\).

Now choose

$$\begin{aligned} \epsilon _k = \frac{1}{\sqrt{\varphi \left( \frac{1}{2t_k} \right) }}. \end{aligned}$$

The first term in (18) becomes

$$\begin{aligned} \epsilon _k e^{-\frac{1}{2}} \varphi \left( \frac{1}{2t_k} \right) = e^{-\frac{1}{2}} \sqrt{ \varphi \left( \frac{1}{2t_k} \right) } \rightarrow \infty \quad \text {as} \,\, k \rightarrow \infty . \end{aligned}$$

Therefore,

$$\begin{aligned} \displaystyle \lim _{k \rightarrow \infty } \frac{\partial ^2 u}{\partial x_1 \partial x_2} \left( x^{(k)} \right) = \infty . \end{aligned}$$

This shows that \(\frac{\partial ^2 u}{\partial x_1 \partial x_2}\) is not bounded near the origin, and the lemma is proved.\(\square\)

4 Construction for Theorem 1.3

The idea for constructing higher order examples for Theorem 1.3 is the same as that for Theorem 1.1, and we only need to replace \(x_1x_2\) by the real or imaginary part of \((x_1+ix_2)^{k+2}\), where \(k \in {\mathbb {N}}\). For example, if \(k=1\), then

$$\begin{aligned} (x_1+ix_2)^{3} =\left( x_1^3 - 3x_1x_2^2 \right) + i \left( 3x_1^2 x_2 -x_2^3 \right) , \end{aligned}$$

so we may use either \(x_1^3 - 3x_1x_2^2\) or \(3x_1^2x_2-x_2^3\) in the construction. For general k,

$$\begin{aligned} (x_1+ix_2)^{k+2} = \sum _{l=0}^{k+2} \left( {\begin{array}{c}k+2\\ l\end{array}}\right) x_1^{k+2-l} \left( ix_2 \right) ^l. \end{aligned}$$

Evidently, the expressions for its real and imaginary parts are inconvenient to compute. Thus to simplify the calculations we use complex variable for the first two components of x: for any \(x=(x_1, x_2, x_3,\ldots ,x_n) \in {\mathbb {R}}^n\), denote

$$\begin{aligned} z=x_1+ix_2 \,\, \,\, \text {and} \,\, \,\, {\bar{z}}=x_1-ix_2. \end{aligned}$$

Then

$$\begin{aligned} x_1^2+x_2^2=z{\bar{z}}, \quad |x|^2=z{\bar{z}}+\sum _{j=3}^n x_j ^2, \quad \text {and} \quad \frac{\partial ^2 }{\partial x_1^2} + \frac{\partial ^2 }{\partial x_2^2} =4 \frac{\partial ^2 }{\partial {\bar{z}} \partial z}, \end{aligned}$$

and consequently

$$\begin{aligned} \frac{\partial |x|}{ \partial z} = \frac{{\bar{z}}}{2|x|}, \quad \frac{\partial |x|}{ \partial {\bar{z}}} = \frac{z}{2|x|}, \quad \text {and} \quad \frac{\partial |x|}{ \partial x_j} = \frac{x_j}{|x|} \,\, \,\, (\text {when} \,\, j \ge 3). \end{aligned}$$

Our strategy is to create a complex-valued function such that it is \((k+2)\)-times differentiable in \({\mathbb {R}}^n\), its Laplacian is \(C^k\), but \(D^{k+2}u\) is unbounded. The real and imaginary parts of u are two real-valued functions, and at least one of them would be a desired function that satisfies all the conditions in Theorem 1.3. The proof is similar to that for Theorem 1.1, so we will only present the key calculations and noticeable differences without repeating the entire proof.

Recall that in the higher order case \(\varphi (s)\) needs to be \((k+2)\)-times differentiable and satisfy

$$\begin{aligned} \lim _{s \rightarrow \infty } \varphi (s) = \infty , \quad \lim _{s \rightarrow \infty } \varphi ' (s) = \cdots = \lim _{s \rightarrow \infty } \varphi ^{(k+2)}(s) = 0. \end{aligned}$$
(19)

The building block function in this case needs to be modified into

$$\begin{aligned} v(x) = z^{k+2}\varphi (-\ln |x|^2 ). \end{aligned}$$

The Laplacian of v is

$$\begin{aligned} \Delta v= &\, 4 \frac{\partial ^2 v}{\partial {\bar{z}} \partial z} + \sum _{j=3}^n \frac{\partial ^2 v}{ \partial x_j^2} \\= &\, - (2n+4k)z^{k+2}|x|^{-2} \varphi ' (-\ln |x|^2 ) + 4z^{k+2}|x|^{-2} \varphi '' (-\ln |x|^2 ). \end{aligned}$$

It can be verified that \(\Delta v\) is \(C^k\), the partial derivative \(\dfrac{\partial ^{k+2} v}{ \partial z^{k+2}}\) is unbounded, and v is not \((k+2)\)-times differentiable. Because this fact is not to be used in our constructions, we will not verify it here.

As in Sect. 3, the next step is to smooth out the function v. Define \(u_t: {\mathbb {R}}^n \rightarrow {\mathbb {R}} \,\, (n \ge 2)\) by

$$\begin{aligned} u_t(x) = \left\{ \begin{array}{l l l} 0 & \quad x=0, \\ \eta (|x|)z^{k+2}|x|^{2t}\varphi (-\ln |x|^2 ) & \quad 0< |x|< 1, \\ 0 & \quad |x| \ge 1, \end{array}\right. \end{aligned}$$
(20)

where \(\eta\) is the same as in (3) and \(\varphi\) satisfies (19). This \(u_t\) is a complex-valued \(C^{k+2}\) function. The following is a key fact that will be used later.

Lemma 4.1

For \(u_t\) defined by (20), the k-th partial derivatives of \(\Delta u_t\) are all bounded by a constant independent of t.

Proof

As in the proof of Lemma 3.2, we only need to prove that when \(|x| < \frac{1}{2}\), all k-th partial derivatives of \(\Delta u_t\) are bounded by a constant independent of t. Since \(\eta (|x|) \equiv 1\) when \(|x| \le \frac{1}{2}\), the Laplacian of \(u_t\) is

$$\begin{aligned} \Delta u_t= 4\frac{\partial ^2 u_t}{\partial {\bar{z}} \partial z} + \sum _{j=3}^{n} \frac{\partial ^2 u_t}{\partial x_j^2}, \end{aligned}$$

where

$$\begin{aligned} \frac{\partial ^2 u_t}{\partial {\bar{z}} \partial z} (x)= &\, (k+3)t z^{k+2} |x|^{2t-2} \varphi (-\ln |x|^2 ) + t(t-1) z^{k+3} {\bar{z}} |x|^{2t-4} \varphi (-\ln |x|^2 ) \nonumber \\ & - (k+2) z^{k+2} |x|^{2t-2} \varphi ' (-\ln |x|^2 ) - (2t-1) z^{k+3} {\bar{z}} |x|^{2t-4} \varphi ' (-\ln ( |x|^2 ) \nonumber \\ & + z^{k+3} {\bar{z}} |x|^{2t-4} \varphi '' (-\ln |x|^2 ), \end{aligned}$$
(21)

and for \(j=3,\ldots ,n,\)

$$\begin{aligned} \frac{\partial ^2 u_t}{\partial x_j^2} (x)= &\, 2t z^{k+2} |x|^{2t-2} \varphi (-\ln |x|^2 ) + 2t(2t-2) z^{k+2} x_j^2 |x|^{2t-4} \varphi (-\ln |x|^2 ) \nonumber \\ & + (4-8t) z^{k+2} x_j^2 |x|^{2t-4} \varphi ' (-\ln |x|^2 ) - 2 z^{k+2} |x|^{2t-2} \varphi ' (-\ln |x|^2 ) \nonumber \\ & + 4 z^{k+2} x_j^2 |x|^{2t-4} \varphi '' (-\ln |x|^2 ). \end{aligned}$$
(22)

We will show that all the k-th partial derivatives of each term in (21) and (22) are bounded by a constant independent of t. In the subsequent discussions in this section, we will use C to denote a constant that depends on \(\varphi\), n, k and is independent of t.

We start with (21). The first term of (21) is bounded by

$$\begin{aligned} (k+3)t z^{k+2} |x|^{2t-2} \left| \varphi (-\ln |x|^2 ) \right| \le Ct|x|^{k+2t} \left| \varphi (-\ln |x|^2 ) \right| . \end{aligned}$$
(23)

Its first derivatives may be taken with respect to z, \({\bar{z}}\), or \(x_j \,\, (j \ge 3)\).

  • If we take its derivative with respect to z, then

    $$\begin{aligned} & \frac{\partial }{\partial z} \left( (k+3)t z^{k+2} |x|^{2t-2} \varphi (-\ln |x|^2 ) \right) \\ & \quad = (k+3)(k+2)t z^{k+1} |x|^{2t-2} \varphi (-\ln |x|^2 ) + (k+3)tz^{k+2}(2t-2)|x|^{2t-3}\left( \frac{{\bar{z}}}{2|x|} \right ) \varphi (-\ln |x|^2 ) + (k+3)t z^{k+2} |x|^{2t-2}\left( \varphi ' (-\ln |x|^2 ) \frac{-{\bar{z}}}{|x|^2} \right) , \end{aligned}$$

    where the first term and the second term are bounded by

    $$\begin{aligned} Ct|x|^{k-1+2t} \left| \varphi (-\ln |x|^2 ) \right| , \end{aligned}$$

    and the third term is bounded by

    $$\begin{aligned} Ct|x|^{k-1+2t} \left| \varphi ' (-\ln |x|^2 ) \right| . \end{aligned}$$

    Therefore, this derivative is bounded by

    $$\begin{aligned} Ct|x|^{k-1+2t} \left| \varphi (-\ln |x|^2 ) \right | + Ct|x|^{k-1+2t} \left | \varphi ' (-\ln |x|^2 ) \right| . \end{aligned}$$
  • If we take its derivative with respect to \({\bar{z}}\), then

    $$\begin{aligned} & \frac{\partial }{\partial {\bar{z}}} \left( (k+3)t z^{k+2} |x|^{2t-2} \varphi (-\ln |x|^2 ) \right) \\ & \quad = (k+3)t z^{k+2} \left( (2t-2)|x|^{2t-3}\frac{z}{2|x|} \right) \varphi (-\ln |x|^2 ) \\ & \qquad + (k+3)t z^{k+2} |x|^{2t-2} \left( \varphi ' (-\ln |x|^2 ) \frac{-z}{|x|^2} \right) . \end{aligned}$$

    By similar argument we know that this derivative is also bounded by

    $$\begin{aligned} Ct|x|^{k-1+2t} \left| \varphi (-\ln |x|^2 ) \right | + Ct|x|^{k-1+2t} \left | \varphi ' (-\ln |x|^2 ) \right| . \end{aligned}$$
  • If we take its derivative with respect to \(x_j\), then

    $$\begin{aligned} & \frac{\partial }{\partial x_j} \left( (k+3)t z^{k+2} |x|^{2t-2} \varphi (-\ln |x|^2 ) \right) \nonumber \\ & \quad = (k+3)t z^{k+2} \left( (2t-2)|x|^{2t-3}\frac{x_j}{|x|} \right) \varphi (-\ln |x|^2 ) \\ & \qquad + (k+3)t z^{k+2} |x|^{2t-2} \left( \varphi ' (-\ln |x|^2 ) \frac{-2x_j}{|x|^2} \right) . \end{aligned}$$

    Again, this derivative is bounded by

    $$\begin{aligned} Ct|x|^{k-1+2t} \left| \varphi (-\ln |x|^2 ) \right | + Ct|x|^{k-1+2t} \left | \varphi ' (-\ln |x|^2 ) \right| . \end{aligned}$$

In conclusion, regardless of which variable we differentiate with, the first partial derivative of \((k+3)t z^{k+2} |x|^{2t-2} \varphi (-\ln |x|^2 )\) is bounded by

$$\begin{aligned} Ct|x|^{k-1+2t} \left| \varphi (-\ln |x|^2 ) \right | + Ct|x|^{k-1+2t} \left | \varphi ' (-\ln |x|^2 ) \right| . \end{aligned}$$

Comparing the first term of this bound, \(Ct|x|^{k-1+2t} \left| \varphi (-\ln |x|^2 ) \right|\), to the right hand side of (23), we see that the power of |x| decreased from \(k+2t\) to \(k-1+2t\). By the same type of calculations, the k-th partial derivatives of \((k+3)t z^{k+2} |x|^{2t-2} \varphi (-\ln |x|^2 )\) will be bounded by

$$\begin{aligned} Ct|x|^{2t} \left| \varphi (-\ln |x|^2 ) \right| + \sum _{l=1}^k Ct|x|^{k-l+2t} \left| \varphi ^{(l)} (-\ln |x|^2 ) \right| . \end{aligned}$$

Because

$$\begin{aligned} \lim _{s \rightarrow \infty } \varphi ' (s) = \cdots = \lim _{s \rightarrow \infty } \varphi ^{(k+2)}(s) = 0, \end{aligned}$$

\(\sum \nolimits_{l=1}^k Ct|x|^{k-l+2t} \left| \varphi ^{(l)} (-\ln |x|^2 ) \right|\) is bounded by a constant independent of t. By Lemma 2.2, \(\displaystyle Ct|x|^{2t} \left| \varphi (-\ln |x|^2 ) \right|\) is also bounded by a constant independent of t. Therefore, the k-th derivatives of the first term of (21) are bounded by a constant independent of t.

All the other terms in (21) and (22) can be estimated in the same way. This completes the proof of the lemma.\(\square\)

Then we define u by

$$\begin{aligned} u(x) = \sum _{l=1}^{\infty } \epsilon _l r_l ^{k+2} u_{t_l} \left( \frac{x-R_l \zeta _0}{r_l} \right) , \end{aligned}$$

where \(R_l\), \(r_l\), \(\zeta _0\), \(t_l\), and \(\epsilon _l\) are the same as in Sect. 3; namely, \(R_l\) and \(r_l\) are decreasing sequences and

$$\begin{aligned} R_l -r_l > R_{l+1}+r_{l+1}, \,\, \,\,\,\, \zeta _0 =\left( \frac{1}{\sqrt{2}}, \frac{1}{\sqrt{2}},\ldots , \frac{1}{\sqrt{2}} \right) , \,\,\,\,\,\, \displaystyle \lim _{l \rightarrow \infty } t_l=0, \,\,\,\, \,\, \epsilon _l = \frac{1}{\sqrt{\varphi \left( \frac{1}{2t_l} \right) }}. \end{aligned}$$

Thus by the same argument as in Sect. 3 we know that this infinite sum actually only has a single term for any given x value.

We first show that \(\Delta u\) is \(C^k\). Note that here the power of \(r_l\) is \(k+2\) as opposed to 2 in Sect. 3, so

$$\begin{aligned} \Delta u(x) = \sum _{l=1}^{\infty } \epsilon _l r_l^{k}\Delta u_{t_l} \left( \frac{x-R_l \zeta _0}{r_l} \right) . \end{aligned}$$

By Lemma 4.1, the k-th derivatives of \(\Delta u_{t_l}\) are uniformly bounded by a constant independent of \(t_l\). Then since \(\displaystyle \lim _{l \rightarrow \infty } \epsilon _l = 0\), we conclude that the k-th derivatives of \(\Delta u\) all approach 0 as \(|x| \rightarrow 0\). Recall that by construction \(u = 0\) on all of the coordinate hyperplanes, so all partial derivatives of u of any order is 0 at the origin. In particular, all the k-th derivatives of \(\Delta u\) at the origin is 0. Therefore, all the k-th derivatives of \(\Delta u\) are continuous at the origin, and consequently \(\Delta u\) is \(C^k\) throughout \({\mathbb {R}}^n\).

Next, we show that some of the \((k+2)\)-th derivatives of u is unbounded. Precisely, we will show that \(\dfrac{\partial ^{k+2} u}{\partial z^{k+2}}\) is unbounded. We start with a close look at the first and second partial derivatives of \(u_t\) with respect to z.

Note that the power of z in

$$\begin{aligned} u_t = \eta (|x|)z^{k+2}|x|^{2t}\varphi (-\ln |x|^2 ) \end{aligned}$$

is \(k+2\). After one differentiation with respect to z, one of the terms in its derivative is

$$\begin{aligned} (k+2)\eta (|x|)z^{k+1}|x|^{2t}\varphi (-\ln |x|^2 ), \end{aligned}$$

which is the first term in the following formula for \(\frac{\partial u_t}{ \partial z}\):

$$\begin{aligned} \frac{\partial u_t}{\partial z} (x)= &\, (k+2) \eta (|x|) z^{k+1}|x|^{2t} \varphi (-\ln |x|^2 ) + \frac{1}{2} \eta ' (|x|) z^{k+2}{\bar{z}}|x|^{2t-1} \varphi (-\ln |x|^2 ) \nonumber \\ & + t \eta (|x|) z^{k+2}{\bar{z}} |x|^{2t-2} \varphi (-\ln |x|^2 ) - \eta (|x|)z^{k+2}{\bar{z}}|x|^{2t-2} \varphi ' (-\ln |x|^2 ). \end{aligned}$$
(24)

After another differentiation with respect to z, there will be one term,

$$\begin{aligned} (k+1)(k+2) \eta (|x|) z^{k} |x|^{2t} \varphi (-\ln |x|^2 ). \end{aligned}$$

where the power of z is k. That is the first term in the following formula for \(\frac{\partial ^2 u_t}{ \partial z^2}\):

$$\begin{aligned} \frac{\partial ^2 u_t}{ \partial z^2} (x)= &\, (k+1)(k+2) \eta (|x|) z^{k} |x|^{2t} \varphi (-\ln |x|^2 ) + \frac{1}{4} \eta '' (|x|) z^{k+2} {\bar{z}}^2|x|^{2t-2} \varphi (-\ln |x|^2 ) \nonumber \\ & + (k+2) \eta ' (|x|) z^{k+1} {\bar{z}} |x|^{2t-1} \varphi (-\ln |x|^2 ) + \frac{4t-1}{2} \eta ' (|x|) z^{k+2} {\bar{z}}^2 |x|^{2t-3} \varphi (-\ln |x|^2 ) \nonumber \\ & + 2t (k+2) \eta (|x|) z^{k+1} {\bar{z}} |x|^{2t-2} \varphi (-\ln |x|^2 ) + t (t-1) \eta (|x|) z^{k+2} {\bar{z}}^2 |x|^{2t-4} \varphi (-\ln |x|^2 ) \nonumber \\ & - \eta ' (|x|) z^{k+2} {\bar{z}}^2 |x|^{2t-3} \varphi ' (-\ln |x|^2 ) - 2(k+2) \eta (|x|) z^{k+1} {\bar{z}} |x|^{2t-2} \varphi ' (-\ln |x|^2 ) \nonumber \\ & - (2t-1) \eta (|x|) z^{k+2}{\bar{z}}^2 |x|^{2t-4} \varphi ' (-\ln |x|^2 ) + \eta (|x|) z^{k+2} {\bar{z}}^2 |x|^{2t-4} \varphi '' (-\ln |x|^2 ), \end{aligned}$$
(25)

After \((k+2)\)-times of differentiation with respect to z, one of the terms in \(\dfrac{\partial ^{k+2} u_t}{ \partial z^{k+2}}\) is

$$\begin{aligned} (k+2)! \eta (|x|) |x|^{2t} \varphi (-\ln |x|^2 ). \end{aligned}$$

As will be shown later, this term is crucial to proving that \(\dfrac{\partial ^{k+2} u}{\partial z^{k+2}}\) is unbounded.

For each l, as we did in Sect. 3, choose \(x^{(l)} \in {\mathbb {R}}^n\) such that

$$\begin{aligned} \frac{x^{(l)} - R_l\zeta _0}{r_l} = \left( e^{-\frac{1}{4t_l}}, 0,\ldots 0 \right) . \end{aligned}$$

As discussed in Sect. 3, in a neighborhood of \(\left( e^{-\frac{1}{4t_l}}, 0,\ldots ,0 \right) ,\) \(\eta (|x|) \equiv 1\) and \(\eta '(|x|) = \eta ''(|x|) = 0\). Therefore, when we evaluate \(\frac{\partial u_t}{ \partial z}\) and \(\frac{\partial ^2 u_t}{ \partial z^2}\) in a neighborhood of \(\left( e^{-\frac{1}{4t_l}}, 0,\ldots , 0 \right) ,\) all the terms in (24) and (25) that have an \(\eta '\) or \(\eta ''\) factor will disappear. For that reason in the discussion that follows, we will only consider the terms that have an \(\eta\) factor.

Then (24) becomes

$$\begin{aligned} (k+2) z^{k+1}|x|^{2t_l} \varphi (-\ln |x|^2 ) + t_l z^{k+2}{\bar{z}} |x|^{2t_l-2} \varphi (-\ln |x|^2 ) - z^{k+2}{\bar{z}}|x|^{2t_l-2} \varphi ' (-\ln |x|^2 ). \end{aligned}$$

Except the first term, the other terms in (24) are bounded by

$$\begin{aligned} |x|^{k+1+2t_l} \left | \varphi (-\ln |x|^2 ) \right | + |x|^{k+1+2t_l} \left | \varphi ' (-\ln |x|^2 ) \right |. \end{aligned}$$

And (25) becomes

$$\begin{aligned} & (k+1)(k+2) z^{k} |x|^{2t_l} \varphi (-\ln |x|^2 ) +2t_l (k+2) z^{k+1} {\bar{z}} |x|^{2t_l-2} \varphi (-\ln |x|^2 ) \\ & \quad + t_l (t_l-1) z^{k+2} {\bar{z}}^2 |x|^{2t_l-4} \varphi (-\ln ( |x|^2 ) - 2(k+2) z^{k+1} {\bar{z}} |x|^{2t_l-2} \varphi ' (-\ln |x|^2 ) \\ & \quad - (2t_l-1) z^{k+2}{\bar{z}}^2 |x|^{2t_l-4} \varphi ' (-\ln |x|^2 ) + z^{k+2} {\bar{z}}^2 |x|^{2t_l -4} \varphi '' (-\ln |x|^2 ). \end{aligned}$$

Except the first term, all the other terms in (25) are bounded by

$$\begin{aligned} Ct_l|x|^{k+2t_l} \left | \varphi (-\ln |x|^2 ) \right | + C|x|^{k+2t_l} \left | \varphi ' (-\ln |x|^2 ) \right | + C|x|^{k+2t_l} \left | \varphi '' (-\ln |x|^2 ) \right |. \end{aligned}$$

By the same process, in a neighborhood of \(\left( e^{-\frac{1}{4t_l}}, 0,\ldots 0 \right) ,\) \(\dfrac{\partial ^{k+2} u_{t_l}}{\partial z^{k+2}}\) is equal to

$$\begin{aligned} (k+2)! |x|^{2t_l} \varphi (-\ln |x|^2 ) \end{aligned}$$

plus some other terms that are bounded by

$$\begin{aligned} Ct_l|x|^{2t_l} \left | \varphi (-\ln |x|^2 ) \right | + C|x|^{2t_l} \left | \varphi ' (-\ln |x|^2 ) \right | + \cdots C|x|^{2t_l} \left | \varphi ^{(k+2)} (-\ln |x|^2 ) \right |. \end{aligned}$$
(26)

By Lemma 2.2 and the fact that

$$\begin{aligned} \lim _{s \rightarrow \infty } \varphi ' (s) = \cdots = \lim _{s \rightarrow \infty } \varphi ^{(k+2)}(s) = 0, \end{aligned}$$

we know (26) is bounded by a constant independent of \(t_l\).

Now we look at

$$\begin{aligned} \frac{\partial ^{k+2} u}{ \partial z^{k+2}} (x^{(l)})= &\, \epsilon _l \frac{\partial ^{k+2} u_{t_l}}{ \partial z^{k+2}} \big ( (e^{-\frac{1}{4t_l}}, 0,\ldots , 0 ) \big ). \end{aligned}$$

If we evaluate (26) at the point \(\left( e^{-\frac{1}{4t_l}}, 0,\ldots , 0 \right)\) and multiply the value with \(\epsilon _l\), the result will go to 0 as \(\epsilon _l \rightarrow 0\).

The first term of \(\dfrac{\partial ^{k+2} u}{ \partial z^{k+2}} (x^{(l)})\) is equal to

$$\begin{aligned} \epsilon _l (k+2)! \left( e^{-\frac{1}{4t_l}} \right) ^{2t_l} \varphi \left( -\ln \left( e^{-\frac{1}{4t_l}} \right) ^2 \right) = \frac{(k+2)!}{\sqrt{e}} \epsilon _l \varphi \left( \frac{1}{2t_l}\right) . \end{aligned}$$

Recall that

$$\begin{aligned} \epsilon _l = \frac{1}{\sqrt{\varphi \left( \frac{1}{2t_l}\right) }}, \end{aligned}$$

hence \(\epsilon _l \varphi \left( \frac{1}{2t_l}\right) \rightarrow \infty\) as \(l \rightarrow \infty\). Consequently, \(\dfrac{\partial ^{k+2} u}{ \partial z^{k+2}} (x^{(l)}) \rightarrow \infty\) as \(l \rightarrow \infty\), which implies that \(\dfrac{\partial ^{k+2} u}{ \partial z^{k+2}}\) is unbounded near the origin. Since \(\dfrac{\partial }{\partial z} = \dfrac{1}{2} \left( \dfrac{\partial }{\partial x_1} - i \dfrac{\partial }{\partial x_2} \right) ,\) as a result we know that some of the partial derivatives of u with respect to the \(x_1\) and \(x_2\) variables are unbounded near the origin.

Finally, we need to show that u is \((k+2)\)-times differentiable at the origin. Recall that because \(u=0\) on all the coordinate hyperplanes, all partial derivatives of any order of u at the origin is 0. Then

$$\begin{aligned} \lim _{|x| \rightarrow 0}\frac{ u (x) - \sum _{|\gamma | \le k+2} \frac{D ^{\gamma } u (0)}{\gamma !} x^{\gamma } }{|x|^{k+2}} = \lim _{|x| \rightarrow 0}\frac{ u (x) }{|x|^{k+2}}. \end{aligned}$$

Note that \(|x| \ge R_l - \frac{2}{3}r_l\), and similar to (5) in Sect. 3 we can prove \(u_{t_l}\) is uniformly bounded by a constant \(C_{\eta , \varphi }\) depending only on \(\eta\) and \(\varphi\), therefore

$$\begin{aligned} \frac{ | u (x) | }{|x|^{k+2}} \le \frac{\epsilon _l r_l^{k+2} \left| u_{t_l} \left( \frac{x-R_l \zeta _0}{r_l}\right) \right| }{\left( R_l - \frac{2}{3}r_l \right) ^{k+2}} \le \frac{ \epsilon _l C_{\eta , \varphi } }{\left( \frac{R_l}{r_l} - \frac{2}{3} \right) ^{k+2} } < \frac{ \epsilon _l C_{\eta , \varphi } }{\left( 1 - \frac{2}{3} \right) ^{k+2} }. \end{aligned}$$

It follows that \(\displaystyle \lim _{|x| \rightarrow 0}\frac{ u (x) }{|x|^{k+2}} =0\), which implies u is \((k+2)\)-times differentiable at the origin.

Thus we can conclude that as a complex-valued function, u is \((k+2)\)-times differentiable at 0, \(\Delta u\) is \(C^k\) throughout \({\mathbb {R}}^n\), but \(D^{k+2}u\) is unbounded near 0. The real and imaginary parts of u are two real-valued functions that are \((k+2)\)-times differentiable at 0, their Laplacian are \(C^k\) throughout \({\mathbb {R}}^n\), and at least one of them has some unbounded \((k+2)\)-th partial derivatives. Therefore, we have found a function that satisfies all the conditions in Theorem 1.3.