Multiwavelets based on hermite cubic splines
Abstract
the convection-diffusion equation. We use an implicit scheme for the time discretization and
Full text
MULTIWAVELETS BASED ON HERMITE CUBIC SPLINES Dana ˇ Cern´ a *V´ aclav Finˇ ek **Gerta Plaˇ ckov´ a Technical University of Liberec Faculty of Science, Humanities and Education Department of Mathematics and Didactics of Mathematics Studentsk´ a 2, 461 17, Liberec, Czech Republic [email protected] *Technical University of Liberec Faculty of Science, Humanities and Education Department of Mathematics and Didactics of Mathematics Studentsk´ a 2, 461 17, Liberec, Czech Republic vaclav[email protected] **Technical University of Liberec Faculty of Science, Humanities and Education Department of Mathematics and Didactics of Mathematics Studentsk´ a 2, 461 17, Liberec, Czech Republic gerta.plackov[email protected] Abstract First multiwavelets have appeared around the early 1990s. The basic idea behind multiwavelets is simple: to replace the single scaling function φby the multiscaling function Φ Φ Φto have some additional desired properties. It seems to be an interesting trade off because multiwavelets provide higher order approximation with shorter support than single scaling function. Moreover, it is possible to have both symmetric and orthogonal multiwavelets while this is not possible for single wavelets. In recent years, several simple constructions of wavelet bases based on Hermite cubic splines were proposed. In this contribution, we shortly review these constructions, use these wavelets to solve numerically differential equations, and compare their performance. Keywords: Wavelet; Hermite cubic splines; elliptic differential equations. Introduction A vector-valued function Φ Φ Φ(x)=(φ1(x),φ2(x),...,φr(x))T,φ1(x),φ2(x),...,φr(x)∈L2(R) will be called a multiscaling function if it satisfies the following refinement equation Φ Φ Φ(x) = t ∑ k=s HkΦ Φ Φ(ax −k), where s,t∈Z,s<t,Hkare some r×rmatrices, a∈Nand a≥2. The multiscaling function generates a multiresolution analysis of L2(R)in a similar way as for scalar wavelets. Subspaces Vjare defined Vj=closL2(R){φl,j,k=aj/2φl(ajx−k): 1 ≤l≤r,k∈Z},j∈Z. 46
Then Wj,j∈Zdenotes the orthogonal complementary subspaces of Vjin Vj+1and the vectorvalued function Ψ Ψ Ψ(x)=(ψ1(x),ψ2(x),...,ψ(a−1)r(x))T,ψ1(x),ψ2(x),...,ψ(a−1)r(x)∈L2(R). Therefore there exist matrices Qksuch that Ψ Ψ Ψ(x) = t ∑ k=s QkΦ Φ Φ(ax −k), and fast decomposition and reconstruction algorithms can be constructed like for scalar wavelets. Moreover, multiwavelets usually have shorter support than corresponding single wavelets, it is possible to construct both symmetric and orthogonal multiwavelets while this is not possible for single wavelets, and finally, it is possible to have a basis formed by functions with different orders (see Example 1). However, multiwavelets have also some disadvantages: the discrete multiwavelet transform usually requires preprocessing and postprocessing, and their construction is also more complicated. The reason, why preprocessing is necessary, is in the fact that for scalar wavelets, we have 2−n/2f2−nk≈Zf(x)φn,k(x)dx and this does not hold in general for multiwavelets. Multiwavelets which do not require preprocessing are for instance the so called balanced multiwavelets. They were constructed in [7, 8]. For more details on multiwavelets, we refer to [6]. Example 1 Simple example of piecewise linear multiwavelets is taken from [1]: φ1(x) = 1 0 ≤x≤1 0otherwise ,φ2(x) = 2√3x−1 20≤x≤1 0otherwise , ψ1(x) = 6x−1 0 ≤x<1 2 6x−51 2≤x≤1 0otherwise ,ψ2(x) = 2√32x−1 20≤x<1 2 −2√32x−3 21 2≤x≤1 0otherwise . The remainder of this paper is organized as follows. In the next section, we review several simple constructions of wavelets based on Hermite cubic splines. Specifically, wavelets with two vanishing wavelet moments proposed in [5], a hierarchical basis based on Hermite cubic splines, wavelets with four vanishing wavelet moments proposed in [2], and wavelets with respect to which both the mass and stiffness matrices corresponding to the one-dimensional Laplacian are sparse [3]. In the last section, we use these wavelets to solve numerically differential equations and compare their performance. 1 Hermite Cubic Spline Wavelets In the year 2000, W. Dahmen et al. [4] proposed a construction of biorthogonal multiwavelets adapted to the interval [0,1]on the basis of Hermite cubic splines. They started with Hermite cubic splines as the primal scaling bases on R. Then, they constructed dual scaling bases on Rconsisting of continuous functions with small supports and with polynomial exactness of order 2. Consequently, they derived primal and dual boundary scaling functions retaining the polynomial exactness. This ensures vanishing moments of the corresponding wavelets. Finally, 47
Source: Own Fig. 1.Piecewise linear multiwavelets they applied the method of stable completions to construct the corresponding primal and dual multiwavelets on the interval. These Hermite cubic splines are defined by φ1(x) = (x+1)2(1−2x)−1≤x≤0 (1−x)2(2x+1)0≤x≤1 0 otherwise ,φ2(x) = (x+1)2x−1≤x≤0 (1−x)2x0≤x≤1 0 otherwise . They possess the following interpolation property: φ1(0) = 1,φ0 1(0) = 0,φ2(0) = 0,φ0 2(0) = 1 and then for any function f∈C1(R) u:=∑ j∈Z f(j)φ1(x−j)+ ∑ j∈Z f0(j)φ2(x−j) is a Hermite interpolant to fon Z. 1.1 Wavelets proposed by R. Q. Jia and S. T. Liu An interesting construction was proposed in [5]. The authors constructed multiwavelets based on Hermite cubic splines with continuous derivatives and with a support on the interval [−1,1]. One of the constructed wavelets is symmetric, and the second one is antisymmetric. They also adapted them to the interval [0,1]and their construction of boundary wavelets is very simple unlike the construction from [4]. In comparison with the semi-orthogonal wavelets, the wavelets at different levels are orthogonal with respect to hu0,v0iinstead of hu,vi.They are given by ψ1(x) = −2φ1(2x+1)+4φ1(2x)−2φ1(2x−1)−21φ2(2x+1)+21φ2(2x−1), 48
φ1φ2 Source: Own Fig. 2.The Hermite cubic spline ψ1ψ2 Source: Own Fig. 3.Wavelets proposed by R. Q. Jia and S. T. Liu ψ2(x) = φ1(2x+1)−φ1(2x−1)+9φ2(2x+1)+12φ2(2x)+9φ2(2x−1). Both wavelets are supported on [−1,1]and its adaptation to the interval [0,1]is performed by the restriction of the antisymmetric wavelet to the interval [0,1]. For n≥1,let Vnbe the space of piecewise cubic splines v∈C1(0,1)∩C[0,1]for which v(0) = v(1) = 0.The dimension of Vnis 2n+1and the set Φn:={φ1(2nx−j):j=1,...,2n−1}∪φ2(2nx−j)|[0,1]:j=0,...,2n is the basis for Vn.Let Wnbe the complement of Vnin Vn+1with the basis defined by Ψn:={ψ1(2nx−j):j=1,...,2n−1}∪ψ2(2nx−j)|[0,1]:j=0,...,2n. Then, we have the following decomposition of H1 0(0,1) H1 0(0,1) = V1+W1+W2+W3.... 1.2 Hierarchical Basis The second possibility to define complement wavelet spaces, we use the following hierarchical approach: ψ1(x) = φ1(2x+1)and ψ2(x) = φ2(2x+1). 49
Both functions are supported on [−1,0]and therefore no boundary functions are necessary. The complement space Wnis then given by Ψn:={ψ1(2nx−j):j=1,...,2n}∪{ψ2(2nx−j):j=1,...,2n}. ψ1ψ2 Source: Own Fig. 4.Hierarchical wavelets 1.3 Wavelets with Moments The third possibility is to define wavelets to have maximal number of vanishing moments for the given support [−1,1]. Wavelets are given then by ψ1(x) = φ1(2x+1)−φ1(2x−1)+ 39 7φ2(2x+1)+ 132 7φ2(2x)+ 39 7φ2(2x−1), and ψ2(x) = −1 2φ1(2x+1)+φ1(2x)−1 2φ1(2x−1)−15 4φ2(2x+1)+ 15 4φ2(2x−1). ψ1ψ2 Source: Own Fig. 5.Wavelets with the maximal number of vanishing moments 50
Boundary wavelets are constructed to have the same number of vanishing moments as inner wavelets. For more details, see [2]. Again let Wnbe the complement of Vnin Vn+1with the basis defined by Ψn:={ψ1(2nx−j),ψ2(2nx−j):j=1,...,2n−1} ∪ψ3(2nx−1)|[0,1]∪ψ4(2n(x−1)+1)|[0,1]. 1.4 Wavelets Proposed by T. J. Dijkema and R. Stevenson Further construction was proposed in [3]. They first proved that it is not possible to construct continuous piecewise smooth wavelets which have a compact support, form Riesz basis for L2(I), properly scaled wavelets form the Riesz basis for H1(I),and with Dψ0 λ,ψ0 µE=0,and ψλ,ψµ=0∀λ,µ. Consequently, they constructed cubic Hermite wavelets with the continuous first derivative such that among the primal multiresolution spaces Vjand the dual multiresolution spaces ˜ Vjthe following relation holds Vj+V00 j⊂˜ Vj+1. As a consequence Dψ0 λ,ψ0 µE=0,ψλ,ψµ=0,∀λ,µ:|λ|>|µ|+1. Their wavelets are then given by ψ1(x) = φ1(2x+1)−φ1(2x−1)+ 39 7φ2(2x+1)+ 132 7φ2(2x)+ 39 7φ2(2x−1), ψ2(x) = −1 2φ1(2x+1)+φ1(2x)−1 2φ1(2x−1)−15 4φ2(2x+1)+ 15 4φ2(2x−1), ψ3(x) = 3 ∑ i=−3 ciφ1(2x−i)+diφ2(2x−i),ψ4(x) = 3 ∑ i=−3 eiφ1(2x−i)+ fiφ2(2x−i) with c=−4595 13728,7 65,−18737 68640,1,−18737 68640,7 65,−4595 13728, d=−68741 22880,−69 40,−204701 22880 ,0,204701 22880 ,69 40,68741 22880, e=417 22880,−7 2340,5443 205920,0,−5443 205920,7 2340,−417 22880, f=723 4576,1 8,8153 13728,1 2,8153 13728,1 8,723 4576. Again Wnis the complement of Vnin Vn+1with the basis defined by Ψn:=ψ1(2nx−2j−1),ψ2(2nx−2j−1):j=0,...,2n−1−1 ∪ψ3(2nx−2j):j=1,...,2n−1−1∪ψ4(2nx−2j)|[0,1]:j=0,...,2n−1. 51
ψ3ψ4 Source: Own Fig. 6.Wavelets proposed by T. J. Dijkema and R. Stevenson 2 Numerical Experiments In this section, the wavelets introduced in the previous section are used to solve numeri-cally differential equations. We will restrict ourselves to the equation −pu00+qu =fwith the Dirichlet boundary conditions u(0) = u(1) = 0 and with positive constant coefficients. The corresponding Galerkin approximation problem is the following: Find un= 2n+2 ∑ i=1 civisuch that Z1 0 pu0 nv0+qunvdx =Z1 0 f vdx ∀v∈Vn. By the Lax-Milgram lemma, this approximation problem has the unique solution. We also use the standard wavelet preconditioning consisting in normalizing each basis function with respect to the above bilinear form. To solve the arising system of linear equations, we use the conjugate gradient method. The iterations are terminated if the difference of two consecutive iterations is less than 10−n−2/cond(An),where cond(An)denotes the condition number of the corresponding stiffness matrix. Tab. 1.Obtained results for the problem with p =q=1. JL H M DS n||un−u||L2NZ IT NZ IT NZ IT NZ IT 1 6.0e-02 48 4 40 7 54 7 54 5 2 1.7e-02 172 5 128 13 162 11 154 7 3 2.6e-03 552 6 368 20 418 16 410 9 4 2.7e-04 1580 7 976 31 1010 21 986 10 5 2.3e-05 4168 8 2448 41 2306 24 2202 13 6 1.8e-06 10396 10 5904 52 5042 25 4698 14 7 1.2e-07 24936 10 13840 74 10690 28 9754 16 8 8.3e-09 58283 11 31760 84 22194 31 19967 17 9 5.4e-10 135302 12 71696 110 46963 33 41627 19 Source: Own 52
Tab. 2.Obtained results for the problem with p =1and q =0. JL H M DS n||un−u||L2NZ IT NZ IT NZ IT NZ IT 1 6.0e-02 24 3 36 7 50 7 54 5 2 1.7e-02 56 5 116 12 154 11 154 7 3 2.6e-03 128 6 340 20 406 16 410 8 4 2.7e-04 280 6 916 31 994 20 986 10 5 2.3e-05 592 8 2324 41 2286 24 2202 12 6 1.8e-06 1224 10 5652 52 5018 25 4698 14 7 1.2e-07 2847 10 13332 69 10677 28 9762 15 8 8.3e-09 8818 10 30740 84 22347 30 20019 16 9 5.4e-10 35863 12 69652 110 46613 33 41421 19 Source: Own First we solve the above problem with p=q=1 and the exact solution u=x(1−e50x−50) which exhibits a steep gradient near the point 1.Results are summarized in Table 1. Then we solve the above problem with p=1,q=0 and with the exact solution u=x(1−e50x−50)which exhibits a steep gradient near the point 1.Results are summarized in Table 2. In both tables, NZ is the number of nonzero elements in stiffness matrices, IT represents the number of iterations, JL denotes wavelets proposed in [5], H denotes hierarchical basis, M denotes wavelets proposed in [2], and finally DS denotes wavelets proposed in [3]. Achieved approximation error was the same for all bases. Conclusion Presented results affirm that wavelets proposed in [5] have excellent condition number, and especially for the Poisson equation, the arising stiffness matrices are very sparse. Wavelets proposed in [3] are best suited for general differential equations with constant coefficients. Results of tested hierarchical basis confirm the well known fact that these basis do not form the Riesz basis and therefore they need some additional preconditioning. Concerning the basis proposed in [2], we suppose that it will be better (than tested bases) suited for non-constant differential equations solved adaptively. Presented results also suggest that there is probably some space to improve the condition number of the basis proposed in [2]. Acknowledgments This work has been supported by the project ESF No. CZ.1.07/2.3.00/09.0155 “Constitution and improvement of a team for demanding technical computations on parallel computers at TU Liberec”. Literature [1] ALPER, B. K.; ROKHLIN, V.: A fast algorithm for the evaluation of Legendre expansions. Siam J. Sci. Statist. Comput., 12 (1991), pp. 158-179. [2] ˇ CERN ´ A, D.; FIN ˇ EK, V.: Hermite cubic spline wavelets with moments on the interval. In preparation, 2012. 53
[3] DIJKEMA, T. J.; STEVENSON, R.: A sparse Laplacian in tensor product wavelet coordinates. Numer. Math., vol. 115, no. 3 (2010), pp. 433-449. [4] DAHMEN, W.; HAN, B.; JIA, R.-Q.; KUNOTH, A.: Biorthogonal Multiwavelets on the Interval: Cubic Hermite Splines. CONSTR. APPROX., vol. 16, (1998), pp. 221-259. [5] JIA, R.-Q.; LIU, S.-T.: Wavelet bases of Hermite cubic splines on the interval. Adv. in Comp. Math., 25 (2006), pp. 23-39. [6] KEINERT, F.: Wavelets and Multiwavelets. CHAPMAN & HALL/CRC, 2004. [7] LEBRUN, J.; VETTERLI, M.: Balanced multiwavelets theory and design. IEEE Trans. Signal Process., 46 (1998), pp. 1119-1125. [8] LEBRUN, J.; VETTERLI, M.: High-order balanced multiwavelets: theory, factorization, and design. IEEE Trans. Signal Process., 49 (2001), pp. 1918-1930. RNDr. Dana ˇ Cern´ a, Ph.D., RNDr. V´ aclav Finˇ ek, Ph.D., Gerta Plaˇ ckov´ a, prom. mat. 54