Mathematical Problems in Engineering

Volume 2008, Article ID 629253, 14 pages

http://dx.doi.org/10.1155/2008/629253

## Construction of Interval Wavelet Based on Restricted Variational Principle and Its Application for Solving Differential Equations

College of Information and Electrical Engineering, China Agricultural University, P.O. Box 053, 17 Qinghua Donglu Road, Beijing 100083, China

Received 10 December 2007; Revised 25 February 2008; Accepted 31 March 2008

Academic Editor: Giuseppe Rega

Copyright © 2008 Shu-Li Mei et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

Based on restricted variational principle, a novel method for interval wavelet construction is proposed. For the excellent local property of quasi-Shannon wavelet, its interval wavelet is constructed, and then applied to solve ordinary differential equations. Parameter choices for the interval wavelet method are discussed and its numerical performance is demonstrated.

#### 1. Introduction

Since the definition domain of wavelet transformation is an infinite interval, the boundary effect would occur when applied for resolving the engineering problems with bounded interval, for example, ordinary differential equations (ODEs). Consequently, it will decrease the precision and computational efficiency of the solution. Nevertheless, the boundary effect can be eliminated effectively by constructing an interval wavelet using numerical methods.

There are several ways available to construct an interval wavelet. In general, the construction method is relative to the wavelet function, that is, different interval wavelet has different construction method. A simple solution is the even 2-periodical extension of function , which is usually used in image analysis. Unfortunately, this extension generally produces discontinuities at the integers that are indicated by the large wavelet coefficients near the endpoints 0 and 1. Thus, the constructed wavelet cannot exactly analyze the boundary behavior of a given function. To solve this problem, the popular method is based on special boundary and interior scaling functions as well as wavelets to reduce the numerical problem at the boundaries [1, 2].

The aim of this paper is to introduce a general construction method of interval wavelet based on the restricted variational principle. As an example, the quasi-Shannon wavelet is firstly introduced in brief. Then, its corresponding interval wavelet is constructed in detail based on the restricted variational principle [3]. After that, the wavelet collocation method is applied to obtain the interval wavelet discrete formulation of ODEs. The performance of the quasi-Shannon interval wavelet is illustrated by comparing the numerical results of Shannon, quasi-Shannon, and Shannon interval wavelets on a convection equation.

#### 2. Quasi-Shannon Wavelet

The Shannon scaling function is smooth, this means that the function and all of its derivatives exist and are continuous. But the Shannon function does not have compact support. In order to improve the localized and asymptotic behavior of the Shannon scaling function, Wei [4] introduced a regularization factor as follows: The advantage of the regularized Shannon scaling function is that its Fourier transformation is continuous [4], resulting in an excellent local property. A common and important regularization factor proposed by Wei [4] is the Gaussian function where is the width parameter (or called window size). In practice, the best results are usually obtained, when [4] ( is a parameter chosen in computations, is the size of cell in discrete mesh). Substituting (2.2) into (2.1), the Gaussian regularized orthogonal sampling scaling function can be obtained as following: The corresponding discrete formula is

#### 3. Construction of Interval Wavelet Based on Restricted Variational Principle

##### 3.1. Restricted Variational Principle

Defining a scalar fonctionelle of as where is an unknown function, both and are specific operators, is the definition domain, and is the boundary of . The solution of a continuous medium problem is a stagnation point of the functional equation , that is, its variation is equal to zero The method described above for solving a continuous medium problem is called restricted variational principle [3].

The unknown function could be approximately expressed as where is the parameters to be determined and is the trial function.

If the unknown function is restricted by additional condition in definition domain , a revised fonctionelle could be constructed as follows: where is called Lagrange multiplier, which is a function vector with independent coordinates in Ω. The functions and are two unknown variables within the revised fonctionelle. Similarly as (3.3), could be approximately expressed by trial function as Let the variation of the revised fonctionelle equal to zero, and a system of equations could be obtained as follows: The values of and could be obtained by solving the above system of equations.

