Open access peer-reviewed chapter

Higher Order Haar Wavelet Method for Solving Differential Equations

Written By

Jüri Majak, Mart Ratas, Kristo Karjust and Boris Shvartsman

Submitted: June 10th, 2020 Reviewed: October 16th, 2020 Published: November 13th, 2020

DOI: 10.5772/intechopen.94520

Chapter metrics overview

425 Chapter Downloads

View Full Metrics

Abstract

The study is focused on the development, adaption and evaluation of the higher order Haar wavelet method (HOHWM) for solving differential equations. Accuracy and computational complexity are two measurable key characteristics of any numerical method. The HOHWM introduced recently by authors as an improvement of the widely used Haar wavelet method (HWM) has shown excellent accuracy and convergence results in the case of all model problems studied. The practical value of the proposed HOHWM approach is that it allows reduction of the computational cost by several magnitudes as compared to HWM, depending on the mesh and the method parameter values used.

Keywords

  • higher order Haar wavelet method
  • convergence analysis
  • accuracy estimates
  • improvement of widely used Haar wavelet method

1. Introduction

Wavelets are most commonly used in signal processing applications to denoise the real signal, to cut a signal into different frequency components, to analyze the components with a resolution matched to its scale, also in image compression, earthquake prediction and other algorithms.

However, the current study is focused on the area where the use of wavelet methods shows a growth trend, i.e., in the solution of differential equations. Many different wavelets based methods have been introduced for solving differential and integro-differential equations. The Legendre wavelets are utilized to solve fractional differential equations in [1, 2, 3, 4] and integro-differential equations in [5, 6]. In [7, 8], the Daubechies wavelet based approximation algorithms are derived to solve ordinary and partial differential equations. In [9], the Lucas wavelets are combined with Legendre–Gauss quadrature for solving fractional Fredholm–Volterra integro-differential equations. The series solution of partial differential equations through separation of variables is developed by using the Fourier wavelets in [10]. The Riesz wavelets- based method for solving singular fractional integro-differential equations was developed in [11]. In the studies in [12], the Galerkin method was combined with the quadratic spline wavelets for solving Fredholm linear integral equations and second-order integro-differential equations. The Chebyshev wavelets method for partial differential equations with boundary conditions of the telegraph type is examined in [13].

The simplest of all wavelet-based approaches was introduced by Alfred Haar already in 1910 [14]. The Haar wavelet-based approach for solving differential and integro-differential equations was introduced in 1997 [15, 16]. Based on the Haar wavelet method (HWM), Chen and Hsiao in [15, 16] proposed an approach where the higher order derivative involved in the differential or integro-differential equations is expanded into the series of Haar wavelets. This approach is based on the nature of Haar functions. Due to the piece-wise constant nature of the Haar functions they are not differentiable but are integrable. In [15, 16], the problems of the lumped and distributed parameter system and those of linear time delayed systems were solved. The Chen and Hsiao approach-based HWM was adapted successfully for solving a wide class of differential, integro-differential and integral equations [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45]. Pioneering work in the development of Haar wavelet-based techniques was conducted by Lepik [17, 18, 19, 20, 21, 22, 23], covering ordinary and partial differential equations [17, 19, 21], integro-differential equations [18], integral equations [20], and fractional integral equations [22]. The HWM approaches and their applications are summarized in a monograph [23]. The HWM is adapted for the analysis of nonlinear integral and integro-differential equations in [24, 25, 26, 27], covering one- and multi-dimensional problems. Solid mechanics, particularly composite structures, are examined using the HWM in [28, 29, 30, 31, 32, 33]. These studies cover free vibration analysis of orthotropic plates [28], functionally graded composite structures [30, 31, 32], delamination detection in composite beams [29], and other structures.

Some recent trends in the development and application of the HWM can be outlined as solutions of fractional differential and integro-diffrential equations [34, 35, 36, 37, 38] as well as the development of a non-uniform and adaptive grid. In the case of fractional differential or integro-differential equations, two principally different HWM approaches regarding to wavelet expansion are available in the literature. The aim of the first approach is to expand the highest order fractional derivative included in the differential equation directly into Haar wavelets, i.e., direct conversion of the Chen and Hsiao approach for fractional differential equations. In [34, 35, 36, 37, 38], the Haar wavelet operational matrix of fractional order integration is introduced and implemented for solving differential and integro- differential equations. The aim of the second approach is to utilize the definitions of fractional derivatives (Caputo derivative, etc.) and convert fractional differential terms into integrals, which contain integer derivatives only. Such an approach has been introduced by Lepik in [22] and utilized in a number of papers [39, 40, 41]. The two approaches considered are implemented and compared in [42]. It is pointed out in [42] that the two approaches have the same rate of convergence if the order of the fractional derivative exceeds one (α > 1). However, if the order of the fractional derivative is less than one (α < 1), the second approach has the rate of convergence equal to two, but the rate of convergence of the first approach is 1 + α, i.e., less than two. Thus, in the case of α < 1, the second approach has a higher convergence rate and can be preferred.

HWM with a nonuniform grid was introduced in [43] using a proportionally changing grid size. The same approach was utilized for the free vibration analysis of non-uniform axially graded beams in [44] and for solving singularly perturbed differential difference equations of neuronal variability in [45].

