Numerical solution of differential equations using Haar wavelets
Introduction
Solution of differential equations by the wavelet method has been discussed in many papers (see e.g. [1], [2], [3], [4], [5], [6], [7], [8]). For this purpose different approaches as Galerkin and collocation methods, FEM and BEM are used; in [3] the filter bank method and in [7] the Kalman filters are applied. In some papers adaptive methods, which give possibility for grid refinement, are proposed. In most papers the Daubechies wavelets are used, the Gaussian wavelet is applied in [2], [8]. Numerical difficulties appear in the treatment of nonlinearities, where integrals of products of wavelets and their derivatives must be computed. This can be done by introducing the connection coefficients [4], [9], but this method is applicable only for a narrow class of equations. An adaptive method for computing such integrals is also proposed [4].
The complexity of the wavelet solutions has induced some pessimistic estimates. Strong and Nguyen write in their text-book [10] “ the competition with other methods is severe. We do not necessarily predict that wavelets will win” (p. 394). Jameson [11] writes: “ nonlinearities etc., when treated in a wavelet subspace, are often unnecessarily complicated …. There appears to be no compelling reason to work with Galerkin-style coefficients in a wavelet method” (p. 1982). In order to mollify this criticism we would like to emphasize on the advantages of the wavelet method: using the wavelet method it is possible to detect singularities, local high frequencies, irregular structure and transient phenomena exhibited by the analyzed function.
Evidently attempts to simplify the wavelet approach for solving differential equations are welcome. One possibility for this is to make use of the Haar wavelet family.
In 1910 Alfred Haar introduced a function which presents an rectangular pulse pair (Fig. 1b). After that various generalizations and definitions were proposed (state-of-the art about Haar transforms can be found in [12]). In 1980s it turned out that the Haar function is in fact the Daubechies wavelet of order 1. This enabled to introduce the Haar wavelet, which is the simplest orthonormal wavelet with compact support. It should be mentioned that the Haar wavelet has an essential shortcoming: it is not continuous. In the points of discontinuity the derivatives do not exist, therefore it is not possible to apply the Haar wavelet directly for solving differential equations.
There are some possibilities to come out from this impasse. First the piecewise constant Haar function can be regularized with interpolation splines, this technique has been applied in several papers by Cattani (see e.g. [13], [14], [15]).
The second possibility is to make use of the integral method, by which the highest derivative appearing in the differential equation is expanded into the Haar series. This approximation is integrated while the boundary conditions are incorporated by using integration constants [2]. This approach has been realized for the Haar wavelets by Chen and Hsiao [16], [17]. The main idea of this technique is to convert a differential equation into an algebraic one; hence the solution procedure is either reduced or simplified accordingly. Later on this method was successfully applied for solving singular, bilinear and stiff systems [18], [19], [20]. For the Chen and Hsiao method (CHM) the choice of solution steps is essential: if the step is too small the coefficient matrix may be nearly singular and its inversion brings to instability of the solution. Nonlinearity of the system also complicates the solutions, since big systems of nonlinear equations must be solved.
Cattani observed that computational complexity can be reduced if the interval of integration is divided into some segments [15], this method he called the reduced Haar transform. The number of collocation points in each segment is considerably smaller as in the case of CHM; therefore we can hope that such solutions are more stable.
Further simplification of the solution can be obtained if in each segment only one collocation point is taken. It is assumed that the highest derivative is constant in each segment, therefore this method is called “piecewise constant approximation (PCA)”. This method is very convenient in the case of nonlinear differential equations, since for each segment only one nonlinear equation should be solved. This method has been applied by Goedecker and Ivanov [21] and also by Hsiao and Wang [20].
The main aim of this paper is to elaborate the method of segmentation (SM) and to apply it to some differential equations. To compare the efficiency of CHM, SM and PCA some test problems are solved.
Section snippets
Haar wavelet basis
The Haar wavelet family for is defined as follows:
Integer indicates the level of the wavelet; is the translation parameter. Maximal level of resolution is J. The index i in (2.1) is calculated according the formula ; in the case of minimal values we have , maximal value of i is . It is assumed that the value corresponds to the scaling function for which in and vanishes
Method of segmentation
In this section the ODEis considered.
Instead of (3.1) the system of first-order equationscan be solved.
Let us divide the time interval into N segments; the length of the n-th segment is denoted by . If is the coordinate of the n-th dividing point, thenwith .
Consider the n-th segment. It is convenient to introduce the local timeand choose 2M collocation points
System
Second order linear ODE
Consider the linear differential equationwhere , , are constants and is a prescribed function.
Carrying out the same operations which were needed for derivation of (3.5) the Eq. (4.1) gets the formwhere .
Applying the substitution (3.6), dividing all terms with the matrix and taking into account the condition Eq. (4.2) can be brought into the form
Nonlinear ODE solutions
The aim of this Section is to demonstrate how the Haar wavelets can be applied for solving nonlinear differential equations. For a test problem the Duffing equationwith the initial conditions is taken. To apply CHM for the solution of this equation seems to be inconvenient since for calculating the wavelet coefficients big nonlinear systems must be solved; therefore here only SM and PCA are considered.
As in Section 4 the interval
Diffusion equation
In this section the diffusion (or heat) equation in the unit intervalwith the initial conditionand boundary conditions is considered.
This problem has been the touchstone for different solutions based on the wavelet method. Adapted methods were proposed in [5], [24]; in paper [5] the Deslauries–Dubuc interpolating-function for the Daubechies wavelets was applied, in [24] the Coiflet wavelets were used. In papers [15], [25] by Cattani Haar
Conclusions
Solution of ODE and PDE with the aid of Haar wavelets is discussed. A new technique which is called the segmentation method is proposed. Its applicability and efficiency is checked on five test problems. The achieved results are compared with the former wavelet solutions CHM and PCA. On the basis of this analysis following conclusions can be made.
The CHM is mathematically very simple, especially if the matrix representation is used. Since most elements of the matrices P and H are zero the
Acknowledgement
Financial support of the Estonian Science Foundation (grant no. 5240) is gratefully acknowledged.
References (25)
- et al.
Wavelet algorithms for numerical resolution of partial differential equations
Comput. Methods Appl. Mech. Eng.
(1994) - et al.
A multilevel wavelet collocation method for solving partial differential equations in a finite domain
J. Comput. Phys.
(1995) - et al.
On adaptive computation of integrals of wavelets
Appl. Num. Math.
(2000) - et al.
A wavelet based method for numerical solution of nonlinear evolution equations
Appl. Num. Math.
(2000) - et al.
Wavelet transform adapted to an approximate Kalman filter system
Appl. Num. Math.
(2000) - et al.
Vibration modelling with fast Gaussian wavelet algorithm
Adv. Eng. Software
(2002) - et al.
Haar wavelet method for solving lumped and distributed-parameter systems
IEE Proc. Control Theory Appl.
(1997) - et al.
State analysis of time-varying singular nonlinear systems via Haar wavelets
Math. Comput. Simulat.
(1999) - et al.
State analysis of time-varying singular bilinear systems via Haar wavelets
Math. Comput. Simulat.
(2000) - et al.
Haar wavelet approach to nonlinear stiff systems
Math. Comput. Simulat.
(2001)
An adaptive collocation method based on interpolating wavelets
Filter bank methods for hyperbolic PDEs
SIAM J. Num. Anal.
Cited by (270)
A study on Chlamydia transmission in United States through the Haar wavelet technique
2024, Results in Control and OptimizationHaar wavelet for computing periodic responses of impact oscillators
2024, International Journal of Mechanical SciencesSpectral and Haar wavelet collocation method for the solution of heat generation and viscous dissipation in micro-polar nanofluid for MHD stagnation point flow
2024, Mathematics and Computers in SimulationA novel hybrid approach for computing numerical solution of the time-fractional nonlinear one and two-dimensional partial integro-differential equation
2023, Communications in Nonlinear Science and Numerical SimulationA Haar wavelet multi-resolution collocation method for singularly perturbed differential equations with integral boundary conditions
2023, Mathematics and Computers in Simulation