Let the Euler equation of the fonctionelle is and the additional condition is Substituting (3.5), (3.7), and (3.8) into (3.4), the following function could be obtained: Since (3.9) is satisfied for all variations of and , the following two equations can be derived: The first item in (3.10) is the approximate equation of the natural variation of the linear system of equations: Thus, (3.10) and (3.11) could be rewritten in the following form: where

##### 3.2. Construction of Quasi-Shannon Interval Wavelet

Considering a one-dimensional problem , whose domain of definition is . Assuming that the number of discrete point is , the th discrete point of variable could be written as If the quasi-Shannon wavelet with interpolation property is employed as the trial function , that is,Any element in the matrices and could be expressed, respectively, as where is the Lagrange basic function.

As the definition domain of wavelet transformation is a double infinite interval, the wavelet coefficients are large near the endpoints of the bounded signal, which increases the computational error. To obtain a high computational precision, the additional condition of scalar fonctionelle in boundary could be changed to Thus, where is a known value. Recomputing (3.13) with this additional condition, it could be rewritten as follows: Correspondingly, (3.18) changed to the form The interpolation properties of and imply that and are the vectors consisting of the approximate values of in discrete points and extended discrete points outside the domain of , respectively. Typically, periodic, symmetry, and zero extension methods could be employed. Assuming that there are discrete points in , that is, , and extended points in both outsides of the domain , respectively, that is, and , the function can be extended outside of the definition domain using the symmetry method, period method, or the zero extension method. Here, we take the symmetry method as example to illustrate the interval wavelet construction method as follows: Substituting (3.23) into (3.21) results in where In the matrices and , and could be calculated, respectively, as According to and the relational expression (3.23), (3.24) could be condensed in the following way: Subsequently, as interval interpolation basic functions, the quasi-Shannon interval wavelet can be obtained from (3.28) as follows: where is the number of the external points, is the support domain of the wavelet function, that is, .

It is easy to know that the quasi-Shannon interval wavelet is a linear combination of the quasi-Shannon scaling function . Therefore, the quasi-Shannon interval wavelet function possesses all the properties of the quasi-Shannon scaling function.

It should be noted that the interval wavelet function (3.29) is similar to the result obtained in [5] using different methods. But we can construct different interval wavelets possessed similar format based on different extension technologies by this method. Otherwise, this method reveals the close relationship between the restricted variational principle and the interval interpolation wavelet.

#### 4. Interval Wavelet Numerical Method for Ordinary Deferential Equations (ODEs)

##### 4.1. Interval Wavelet Discrete Formulation of ODEs [6, 7]

Considering the following ODE: According to the collocation method, its approximate solution can be expressed as Substituting (4.2) into (4.1), the system of algebraic equations can be obtained as follows: The solution of (4.3) is an approximate one of (4.1) at the collocation point . Equation (4.3) could be rewritten in the new form below as follows: where is the vector of solution, is right side vector, and is the stiffness matrix. Any element of the matrix could be expressed as follows: where In the solution of the above differential equations, there are several types of boundary conditions commonly encountered, such as Dirichlet and Neumann boundary conditions. For simple, we only consider the Dirichlet boundary in the following discussions.

Dirichlet boundary conditions of differential equations specify the value of function on a surface : That is, the solution on the boundary is known. Assuming that the definition interval of the solution is , the approximate solution will be Substituting (4.8) into (4.4), the system of algebraic equations satisfying the boundary conditions could be obtained.

##### 4.2. Numerical Example

Considering the following two-point boundary problem as a convection equation, Its analytical solution as shown in Figure 1 is where and are Eigenvalues: Obviously, the boundary layer phenomenon is evident near the boundary , which would increase with the decrease of the parameter . This could be used to test the effectiveness of the interval wavelet.