In most of the studies [17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45], it was concluded that HWM is simple to implement. In the review paper [46], it was pointed out that the HWM is efficient and powerful in solving a wide class of linear and nonlinear reaction–diffusion equations. However, the convergence theorem and accuracy estimates derived for the HWM in [47, 48] state that the order of convergence of the Chen and Hsiao approach-based HWM is equal to two. The latter result is rather modest in the context of engineering. Comparison of the HWM with widely used numerical methods in engineering reveals that HWM needs principal improvement in order to compete with the differential quadrature method (DQM) [49].

The HOHWM as an improvement of HWM was recently introduced by Majak et al. in [50]. The convergence rate of the method was improved from 2 to 2 + 2 s, where s stands for the method parameter. This new method is currently underused, but the first results obtained have shown that a principal growth of the accuracy can be achieved with a minimum growth of complexity [51, 52, 53]. In [52], the free vibrations analysis of the Euler-Bernoulli nanobeam was performed. Figure 1 shows the numerical complexity estimates of the HWM and HOHWM solutions yielding a similar absolute error. Here the numerical complexity is determined by number of main operations of the most complex subtask - solution of discrete algebraic system of equations [52].

Figure 1.

Numerical complexity. Free vibration analysis of the nanobeam.

The logarithmic scale is used in Figure 1 since the complexity of the HWM appears several orders higher (10ˆ8) than that of the HOHWM (10ˆ3…10ˆ5). These results were obtained using the method parameter s = 1 (i.e., fourth order convergence). In practice, one of most important factors is the computational cost. In the case of the considered problem, the computational cost of the HOHWM solution is 10ˆ3…10ˆ5 times lower than that of the HWM. The obtained results hold good in the case of all four boundary conditions considered: pinned-pinned (P–P), clamped-pinned (C-P), clamped-clamped (C-C), and clamped-free (C-F).

Advertisement

2. Theoretical basis of the HWM and the HOHWM

This section introduces the Haar functions and presents the theoretical basis of both, the HWM and the HOHWM, covering basic principles, algorithms, convergence and accuracy issues.

2.1 Haar functions

The HWM and the HOHWM use different approaches, but both use Haar function expansions for the approximation of derivatives. The Haar functions hix, are given as in [14].

hix=1forxξ1iξ2i1forxξ2iξ3i0elsewhereE1

where i=m+k+1, m=2jis a maximum number of square waves deployed in the interval ABand the parameter kindicates the location of the particular square wave,

ξ1i=A+2Δx,ξ2i=A+2k+1μΔx,ξ3i=A+2k+1μΔx,E2
μ=M/m,Δx=BA/2M,M=2J.E3

In Eq. (3) M=2Jstands for maximum resolution. Obviously, the Haar functions hixform an orthonormal basis. The integrals of order nof the Haar functions (1) can be expressed as in [17]

pn,ix=0forxAξ1ixξ1inn!forxξ1iξ2ixξ1in2xξ2inn!forxξ2iξ3ixξ1in2xξ2in+xξ3inn!0forxξ3iBelsewhere.E4

Formulas (4) hold for a general case where i>1, in the case i=1holds pn,1=xAnn!. The interval ABin Eqs. (1)(3) can be converted to the unit interval 01by use of the exchange of variables τ=xA/BA.

In the case of uniform mesh the collocation points can be introduced as.

xl=2l14M,l=1,,2M.E5

The elements of the discrete 2M2MHaar matrix can be expressed as values of Haar functions in collocation points given by Eq. (5)

Hil2M=hixl.E6

The elements of the matrix of n–th order integrals of the Haar function can be evaluated as

Pnil2M=pn,ixl,E7

where pn,ixis defined by formulas (4).

2.2 Haar wavelet method (HWM)

The Chen and Hsiao approach based HWM, utilized in [15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49]. can be considered as a commonly/widely used HWM.

2.2.1 Method description

Let us consider first the n-th order ordinary differential equation in the general form as.

Gxuuuun1un=0.E8

Let us assume that fxis an integrable square and finite function. The Haar wavelet expansion for the function fxis given as (here aistand for the unknown wavelet coefficients).

fx=i=1aihix.E9

According to the HWM approach introduced by Chen and Hsiao in [15, 16] the highest order derivative involved in Eq. (8) is expanded into the series of Haar wavelets, i.e.,

dnuxdxn=i=1aihix,E10

Based on the definition of the Haar function (1)(3), Eq. (10) can be expressed as.

dnuxdxn=a1h1+j=0k=02j1a2j+k+1h2j+k+1x.E11

The solution of the differential Eq. (8) can be obtained by integrating Eq. (11)n-times as.

ux=a1xnn!+j=0k=02j1a2j+k+1pn,2j+k+1x+BTx.E12

In Eq. (12) pn,2j+k+1xstand for n-th order integrals of the Haar functions given by Eq. (4) and BTxis a boundary term. Obviously, in the numerical analysis the finite number of the terms corresponding to the fixed maximum resolution (N=2M) can be considered as.

ux=a1xnn!+j=02Mk=02j1a2j+k+1pn,2j+k+1x+BTx.E13

