# Sparse Wavelet Representation of Differential Operators with Piecewise Polynomial Coefﬁcients

^{*}

*Keywords:*Riesz basis; wavelet; spline; interval; differential equation; sparse matrix; Black–Scholes equation

Next Article in Journal

Next Article in Special Issue

Next Article in Special Issue

Previous Article in Journal / Special Issue

Department of Mathematics and Didactics of Mathematics, Technical University in Liberec, Studentská 2, 461 17 Liberec, Czech Republic

Author to whom correspondence should be addressed.

Received: 12 January 2017
/
Accepted: 20 February 2017
/
Published: 22 February 2017

(This article belongs to the Special Issue Wavelet and Frame Constructions, with Applications)

We propose a construction of a Hermite cubic spline-wavelet basis on the interval and hypercube. The basis is adapted to homogeneous Dirichlet boundary conditions. The wavelets are orthogonal to piecewise polynomials of degree at most seven on a uniform grid. Therefore, the wavelets have eight vanishing moments, and the matrices arising from discretization of differential equations with coefﬁcients that are piecewise polynomials of degree at most four on uniform grids are sparse. Numerical examples demonstrate the efﬁciency of an adaptive wavelet method with the constructed wavelet basis for solving the one-dimensional elliptic equation and the two-dimensional Black–Scholes equation with a quadratic volatility.

Wavelets are a powerful and useful tool for analyzing signals, the detection of singularities, data compression and the numerical solution of partial differential and integral equations. One of the most important properties of wavelets is that they have vanishing moments. Vanishing wavelet moments ensure the so-called compression property of wavelets. This means that a function f that is smooth, except at some isolated singularities, typically has a sparse representation in a wavelet basis, i.e., only a small number of wavelet coefficients carry most of the information on f. Similarly as functions, also certain differential and integral operators have sparse or quasi-sparse representation in a wavelet basis. This compression property of wavelets leads to the design of many multiscale wavelet-based methods for the solution of differential equations. The first wavelet methods used orthogonal wavelets, e.g., Daubechies wavelets or coiflets [1,2]. Their disadvantage is that the most orthogonal wavelets are usually not known in a closed form and that their smoothness is typically dependent on the length of the support. The orthogonal wavelets that are known in a closed form are Haar wavelets. They were successfully used for solving differential equations, e.g., in [3,4,5]. Another useful tool is the short Haar wavelet transform that was derived and used for solving differential equations in [6,7,8]. Since spline wavelets are known in a closed form and they are smoother and have more vanishing moments than orthogonal wavelets of the same length of support, many wavelet methods using spline wavelets were proposed [9,10,11]. For a review of wavelet methods for solving differential equations, see also [12,13].

It is known that spectral methods can be used to study singularity formation for PDE solution [14,15,16]. Due to their compression property, wavelets can also be used to study singularity formation for PDE solutions. The wavelet approach simply insists on analyzing wavelet coefficients that are large in regions where the singularity occurs and very small in regions where the function is smooth and derivatives are relatively small. Many adaptive wavelet methods are based on this property [17,18].

We focus on an adaptive wavelet method that was originally designed in [17,18] and later modified in many papers [19,20,21], because it has the following advantages:

- Optimality: For a large class of differential equations, both linear and nonlinear, it was shown that this method converges and is asymptotically optimal in the sense that the storage and number of floating point operations, needed to resolve the problem with desired accuracy, depend linearly on the number of parameters representing the solution, and the number of these parameters is small. Thus, the computational complexity for all steps of the algorithm is controlled.
- High order-approximation: The method enables high order approximation. The order of approximation depends on the order of the spline wavelet basis.
- Sparsity: The solutions and the right-hand side of the equation have sparse representation in a wavelet basis, i.e., they are represented by a small number of numerically significant parameters. In the beginning, iterations start for a small vector of parameters, and the size of the vector increases successively until the required tolerance is reached. The differential operator is represented by a sparse or quasi-sparse matrix, and a procedure for computing the product of this matrix with a finite-length vector with linear complexity is known.
- Preconditioning: For a large class of problems, the matrices arising from a discretization using wavelet bases can be simply preconditioned by a diagonal preconditioner, and the condition numbers of these preconditioned matrices are uniformly bounded. It is important that the preconditioner is simple, such as the diagonal preconditioner, because in some implementations, only nonzero elements in columns of matrices corresponding to significant coefficients of solutions are stored and used.

It should be noted that also other spline wavelet methods utilize some of these features, but to our knowledge, there are no other wavelet methods than adaptive wavelet methods based on the ideas from [17,18] that have all of these properties. For more details about adaptive wavelet methods, see Section 6 and [17,18,19,20,21,22,23].

In this paper, we are concerned with the wavelet discretization of the partial differential equation:

$$-{\displaystyle \sum _{k,l=1}^{d}}\frac{\partial}{\partial {x}_{k}}\left({p}_{k,l}\frac{\partial u}{\partial {x}_{l}}\right)+{\displaystyle \sum _{k=1}^{d}}{q}_{k}\frac{\partial u}{\partial {x}_{k}}+{p}_{0}u=f\phantom{\rule{1.em}{0ex}}\mathrm{on}\phantom{\rule{0.166667em}{0ex}}\phantom{\rule{0.166667em}{0ex}}\phantom{\rule{0.166667em}{0ex}}\phantom{\rule{0.166667em}{0ex}}\Omega ={\left(0,1\right)}^{d},\phantom{\rule{1.em}{0ex}}u=0\phantom{\rule{1.em}{0ex}}\mathrm{on}\phantom{\rule{0.166667em}{0ex}}\phantom{\rule{0.166667em}{0ex}}\partial \Omega .$$

We assume that ${q}_{k}\left(x\right)\ge Q>0$, that the functions ${p}_{k,l}$, ${q}_{k}$, ${p}_{0}$ and f are sufficiently smooth and bounded on Ω and that ${p}_{k,l}$ satisfy the uniform ellipticity condition:
where $C>0$ is independent of x. The discretization matrix for wavelet bases is typically not sparse, but only quasi-sparse, i.e., the matrix of the size $N\times N$ has $\mathcal{O}\left(N\times \mathrm{log}N\right)$ nonzero entries. For multiplication of this matrix with a vector, a routine called APPLYhas to be used [18,19,24]. However, it was observed in several papers, e.g., in [25], that “quantitatively the application of the APPLY routine is very demanding, where this routine is also not easy to implement”. Therefore, in [25] a wavelet basis was constructed with respect to which the discretization matrix is sparse, i.e., it has $\mathcal{O}\left(N\right)$ nonzero entries, for Equation (1) if the coefficients are constant. The construction from [25] was modified in [26,27] with the aim to improve the condition number of the discretization matrices. Some numerical experiments with these bases can be found in [28,29]. In this paper, our aim is to construct a wavelet basis such that the discretization matrix corresponding to (1) is sparse if the coefficients ${p}_{k,l}$, ${q}_{k}$ and ${p}_{0}$ are piecewise polynomial functions of degree at most n on the uniform grid, where $n=6$ for ${p}_{k,l}$, $n=5$ for ${q}_{k}$ and $n=4$ for ${p}_{0}$. Our construction is based on Hermite cubic splines. Let us mention that cubic Hermite wavelets were constructed also in [25,26,27,30,31,32,33,34,35].

$$\sum _{k=1}^{d}}{\displaystyle \sum _{l=1}^{d}}{p}_{k,l}\left(x\right){x}_{k}{x}_{l}\ge C{\displaystyle \sum _{k=1}^{d}}{x}_{k}^{2},\phantom{\rule{1.em}{0ex}}x=\left({x}_{1},\dots ,{x}_{d}\right),$$

We have recently implemented the adaptive wavelet method for solving the Black–Scholes equation:
where $\left({S}_{1},\dots ,{S}_{d},t\right)\in \left(0,{S}_{1}^{max}\right)\times \dots \times \left(0,{S}_{d}^{max}\right)\times \left(0,T\right)$. We used the θ-scheme for time discretization and tested the performance of the adaptive method with respect to the choice of a wavelet basis for $d=1,2,3$. Some results can be found in [28]. In the case of cubic spline wavelets, the smallest number of iterations was required for the wavelet basis from [36]. The discretization matrix for most spline wavelet bases is not sparse, but only quasi-sparse, and thus, the above-mentioned routine APPLY has to be used. For wavelet bases from [25,26,27], the discretization matrix corresponding to the Black–Scholes operator is sparse if volatilities ${\sigma}_{i}$ are constant. However, in more realistic models, volatilities are represented by non-constant functions, e.g., piecewise polynomial functions [37]. For the basis that will be constructed in this paper, the discretization matrix is sparse also for the Black–Scholes equation with volatilities ${\sigma}_{i}$ that are piecewise quadratic.

$$\frac{\partial V}{\partial t}-{\displaystyle \sum _{k,l=1}^{d}}\frac{{\rho}_{k,l}}{2}{\sigma}_{k}{\sigma}_{l}{S}_{k}{S}_{l}\frac{{\partial}^{2}V}{\partial {S}_{k}\partial {S}_{l}}-r{\displaystyle \sum _{k=1}^{d}}{S}_{k}\frac{\partial V}{\partial {S}_{k}}+rV=0,$$

In this section, we briefly review the concept of a wavelet basis in Sobolev spaces and introduce notations; for more details, see, e.g., [23]. Let H be a Hilbert space with the inner product ${\u2329\xb7,\xb7\u232a}_{H}$ and the norm ${\u2225\xb7\u2225}_{H}$, and let $\u2329\xb7,\xb7\u232a$ denote the ${L}^{2}$-inner product. Let $\mathcal{J}$ be an index set, and let each index $\lambda \in \mathcal{J}$ take the form $\lambda =\left(j,k\right)$, where $\left|\lambda \right|:=j\in \mathbb{Z}$ is a level. For $\mathbf{v}={\left\{{v}_{\lambda}\right\}}_{\lambda \in \mathcal{J}}$, ${v}_{\lambda}\in \mathbb{R}$, we define:

$${\u2225\mathbf{v}\u2225}_{2}:={\left(\sum _{\lambda \in \mathcal{J}}{\left|{v}_{\lambda}\right|}^{2}\right)}^{1/2},\phantom{\rule{1.em}{0ex}}{l}^{2}\left(\mathcal{J}\right):=\left\{\mathbf{v}:{\u2225\mathbf{v}\u2225}_{2}<\infty \right\}.$$

Our aim is to construct a wavelet basis in the sense of the following definition.

A family $\Psi :=\left\{{\psi}_{\lambda},\lambda \in \mathcal{J}\right\}$ is called a wavelet basis of H, if:

- (i)
- Ψ is a Riesz basis for H, i.e., the closure of the span of Ψ is H, and there exist constants $c,C\in \left(0,\infty \right)$, such that:$$c{\u2225\mathbf{b}\u2225}_{2}\le {\u2225\sum _{\lambda \in \mathcal{J}}{b}_{\lambda}{\psi}_{\lambda}\u2225}_{H}\le C{\u2225\mathbf{b}\u2225}_{2},\phantom{\rule{1.em}{0ex}}\phantom{\rule{4.pt}{0ex}}\mathit{for}\phantom{\rule{4.pt}{0ex}}\mathit{all}\phantom{\rule{1.em}{0ex}}\mathbf{b}:={\left\{{b}_{\lambda}\right\}}_{\lambda \in \mathcal{J}}\in {l}^{2}\left(\mathcal{J}\right).$$
- (ii)
- The functions are local in the sense that $\mathrm{diam}\left(\mathrm{supp}\phantom{\rule{0.166667em}{0ex}}{\psi}_{\lambda}\right)\le \tilde{C}\phantom{\rule{0.166667em}{0ex}}{2}^{-\left|\lambda \right|}$ for all $\lambda \in \mathcal{J}$, and at a given level j, the supports of only finitely many wavelets overlap at any point x.