Substituting (4.5) into (4.9) results in its wavelet discrete formulation as the following: The weight function in (4.12) can be set as the Shannon, the quasi-Shannon, or the interval wavelet functions. Their numerical solutions and corresponding errors are shown in Figure 2, where the count of collocation points is 65, and the points are distributed evenly in space. Obviously, the calculation precision of the interval wavelet is higher than others.

Besides, the regularized width parameter which has been discussed in [8], the parameters affect the calculation precision significantly. Therefore, appropriate values should be selected when implementing the numerical method developed.

###### 4.2.1. Total Number of External Collocation Points

In fact, the definition of interval wavelet in
(3.29) indicates that the values of in external collocation points are obtained by
Lagrange interpolation method. So, the parameter is relative with the smoothness of the solution, which is
difficult to be determined. With the increasing of ,
the Runge phenomena could occur in the Lagrange interpolation [9]. As a result,
it could decrease the computational precision, which is proved by the numerical
results shown in Table 1. When ,
the maxima of both the relative error and the absolute error are apparently
less than that of the other two methods. However, opposite results were
obtained, when .
Actually, the solution of ODE with the Dirichlet boundary condition is not
smooth on the boundary in most cases, and so the bigger *L* cannot make any contribution to improve the computational
precision except increasing the time complexity of the numerical method. Consequently, might be the best choice.

###### 4.2.2. Parameter

Table 2 shows the influence of parameter on the calculation precision. It can be observed that the solution is smooth as . Although the quasi-Shannon wavelet has local property, its computational precision is lower than that of the Shannon wavelet without local property. With decreasing, the superiority of quasi-Shannon wavelet method to Shannon wavelet method exhibits gradually. When , the maximum of the relative error of the quasi-Shannon wavelet method is only 0.33, while that of Shannon wavelet method is as high as 26.6. The precision of the interval wavelet method keeps higher than the other two methods in the whole process. When and , the maxima of both the relative error and the absolute error of the interval wavelet method are the lowest among the three methods.

However, when the parameter further decreases, the relative error of the interval wavelet method is slightly larger than that of quasi-Shannon wavelet method, and the absolute error of the interval wavelet method approximately identical to that of quasi-Shannon wavelet method. This is due to the boundary layer phenomena of the two-point boundary problem appearing at the points adjacent to the boundary . The boundary layer phenomena result in the large gradient of solution, and thus the Gibbs phenomena [10] are unavoidable. Since the construction of the interval wavelet is based on the Lagrange continuation, the Gibbs phenomena would decrease the precision of continuation. Hence, the computational precision of quasi-Shannon interval wavelet method is decreased.

###### 4.2.3. Influence of

The parameter is used to control the total number of collocation points in the discrete formula of wavelet collocation method. The number of collocation points is the exponential function of the parameter , that is, . According to the explanation in Section 4.2.2, if there is no Gibbs phenomena or the Gibbs phenomena are weak enough, the precision of the interval wavelet method should be slightly higher than the quasi-Shannon wavelet method, even the value of is small. The Gibbs phenomena would be continuously weakening up to none with the increment of the collocation points. Table 3 indicates that calculation errors of all three methods decrease with number of the collocation points increasing. When , the maximum absolute error of the interval wavelet method is less than the other two methods. In addition, the maximum relative error of the interval wavelet method is less than the error of the quasi-Shannon wavelet method, but larger than the error of Shannon wavelet method.

##### 4.3. Comparison of Calculation Precision Obtained by Shannon Interval Wavelet Method and Quasi-Shannon Interval Wavelet Method

In this work, the Shannon interval wavelet is also constructed to further evaluate the performance of the quasi-Shannon interval wavelet for numerical analysis. Instead of (3.16), the following weight function is used to construct the Shannon interval wavelet: The first and second derivatives of (4.13) are expressed, respectively, as follows: The collocation method of Shannon interval wavelet method could be obtained by substituting (4.13)–(4.15) into (4.5).