The integration constants included in the boundary term BTxcan be determined from the boundary conditions. Substituting the solution (13) and its derivatives in the differential Eq. (8) and employing discrete collocation points (5), we obtain 2M2Malgebraic system of equations for determining unknown wavelet coefficients ai. Finally, when the wavelet coefficients aiare known, the solution of the differential Eq. (8) can be evaluated using expression (13). Note that the collocation points defined by Eq. (5) correspond to uniform mesh. Obviously, various non-uniform meshes can be utilized instead of Eq. (5).

Let us consider next a partial differential equation in the general form as

Rxyuxuy2ux22uy22uxyn+quxnyq=0,E14

where nand pstand for the highest order derivatives with respect to xand y, respectively. The solution domain is considered rectangle 0L1x0L2. According to the Chen and Hsiao approach the highest order derivative involved in the differential equation is expanded into Haar wavelets (in this case of 2D expansion)

n+quxnyq=i=12M1l=12M2ailhixhly.E15

In Eq. (15)2M1and 2M2stand for the number of grid points with respect to xand ycoordinates, respectively. Such a 2D wavelet expansion was introduced by Lepik in [19] and is most commonly used. Similar to the 1D case, integrating the relation (15)n-times with respect to xand qtimes with respect to y,we obtain the solution of the differential Eq. (14) as [19].

uxy=i=12M1l=12M2ailpn,ixpq,ly+BTxy.E16

The boundary term BTxyincludes n+qintegration constants which can be determined from the boundary conditions. Substituting Eq. (16) in the differential Eq. (14) and satisfying the obtained equation at the collocation points (e.g., in uniform grid points), we obtain an algebraic system of rank 2M122M22with respect to the wavelet coefficients. By substituting the wavelet coefficients in Eq. (16), the solution of the differential Eq. (14) can be evaluated at any point in the given domain.

2.2.2 Convergence theorem and accuracy estimates

The convergence theorem for the Chen and Hsiao based HWM was proved by Majak et al. in [47].

Theorem.Let us assume that fx=dnuxdxnL2Ris a continuous function on 01and its first derivative is bounded.

x01η:dfxdxη,n2boundary value problems.E17

Then, the Haar wavelet method based on the approach proposed by Chen and Hsiao in [15, 16] will be convergent, i.e., the L2-norm of the error function EMvanishes as Jgoes to infinity. The order of convergence is equal to two.

EM2=O12J+12.E18

The proof is given in [47]. The error bound is derived as.

EM2ηCn612J+12=49ηfloorn/2!212J+12.E19

In the particular case where n=1, the error bound can be derived as.

EM2η312J+12.E20

The error bounds (19) and (20) are main/biggest error terms determining the rate of convergence. A detailed accuracy analysis of the HWM for the fourth order ordinary differential equations is performed in [48], where two error terms are pointed out as.

EM2η121N2+1281N4.E21

It appears that the second error term is the fourth order term, which does not play any role in the standard HWM application. However, this information is important in cases where extrapolation is employed for obtained solutions. For example, by applying the Richardson extrapolation, the first error term is canceled and the order of convergence increases from two to four (the value three is omitted since the third order term in error estimate is missing). Furthermore, it has been shown in [48] that the error estimate includes even order terms only. This aspect can be considered in further improvement of the HWM.

Obviously, at the same assumptions, the multi-dimensional Haar wavelet method is also convergent and the rate of convergence is equal to two.

The obtained results will be validated by a number of case studies by computing the numerical rates of convergence and comparing the obtained and theoretical results. These results are confirmed in [47, 48, 49, 50, 51, 52, 53] and in other papers.

2.3 Higher order Haar wavelet method

As mentioned above, the HOHWM was introduced in [50] as an improvement of the widely used Chen and Hsiao approach based HWM. The HOHWM is based on:

  • higher order wavelet expansion,

  • algorithm for determining complementary integration constants.

It can be pointed out that utilizing the higher order wavelet expansion itself does not provide substantial increase of the rate of convergence and accuracy. The algorithm used for determining complementary integration constants plays key role.

2.3.1 Method description

Let us consider first the n-th order ordinary differential Eq. (8).

According to the the Haar wavelet expansion is expressed as.

dn+2suxdxn+2s=i=1aihix,s=1,2,E22

In the simplest case, where s=1, the n+2order derivative is expanded into Haar wavelets. The even values 2 s are used, based on the analysis of error estimates of the HWM given in the previous section. Integrating the expression (22)n+2times with respect to xwe obtain the solution of the differential Eq. (8) as.

ux=a1xn+2sn+2s!+j=0k=02j1a2j+k+1pn+2s,2j+k+1x+SBTx+HBTx.E23

The boundary terms SBTxand HBTxinclude n+2sintegration constants cr.

SBTx=r=0n1crxrr!,HBTx=r=nn+2s1crxrr!.E24

The integration constants c0,c1,,cn1can be determined from the boundary conditions. To determine the remaining 2 s integration constants, the following two algorithms are proposed by authors in [50].

Using selected uniform grid points (nearest to the boundary from both sides).

xi=iN,xi=1iN,i=0,,s1.E25