For the two countable sets of functions $\Gamma ,\tilde{\Gamma}\subset H$, the symbol ${\u2329\Gamma ,\tilde{\Gamma}\u232a}_{H}$ denotes the matrix:

$${\u2329\Gamma ,\tilde{\Gamma}\u232a}_{H}\phantom{\rule{4pt}{0ex}}:={\left\{{\u2329\gamma ,\tilde{\gamma}\u232a}_{H}\right\}}_{\gamma \in \Gamma ,\tilde{\gamma}\in \tilde{\Gamma}}.$$

The constants ${c}_{\Psi}\phantom{\rule{-0.66666pt}{0ex}}:=\mathrm{sup}\left\{c\phantom{\rule{-0.66666pt}{0ex}}:\phantom{\rule{-0.66666pt}{0ex}}c\phantom{\rule{4pt}{0ex}}\mathrm{satisfies}\phantom{\rule{4pt}{0ex}}(5)\right\}$ and ${C}_{\Psi}\phantom{\rule{-0.66666pt}{0ex}}:=\mathrm{inf}\left\{C\phantom{\rule{-0.66666pt}{0ex}}:\phantom{\rule{-0.66666pt}{0ex}}C\phantom{\rule{4pt}{0ex}}\mathrm{satisfies}\phantom{\rule{4pt}{0ex}}(5)\right\}$ are called Riesz bounds, and the number $cond\phantom{\rule{4pt}{0ex}}\Psi ={C}_{\Psi}/{c}_{\Psi}$ is called the condition number of Ψ. It is known that:
where ${\lambda}_{min}\left({\u2329\Psi ,\Psi \u232a}_{H}\right)$ and ${\lambda}_{max}\left({\u2329\Psi ,\Psi \u232a}_{H}\right)$ are the smallest and the largest eigenvalues of the matrix ${\u2329\Psi ,\Psi \u232a}_{H}$, respectively.

$${c}_{\Psi}=\sqrt{{\lambda}_{min}\left({\u2329\Psi ,\Psi \u232a}_{H}\right)},\phantom{\rule{1.em}{0ex}}{C}_{\Psi}=\sqrt{{\lambda}_{max}\left({\u2329\Psi ,\Psi \u232a}_{H}\right)},$$

Let M be a Lebesgue measurable subset of ${\mathbb{R}}^{d}$. The space ${L}^{2}\left(M\right)$ is the space of all Lebesgue measurable functions on M, such that the norm:
is finite. The space ${L}^{2}\left(M\right)$ is a Hilbert space with the inner product:

$$\u2225f\u2225={\left(\phantom{\rule{4pt}{0ex}}\underset{M}{\int}{\left|f\left(x\right)\right|}^{2}dx\right)}^{1/2}$$

$$\u2329f,g\u232a={\int}_{M}f\left(x\right)\overline{g\left(x\right)}dx,\phantom{\rule{1.em}{0ex}}f,g\in {L}^{2}\left(M\right).$$

The Sobolev space ${H}^{s}\left({\mathbb{R}}^{d}\right)$ for $s\ge 0$ is defined as the space of all functions $f\phantom{\rule{3.33333pt}{0ex}}\in \phantom{\rule{3.33333pt}{0ex}}{L}^{2}\left({\mathbb{R}}^{d}\right)$, such that the seminorm:
is finite. The symbol $\widehat{f}$ denotes the Fourier transform of the function f defined by:

$${\left|f\right|}_{{H}^{s}\left({\mathbb{R}}^{d}\right)}={\left(\frac{1}{{\left(2\pi \right)}^{d}}{\int}_{{\mathbb{R}}^{d}}{\left|\widehat{f}\left(\xi \right)\right|}^{2}{\left|\xi \right|}^{2s}d\xi \right)}^{1/2}$$

$$\widehat{f}\left(\xi \right)={\int}_{{\mathbb{R}}^{s}}f\left(x\right){e}^{-i\xi \xb7x}dx.$$

The space ${H}^{s}\left({\mathbb{R}}^{d}\right)$ is a Hilbert space with the inner product:
and the norm:

$${\u2329f,g\u232a}_{{H}^{s}\left({\mathbb{R}}^{d}\right)}=\frac{1}{{\left(2\pi \right)}^{d}}{\int}_{{\mathbb{R}}^{d}}\widehat{f}\left(\xi \right)\overline{\widehat{g}\left(\xi \right)}\left(1+{\left|\xi \right|}^{2s}\right)d\xi ,\phantom{\rule{1.em}{0ex}}f,g\in {H}^{s}\left({\mathbb{R}}^{d}\right),$$

$${\u2225f\u2225}_{{H}^{s}\left({\mathbb{R}}^{d}\right)}=\sqrt{{\u2329f,f\u232a}_{{H}^{s}\left({\mathbb{R}}^{d}\right)}}.$$

For an open set $M\subset {\mathbb{R}}^{d}$, ${H}^{s}\left(M\right)$ is the set of restrictions of functions from ${H}^{s}\left({\mathbb{R}}^{d}\right)$ to M equipped with the norm:

$${\u2225f\u2225}_{{H}^{s}\left(M\right)}=\mathrm{inf}\left\{{\u2225g\u2225}_{{H}^{s}\left({\mathbb{R}}^{d}\right)}:g\in {H}^{s}\left(M\right){\phantom{\rule{0.166667em}{0ex}}\mathrm{and}\phantom{\rule{0.166667em}{0ex}}\phantom{\rule{0.166667em}{0ex}}g|}_{M}=f\right\}.$$

Let ${C}_{0}^{\infty}\left(M\right)$ be the space of all continuous functions with the support in M, such that they have continuous derivatives of order r for any $r\in \mathbb{R}$. The space ${H}_{0}^{s}\left(M\right)$ is defined as the closure of ${C}_{0}^{\infty}\left(M\right)$ in ${H}^{s}\left({\mathbb{R}}^{d}\right)$. It is known that:
where:
is the seminorm in ${H}^{1}\left(M\right)$ and $\nabla f$ denotes the gradient of f.

$${\u2225f\u2225}_{{H}^{1}\left(M\right)}={\left|f\right|}_{{H}^{1}\left(M\right)}+\u2225f\u2225,$$

$${\left|f\right|}_{{H}^{1}\left(M\right)}=\sqrt{\u2329\nabla f,\nabla f\u232a}$$

We start with the same scaling functions as in [25,26,27,30,31,32,33,34]. Let:

$${\varphi}_{1}(x)=\left\{\begin{array}{cc}{\left(x+1\right)}^{2}\left(1-2x\right),& x\in [-1,0],\hfill \\ {\left(1-x\right)}^{2}\left(1+2x\right),& x\in [0,1],\hfill \\ 0,& \mathrm{otherwise},\hfill \end{array}\right.{\varphi}_{2}(x)=\left\{\begin{array}{cc}{\left(x+1\right)}^{2}x,& x\in [-1,0],\hfill \\ {\left(1-x\right)}^{2}x,& x\in [0,1],\hfill \\ 0,& \mathrm{otherwise}.\hfill \end{array}\right.$$

For $j\ge 3$ and $x\in \left[0,1\right]$, we define:
and:
The scaling functions ${\varphi}_{j,k}$ on the level $j=3$ are displayed in Figure 1.

$$\begin{array}{c}{\varphi}_{j,2k+l-1}\left(x\right)={2}^{j/2}{\varphi}_{l}\left({2}^{j}x-k\right)\phantom{\rule{4pt}{0ex}}\mathrm{for}\phantom{\rule{4pt}{0ex}}k=1,\dots ,{2}^{j}-1,\phantom{\rule{1.em}{0ex}}l=1,2,\\ \phantom{\rule{23.0pt}{0ex}}{\varphi}_{j,1}\left(x\right)={2}^{j/2}{\varphi}_{2}\left({2}^{j}x\right),\phantom{\rule{1.em}{0ex}}{\varphi}_{j,{2}^{j+1}}\left(x\right)={2}^{j/2}{\varphi}_{2}\left({2}^{j}\left(x-1\right)\right),\end{array}$$

$${\Phi}_{j}=\left\{{\varphi}_{j,k},k=1,\dots ,{2}^{j+1}\right\},\phantom{\rule{1.em}{0ex}}{V}_{j}=\mathrm{span}\phantom{\rule{4pt}{0ex}}{\Phi}_{j}.$$

Then, the spaces ${V}_{j}$ form a multiresolution analysis. We choose dual space ${\tilde{V}}_{j}$ as the set of all functions $v\in {L}^{2}\left(0,1\right)$, such that v restricted to the interval $\left(\frac{k-1}{{2}^{j-2}},\frac{k}{{2}^{j-2}}\right)$ is a polynomial of degree less than eight for any $k=1,\dots ,{2}^{j-2}$, i.e.,
where ${\mathrm{\Pi}}_{8}\left(a,b\right)$ denotes the set of all polynomials on $\left(a,b\right)$ of degree less than eight. Let:
where ${\tilde{V}}_{j}^{\perp}$ is the orthogonal complement of ${\tilde{V}}_{j}$ with respect to the ${L}^{2}$-inner product. If a function g is a piecewise polynomial of degree n, we write $\mathrm{deg}\phantom{\rule{0.166667em}{0ex}}g=n$.

$${\tilde{V}}_{j}=\left\{v\in {L}^{2}\left(0,1\right){:v|}_{\left(\frac{k-1}{{2}^{j-2}},\frac{k}{{2}^{j-2}}\right)}\in {\mathrm{\Pi}}_{8}\left(\frac{k-1}{{2}^{j-2}},\frac{k}{{2}^{j-2}}\right)\phantom{\rule{0.166667em}{0ex}}\mathrm{for}\phantom{\rule{0.166667em}{0ex}}k=0,\dots ,{2}^{j-2}\right\},$$

$${W}_{j}={\tilde{V}}_{j}^{\perp}\cap {V}_{j+1},$$

Let the spaces ${W}_{j}$, $j\ge 3$, be defined as above. Then, all functions $g\in {W}_{i}$ and $h\in {W}_{j}$, $i,j\ge 3$, $\left|i-j\right|>2$, satisfy:
where $a,b,c$ are piecewise polynomial functions, such that $a,b,c\in {\tilde{V}}_{p}$, $p\le \mathrm{max}\left(i,j\right)$, $\mathrm{deg}a\le 4$, $\mathrm{deg}b\le 5$ and $\mathrm{deg}c\le 6$.

$$\u2329a\phantom{\rule{4pt}{0ex}}g,h\u232a=0,\phantom{\rule{1.em}{0ex}}\u2329b\phantom{\rule{4pt}{0ex}}{g}^{\prime},h\u232a=0,\phantom{\rule{1.em}{0ex}}\u2329c\phantom{\rule{4pt}{0ex}}{g}^{\prime},{h}^{\prime}\u232a=0,$$

Let us assume that $j>i+2$. We have $g\in {W}_{i}\subset {V}_{i+1}\subset {V}_{j-2}\subset {\tilde{V}}_{j}$, $\mathrm{deg}\phantom{\rule{0.166667em}{0ex}}g\le 3$, $a\in {\tilde{V}}_{j}$, $\mathrm{deg}\phantom{\rule{0.166667em}{0ex}}a\le 4$, and thus, $ag\in {\tilde{V}}_{j}$. Since $h\in {W}_{j}$ and ${W}_{j}$ is orthogonal to ${\tilde{V}}_{j}$, we obtain $\u2329a\phantom{\rule{4pt}{0ex}}g,h\u232a=0$. Similarly, the relation $\u2329b\phantom{\rule{4pt}{0ex}}{g}^{\prime},h\u232a=0$ is the consequence of the fact that $b{g}^{\prime}\in {\tilde{V}}_{j}$ and $h\in {W}_{j}$. Using integration by parts, we obtain:

$$\u2329c\phantom{\rule{4pt}{0ex}}{g}^{\prime},{h}^{\prime}\u232a=-\u2329{c}^{\prime}\phantom{\rule{4pt}{0ex}}{g}^{\prime}+c\phantom{\rule{4pt}{0ex}}{g}^{\u2033},h\u232a.$$

Since ${c}^{\prime}\phantom{\rule{4pt}{0ex}}{g}^{\prime}+c\phantom{\rule{4pt}{0ex}}{g}^{\u2033}\in {\tilde{V}}_{j}$ and $h\in {W}_{j}$, we have $\u2329c\phantom{\rule{4pt}{0ex}}{g}^{\prime},{h}^{\prime}\u232a=0$. The situation for $j<i+2$ is similar. ☐

Therefore, the discretization matrix for the Equation (1) is sparse. Let ${\Psi}_{j}$ be a basis of ${W}_{j}$. The proof that:
is a Riesz basis of the space ${L}^{2}\left(0,1\right)$, and that Ψ is a Riesz basis of the space ${H}_{0}^{1}\left(0,1\right)$ when normalized with respect to the ${H}^{1}$-norm is based on the following theorem [25,38].

$$\Psi =\left\{{\psi}_{\lambda},\lambda \in \mathcal{J}\right\}={\Phi}_{3}\cup {\displaystyle \bigcup _{j=3}^{\infty}}{\Psi}_{j}.$$

Let $J\in \mathbb{N}$, and let ${V}_{j}$ and ${\tilde{V}}_{j}$, $j\ge J$, be subspaces of ${L}^{2}\left(0,1\right)$, such that:

$${V}_{j}\subset {V}_{j+1},\phantom{\rule{1.em}{0ex}}{\tilde{V}}_{j}\subset {\tilde{V}}_{j+1},\phantom{\rule{1.em}{0ex}}\mathrm{dim}\phantom{\rule{4pt}{0ex}}{V}_{j}=\mathrm{dim}\phantom{\rule{4pt}{0ex}}{\tilde{V}}_{j}<\infty ,\phantom{\rule{1.em}{0ex}}j\ge J.$$

Let ${\Phi}_{j}$ be bases of ${V}_{j}$, ${\tilde{\Phi}}_{j}$ be bases of ${\tilde{V}}_{j}$ and ${\Psi}_{j}$ be bases of ${\tilde{V}}_{j}^{\perp}\cap {V}_{j+1}$, such that Riesz bounds with respect to the ${L}^{2}$-norm of ${\Phi}_{j}$; ${\tilde{\Phi}}_{j}$, and ${\Psi}_{j}$ are uniformly bounded; and let Ψ be given by (24). Furthermore, let the matrix:
be invertible, and the spectral norm of ${\mathbf{G}}_{j}^{-1}$ is bounded independently of j. In addition, for some positive constants C, γ and d, such that $\gamma <d$, let:
and for $0\le s<\gamma $, let:
and let similar estimates (27) and (28) hold for $\tilde{\gamma}$ and $\tilde{d}$ on the dual side. Then, there exist constants k and K, $0<k\le K<\infty $, such that:
holds for $s\in \left(-\tilde{\gamma},\gamma \right)$.

$${\mathbf{G}}_{j}:=\u2329{\Phi}_{j},{\tilde{\Phi}}_{j}\u232a$$

$$\underset{{v}_{j}\in {V}_{j}}{\mathrm{inf}}\u2225v-{v}_{j}\u2225\le C{2}^{-jd}{\u2225v\u2225}_{{H}^{d}\left(0,1\right)},\phantom{\rule{4pt}{0ex}}v\in {H}_{0}^{d}\left(0,1\right),$$

$${\u2225{v}_{j}\u2225}_{{H}^{d}\left(0,1\right)}\le C{2}^{js}\u2225{v}_{j}\u2225,\phantom{\rule{4pt}{0ex}}{v}_{j}\in {V}_{j};$$

$$k{\u2225\mathbf{b}\u2225}_{2}\le {\u2225\sum _{\lambda \in \mathcal{J}}{b}_{\lambda}{2}^{-\left|\lambda \right|s}{\psi}_{\lambda}\u2225}_{{H}^{s}\left(0,1\right)}\le K{\u2225\mathbf{b}\u2225}_{2},\phantom{\rule{1.em}{0ex}}\mathbf{b}:={\left\{{b}_{\lambda}\right\}}_{\lambda \in \mathcal{J}}\in {l}^{2}\left(\mathcal{J}\right)$$

We focus on the spaces ${V}_{j}$ and ${\tilde{V}}_{j}$ defined by (19) and (20), respectively, and we show that they satisfy the assumptions of Theorem 2.

There exist uniform Riesz bases ${\widehat{\Phi}}_{j}$ of ${V}_{j}$ and ${\tilde{\Phi}}_{j}$ of ${\tilde{V}}_{j}$, such that the matrix:
is invertible and the spectral norm of ${\mathbf{G}}_{j}^{-1}$ is bounded independently of j.

$${\mathbf{G}}_{j}=\u2329{\widehat{\Phi}}_{j},{\tilde{\Phi}}_{j}\u232a$$

Let ${\Phi}_{j}$, ${V}_{j}$ and ${\tilde{V}}_{j}$ be defined as above. For $i=0,\dots ,7$, we define:
and:

$${p}_{i}\left(x\right)\left\{\begin{array}{cc}{\left(x-1/2\right)}^{i},& x\in \left[0,1\right],\hfill \\ 0,& \mathrm{otherwise},\hfill \end{array}\right.$$

$${\theta}_{j,8k+i+1}={2}^{\left(j-2\right)/2}{p}_{i}\left({2}^{j-2}x-k\right),\phantom{\rule{1.em}{0ex}}k\in \mathbb{Z},\phantom{\rule{1.em}{0ex}}i=0,\dots ,7.$$

Then, the set ${\Theta}_{j}=\left\{{\theta}_{j,k},k=1,\dots ,{2}^{j+1}\right\}$ is a basis of ${\tilde{V}}_{j}$, and the matrix ${\mathbf{A}}_{j}=\u2329{\Phi}_{j},{\Theta}_{j}\u232a$, $j\ge 3$, has the structure:
where $\mathbf{A}$ is the matrix of the size $10\times 8$. Our aim is to apply several transforms on ${\Phi}_{j}$ and ${\Theta}_{j}$, such that new bases ${\widehat{\Phi}}_{j}$ of ${V}_{j}$ and ${\tilde{\Phi}}_{j}$ of ${\tilde{V}}_{j}$ are local, and the matrix ${\mathbf{G}}_{j}$ defined by (30) and its transpose ${\mathbf{G}}_{j}^{T}$ are both strictly diagonally dominant. First, we replace functions ${\theta}_{j,k}$ by functions ${g}_{j,k}$ in such a way that the matrix of ${L}^{2}$-inner products of ${\varphi}_{j,k}$ and ${g}_{j,l}$ is tridiagonal. Therefore, we define:
where the coefficients ${c}_{j,l}^{i}$ are chosen, such that:

$${g}_{j,8k+i+1}={\displaystyle \sum _{l=1}^{8}}{c}_{j,l}^{i}{\theta}_{j,8k+l},\phantom{\rule{1.em}{0ex}}i=0,\dots ,7,\phantom{\rule{1.em}{0ex}}k=0,\dots ,{2}^{j-2}-1,$$

$$\u2329{\varphi}_{j,p},{g}_{j,q}\u232a=0,\phantom{\rule{1.em}{0ex}}\left|p-q\right|>1,\phantom{\rule{1.em}{0ex}}\u2329{\varphi}_{j,p},{g}_{j,p}\u232a=1,\phantom{\rule{1.em}{0ex}}p=1,\dots ,{2}^{j+1}-1.$$

For $m=8k+i+1$, $i=0,\dots ,7$, $k=1,\dots ,{2}^{j-2}-2$, we substitute (34) into (35), and using $\mathrm{supp}\phantom{\rule{4pt}{0ex}}{\varphi}_{j,8k+l+1}\cap \mathrm{supp}\phantom{\rule{4pt}{0ex}}{g}_{j,m}=0$ for $l\ne 0,\dots ,9$, we obtain systems of eight linear algebraic equations with eight unknown coefficients:
the system matrices ${\mathbf{A}}^{i}$ that are submatrices of $\mathbf{A}$ containing all rows of $\mathbf{A}$ except the i-th and $\left(i+2\right)$-th rows, and ${\mathbf{e}}^{i}$ are unit vectors, such that ${\left({\mathbf{e}}^{i}\right)}_{l}={\delta}_{i,l}$. The symbol ${\delta}_{i,l}$ denotes the Kronecker delta. We computed all of the system matrices precisely using symbolic computations and verified that they are regular. Thus, the coefficients ${c}_{j,l}^{i}$ exist and are unique.

$${\mathbf{A}}^{i}{\mathbf{c}}^{i}={\mathbf{e}}^{i},\phantom{\rule{1.em}{0ex}}\mathrm{for}\phantom{\rule{4pt}{0ex}}k=2,\dots ,{2}^{j-2}-2,\phantom{\rule{1.em}{0ex}}{\mathbf{c}}^{i}={\left({c}_{j,l}^{i}\right)}_{l=1}^{8},$$

The matrix ${\mathbf{B}}_{j}$ defined by ${\left({\mathbf{B}}_{j}\right)}_{k,l}=\u2329{\varphi}_{j,k},{g}_{j,m}\u232a$, $k,l=1,\dots ,{2}^{j+1},$ is tridiagonal and has the structure:
where:
and:
The symbol ${\mathbf{B}}_{M}$ denotes the submatrix of the matrix $\mathbf{B}$ containing rows from $\mathbf{B}$ with indices from $M$. In (38), the numbers are rounded to three decimal digits.

$$\mathbf{B}=\left(\phantom{\rule{2.84526pt}{0ex}}\begin{array}{cccccccc}\hfill 13.199& \hfill 0& \hfill 0& \hfill 0& \hfill 0& \hfill 0& \hfill 0& \hfill 0\\ \hfill 1.000& \hfill 0.098& \hfill 0& \hfill 0& \hfill 0& \hfill 0& \hfill 0& \hfill 0\\ \hfill -2.185& \hfill 1.000& \hfill -24.781& \hfill 0& \hfill 0& \hfill 0& \hfill 0& \hfill 0\\ \hfill 0& \hfill -0.138& \hfill 1.000& \hfill 0.104& \hfill 0& \hfill 0& \hfill 0& \hfill 0\\ \hfill 0& \hfill 0& \hfill 13.887& \hfill 1.000& \hfill -6.026& \hfill 0& \hfill 0& \hfill 0\\ \hfill 0& \hfill 0& \hfill 0& \hfill -0.074& \hfill 1.000& \hfill 0.041& \hfill 0& \hfill 0\\ \hfill 0& \hfill 0& \hfill 0& \hfill 0& \hfill 34.953& \hfill 1.000& \hfill 8.824& \hfill 0\\ \hfill 0& \hfill 0& \hfill 0& \hfill 0& \hfill 0& \hfill -0.018& \hfill 1.000& \hfill 0.023\\ \hfill 0& \hfill 0& \hfill 0& \hfill 0& \hfill 0& \hfill 0& \hfill -9.423& \hfill 1.000\\ \hfill 0& \hfill 0& \hfill 0& \hfill 0& \hfill 0& \hfill 0& \hfill 0& \hfill -0.092\end{array}\phantom{\rule{2.84526pt}{0ex}}\right),$$

$${\mathbf{B}}^{L}={\mathbf{B}}_{\left\{2,\dots ,10\right\}},\phantom{\rule{1.em}{0ex}}{\mathbf{B}}^{R}={\mathbf{B}}_{\left\{1,\dots ,8,10\right\}}.$$

We apply several transforms on ${\varphi}_{j,k}$ and denote the new functions by ${\varphi}_{j,k}^{i}$. In the following, let:

$${B}_{j,k,l}={\left({\mathbf{B}}_{j}\right)}_{k,l},\phantom{\rule{1.em}{0ex}}{B}_{j,k,l}^{i}=\u2329{\varphi}_{j,l}^{i},{g}_{j,k}\u232a,\phantom{\rule{1.em}{0ex}}i=1,\dots ,4.$$

We define:
and:

$$\begin{array}{c}{\varphi}_{j,k}^{1}={\varphi}_{j,k}-\frac{{B}_{j,k,k+1}}{{B}_{j,k+1,k+1}}{\varphi}_{j,k+1}\phantom{\rule{4pt}{0ex}}\mathrm{for}\phantom{\rule{4pt}{0ex}}k\phantom{\rule{4pt}{0ex}}\mathrm{even},\phantom{\rule{1.em}{0ex}}{\varphi}_{j,k}^{1}={\varphi}_{j,k}\phantom{\rule{4pt}{0ex}}\mathrm{for}\phantom{\rule{4pt}{0ex}}k\phantom{\rule{4pt}{0ex}}\mathrm{odd},\phantom{\rule{3.0pt}{0ex}}\\ {\varphi}_{j,k}^{2}={\varphi}_{j,k}^{1}-\frac{{B}_{j,k,k-1}^{1}}{{B}_{j,k-1,k-1}^{1}}{\varphi}_{j,k-1}^{1}\phantom{\rule{4pt}{0ex}}\mathrm{for}\phantom{\rule{4pt}{0ex}}k\phantom{\rule{4pt}{0ex}}\mathrm{even},\phantom{\rule{1.em}{0ex}}{\varphi}_{j,k}^{2}={\varphi}_{j,k}^{1}\phantom{\rule{4pt}{0ex}}\mathrm{for}\phantom{\rule{4pt}{0ex}}k\phantom{\rule{4pt}{0ex}}\mathrm{odd},\phantom{\rule{3.0pt}{0ex}}\\ \phantom{\rule{37.0pt}{0ex}}{\varphi}_{j,4+8k}^{3}={\varphi}_{j,4+8k}^{2}-\frac{{B}_{j,4+8k,2+8k}^{2}}{{B}_{j,2+8k,2+8k}^{2}}{\varphi}_{j,2+8k}^{1}\phantom{\rule{4pt}{0ex}}\mathrm{for}\phantom{\rule{4pt}{0ex}}k=1,\dots ,{2}^{j-2},{\varphi}_{j,l}^{3}={\varphi}_{j,l}^{2}\phantom{\rule{4pt}{0ex}}\mathrm{otherwise},\phantom{\rule{3.0pt}{0ex}}\\ \phantom{\rule{37.0pt}{0ex}}{\varphi}_{j,6+8k}^{4}={\varphi}_{j,6+8k}^{3}-\frac{{B}_{j,6+8k,4+8k}^{3}}{{B}_{j,4+8k,4+8k}^{3}}{\varphi}_{j,4+8k}^{1}\phantom{\rule{4pt}{0ex}}\mathrm{for}\phantom{\rule{4pt}{0ex}}k=1,\dots ,{2}^{j-2},{\varphi}_{j,l}^{4}={\varphi}_{j,l}^{3}\phantom{\rule{4pt}{0ex}}\mathrm{otherwise},\end{array}$$

$${\widehat{\varphi}}_{j,l}=\left\{\begin{array}{cc}2.1\phantom{\rule{0.166667em}{0ex}}{\varphi}_{j,l}^{4}\hfill & l=4+8k,\hfill \\ 10\phantom{\rule{0.166667em}{0ex}}{\varphi}_{j,l}^{4}\hfill & l={2}^{j+1},\hfill \\ {\varphi}_{j,l}^{4}\hfill & \mathrm{otherwise}.\hfill \end{array}\right.$$

Furthermore, we set ${\tilde{\varphi}}_{j,2+8k}=1.3{g}_{j,2+8k}$ for $k=0,\dots ,{2}^{j-2}$ and ${\tilde{\varphi}}_{j,l}={g}_{j,l}$ for $l\ne 2+8k$. Let ${\widehat{\Phi}}_{j}=\left\{{\widehat{\varphi}}_{j,l},l=1,\dots {2}^{j+1}\right\}$ and ${\tilde{\Phi}}_{j}=\left\{{\tilde{\varphi}}_{j,l},l=1,\dots {2}^{j+1}\right\}$. The matrix ${\mathbf{G}}_{j}$ defined by (30) has the same structure as ${\mathbf{A}}_{j}$ and ${\mathbf{B}}_{j}$, i.e.,
where:
and:

$$\begin{array}{ccc}\hfill {\left({\mathbf{G}}_{j}\left(8i+k,8i+l\right)\right)}_{k=0,\dots ,14,l=1,\dots ,8}& =& \mathbf{G},\phantom{\rule{1.em}{0ex}}i=2,\dots ,{2}^{j-2}-2\hfill \\ \hfill {\left({\mathbf{G}}_{j}\left(k,l\right)\right)}_{k=1,\dots ,14,l=1,\dots ,8}& =& {\mathbf{G}}^{L},\hfill \\ \hfill {\left({\mathbf{G}}_{j}\left({2}^{j+1}-8+k,{2}^{j+1}-8+l\right)\right)}_{k=0,\dots ,8,l=1,\dots ,8}& =& {\mathbf{G}}^{R},\hfill \end{array}$$

$$\mathbf{G}=\left(\begin{array}{cccccccc}0& -1.6863& 0& 0& 0& 0& 0& 0\\ 1.0000& 0.1278& 0& 0& 0& 0& 0& 0\\ 0& -2.8555& 0& 2.5773& 0& 0& 0& 0\\ 0& -0.1790& 1.0000& 0.1040& 0& 0& 0& 0\\ 0& 0& 0& 2.8443& 0& 0.5229& 0& 0\\ 0& 0& 0& -0.0737& 1.0000& 0.0413& 0& 0\\ 0& 0& 0& 0& 0& -0.7599& 0& -0.2011\\ 0& 0& 0& 0& 0& -0.0179& 1.0000& 0.0228\\ 0& 0& 0& 0& 0& -0.1689& 0& 2.4295\\ 0& 0& 0& 0& 0& 0& 0& -0.0920\\ 0& 0& 0& 0& 0& 0& 0& -0.2011\\ 0& 0& 0& 0& 0& 0& 0& 0\\ 0& 0& 0& 0& 0& 0& 0& -0.3675\\ 0& 0& 0& 0& 0& 0& 0& 0\\ 0& 0& 0& 0& 0& 0& 0& 0.3330\end{array}\right)$$

$${\mathbf{G}}^{L}={\mathbf{G}}_{\left\{2,\dots ,15\right\}},\phantom{\rule{1.em}{0ex}}{\mathbf{G}}^{R}=\left(\begin{array}{cccc}& & {\mathbf{G}}_{\left\{1,\dots ,8\right\}}& \\ 0& \dots & 0& -0.920\end{array}\right)$$

Thus, the matrices ${\mathbf{G}}_{j}$ and ${\mathbf{G}}_{j}^{T}$ are diagonally dominant and invertible, and due to Johnson’s lower bound for the smallest singular value [39], we have:

$${\sigma}_{min}\left({\mathbf{G}}_{j}\right)\ge 0.117,\phantom{\rule{1.em}{0ex}}{\u2225{\mathbf{G}}_{j}^{-1}\u2225}_{2}=\frac{1}{{\sigma}_{min}\left({\mathbf{G}}_{j}\right)}\le 8.527.$$

It remains to prove that ${\widehat{\Phi}}_{j}$ are uniform Riesz bases of ${V}_{j}$ and ${\tilde{\Phi}}_{j}$ are uniform Riesz bases of ${\tilde{V}}_{j}$. Since ${\widehat{\varphi}}_{j,k}$ are locally supported and there exists M independent of j and k, such that ${\u2225{\widehat{\varphi}}_{j,k}\u2225}_{{L}^{2}\left(0,1\right)}\le M$, we have:
and similarly for ${\tilde{\varphi}}_{j,k}$, we have:

$${\u2225\sum _{k}{c}_{j,k}{\widehat{\varphi}}_{j,k}\u2225}_{{L}^{2}\left(0,1\right)}^{2}=\sum _{k}\sum _{l}{c}_{j,k}{c}_{j,l}{\int}_{0}^{1}{\widehat{\varphi}}_{j,k}\left(x\right){\widehat{\varphi}}_{j,l}\left(x\right)dx\le C{\u2225c\u2225}_{2}^{2}.$$

$${\u2225\sum _{k}{c}_{j,k}{\tilde{\varphi}}_{j,k}\u2225}_{{L}^{2}\left(0,1\right)}^{2}\le C{\u2225c\u2225}_{2}^{2}.$$

By the same argument as in the Proof of Theorem 3.3. in [25], from (47), (48), the invertibility of ${\mathbf{G}}_{j}$ and (46), we can conclude that ${\widehat{\Phi}}_{j}$ and ${\tilde{\Phi}}_{j}$ are uniform Riesz bases of their spans. ☐

Now, we construct a basis ${\Psi}_{j}$ of the space ${W}_{j}={\tilde{V}}_{j}^{\perp}\cap {V}_{j+1}$, such that $cond\phantom{\rule{4pt}{0ex}}{\Psi}_{j}\le C$, where C is a constant independent on j, and functions from ${\Psi}_{j}$ are translations and dilations of some generators. We propose one boundary generator ${\psi}^{b}$ and functions ${\psi}^{i}$, $i=1,\dots ,8$, generating inner wavelets, such that the sets:
contain functions ${\psi}_{j,k}$ defined for $x\in \left[0,1\right]$ by:

$${\Psi}_{j}=\left\{{\psi}_{j,k},k=1,\dots ,{2}^{j+1}\right\},\phantom{\rule{1.em}{0ex}}j\ge 3,$$

$$\begin{array}{c}{\psi}_{j,1}\left(x\right)={2}^{j/2}{\psi}^{b}\left({2}^{j}x\right),\phantom{\rule{1.em}{0ex}}{\psi}_{j,{2}^{j+1}}\left(x\right)={2}^{j/2}{\psi}^{b}\left({2}^{j}\left(1-x\right)\right),\\ \phantom{\rule{10.0pt}{0ex}}{\psi}_{j,8k+l+1}\left(x\right)={2}^{j/2}{\psi}^{l}\left({2}^{j}x-4k\right),\phantom{\rule{4pt}{0ex}}\phantom{\rule{1.em}{0ex}}l=1,\dots 8,\phantom{\rule{4pt}{0ex}}1<8k+l+1<{2}^{j+1}.\end{array}$$

We denote the scaling functions on the level $j=1$ by:

$${\varphi}_{1,2k+l-2}\left(x\right)={2}^{1/2}{\varphi}_{l}\left(2x-k\right)\phantom{\rule{4pt}{0ex}}\mathrm{for}\phantom{\rule{4pt}{0ex}}k\in \mathbb{Z},\phantom{\rule{1.em}{0ex}}l=1,2,\phantom{\rule{1.em}{0ex}}x\in \mathbb{R}.$$

For $l=1,\dots ,6$, let the functions ${\psi}^{l}$ have the form:
and be such that ${\psi}^{1}$, ${\psi}^{2}$ and ${\psi}^{3}$ are antisymmetric and ${\psi}^{4}$, ${\psi}^{5}$ and ${\psi}^{6}$ are symmetric. Thus, $\mathrm{supp}\phantom{\rule{0.166667em}{0ex}}{\psi}^{l}=\left[0,4\right]$ for $l=1,\dots ,6$. Let ${p}_{i}$ be polynomials defined by (31). It is clear that if:
then $\u2329{\psi}^{l}\left({2}^{j}x-k\right),{p}_{i}\left({2}^{j-2}x-m\right)\u232a=0,$ for $k,m\in 4\mathbb{Z}$, and thus, $\u2329{\psi}_{j,8i+l},g\u232a=0$ for any $g\in {\tilde{V}}_{j}$, $i=0,\dots ,{2}^{j-2}-1,$ and $l=1,\dots ,6$. Substituting (52) into (53), we obtain the system of linear algebraic equations with the solution ${\mathbf{h}}^{l}={\left\{{h}_{l,k}\right\}}_{k=1}^{14}$ of the form:
and:
where ${a}_{l,k}$ and ${b}_{l,k}$ are chosen real parameters and:

$${\psi}^{l}={\displaystyle \sum _{k=1}^{14}}{h}_{l,k}{\varphi}_{1,k}$$

$$\u2329{\psi}^{l}\left(x\right),{p}_{i}\left(\frac{x}{4}\right)\u232a=0,\phantom{\rule{1.em}{0ex}}i=0,\dots ,7,\phantom{\rule{1.em}{0ex}}l=1,\dots 6,$$

$${\mathbf{h}}^{l}={a}_{l,1}{\mathbf{u}}_{1}+{a}_{l,2}{\mathbf{u}}_{2}+{a}_{l,3}{\mathbf{u}}_{3},\phantom{\rule{1.em}{0ex}}l=1,2,3,$$

$${\mathbf{h}}^{l}={b}_{l-3,1}{\mathbf{v}}_{1}+{b}_{l-3,2}{\mathbf{v}}_{2}+{b}_{l-3,3}{\mathbf{v}}_{3},\phantom{\rule{1.em}{0ex}}l=4,5,6,$$

$$\left[{\mathbf{u}}_{1},{\mathbf{u}}_{2},{\mathbf{u}}_{3}\right]=\left(\begin{array}{ccc}-\frac{29}{95361}& \frac{120}{31787}& \frac{5716}{31787}\\ 0& 0& 1\\ \frac{592}{95361}& \frac{13477}{95361}& -\frac{56300}{95361}\\ 0& 1& 0\\ \frac{13456}{95361}& -\frac{39892}{95361}& \frac{49671}{31787}\\ 1& 0& 0\\ 0& 0& 0\\ \frac{11708}{4541}& -\frac{26022}{4541}& \frac{116428}{4541}\\ -\frac{13456}{95361}& \frac{39892}{95361}& -\frac{49671}{31787}\\ 1& 0& 0\\ -\frac{592}{95361}& -\frac{13477}{95361}& \frac{56300}{95361}\\ 0& 1& 0\\ \frac{29}{95361}& -\frac{120}{31787}& -\frac{5716}{31787}\\ 0& 0& 1\end{array}\right),\phantom{\rule{1.em}{0ex}}\left[{\mathbf{v}}_{1},{\mathbf{v}}_{2},{\mathbf{v}}_{3}\right]=\left(\begin{array}{ccc}\frac{11}{10500}& -\frac{17}{2625}& -\frac{1727}{10500}\\ 0& 0& -1\\ -\frac{13}{875}& -\frac{293}{2625}& \frac{1123}{2625}\\ 0& -1& 0\\ -\frac{1}{12}& \frac{5}{21}& -\frac{53}{84}\\ -1& 0& 0\\ \frac{34}{175}& -\frac{6}{25}& \frac{386}{525}\\ 0& 0& 0\\ -\frac{1}{12}& \frac{5}{21}& -\frac{53}{84}\\ 1& 0& 0\\ -\frac{13}{875}& -\frac{293}{2625}& \frac{1123}{2625}\\ 0& 1& 0\\ \frac{11}{10500}& -\frac{17}{2625}& -\frac{1727}{10500}\\ 0& 0& 1\end{array}\right).$$

For $l\in \left\{7,8\right\}$, let the functions ${\psi}^{l}$ have the form:

$${\psi}^{l}={\displaystyle \sum _{k=1}^{28}}{h}_{l,k}{\varphi}_{1,k}.$$

These functions are uniquely determined by imposing that ${\psi}^{7}$ is symmetric, ${\psi}^{8}$ is antisymmetric, both ${\psi}^{7}$ and ${\psi}^{8}$ are ${L}^{2}$-orthogonal to the functions ${\psi}^{l}$, $l=1,\dots ,6$, they are normalized with respect to the ${L}^{2}$-norm and:

$$\u2329{\psi}^{l}\left(x\right),{p}_{i}\left(\frac{x}{4}\right)\u232a=0,\phantom{\rule{1.em}{0ex}}\mathrm{for}\phantom{\rule{4pt}{0ex}}i=0,\dots ,7.$$

It remains to construct boundary function ${\psi}^{b}$. Let:

$${\psi}^{b}={\displaystyle \sum _{k=0}^{14}}{h}_{b,k}{\varphi}_{1,k}{|}_{\left[0,\infty \right)}.$$

Substituting (59) into:
we obtain the system of eight equations for 15 unknown coefficients. The solution ${\mathbf{h}}^{b}={\left\{{h}_{b,k}\right\}}_{k=0}^{14}$ is the linear combination of vectors ${\mathbf{w}}_{i}$ given by:
i.e.,
where ${d}_{i}$ are chosen real parameters.

$$\u2329{\psi}^{b}\left(x\right),{p}_{i}\left(\frac{x}{4}\right)\u232a=0,\phantom{\rule{1.em}{0ex}}\mathrm{for}\phantom{\rule{4pt}{0ex}}i=0,\dots ,7,$$

$$\begin{array}{c}{\mathbf{w}}_{1}={\left(\frac{150}{83},\frac{1429}{1992},\frac{4509}{664},\frac{74}{249},\frac{2839}{166},-\frac{1897}{1992},\frac{6741}{664},-\frac{53}{249},1,0,0,0,0,0,0\right)}^{T},\\ \phantom{\rule{-28.0pt}{0ex}}{\mathbf{w}}_{l}=\left(\begin{array}{c}0\\ {\mathbf{u}}_{l-1}\end{array}\right),\phantom{\rule{1.em}{0ex}}l=2,3,4,\phantom{\rule{1.em}{0ex}}{\mathbf{w}}_{l}=\left(\begin{array}{c}0\\ {\mathbf{v}}_{l-4}\end{array}\right),\phantom{\rule{1.em}{0ex}}l=5,6,7,\end{array}$$

$${\mathbf{h}}^{b}={\displaystyle \sum _{i=1}^{7}}{d}_{i}{W}_{i},$$

Hence, the set ${\Psi}_{j}$ depends on the choice of ${a}_{k,l}$, ${b}_{k,l}$ and ${d}_{i}$. However, it is not true that $cond\phantom{\rule{4pt}{0ex}}{\Psi}_{j}\le C$ for all possible choices of these parameters. Moreover, for some choices, the condition numbers of ${\Psi}_{j}$ are uniformly bounded, but the condition number of the resulting basis Ψ is large, e.g., ${10}^{6}$.

Therefore, we optimize the construction to improve the condition number of Ψ. We choose ${a}_{k,1}$, and then, we set ${a}_{k,2}$ and ${a}_{k,3}$, such that $\u2329{\psi}^{i},{\psi}^{j}\u232a={\delta}_{i,j}$ for $i,j=1,2,3$, and similarly, we choose ${b}_{k,1}$ and then set ${b}_{k,2}$ and ${b}_{k,3}$, such that $\u2329{\psi}^{i},{\psi}^{j}\u232a={\delta}_{i,j}$ for $i,j=4,5,6$. Moreover, the functions ${\psi}^{7}$ and ${\psi}^{8}$ are constructed, such that they are orthogonal to ${\psi}^{i}$ for $i=1,\dots ,6$, and due to the symmetry and antisymmetry, we have $\u2329{\psi}^{i},{\psi}^{j}\u232a={\delta}_{i,j}$ for $i=1,2,3$ and $j=4,5,6$ and $\u2329{\psi}^{7},{\psi}^{8}\u232a=0$. In summary, ${\psi}^{i}$ is orthogonal to ${\psi}^{j}$ with respect to the ${L}^{2}$-norm for $i,j=1,\dots 6$, $i\ne j$. To further improve the condition number, we orthogonalize scaling functions on the coarsest level $j=3$, i.e., we determine the set:
and we redefine ${\Phi}_{3}$ as ${\Phi}_{3}:={\Phi}_{3}^{ort}$.

$${\Phi}_{3}^{ort}:={\mathbf{K}}^{-1}{\Phi}_{3},\phantom{\rule{1.em}{0ex}}\mathbf{K}=\u2329{\Phi}_{3},{\Phi}_{3}\u232a,$$

Furthermore, we wrote a program that computes the condition number of the wavelet basis containing all wavelets up to the level of seven with respect to both the ${L}^{2}$-norm and the ${H}^{1}$-norm for given parameters ${a}_{k,l}$, ${b}_{k,l}$ and ${d}_{i}$ and performed extensive numerical experiments. In the following, we consider the parameters that lead to good results:
and after computing ${\psi}^{b}$ and ${\psi}^{i}$, $i=1,\dots ,8$, using these parameters, we normalize them with respect to the ${L}^{2}$-norm, i.e., we redefine ${\psi}^{b}:={\psi}^{b}/\u2225{\psi}^{b}\u2225$ and ${\psi}^{i}:={\psi}^{i}/\u2225{\psi}^{i}\u2225$. The wavelets ${\psi}_{3,1},\dots ,{\psi}_{3,9}$ that are dilations of ${\psi}^{b},{\psi}^{1},\dots ,{\psi}^{8}$ are displayed in Figure 2.

$$\begin{array}{l}{\mathbf{a}}_{1}=\left({a}_{1,1},{a}_{1,2},{a}_{1,3}\right)=\left(4.62,4.43,0.67\right),\hfill \\ {\mathbf{a}}_{2}=\left({a}_{2,1},{a}_{2,2},{a}_{2,3}\right)=\left(7.196227729728021,-4.658487033189625,-2.279869518963229\right),\hfill \\ {\mathbf{a}}_{3}=\left({a}_{3,1},{a}_{3,2},{a}_{3,3}\right)=\left(-0.775021413514386,0.613425421561151,0.151825757948663\right),\hfill \\ {\mathbf{b}}_{1}=\left({b}_{1,1},{b}_{1,2},{b}_{1,3}\right)=\left(0.24,-3.92,4.17\right),\hfill \\ {\mathbf{b}}_{2}=\left({b}_{2,1},{b}_{2,2},{b}_{2,3}\right)=\left(4.214132381596882,-2.612399654970785,-1.411579368326525\right),\hfill \\ {\mathbf{b}}_{3}=\left({b}_{3,1},{b}_{3,2},{b}_{3,3}\right)=\left(-0.601286696663076,-0.778487053796787,-0.180033928710130\right),\hfill \\ \phantom{\rule{4.0pt}{0ex}}\mathbf{d}=\left({d}_{1},\dots ,{d}_{7}\right)=\left(-0.075,-0.363,-0.616,-0.134,0.344,0.580,0.099\right),\hfill \end{array}$$

The sets ${\Psi}_{j}$ with the parameters given by (64) are uniform Riesz bases of ${W}_{j}$ for $j\ge 3$.

Since we constructed wavelets such that many of them are orthogonal, there is only a small number of nonzero entries in ${\mathbf{N}}_{j}$. Since wavelets are normalized with respect to the ${L}^{2}$-norm, we have:

$${\left({\mathbf{N}}_{j}\right)}_{k,k}=1.$$

Direct computation yields that:
where:
and for $i=1,\dots ,{2}^{j-2}-2$, we have:
where:

$$\begin{array}{c}{\left({\mathbf{N}}_{j}\right)}_{k=1,l=2,\dots ,9}={\left({\mathbf{N}}_{j}\right)}_{k={2}^{j},l={2}^{j}-1,\dots ,{2}^{j}-8}=\mathbf{z},\\ \phantom{\rule{6.0pt}{0ex}}{\left({\mathbf{N}}_{j}\right)}_{k=2,\dots ,9,l=1}={\left({\mathbf{N}}_{j}\right)}_{k={2}^{j}-1,\dots ,{2}^{j}-8,l={2}^{j}}={\mathbf{z}}^{T},\end{array}$$

$$\mathbf{z}=\left(0.0022,-0.0927,-0.0166,-0.0339,-0.0075,0.0045,-0.2652,0.2439\right),$$

$$\begin{array}{c}{\left({\mathbf{N}}_{j}\right)}_{k=8i,8i+1,l=8i+8,8i+9}=\mathbf{N}\\ \phantom{\rule{8.0pt}{0ex}}{\left({\mathbf{N}}_{j}\right)}_{k=8i+8,8i+9,l=8i,8i+1}={\mathbf{N}}^{T},\end{array}$$

$$\mathbf{N}=\left(\begin{array}{cc}-0.2048& 0.1885\\ -0.1885& 0.1734\end{array}\right).$$

The numbers in (67) and (69) are rounded to four decimal digits. All other entries of ${\mathbf{N}}_{j}$ are zero. The structure of the Gram matrix ${\mathbf{N}}_{j}=\u2329{\Psi}_{j},{\Psi}_{j}\u232a$ is displayed in Figure 3.

Using Gershgorin theorem, the smallest eigenvalue ${\lambda}_{min}\left({\mathbf{N}}_{j}\right)\ge 0.21$, and the largest eigenvalue ${\lambda}_{max}\left({\mathbf{N}}_{j}\right)\le 1.79$. Therefore, ${\Psi}_{j}$ are uniform Riesz bases of their spans. ☐

The set Ψ is a Riesz basis of ${L}^{2}\left(0,1\right)$, and when normalized with respect to the ${H}^{1}$-norm, it is a Riesz basis of ${H}_{0}^{1}\left(0,1\right)$.

Due to the Theorems 2, 3 and 4, the relation (29) holds both for $s=0$ and $s=1$. Hence, Ψ is a Riesz basis of ${L}^{2}\left(0,1\right)$ and:
is a Riesz basis of ${H}_{0}^{1}\left(0,1\right)$. To show that also:
is a Riesz basis of ${H}_{0}^{1}\left(0,1\right)$, we follow the Proof of Theorem 2 in [40]. From (18) and (50) there exist nonzero constants ${C}_{1}$ and ${C}_{2}$, such that:
and:

$$\left\{{2}^{-3}{\varphi}_{3,k},k=1,\dots ,16\right\}\cup \left\{{2}^{-j}{\psi}_{j,k},j\ge 3,k=1,\dots ,{2}^{j+1}\right\}$$

$$\left\{\frac{{\varphi}_{3,k}}{{\u2225{\varphi}_{3,k}\u2225}_{{H}^{1}\left(0,1\right)}},k=1,\dots ,16\right\}\cup \left\{\frac{{\psi}_{j,k}}{{\u2225{\psi}_{j,k}\u2225}_{{H}^{1}\left(0,1\right)}},j\ge 3,k=1,\dots ,{2}^{j+1}\right\}$$

$${C}_{1}{2}^{j}\le {\u2225{\psi}_{j,k}\u2225}_{{H}_{0}^{1}\left(\Omega \right)}\le {C}_{2}{2}^{j},\phantom{\rule{1.em}{0ex}}\mathrm{for}\phantom{\rule{1.em}{0ex}}j\ge 3,\phantom{\rule{1.em}{0ex}}k=1,\dots ,{2}^{j+1},$$

$${C}_{1}{2}^{3}\le {\u2225{\varphi}_{3,k}\u2225}_{{H}_{0}^{1}\left(\Omega \right)}\le {C}_{2}{2}^{3},\phantom{\rule{1.em}{0ex}}\mathrm{for}\phantom{\rule{0.166667em}{0ex}}k=1,\dots ,16.$$

Let $\widehat{\mathbf{b}}=\left\{{\widehat{a}}_{3,k},\phantom{\rule{4pt}{0ex}}k=1,\dots ,16\right\}\cup \left\{{\widehat{b}}_{j,k},j\ge 3,\phantom{\rule{4pt}{0ex}}k=1,\dots ,{2}^{j+1}\right\}$ be such that:

$${\u2225\widehat{\mathbf{b}}\u2225}_{2}^{2}={\displaystyle \sum _{k=1}^{16}}{\widehat{a}}_{3,k}^{2}+{\displaystyle \sum _{j=3}^{\infty}}{\displaystyle \sum _{k=1}^{{2}^{j+1}}}{\widehat{b}}_{j,k}^{2}<\infty .$$

We define:
and $\mathbf{b}=\left\{{a}_{3,k},\phantom{\rule{4pt}{0ex}}k=1,\dots ,16\right\}\cup \left\{{b}_{j,k},j\ge 3,\phantom{\rule{4pt}{0ex}}k=1,\dots ,{2}^{j+1}\right\}$. Then:

$${a}_{3,k}=\frac{{2}^{3}{\widehat{a}}_{3,k}}{{\u2225{\varphi}_{3,k}\u2225}_{{H}_{0}^{1}\left(0,1\right)}},\phantom{\rule{4pt}{0ex}}k=1,\dots ,16,\phantom{\rule{1.em}{0ex}}{b}_{j,k}=\frac{{2}^{j}{\widehat{b}}_{j,k}}{{\u2225{\psi}_{j,k}\u2225}_{{H}_{0}^{1}\left(0,1\right)}},\phantom{\rule{4pt}{0ex}}j\ge 3,\phantom{\rule{4pt}{0ex}}k=1,\dots ,{2}^{j+1},$$

$${\u2225\mathbf{b}\u2225}_{2}\le \frac{{\u2225\widehat{\mathbf{b}}\u2225}_{2}}{{C}_{1}}<\infty .$$

Since the set (70) is a Riesz basis of ${H}_{0}^{1}\left(0,1\right)$, there exist constants ${C}_{3}$ and ${C}_{4}$, such that:

$${C}_{3}{\u2225\mathbf{b}\u2225}_{2}\le {\u2225{\displaystyle \sum _{k=1}^{16}}{a}_{3,k}{2}^{-3}{\varphi}_{3,k}+{\displaystyle \sum _{j=3}^{\infty}}{\displaystyle \sum _{k=1}^{{2}^{j+1}}}{b}_{j,k}{2}^{-j}{\psi}_{j,k}\u2225}_{{H}_{0}^{1}\left(0,1\right)}\le {C}_{4}{\u2225\mathbf{b}\u2225}_{2}.$$

Therefore:
and similarly:
☐

$$\begin{array}{c}\frac{{C}_{4}}{{C}_{1}}{\u2225\widehat{\mathbf{b}}\u2225}_{2}\ge {C}_{4}{\u2225\mathbf{b}\u2225}_{2}\ge {\u2225{\displaystyle {\sum}_{k=1}^{16}}{a}_{3,k}{2}^{-3}{\varphi}_{3,k}+{\displaystyle {\sum}_{j=3}^{\infty}}{\displaystyle {\sum}_{k=1}^{{2}^{j+1}}}{b}_{j,k}{2}^{-j}{\psi}_{j,k}\u2225}_{{H}_{0}^{1}\left(0,1\right)}\\ \phantom{\rule{28.0pt}{0ex}}={\u2225{\displaystyle {\sum}_{k=1}^{16}}\frac{{\widehat{a}}_{3,k}}{{\u2225{\varphi}_{3,k}\u2225}_{{H}_{0}^{1}\left(0,1\right)}}{\varphi}_{3,k}+{\displaystyle {\sum}_{j=3}^{\infty}}{\displaystyle {\sum}_{k=1}^{{2}^{j+1}}}\frac{{\widehat{b}}_{j,k}}{{\u2225{\psi}_{j,k}\u2225}_{{H}_{0}^{1}\left(0,1\right)}}{\psi}_{j,k}\u2225}_{{H}_{0}^{1}\left(0,1\right)}\end{array}$$

$$\begin{array}{c}\hfill \frac{{C}_{3}}{{C}_{2}}{\u2225\widehat{\mathbf{b}}\u2225}_{2}\le {\u2225{\displaystyle \sum _{k=1}^{16}}\frac{{\widehat{a}}_{3,k}}{{\u2225{\varphi}_{3,k}\u2225}_{{H}_{0}^{1}\left(0,1\right)}}{\varphi}_{3,k}+{\displaystyle \sum _{j=3}^{\infty}}{\displaystyle \sum _{k=1}^{{2}^{j+1}}}\frac{{\widehat{b}}_{j,k}}{{\u2225{\psi}_{j,k}\u2225}_{{H}_{0}^{1}\left(0,1\right)}}{\psi}_{j,k}\u2225}_{{H}_{0}^{1}\left(0,1\right)}.\end{array}$$

The condition number of the resulting wavelet basis with wavelets up to the level of 10 with respect to the ${L}^{2}$-norm is 17.2, and the condition number of this basis normalized with respect to the ${H}^{1}$-norm is 6.0. The sparsity pattern of the matrix arising from a discretization using a wavelet basis constructed in this paper and a wavelet basis from [25] for the one-dimensional Black–Scholes equation with quadratic volatilities from Example 1 is displayed in Figure 4.

We present a well-known construction of a multivariate wavelet basis on the unit hypercube $\Omega ={\left(0,1\right)}^{d}$; for more details, see, e.g., [23]. It is based on tensorizing univariate wavelet bases and preserves the Riesz basis property, the locality of wavelets, vanishing moments and polynomial exactness. This approach is known as an anisotropic approach.

For notational simplicity, we denote ${\mathcal{J}}_{j}=\left\{1,\dots ,{2}^{j+1}\right\}$ for $j\ge 3$, and:

$${\psi}_{2,k}:={\varphi}_{3,k},\phantom{\rule{1.em}{0ex}}k\in {\mathcal{J}}_{2}:={\mathcal{J}}_{3},\phantom{\rule{1.em}{0ex}}\mathcal{J}:=\left\{\left(j,k\right),\phantom{\rule{4pt}{0ex}}j\ge 2,\phantom{\rule{4pt}{0ex}}\in {\mathcal{J}}_{j}\right\}.$$

Then, we can write:

$$\Psi =\left\{{\psi}_{j,k},\phantom{\rule{4pt}{0ex}}j\ge 2,\phantom{\rule{4pt}{0ex}}k\in {\mathcal{J}}_{j}\right\}=\left\{{\psi}_{\lambda},\phantom{\rule{4pt}{0ex}}\lambda \in \mathcal{J}\right\}.$$

We use $u\otimes v$ to denote the tensor product of functions u and v, i.e., $\left(u\otimes v\right)\left({x}_{1},{x}_{2}\right)=u\left({x}_{1}\right)v\left({x}_{2}\right)$. We define multivariate basis functions as:

$${\psi}_{\mathit{\lambda}}={\otimes}_{i=1}^{d}{\psi}_{{\lambda}_{i}},\phantom{\rule{1.em}{0ex}}\mathit{\lambda}=\left({\lambda}_{1},\dots ,{\lambda}_{d}\right)\in \mathbf{J},\phantom{\rule{1.em}{0ex}}\mathbf{J}={\mathcal{J}}^{d}=\mathcal{J}\otimes \dots \otimes \mathcal{J}.$$

Since Ψ is a Riesz basis of ${L}^{2}\left(0,1\right)$ and Ψ normalized with respect to the ${H}^{1}$-norm is a Riesz basis of ${H}_{0}^{1}\left(0,1\right)$, the set:
is a Riesz basis of ${L}^{2}\left(\Omega \right)$, and its normalization with respect to the ${H}^{1}$-norm is a Riesz basis of ${H}_{0}^{1}\left(\Omega \right)$. Using the same argument as in the Proof of Lemma 1, we conclude that for this basis, the discretization matrix is sparse for Equation (1) with piecewise polynomial coefficients on uniform meshes, such that $\mathrm{deg}\phantom{\rule{0.166667em}{0ex}}{p}_{k,l}\le 6$, $\mathrm{deg}\phantom{\rule{0.166667em}{0ex}}{q}_{k}\le 5$ and $\mathrm{deg}\phantom{\rule{0.166667em}{0ex}}{a}_{0}\le 4$.

$${\Psi}^{ani}:=\left\{{\psi}_{\mathit{\lambda}},\mathit{\lambda}\in \mathbf{J}\right\}$$

In this section, we solve the elliptic Equation (1) and the equation with the Black–Scholes operator from Example 1 by an adaptive wavelet method with the basis constructed in this paper. We briefly describe the algorithm. While the classical adaptive methods typically uses refining a mesh according to a posteriori local error estimates, the wavelet approach is different, and it comprises the following steps [13,17,18]:

- One starts with a variational formulation for a suitable wavelet basis, but instead of turning to a finite dimensional approximation, the continuous problem is transformed into an infinite-dimensional ${l}^{2}$-problem.
- Then, one proposes a convergent iteration for the ${l}^{2}$-problem.
- Finally, one derives an implementable version of this idealized iteration, where all infinite-dimensional quantities are replaced by finitely supported ones.

To the left-hand side of the Equation (1), we associate the following bilinear form:

$$a\left(v,w\right):={\int}_{\Omega}{\displaystyle \sum _{k,l=1}^{d}}{p}_{k,l}\frac{\partial v}{\partial {x}_{k}}\frac{\partial w}{\partial {x}_{l}}+{\displaystyle \sum _{k=1}^{d}}{q}_{k}\frac{\partial v}{\partial {x}_{k}}w+{p}_{0}\phantom{\rule{0.166667em}{0ex}}v\phantom{\rule{0.166667em}{0ex}}w\phantom{\rule{0.166667em}{0ex}}\mathrm{d}x.$$

The weak formulation of (1) reads as follows: Find $u\in {H}_{0}^{1}\left(\Omega \right)$, such that:

$$a\left(u,v\right)=\u2329f,v\u232a\phantom{\rule{1.em}{0ex}}\mathrm{for}\phantom{\rule{0.166667em}{0ex}}\mathrm{all}\phantom{\rule{0.166667em}{0ex}}v\in {H}_{0}^{1}\left(\Omega \right).$$

Instead of turning to a finite dimensional approximation, Equation (85) is reformulated as an equivalent bi-infinite matrix equation $\mathbf{A}\mathbf{u}=\mathbf{f}$, where:
for ${\psi}_{\lambda},{\psi}_{\mu}\in \Psi $ and Ψ is a wavelet basis of ${H}_{0}^{1}\left(\Omega \right)$.

$${\left(\mathbf{A}\right)}_{\lambda ,\mu}=a\left({\psi}_{\lambda},{\psi}_{\mu}\right),\phantom{\rule{1.em}{0ex}}{\left(\mathbf{f}\right)}_{\lambda}=\u2329f,{\psi}_{\lambda}\u232a,$$

We use the standard Jacobi diagonal preconditioner $\mathbf{D}$ for preconditioning this equation, i.e., ${\mathbf{D}}_{\lambda ,\mu}={\mathbf{D}}_{\lambda ,\mu}{\delta}_{\lambda ,\mu}$. If the coefficients are constant, one can also use an efficient diagonal preconditioner from [41]. The algorithm for solving the ${l}^{2}$-problem is the following:

- Compute sparse representation ${\mathbf{f}}_{j}$ of the right-hand side $\mathbf{f}$, such that ${\u2225\mathbf{f}-{\mathbf{f}}_{j}\u2225}_{2}$ is smaller than a given tolerance ${\u03f5}_{j}^{1}$. The computation of a sparse representation insists on thresholding the smallest coefficients and working only with the largest ones. We denote the routine as ${\mathbf{f}}_{j}:=\mathrm{RHS}[\mathbf{f},{\u03f5}_{j}^{1}]$.
- Compute K steps of GMRESfor solving the system $\mathbf{A}\mathbf{v}={\mathbf{f}}_{j}$ with the initial vector ${\mathbf{v}}_{j}$. Each iteration of GMRES requires multiplication of the infinite-dimensional matrix with a finitely-supported vector. Since for the wavelet basis constructed in this paper, the matrix is sparse, it can be computed exactly. Otherwise, it is computed approximately with the given tolerance ${\u03f5}_{j}^{2}$ by the method from [24]. We denote the routine $\mathbf{z}=\mathbf{GMRES}[\mathbf{A},{\mathbf{f}}_{j},{\mathbf{v}}_{j},K]$.
- Compute sparse representation ${\mathbf{v}}_{j+1}$ of $\mathbf{z}$ with the error smaller than ${\u03f5}_{j}^{2}$. We denote the routine ${\mathbf{v}}_{j+1}:=\mathbf{COARSE}[\mathbf{z},{\u03f5}_{j}^{2}]$. It insists on thresholding the coefficients.

We repeat Steps 1, 2 and 3 until the norm of the residual ${\mathbf{r}}_{j}={\u2225\mathbf{f}-\mathbf{A}{\mathbf{v}}_{j}\u2225}_{2}$ is not smaller than the required tolerance $\tilde{\u03f5}$. Since we work with the sparse representation of the right-hand side and the sparse representation of the vector representing the solution, the method is adaptive. It is known that the coefficients in the wavelet basis are small in regions where the function is smooth and large in regions where the function has some singularity. Therefore, by this method, the singularities are automatically detected.

We use the following algorithm that is a modified version of the original algorithm from [17,18]:

Algorithm 1 $u:=$SOLVE [ $\mathbf{A}$, $\mathbf{f}$, $\tilde{\u03f5}$ ] |

1. Choose ${k}_{0},{k}_{1},{k}_{2}\in \left(0,1\right)$, $K\in \mathbb{N}$. |

2. Set $j:=0$, ${\mathbf{v}}_{0}:=0$ and $\u03f5:={\u2225\mathbf{f}\u2225}_{2}$. |

3. While $\u03f5>\tilde{\u03f5}$ |

$j:=j+1$, |

$\u03f5:={k}_{0}\u03f5$, |

${\u03f5}_{j}^{1}:={k}_{1}\u03f5$, |

${\u03f5}_{j}^{2}:={k}_{2}\u03f5$, |

${\mathbf{f}}_{j}:=\mathbf{RHS}[\mathbf{f},{\u03f5}_{j}^{1}]$, |

$\mathbf{z}:=\mathbf{GMRES}[\mathbf{A},{\mathbf{f}}_{j},{\mathbf{v}}_{j-1},K]$ |

${\mathbf{v}}_{j}:=\mathbf{COARSE}[\mathbf{z},{\u03f5}_{j}^{2}]$, |

Estimate ${\mathbf{r}}_{j}=\mathbf{f}-\mathbf{A}{\mathbf{v}}_{j}$ and set $\u03f5:={\u2225{\mathbf{r}}_{j}\u2225}_{2}$. |

end while, |

4. $\mathbf{u}:={\mathbf{v}}_{j}$, |

5. Compute approximate solution $\tilde{u}={\sum}_{{u}_{\lambda}\in \mathbf{u}}{u}_{\lambda}{\psi}_{\lambda}$. |

For an appropriate choice of parameters ${k}_{0},{k}_{1},{k}_{2}$ and K and more details about the routines **RHS** and **COARSE**, we refer to [17,18,23].

We solve the equation:
where $\u03f5=0.001$ and the right-hand side f is corresponding to the solution:

$$-\u03f5{u}^{\u2033}+{x}^{2}{u}^{\prime}+u=f\phantom{\rule{1.em}{0ex}}\mathrm{on}\phantom{\rule{0.166667em}{0ex}}\left(0,1\right),\phantom{\rule{1.em}{0ex}}u\left(0\right)=u\left(1\right)=0,$$

$$u\left(x\right)=x\left(1-{e}^{50x-50}\right)\phantom{\rule{1.em}{0ex}}\mathrm{for}\phantom{\rule{0.166667em}{0ex}}x\in \left[0,1\right].$$

We solve this equation using the adaptive wavelet method described above with the wavelet basis constructed in this paper. The approximate solution and the derivative of the approximate solution that were computed using only 79 coefficients are displayed in Figure 5. The significant coefficients were located near Point 1, because the solution has a large derivative near this point.

The sparsity patterns of the matrices arising from discretization of Equation (87) using wavelets constructed in this paper and wavelets from [25] are the same as the sparsity patterns of matrices for Example 1 that are displayed in Figure 4. Convergence history is displayed in Figure 6. The number of iterations equals the parameter j from Algorithm 1; the number of basis functions determining the approximate solution in j-th iteration is the same as the number of nonzero entries of the vector ${\mathbf{v}}_{j}$; and the ${L}^{\infty}$-norm of the error is given by:

$${\u2225u-\tilde{u}\u2225}_{\infty}=\underset{x\in \left[0,1\right]}{\mathrm{max}}\left|u\left(x\right)-\tilde{u}\left(x\right)\right|.$$

We consider the equation:
for $\left({S}_{1},{S}_{2}\right)\in \Omega :={\left(0,1\right)}^{2}$ and $t\in \left(0,1\right)$. We choose parameters of the Black–Scholes operator as ${\rho}_{1,1}={\rho}_{2,2}=1$, ${\rho}_{1,2}={\rho}_{2,1}=0.88$, ${\sigma}_{1}\left(x\right)=0.1{x}^{2}-0.1x+0.66$, ${\sigma}_{2}\left(x\right)=0.1{x}^{2}-0.1x+0.97$, $r=0.02$, and we set the right-hand side f, the initial and boundary conditions, such that the solution V is given by:
for $\left({S}_{1},{S}_{2},t\right)\in \Omega \times \left(0,1\right)$. We use the Crank–Nicolson scheme for the semi-discretization of the Equation (90) in time. Let $M\in \mathbb{N}$, $\tau ={M}^{-1}$, ${t}_{l}=l\tau $, $l=0,\dots ,M$, and denote ${V}_{l}\left({S}_{1},{S}_{2}\right)=V\left({S}_{1},{S}_{2},{t}_{l}\right)$ and ${f}_{l}\left({S}_{1},{S}_{2}\right)=f\left({S}_{1},{S}_{2},{t}_{l}\right)$. The Crank–Nicolson scheme has the form:

$$\frac{\partial V}{\partial t}-{\displaystyle \sum _{k,l=1}^{2}}\frac{{\rho}_{k,l}}{2}{\sigma}_{k}{\sigma}_{l}{S}_{k}{S}_{l}\frac{{\partial}^{2}V}{\partial {S}_{k}\partial {S}_{l}}-r{\displaystyle \sum _{k=1}^{2}}{S}_{k}\frac{\partial V}{\partial {S}_{k}}+rV=f,$$

$$V\left({S}_{1},{S}_{2},t\right)={e}^{-rt}{S}_{1}{S}_{2}\left(1-{e}^{20{S}_{1}-20}\right)\left(1-{e}^{20{S}_{2}-20}\right)$$

$$\frac{{V}_{l+1}-{V}_{l}}{\tau}-\phantom{\rule{-0.166667em}{0ex}}{\displaystyle \sum _{k,l=1}^{2}}\frac{{\rho}_{k,l}}{4}{\sigma}_{k}{\sigma}_{l}{S}_{k}{S}_{l}\frac{{\partial}^{2}\left({V}_{l+1}+{V}_{l}\right)}{\partial {S}_{k}\partial {S}_{l}}-\frac{r}{2}{\displaystyle \sum _{k=1}^{2}}{S}_{k}\frac{\partial \left({V}_{l+1}+{V}_{l}\right)}{\partial {S}_{k}}+\frac{r\left({V}_{l+1}+{V}_{l}\right)}{2}=\frac{{f}_{l+1}+{f}_{l}}{2}.$$

In this scheme, the function ${V}_{l}$ is known from the equation on the previous time level, and the function ${V}_{l+1}$ is an unknown solution. Thus, for the given time level ${t}_{l}$, Equation (92) is of the form (1), and we can use the adaptive wavelet method for solving it. The approximate solution ${V}_{1}$ for $\tau =1/365$ that was computed using 731 coefficients is displayed in Figure 7.

It can be seen that the gradient of the solution ${V}_{1}$ has the largest values near the point $\left[1,1\right]$. Therefore, the largest wavelet coefficients correspond to wavelets with supports in regions near this point, and wavelet coefficients are small for wavelets that are not located in these regions. Thus, many wavelet coefficients are omitted, and the representation of the solution is sparse. The convergence history is shown in Figure 8.

In this paper, we constructed a new cubic spline multi-wavelet basis on the unit interval and unit cube. The basis is adapted to homogeneous Dirichlet boundary conditions, and wavelets have eight vanishing moments. The main advantage of this basis is that the matrices arising from a discretization of the differential Equation (1) with piecewise polynomial coefficients on uniform meshes, such that $\mathrm{deg}\phantom{\rule{0.166667em}{0ex}}{p}_{k,l}\le 6$, $\mathrm{deg}\phantom{\rule{0.166667em}{0ex}}{q}_{k}\le 5$ and $\mathrm{deg}\phantom{\rule{0.166667em}{0ex}}{a}_{0}\le 4$, are sparse and not only quasi-sparse. We proved that the constructed basis is indeed a wavelet basis, i.e., the Riesz basis property (5) is satisfied. We performed extensive numerical experiments and present the construction that leads to the wavelet basis that is well-conditioned with respect to the ${L}^{2}$-norm, as well as the ${H}^{1}$-norm.

This work was supported by Grant GA16-09541S of the Czech Science Foundation.

The authors contributed equally to this work.

The authors declare no conflict of interest.

- Beylkin, G. Wavelets and fast numerical algorithms. In Different Perspectives on Wavelets 47; Daubechies, I., Ed.; Proceedings of Symposia in Applied Mathematics; American Mathematical Society: Providence, RI, USA, 1993; pp. 89–117. [Google Scholar]
- Shann, W.C.; Xu, J.C. Galerkin-wavelet methods for two-point boundary value problems. Numer. Math.
**1992**, 63, 123–142. [Google Scholar] - Hariharan, G.; Kannan, K. Haar wavelet method for solving some nonlinear parabolic equations. J. Math. Chem.
**2010**, 48, 1044–1061. [Google Scholar] [CrossRef] - Lepik, Ü. Numerical solution of differential equations using Haar wavelets. Math. Comput. Simul.
**2005**, 68, 127–143. [Google Scholar] [CrossRef] - Lepik, Ü. Numerical solution of evolution equations by the Haar wavelet method. Appl. Math. Comput.
**2007**, 185, 695–704. [Google Scholar] [CrossRef] - Cattani, C. Haar wavelet spline. J. Interdiscip. Math.
**2001**, 4, 35–47. [Google Scholar] [CrossRef] - Cattani, C.; Bochicchio, I. Wavelet analysis of chaotic systems. J. Interdiscip. Math.
**2006**, 9, 445–458. [Google Scholar] - Ciancio, A.; Cattani, C. Analysis of Singularities by Short Haar Wavelet Transform. In Lecture Notes in Computer Science; Gervasi, O., Kumar, V., Tan, C.J.K., Taniar, D., Laganá, A., Mun, Y., Choo, H., Eds.; Springer: Berlin/Heidelberg, Germany, 2006; pp. 828–838. [Google Scholar]
- Kumar, V.; Mehra, M. Cubic spline adaptive wavelet scheme to solve singularly perturbed reaction diffusion problems. Int. J. Wavelets Multiresolut. Inf. Process.
**2007**, 15, 317–331. [Google Scholar] [CrossRef] - Jia, R.Q.; Zhao, W. Riesz bases of wavelets and applications to numerical solutions of elliptic equations. Math. Comput.
**2011**, 80, 1525–1556. [Google Scholar] [CrossRef] - Negarestani, H.; Pourakbari, F.; Tavakoli, A. Adaptive multiple knot B-spline wavelets for solving Saint-Venant equations. Int. J. Wavelets Multiresolut. Inf. Process.
**2013**, 11, 1–12. [Google Scholar] - Mehra, M. Wavelets and differential equations—A short review. In AIP Conference Proceedings 1146; Siddiqi, A.H., Gupta, A.K., Brokate, M., Eds.; American Institute of Physics: New York, NY, USA, 2009; pp. 241–252. [Google Scholar]
- Dahmen, W. Multiscale and wavelet methods for operator equations. Lect. Notes Math.
**2003**, 1825, 31–96. [Google Scholar] - Caflisch, R.E.; Gargano, F.; Sammartino, M.; Sciacca, V. Complex singularities and PDEs. Rivista Matematica Universita di Parma
**2015**, 6, 69–133. [Google Scholar] - Gargano, F.; Sammartino, M.; Sciacca, V.; Cassel, K.V. Analysis of complex singularities in high-Reynolds-number Navier-Stokes solutions. J. Fluid Mech.
**2014**, 747, 381–421. [Google Scholar] [CrossRef] - Weideman, J.A.C. Computing the dynamics of complex singularities of nonlinear PDEs. SIAM J. Appl. Dyn. Syst.
**2003**, 2, 171–186. [Google Scholar] [CrossRef] - Cohen, A.; Dahmen, W.; DeVore, R. Adaptive wavelet schemes for elliptic operator equations—Convergence rates. Math. Comput.
**2001**, 70, 27–75. [Google Scholar] [CrossRef] - Cohen, A.; Dahmen, W.; DeVore, R. Adaptive wavelet methods II - beyond the elliptic case. Found. Math.
**2002**, 2, 203–245. [Google Scholar] [CrossRef] - Dijkema, T.J.; Schwab, C.; Stevenson, R. An adaptive wavelet method for solving high-dimensional elliptic PDEs. Constr. Approx.
**2009**, 30, 423–455. [Google Scholar] [CrossRef] - Hilber, N.; Reichmann, O.; Schwab, C.; Winter, C. Computational Methods for Quantitative Finance; Springer: Berlin, Germany, 2013. [Google Scholar]
- Stevenson, R. Adaptive solution of operator equations using wavelet frames. SIAM J. Numer. Anal.
**2003**, 41, 1074–1100. [Google Scholar] [CrossRef] - Dahmen, W.; Kunoth, A. Multilevel preconditioning. Numer. Math.
**1992**, 63, 315–344. [Google Scholar] [CrossRef] - Urban, K. Wavelet Methods for Elliptic Partial Differential Equations; Oxford University Press: Oxford, UK, 2009. [Google Scholar]
- Černá, D.; Finěk, V. Approximate multiplication in adaptive wavelet methods. Cent. Eur. J. Math.
**2013**, 11, 972–983. [Google Scholar] [CrossRef] - Dijkema, T.J.; Stevenson, R. A sparse Laplacian in tensor product wavelet coordinates. Numer. Math.
**2010**, 115, 433–449. [Google Scholar] [CrossRef] - Cvejnová, D.; Černá, D.; Finěk, V. Hermite cubic spline multi-wavelets on the cube. In AIP Conference Proceedings 1690; Pasheva, V., Popivanov, N., Venkov, G., Eds.; American Institute of Physics: New York, NY, USA, 2015; No. 030006. [Google Scholar]
- Černá, D.; Finěk, V. On a sparse representation of an n-dimensional Laplacian in wavelet coordinates. Results Math.
**2016**, 69, 225–243. [Google Scholar] [CrossRef] - Černá, D. Numerical solution of the Black–Scholes equation using cubic spline wavelets. In AIP Conference Proceedings 1789; Pasheva, V., Popivanov, N., Venkov, G., Eds.; American Institute of Physics: New York, NY, USA, 2016; No. 030001. [Google Scholar]
- Cvejnová, D.; Šimůnková, M. Comparison of multidimensional wavelet bases. AIP Conf. Proc.
**2015**, 1690, 030008. [Google Scholar] - Schneider, A. Biorthogonal cubic Hermite spline multi-wavelets on the interval with complementary boundary conditions. Results Math.
**2009**, 53, 407–416. [Google Scholar] [CrossRef] - Dahmen, W.; Han, B.; Jia, R.Q.; Kunoth, A. Biorthogonal multi-wavelets on the interval: Cubic Hermite splines. Constr. Approx.
**2000**, 16, 221–259. [Google Scholar] [CrossRef] - Jia, R.Q.; Liu, S.T. Wavelet bases of Hermite cubic splines on the interval. Adv. Comput. Math.
**2006**, 25, 23–39. [Google Scholar] [CrossRef] - Shumilov, B.M. Multiwavelets of the third-degree Hermitian splines orthogonal to cubic polynomials. Math. Models Comput. Simul.
**2013**, 5, 511–519. [Google Scholar] [CrossRef] - Shumilov, B.M. Cubic multi-wavelets orthogonal to polynomials and a splitting algorithm. Numer. Anal. Appl.
**2013**, 6, 247–259. [Google Scholar] [CrossRef] - Xue, X.; Zhang, X.; Li, B.; Qiao, B.; Chen, X. Modified Hermitian cubic spline wavelet on interval finite element for wave propagation and load identification. Finite Elem. Anal. Des.
**2014**, 91, 48–58. [Google Scholar] [CrossRef] - Černá, D.; Finěk, V. Wavelet bases of cubic splines on the hypercube satisfying homogeneous boundary conditions. Int. J. Wavelets Multiresolut. Inf. Process.
**2015**, 13, 1550014. [Google Scholar] [CrossRef] - Zuhlsdorff, C. The pricing of derivatives on assets with quadratic volatility. Appl. Math. Financ.
**2001**, 8, 235–262. [Google Scholar] [CrossRef] - Dahmen, W. Stability of multiscale transformations. J. Fourier Anal. Appl.
**1996**, 4, 341–362. [Google Scholar] - Johnson, C.R. A Gershgorin-type lower bound for the smallest singular value. Linear Algebra Appl.
**1989**, 112, 1–7. [Google Scholar] [CrossRef] - Černá, D.; Finěk, V. Quadratic spline wavelets with short support for fourth-order problems. Results Math.
**2014**, 66, 525–540. [Google Scholar] [CrossRef] - Černá, D.; Finěk, V. A diagonal preconditioner for singularly pertubed problems. Bound. Value Probl.
**2017**, 2017, 22. [Google Scholar] [CrossRef]

© 2017 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license ( http://creativecommons.org/licenses/by/4.0/).