Table 4 indicates that the maxima of both the relative error and the absolute error obtained by the Shannon interval wavelet method are less than those obtained by the quasi-Shannon interval wavelet method when the solution curve of the two-point problem is smooth. As decreasing, the precision of quasi-Shannon interval method become higher than that of the Shannon interval wavelet method. Especially when , the calculation precision obtained by quasi-Shannon interval wavelet method is higher than that obtained by Shannon interval wavelet method in the whole process with the collocation number varying from a smaller number to 1025 (i.e., ).

Figure 3 also shows that when the equation is solved by the quasi-Shannon interval wavelet, the numerical error mainly lies in the boundary, while the errors of other parts are very little. On the contrast, when the Shannon interval wavelet method is utilized, the numerical error almost evenly distributes in the all domain. Consequently, the sum of the error is much larger than that of the quasi-Shannon interval wavelet.

#### 5. Conclusions

A novel general method for construction of interval wavelet based on the restricted variational principle is proposed in this paper. Both Shannon and quasi-Shannon interval wavelets could be constructed using this new method. With appropriate values of parameters , and selected, the numerical results for a differential equation show that the quasi-Shannon interval wavelet outperforms than Shannon and quasi-Shannon wavelets. Furthermore, the capability of quasi-Shannon interval wavelet for numerical analysis is better than that of Shannon interval wavelet.

It should be noted that combining the corresponding interval wavelet with the classical Galerkin method can obtain an excellent wavelet-Galerkin method for engineering problems. Since quasi-Shannon wavelet is orthogonal, this guarantees the stability of the matrix equations in Galerkin method.

#### Acknowledgment

This work is supported by the National Natural Science Foundation of China (no. 60772038).

#### References

- A. Cohen, I. Daubechies, and P. Vial, “Wavelets on the interval and fast wavelet transforms,”
*Applied and Computational Harmonic Analysis*, vol. 1, no. 1, pp. 54–81, 1993. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - E. Quak and N. Weyrich, “Decomposition and reconstruction algorithms for spline wavelets on a bounded interval,”
*Applied and Computational Harmonic Analysis*, vol. 1, no. 3, pp. 217–231, 1994. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - C. R. Ortloff, “Restricted variational principle methods for boundary value problems of kinetic theory,”
*Physics of Fluids*, vol. 10, no. 1, pp. 230–231, 1967. View at Publisher · View at Google Scholar - G. W. Wei, “Quasi wavelet and quasi interpolating wavelets,”
*Chemical Physics Letters*, vol. 296, no. 3-4, pp. 215–222, 1998. View at Publisher · View at Google Scholar - O. V. Vasilyev and S. Paolucci, “A dynamically adaptive multilevel wavelet collocation method for solving partial differential equations in a finite domain,”
*Journal of Computational Physics*, vol. 125, no. 2, pp. 498–512, 1996. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - S.-L. Mei, Q.-S. Lu, S.-W. Zhang, and L. Jin, “Adaptive interval wavelet precise integration method for partial differential equations,”
*Applied Mathematics and Mechanics*, vol. 26, no. 3, pp. 364–371, 2005. View at Publisher · View at Google Scholar · View at MathSciNet - S.-L. Mei, Q.-S. Lu, and S.-W. Zhang, “An adaptive wavelet precise integration method for partial differential equations,”
*Chinese Journal of Computational Physics*, vol. 21, no. 6, pp. 523–530, 2004. View at Google Scholar - D.-C. Wan and G.-W. Wei, “The study of quasi wavelets based numerical method applied to Burgers' equations,”
*Applied Mathematics and Mechanics*, vol. 21, no. 10, pp. 1099–1110, 2000. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J. J. Leader,
*Numerical Analysis and Scientific Computation*, Addison-Wesley, Reading, Mass, USA, 2004. - I. Daubechies,
*Ten Lectures on Wavelets*, vol. 61 of*CBMS-NSF Regional Conference Series in Applied Mathematics*, SIAM, Philadelphia, Pa, USA, 1992. View at Zentralblatt MATH · View at MathSciNet