Using selected Chebyshev–Gauss–Lobatto grid points (nearest to the boundary from both sides).

xi=121cosi1πN1,i=1,,s,i=Ns+1,,N.E26

In the particular case s=1the differential Eq. (8) is satisfied in the boundary points.

G0u0u0u0un10un0=0,G1u1u1u1un11un1=0.E27

Obviously in the latter case the two algorithms considered above, coincide.

Advertisement

3. Numerical convergence analysis and Richardson extrapolation

The derivations of the numerical estimates of the order of convergence, as well as extrapolation formulas can be found in [54] and are omitted herein for the sake of conciseness. Let us denote the numerical solutions on a sequence of nested grids by Fi2,Fi1, Fi, corresponding to grid sizes hi2/hi1=hi1/hi=2. Then the order of convergence of the numerical method can be estimated by the formula.

kiE=logFi1FexactFiFexact/log2,E28

if the exact solution Fexactis known. If the exact solution is unknown, the following formula can be employed [54].

ki=logFi2Fi1Fi1Fi/log2.E29

The accuracy of the results can be improved by employing the Richardson extrapolation formula as [54].

Ri=Fi+FiFi12k1.E30

The accuracy of the extrapolated results Rican be estimated by applying formulas (28) or (29) to these results. The numerical rates of convergence computed for case study, described in Section 5.1, are depicted in Figure 2.

Figure 2.

Numerical rates of convergence for the HWM and the HOHWM.

The numerical rates of convergence determined are in agreement with convergence theorem for the HWM (Section 2.2.2) and relation given for the HOHWM in Section 2.3 (the rate of convergence of the HOHWM is equal to 2 + 2 s).

Advertisement

4. Complexity analysis

As pointed out above, the accuracy and numerical/time complexity are two key characteristics for any numerical method, algorithm. The computing time is often used as a measure of complexity of algorithms using particular software. More general approach applied commonly in algorithm theory is to estimate the number of basic operations required by each algorithm. The latter approach is independent of software used and does not even require execution of the algorithms. For this reason, in the current study the numerical complexity of the algorithms is estimated based on the number of basic operations.

According to the HWM and the HOHWM algorithms the solution of the differential equation is obtained from the solution of the discrete algebraic system of equations and certain additional operations for composing the linear system and evaluation of the solution in given points. The mentioned additional operations are similar for both methods and have lower asymptotic complexity than the solution of the algebraic system of equations. Thus, the numerical complexity of the HWM and the HOHWM can be compared based on number of basic operations needed for solving algebraic system of equations determined by the rank of the algebraic system of equations (systems are similar by structure).

In the case of the same number of collocations points N, the ranks of the algebraic systems corresponding to the HWM and the HOHWM are equal to N and N + 2 s (here s = 1, 2 or 3), respectively. Furthermore, in the cases where the 2 s complementary integrations constants are determined analytically, the rank of the algebraic system of equations of the HOHWM reduces to N. Thus, in the case of the same mesh used the numerical complexity of the HWM and HOHWM is similar (or equal depending on implementation). However, these solutions have principally different accuracy (see Tables 1-5) and such comparison is rather theoretical.

HWMExtrapolated results
NSolution at point t = 0.5Absolute errorConverg. rateSolution at point t = 0.5Absolute errorConverg. rate
40.602563168641.72E-03
80.603860984864.27E-042.01500.604292119474.49E-06
160.604181242201.06E-042.00370.604287981143.56E-073.6598
320.604261047002.66E-052.00090.604287650002.44E-083.8645
640.604280982026.64E-062.00020.604287627181.59E-093.9385
1280.604285964771.66E-062.00010.604287625691.02E-103.9680
2560.604287210394.15E-072.00000.604287625606.40E-123.9901

Table 1.

HWM results and extrapolated results (Richardon extrapolation).

HOHWM(s = 1)HOHWM (s = 2, VPA)
NSolution at point t = 0.5Absolute errorConverg. rateSolution at point t = 0.5Absolute errorConverg. rate
40.604268295671.93E-050.604287453064741.73E-07
80.604286163521.46E-063.72470.604287622253233.34E-095.6915
160.604287526739.89E-083.88650.604287625530966.06E-115.7827
320.604287619186.41E-093.94770.604287625590571.03E-125.8780
640.604287625184.08E-103.97480.604287625591581.68E-145.9367
1280.604287625572.56E-113.98760.604287625591602.69E-165.9679
2560.604287625591.60E-124.00760.604287625591604.25E-185.9853

Table 2.

HOHWM (s = 1) and HOHWM (s=2,VPA).

HOHWM (s = 3,VPA)
NSolution at point t = 0.5Absolute errorConverg. rate
40.6042876257663931.75E-10
80.6042876255652192.64E-112.7282
160.6042876255915267.19E-148.5195
320.6042876255915972.18E-168.3631
640.6042876255915987.32E-198.2201
1280.6042876255915982.69E-218.0890
2560.6042876255915989.17E-234.8738

Table 3.

HOHWM (s = 3,VPA).

HWMHOHWM (s = 1)
NSolution at point x = 0.5Absolute errorConverg. rateSolution at point x = 0.5Absolute errorConverg. rate
45.52718471859.63E-025.44683878051.59E-02
85.45049669361.96E-022.29615.43150951536.20E-044.6851
165.43557892184.69E-032.06395.43092803803.85E-054.0087
325.43204938051.16E-032.01555.43089192032.40E-064.0053
645.43117871732.89E-042.00385.43088967161.50E-074.0014
1285.43096177287.23E-052.00105.43088953129.36E-094.0003
2565.43090758161.81E-052.00025.43088952255.85E-104.0001
5125.43089403664.51E-062.00015.43088952193.66E-113.9999
10245.43089065051.13E-062.00005.43088952192.29E-123.9968

Table 4.

Comparison of the HWM and the HOHWM (s = 1).

HWMHOHWM (s = 1)
NSolution at point x = 0.5Absolute errorConverg. rateSolution at point x = 0.5Absolute errorConverg. rate
47.94299192212.31E-017.70810521854.12E-03
87.75552368044.33E-022.41397.71259905323.78E-043.4430
167.72247006201.02E-022.07897.71225257293.19E-053.5669
327.71474969392.53E-032.01897.71222276122.12E-063.9125
647.71285086126.30E-042.00477.71222077501.34E-073.9795
1287.71237806871.57E-042.00127.71222064908.43E-093.9949
2567.71225998973.93E-052.00037.71222064115.27E-103.9986
5127.71223047749.84E-062.00017.71222064063.30E-113.9974
10247.71222309982.46E-062.00007.71222064062.13E-123.9573

Table 5.

Comparison of the HWM and the HOHWM (s = 1).

In practice, it is important to compare methods, providing the same accuracy. In the following the given accuracy is fixed by absolute error less than 2.0e-10 and the complexities of the HWM and the HOHWM are compared in Figure 3. The logarithmic scale is used in Figure 3, since the complexities of the HWM and the HOHWM differ by several magnitudes.

Figure 3.

Numerical complexities of the HWM and the HOHWM.

In the case of the HWM the absolute error 2.0e-10 was reached by use of 16,384 collocation points (corresponding algebraic system has 16,384 equations). In the case of the HOHWM the same accuracy was achieved by use just 64, 16 or 4 collocations points corresponding to the s = 1, s = 2 or s = 3, respectively (i.e. the algebraic system needed to solve is reduced to 64, 16 or 4 equations). Thus, it can be concluded, that making use of the HOHWM instead of the HWM will lead to principal reduction of numerical complexity of the solution.

The practical value of the developed HOHWM approach is reduction of computational cost of the solution by several magnitudes (directly determined by numerical complexity). It should be noted that making use of the HOHWM instead of the HWM, especially in the cases s > 1 will increase implementation complexity, but not substantially.

Advertisement

5. Case studies

In the following, the two case studies are performed in order to validate the accuracy and convergence of the recently introduced HOHWM and compare results with HWM.

5.1 Linear ordinary differential equations

As a rule, the new methods are validated on the samples where the exact solution is known. Herein, the linear ordinary differential equations are considered as the first sample problem. Let us consider a sample problem solved in [17] by applying the HWM

Gtutdutdtd2utdt2=d2utdt2+αdutdt+βutγft=0,E31

where ftis a given function (ft=cos2t), p, qand rare constant parameters (α=0.05, β=0.15, γ=1). The initial conditions u0=0,dudt0=1are utilized.

In the case of the HWM, the second order derivative is expanded into Haar wavelets as

d2utdt2=aH.E32

In Eq. (32), aand Hstand for the coefficient vector (row vector) and the discrete Haar matrix given by formulas (6), respectively. The solution of the differential Eq. (31) is obtained by integrating relation (32) twice with respect to tand satisfying initial conditions

ut=aP2+t,E33

where the elements of the matrix P2are defined by (7) and the coefficient vector ais determined by substituting the solution (33) and its derivatives in Eq. (31) as

a=γftαβtH+αP1+βP21.E34

In the case of the HOHWM and s = 1, the fourth order derivative is expanded into Haar wavelets as

d4utdt4=aH.E35

The solution of the differential Eq. (31) is obtained by integrating relation (35) four times with respect to tand satisfying initial conditions

ut=aP4+c3t36+c2t22+t,E36

The remaining two integration constants in Eq. (36) can be determined by satisfying Eq. (31) at the boundary points t=0and t=1.The latter two algebraic equations can be added to the algebraic system obtained by substituting the solution (36) and its derivatives in Eq. (31). In the latter case, the algebraic system includes 2M+2equations. An alternate approach is to determine the remaining two integration constants analytically from the same conditions and replace to algebraic system.

The numerical results obtained by utilizing the HWM and the HOHWM are compared in Tables 1-3.

It can be observed from Tables 1-3 that in the case of the HWM, the order of convergence tends to two and in the case of the HOHWM, it tends to 2 + 2 s, i.e., to four if s = 1, to six if s = 2 and to eight if s = 3. Use of HOHWM provides a principal increase of accuracy. The maximum accuracy obtained by the use of the HWM at 256 collocation points (N = 256) has been achieved by using the HOHWM at 16 collocation points if s = 1, and at 4 collocation points if s = 2. In the case of the HOHWM and s = 3, the accuracy achieved at 4 collocation points was significantly higher than that of the HWM with 256 collocation points.

In Figure 4 are shown the error ratios for different mesh (N = 4,16,64 and 256). The absolute error of the HWM is divided by error of the HOHWM, where blue, green and gray colors correspond to the HOHWM parameter s values 1,2 and 3, respectively. Thus, in the case of mesh N = 4, making use of the HOHWM instead of the HWM reduced the absolute error 8.91E+01 (s = 1) to 9.83E+06 (s = 3) times. In the case of mesh N = 256, the use of the HOHWM reduced the absolute error 2.59E+05 (s = 1) to 4.53E+15 (s = 3) times. Since the error ratio depends strongly on the mesh used, the logarithmic scale was used in Figure 4.

Figure 4.

Ratios of the absolute error of the HWM and the HOHWM.

The numerical analysis is performed using MATLAB software. Since the accuracy achieved by the use of the HOHWM in the case of s = 2 and s = 3 exceeds the limits of the double precision computing, the variable precision computing (VPA) was used.

Note that this is needed only in the case of particular problems and large mesh where the accuracy exceeds the limits of double precision computing.

5.2 Nonlinear Lienard equations

The nonlinear differential equation given as

d2uxdx2+fuduxdx+gu=0E37

is known as the Lienard equation. In the following, it is assumed that fu=0and gu=0. Let us consider solution in the interval 01and assume the boundary conditions in the form.

u0=u0,u1=u1.E38

In the current study the nonlinear differential Eq. (37) is linearized by applying the quasi-linearization technique as [55].

d2ur+1xdx2+dur+1xdxurx+durxdxur+1xdurxdxurx=0.E39

Obviously, Eq. (39) can be solved iteratively with respect to r.

In the case of the HWM, the second order derivative is expanded into Haar wavelets

d2ur+1xdx2=aHE40

and the solution of the Lienard Eq. (37) can be derived as

ux=ar+1P2ar+1xP21+2xbr.E41

In the case of the HOHWM and s=1the fourth order derivative is expanded into Haar wavelets

d4ur+1xdx4=aHE42

and the solution of the Lienard Eq. (37) can be derived as

ux=ar+1P4ar+1bryzP41bryP31yP21+brzbr2y,
y=x33x6+2br,z=3x3+br.E43

In Eqs. (41) and (43), the value of the parameter brdepends on the particular boundary conditions applied. Let us consider first the following boundary conditions.

u0=0,u1=6tanh3E44

then the exact solution is ux=6tanh3xand br=6tanh3. The results obtained by the use of the HWM and the HOHWM are compared in Table 4 (point x = 0.5 is used).

Next let us consider the following boundary conditions.

u0=0,u1=8tanh4E45

In the latter case, the exact solution is ux=8tanh4xand br=8tanh4. The results obtained by the use of the HWM and the HOHWM are compared in Table 5.

It can be observed from Tables 4, 5 that the rates of convergence of the HWM and the HOHWM (with s = 1) tend to two and four, respectively. The accuracy obtained using the HWM with maximum resolution 2 M = 1024 is achieved in the case of the HOHWM with only 32 collocation points.

Advertisement

6. Conclusions

The HOHWM introduced recently by authors as an improvement of the HWM in order to compete with the numerical methods widely used in engineering. It was shown that using the HOHWM instead of the HWM will improve principally the accuracy of the solution and increase the rate of convergence in the case of all problems studied. It was found that the rate of convergence of the HOHWM depends on the model parameter s and is equal to 2 + 2 s.

From a practical point of view, it is important that the HOHWM can achieve the same accuracy as the HWM with significantly lower mesh and reduced computational cost.

In the simplest case of the HOHWM where s = 1, the order of the convergence of the HOHWM is equal to four. The user can select suitable s value depending on the accuracy requirements of a particular problem considered.

In future study, the new method proposed can be extended/adapted for solving a wide class of differential and integro-differential equations, including fractional differential equations, multidimensional problems, nonlinear boundary value problems arising in engineering design.

Advertisement

Acknowledgments

The study was supported by Estonian Centre of Excellence in Zero Energy and Resource Efficient Smart Buildings and Districts, ZEBE, TK146 funded by the European Regional Development Fund (grant 2014–2020.4.01.15–0016).

References

  1. 1. Mohammadi F, Cattani C, A generalized fractional order Legendre wavelet Tau method for solving fractional differential equations. Journal of Computational and Applied Mathematics, 2018;339:306–316
  2. 2. Yuttanan B, Razzaghi M, Legendre wavelets approach for numerical solutions of distributed order fractional differential equations. Applied Mathematical Modelling, 2019;70:350–364
  3. 3. Rayal A, Verma SR, Numerical analysis of pantograph differential equation of the stretched type associated with fractal-fractional derivatives via fractional order Legendre wavelets. Chaos, Solitons and Fractals, 2020;139:110076
  4. 4. Jafari H, Yousefi SA, Firoozjaee MA, Momani S, Khalique CM, Application of Legendre wavelets for solving fractional differential equations. Computers & Mathematics with Applications, 2011;62:1038–1045
  5. 5. Venkatesh SG, Ayyaswamy SK, Raja Balachandar S, Legendre approximation solution for a class of higher-order Volterra integro-differential equations. Ain Shams Engineering Journal, 2012;3:417–422
  6. 6. Setia A, Prakash B, Vatsala A, Numerical solution of fourth order fractional integro-differential equation by using Legendre wavelets. Neural, Parallel and Scientific Computations, 2015;23(2):377–386
  7. 7. Mishra V, and Jindal S, Wavelet Galerkin Solutions of Ordinary Differential Equations. Int. Journal of Mathematical Analysis, 2011;5(9): 407–424
  8. 8. Shiralashettia SC, Angadib LM, Desh AB, Daubechies Wavelet Based Multigrid and Full Approximation Scheme for the Numerical Solution of Parabolic Partial Differential Equations. International Journal of Modern Mathematical Sciences, 2018;16(1):58–75
  9. 9. Dehestani H, Ordokhani Y, Razzaghi M, Combination of Lucas wavelets with Legendre–Gauss quadrature for fractional Fredholm–Volterra integro-differential equations. Journal of Computational and Applied Mathematics, 2021; 382:113070
  10. 10. Sokhal S, Verma SR, A Fourier wavelet series solution of partial differential equation through the separation of variables method. Applied Mathematics and Computation, 2020;388:125480
  11. 11. Mohammad M, Trounev A, Implicit Riesz wavelets based-method for solving singular fractional integro-differential equations with applications to hematopoietic stem cell modeling. Chaos, Solitons & Fractals, 2020;138:109991
  12. 12. Černá D, Finěk V, Galerkin method with new quadratic spline wavelets for integraal and integro-differential equations. Journal of Computational and Applied Mathematics, 2020;363:426–443
  13. 13. Heydari MH, Hooshmandasl MR, Ghaini FMM, A new approach of the Chebyshev wavelets method for partial differential equations with boundary conditions of the telegraph type. Applied Mathematical Modelling, 2014;38(5–6): 1597–1606
  14. 14. Haar A, Zur Theorie der orthogonalen Funktionen systeme. Mathematische Annalen 1910;69:331–371
  15. 15. Chen CF, Hsiao CH, Haar wavelet method for solving lumped and distributed-parameter systems. IEE Proc Contr Theor Appl 1997;144(1):87–94
  16. 16. Hsiao CH, State analysis of the linear time delayed systems via Haar wavelets. Math Comput Simulat 1997;44(5):457–70
  17. 17. Lepik Ü. Numerical solution of differential equations using Haar wavelets. Math Comput Simulat 2005;68:127–43
  18. 18. Lepik Ü, Haar wavelet method for nonlinear integro-differential equations. Appl Math Comput 2006;176:324–33
  19. 19. Lepik Ü, Solving PDEs with the aid of two dimensional Haar wavelets. Comput Math Appl 2011;61:1873–1879
  20. 20. Lepik Ü, Application of the Haar wavelet transform to solving integral and differential Equations. Proc Estonian Acad Sci Phys Math 2007;56(1):28–46
  21. 21. Lepik Ü, Numerical solution of evolution equations by the Haar wavelet method. Appl Math Comput 2007;185:695–704
  22. 22. Lepik Ü, Solving fractional integral equations by the Haar wavelet method. Appl Math Comput, 2009;214(2):468–78
  23. 23. Lepik Ü, Hein H, Haar wavelets: with applications. New York: Springer; 2014. 207 p
  24. 24. Islam SU, Aziz I, Al-Fhaid AS, An improved method based on Haar wavelets for numerical solution of nonlinear integral and integro-differential equations of first and higher orders. J Comput Appl Math 2014;260:449–69
  25. 25. Aziz I, Islam SU, Khana F, A new method based on Haar wavelet for the numerical solution of two-dimensional non-linear integral equations. J Comput Appl Math 2014;272:70–80
  26. 26. Aziz I, Islam SU, New algorithms for the numerical solution of nonlinear Fredholm and Volterra integral equations using Haar wavelets. J Comput Appl Math 2013;239(1):333–45
  27. 27. Erfanian M, Mansoori A, Solving the nonlinear integro-differential equation in complex plane with rationalized Haar wavelet. Mathematics and Computers in Simulation, 2019;165:223–237
  28. 28. Majak J, Pohlak M, Eerme M, Application of the Haar Wavelet-based discretization technique to problems of orthotropic plates and shells. Mech Compos Mater 2009;45(6):631–42
  29. 29. Hein H, Feklistova L, Computationally efficient delamination detection in composite beams using Haar wavelets. Mech Syst Signal Pr 2011; 25(6): 2257–70
  30. 30. Xie X, Jin G, Ye T, Liu Z. Free vibration analysis of functionally graded conical shells and annular plates using the Haar wavelet method. Appl Acoust 2014;85:130–42
  31. 31. Xie X, Jin G, Li W, Liu Z, A numerical solution for vibration analysis of composite laminated conical, cylindrical shell and annular plate structures. Compos Struct 2014;111:20–30
  32. 32. Xie X, Jin G, Yan Y, Shi SX, Liu Z, Free vibration analysis of composite laminated cylindrical shells using the Haar wavelet method, Compos Struct 2014;109:169–77
  33. 33. Fan J, Huang J, Haar wavelet method for nonlinear vibration of functionally graded CNT-reinforced composite beams resting on nonlinear elastic foundations in thermal environment. Shock and Vibration, 2018; 1–16.https://doi.org/10.1155/2018/9597541
  34. 34. Li Y, Zhao W, Haar wavelet operational matrix of fractional order integration and its applications in solving the fractional order differential equations, Applied Mathematics and Computation 2010;216:2276–2285
  35. 35. Yi M, Huang J, Wavelet operational matrix method for solving fractional differential equations with variable coefficients. Applied Mathematics and Computation 2014;230:383–394
  36. 36. Chen Y, Yi M, Yu C, Error analysis for numerical solution of fractional differential equation by Haar wavelets method. Journal of Computational Science 2012;3:367–373
  37. 37. Wang L, Ma Y, Meng Z, Haar wavelet method for solving fractional partial differentialequations numerically. Mathematics and Computation 2014;227:66–76
  38. 38. Saeed S Rehman M, Haar wavelet Picard method for fractional nonlinear partialdifferential equations. Applied MathematicsandComputation, 2015;264: 310–322
  39. 39. Amin R, Shah K, Asif M, Khan I, Ullah F, An efficient algorithm for numerical solution of fractional integro-differential equations via Haar wavelet. Journal of Computational and Applied Mathematics, 2021;381:113028
  40. 40. Abdeljawad T, Amin R, Shah K, Al-Mdallal Q, Jarad F, Efficient sustainable algorithm for numerical solutions of systems of fractional order differential equations by Haar wavelet collocation method. Alexandria Engineering Journal, 2020;59(4):2391–2400
  41. 41. Xie J, Wang T, Ren Z, Zhang J, Quan L, Haar wavelet method for approximating the solution of a coupled system of fractional-order integral–differential equations. Mathematics and Computers in Simulation, 2019;163:80–89
  42. 42. Majak J, Shvartsman B, Pohlak M, Karjust K, Eerme M, Tungel E. Solution of fractional order differential equation by the Haar Wavelet method. Numerical convergence analysis for most commonly used approach. AIP Conference Proceedings,2016;1738:480110. DOI: 10.1063/1.4952346
  43. 43. Lepik Ü, Solving integral and differential equations by the aid of non-uniform Haar wavelets. Applied Mathematics and Computation, 20088;198(1): 326–332
  44. 44. Hein H, Feklistova L, Free vibrations of non-uniform and axially functionally graded beams using Haar wavelets. Engineering Structures, 2011;33 (12):3696–3701
  45. 45. Raza A, and Khan A, Non-uniform Haar Wavelet Method for Solving Singularly Perturbed Differential Difference Equations of Neuronal Variability. Applications and Applied Mathematics, 2020;6:56–70
  46. 46. Hariharan G, Kannan K, Review of wavelet methods for the solution of reaction-diffusion problems in science and. Engineering. Appl Math Model 2014;38(3):799–813
  47. 47. Majak J, Shvartsman BS, Kirs M, Pohlak M, Herranen H, Convergence theorem for the Haar wavelet based discretization method. Composite Structures, 2015;126:227–232
  48. 48. Majak J, Shvartsman BS, Karjust K, Mikola M, Haavajõe A, Pohlak M, On the accuracy of the Haar wavelet discretization method. Composites Part B: Engineering, 2015;80:321–327
  49. 49. Kirs M, Karjust K, Aziz I, Ounapuu E, Tungel E, Free vibration analysis of a functionally graded material beam: evaluation of the Haar wavelet method. Proceedings of the Estonian Academy of Sciences, 2018;67 (1):1–9
  50. 50. Majak J, Pohlak M, Karjust K, Eerme M, Kurnitski J, Shvartsman BS, New higher order Haar wavelet method: Application to FGM structures. Composite Structures, 2018; 201:72–78
  51. 51. Majak J, Pohlak M, Eerme M, Shvartsman B, Solving ordinary differential equations with higher order Haar wavelet method. AIP Conference Proceedings, 2019;2116:330002
  52. 52. Majak J, Shvartsman B, Ratas M, Bassir D, Pohlak M, Karjust K, Eerme M, Higher- order Haar wavelet method for vibration analysis of nanobeams, Materials Today Communications, 2020:25:101290
  53. 53. Ratas M, Salupere A, Application of Higher Order Haar Wavelet Method for Solving Nonlinear Evolution Equations. Mathematical Modelling and Analysis, 2020;25 (2):271–288. DOI: 10.3846/mma.2020.11112
  54. 54. Shvartsman B, Majak J, Numerical method for stability analysis of functionally graded beams on elastic foundation. Applied Mathematical Modelling, 2016;40 (4–5):3713–3719
  55. 55. Ratas M, Application of Haar Wavelet Method for Solving Nonlinear Evolution Equations. AIP Conference Proceedings, 2019;2116:330004. DOI: 10.1063/1.5114342

Written By

Jüri Majak, Mart Ratas, Kristo Karjust and Boris Shvartsman

Submitted: June 10th, 2020 Reviewed: October 16th, 2020 Published: November 13th, 2020