We employ the multi-wavelet Galerkin method for the numerical solution of the telegraph equation with initial and boundary conditions. The problem becomes a sparse system of linear equations and the GMRES method is used to solve this system. The advantages of this scheme are complexity reduction, simplicity, and less grid selection. The convergence analysis is investigated and numerical experiments guarantee it. To show the ability of the method, we compare it with other methods and it can be confirmed that our results are better than others.
1.
Introduction
Telegraph equation is introduced by Oliver Heaviside and is a linear second-order hyperbolic partial differential equations that describe the current and voltage on an electrical transmission line with distance. The model demonstrates that wave patterns can form along the line and that the electromagnetic waves can be reflected on the wire. The nonhomogeneous telegraph equation with boundary and initial conditions is given by
with initial and Dirichlet boundary conditions
where α and β are the real constants and Ω:=[0,1]. This equation referred to as the second-order hyperbolic partial differential equation with constant coefficients, models a mixture between wave propagation and diffusion by introducing a term that accounts for effects of finite velocity to the standard heat or mass transport equation. This equation represents a damped wave motion when α>0 and β=0.
In this paper, we employ the multi-wavelet Galerkin method to solve nonhomogeneous telegraph equation (1.1) with initial (1.2) and boundary conditions (1.3). The Alpert's multi-wavelet bases are infinitely differentiable while having small compact support. In other words, these bases have combined the advantages of both finite difference and spectral bases. The first application of Alpert's multi-wavelet bases to the solution of PDEs is the adaptive solution of nonlinear time-dependent PDEs [1]. In this approach, the multiresolution representation of the derivative operator introduced, and then an adaptive solver developed for both linear and nonlinear PDEs. Further, multi-wavelet methods have been developed for PDEs such as conservation laws [10,16,23]. For other similar studies to related PDEs we refer to [4,5,6,7]
The required conditions for the existence of a unique solution to a nonhomogeneous telegraph equation with initial and boundary conditions an integral boundary condition via Galerkin's method investigated in [3,14]. The reproducing kernel Hilbert space method is utilised to solve this equation [3]. Lakestani et al. [19] employed a numerical solution based on the Galerkin and collocation method to solve this equation appropriately. In [18], the authors proposed the differential quadrature algorithm to obtain an approximate solution of the two-dimensional telegraph equation. A fast and simple method based on the Chebyshev wavelets method is proposed by Heydari et al., [15]. In this paper, the matrices of integration and differentiation are applied to reduce complexity. Mittal et al. [20] used cubic B-spline collocation method, whereas Dehghan and Shorki [11] proposed an algorithm based on thin plates spline radial basis functions using collocation points for solving this equation. A high accuracy method for the long-time evolution of the acoustic wave equation is introduced in [21]. Authors of [8] presented dual reciprocity boundary integral equation method. Due to the importance of this equation, many numerical methods have been proposed to solve the telegraph equation such as Quardatic B-spline collocation method [12], collocation method based on Chebyshev cardinal function [9], Lagrange interpolation and modified cubic B-spline differential quadrature methods [17], a hybrid meshless method [26], generalized finite difference method [25].
The paper is structured as follows. A brief introduction of the Alpert's multi-wavelets is provided in Section 2. In Section 3, the wavelet Galerkin method is used to approximate the solution of the problem, and the convergence analysis is investigated. Some numerical experiments are solved to illustrate the efficiency and accuracy of the proposed method in Section 4. finally conclusions are included in Section 5.
2.
Alpert's multi-wavelet
Assume that Ω:=[0,1]=∪b∈BXJ,b is the finite discretizations of Ω, where XJ,b:=[xb,xb+1],b∈B:={0,…,2J−1} with J∈Z+∪{0}, are determined by the point xb:=b/(2J). On this discretization, appling the dilation D2j and the translation Tb operators to primal scaling functions {ϕ00,0,⋯,ϕr−10,0}, one can introduce the subspaces
of scaling functions. Here R={0,1,⋯,r−1} and the primal scaling functions are the Lagrange polynomials of degree less than r that introduced in [1].
Every function p∈L2(Ω) can be represented in the form
where ⟨.,.⟩ denotes the L2-inner product
and PrJ is the orthogonal projection that maps L2(Ω) onto the subspace VrJ. To find the coefficients pkJ,b that are determined by ⟨p,ϕkJ,b⟩=∫XJ,bf(x)ϕkJ,b(x)dx, we shall compute these integrals. We apply the r-point Gauss-Legendre quadrature by a suitable choice of the weights ωk and nodes τk for k∈R to avoid these integrals [1,24], via
Convergence analysis of the projection PrJ(p) is investigated for the r-times continuously differentiable function p∈Cr(Ω).
For the full proof of this approximation and further details, we refer the readers to [2]. Thus we can conclude that PrJ(p) converges to p with rate of convergence O(2−Jr).
Let ΦrJ be the vector function ΦrJ:=[Φr,J,0,⋯,Φr,J,2J−1]T and consists of vectors Φr,J,b:=[ϕ0J,b,⋯,ϕr−1J,b]. The vector function ΦrJ includes the scaling functions and called multi-scaling function. Furthermore, by definition of vector P that includes entries Pbr+k+1:=pkJ,b, we can rewrite Eq (2.2) as follows
where P is an N-dimensional vector (N:=r2J). The building blocks of these bases construction can be applied to approximate a higher-dimensional function. To this end, one can introduce the two-dimensional subspace Vr,2J:=VrJ×VrJ⊂L2(Ω)2 that is spanned by
Thus by this assumption, to derive an approximation of the function p∈L2(Ω)2 by the projection operator PrJ, we have
where components of the square matrix P of order N are obtained by
where ˆτk=(τk+1)/2. Consider the 2r-th partial derivatives of f:Ω2→R are continuous. Utilizing this assumption, the error of this approximation can be bounded as follows
where Mmax is a constant.
By reviewing the spaces VrJ, it is obvious these bases are nested. Hence there exist complement spaces WrJ such that
where ⊕ denotes orthogonal sums. These subspaces are spanned by the multi-wavelet basis
According to (2.8), the space VJ may be inductively decomposed to VrJ=Vr0⊕(⊕J−1j=0Wrj). This called multi-scale decomposition and spanned by the multi-wavelet bases and single-scale bases. This leads us to introduce the multi-scale projection operator MrJ. Assume that the projection operator Qrj the maps L2(Ω) onto Wrj. Thus we obtain
and consequently, any function p∈L2(Ω) can be approximated as a linear combination of multi-wavelet bases
where
Note that, we can compute the coefficients pk0,0 by using (2.2). But multi-wavelet coefficients from zero up to higher-level J−1 in many cases must be evaluated numerically. To avoid this problem, we use multi-wavelet transform matrix TJ, introduced in [22,24]. This matrix connects multi-wavelet bases and multi-scaling functions, via,
where ΨrJ:=[Φr,0,b,Ψr,0,b,Ψr,1,b,⋯,Ψr,J−1,b]T is a vector with the same dimension ΦrJ (here Ψr,j,b:=[ψ0j,b,⋯,ψr−1j,b]). This representation helps to rewrite Eq (2.10) as to form
where we have the N-dimensional vector ˜PJ whose entries are pk0,0 and ˜pkj,b and is given by employing the multi-wavelet transform matrix TJ as ˜PJ=TJPJ. Note that according to the properties of TJ we have T−1J=TTJ.
The multi-wavelet coefficients (details) become small when the underlying function is smooth (locally) with increasing refinement levels. If the multi-wavelet bases have Nrψ vanishing moment, then details decay at the rate of 2−JNrψ [16]. Because vanishing moment of Alpert's multi-wavelet is equal to r, one can obtain ˜pkJ,b≈O(2−Jr) consequently. This allows us to truncate the full wavelet transforms while preserving most of the necessary data. Thus we can set to zero all details that satisfy a certain constraint ε using thresholding operator Cε
and the elements of ˉPJ are determined by
where Dε:={(j,b,k):|˜pkj,b|>ε}. Now we can bound the approximation error after thresholding via
where PrJ,Dε(p) is the projection operator after thresholding with the threshold ε and Cthr>0 is constant independent of J,ε.
3.
Multi-wavelet Galerkin method
Let us consider the generalized telegraph equations (TE) on the region Ω×Ω governed by the partial differential equation
with initial and Dirichlet boundary conditions
In order to derive the multi-wavelet Galerkin method for solving TE (3.1), we assume that the approximate solution u can be expanded by the Alpert's multi-wavelet bases ΨrJ, i.e.,
Taking the first and second derivative with respect to x and t from both sides of the Eq (3.4), one can get
where the matrix Dψ is used to represents the derivative of multi-wavelet defined by [10,23].
Inserting (3.4) into (3.1) and employing (3.5) we obtain the residual via
where the vector ˜F is obtained the same way as the direction in (2.5) i.e.,
with ˜F=TJFT−1J. The Galerkin method requires rrJ to satisfy ⟨rrJ,ψkj,bψk′j′,b′⟩=0. Multiplying (3.6) by ΨrJ(x) from left and ΨrJT(t) from right and integrating, we end up with
where we employ orthonormality of multi-wavelet bases and the local support of these bases.
Equation (3.7) gives (N2)2 independent equations
We obtain 4N−4 other equations from boundary conditions (3.1) and (3.2) via equations (3.3) and (3.5),
The problem becomes a system of linear equations with N2 equations and N2 unknowns,
where U and Υ are the vectorization of U and ˜F, respectively. It should be noted here that since most of the elements of the matrix A are zero, We use appropriate methods such as the generalized minimal residual method (GMRES). After solving this system the approximate solution is implicitly represented by (3.4).
Convergence analysis
To investigate the convergence analysis of the multi-wavelet Galerkin method, we put
subtracting this equation from (3.1), we obtain
where eJ:=u−uJ. Taking L2-norm from both sides and using the triangle inequality yields
Now suppose that
where E is the (N×N) matrix and thus, one can write
where we utilize the orthonormality of multi-wavelet bases. According to the previous section, for any function p, when multi-wavelet bases hava high vanishing moments and the function p is smooth, ⟨p,ΨrJ⟩ decays fast in J→∞. By means of vanishing moments of Alpert's multi-wavelets and the matrix norms inequalities, we get
Obviously, using (2.7), we can find
where η:=κM√N with κ:=‖D2ψ+2αDψ+β2IN+D2ψ‖∞ and M is a constant. Consequently, ‖e‖2→0 when J→∞.
4.
Numerical results
To show the efficiency and accuracy of will employ the proposed method to obtain the approximate solution of the following examples. All of the computations have been done by Maple and MATLAB simultaneously.
Example 4.1. Assume the telegraph equation (3.1) with initial and boundary conditions (3.2) and (3.3). Let
and function
The exact solution of this equation is u(x,t)=tan(x+t2) [8,20].
In Table 1, with fixed α=10 and β=5, choosing different refinement levels J and multiplicity r guarantees our convergence investigation. In Table 2, results are also compared with other methods [12,20] in terms of L∞,L2 errors at different times. In [12,20], The space and time discretized by the rate of 0.001 while for the proposed method this is 0.25. In view of this and the results, our method is better much more than them. Taking r=7 and J=2, the approximate solution and L∞ errors are shown in Figure 1.
Example 4.2. In this example, we consider u(x,t)=(x−x2)t2e−t is the analytical solution of the telegraph equation (1.1) with initial and boundary conditions
and
L2,L∞ errors are reported in Table 3 taking r=5 ad J=3. Results have been compared with the results of [11,20]. These results indicate that the proposed method solves this equation better than them. Time and space steps in these papers have been reported Δt=0.001 and h=0.01 while they are equal to 0.125 in our simulation. The graph of numerical solution uJ and L∞ error are shown in Figure 2 and the exact and approximate solution at different values of the time t and space x are plotted in Figure 3.
Example 4.3. Consider the Eq (1.1) with the right hand side function
and the initial and boundary conditions
The exact solution of this problem is given in [8,20], as
The effect of multiplicity parameter r is show in Figure 4. Table 4, shows a comparison among the L∞,L2 errors for the proposed method and other methods [12,20]. Given this table, we can find the proposed method very flexible and better than others. The effects of the refinement level J and multiplicity parameter r on L∞,L2 errors are given in Table 5.
5.
Conclusions
In this study, the multi-wavelet Galerkin method was used to obtain an approximate solution of the telegraph equation. This method reduces the problem to a sparse system of linear equations, and then this system is solved by the GMRES method. The convergence analysis was investigated and some numerical tests were guaranteed it. Numerical experiments were shown the ability and flexibility of the proposed method in comparison to other methods.
Acknowledgments
This project was supported by Researchers Supporting Project number (RSP-2020/210), King Saud University, Riyadh, Saudi Arabia.
Conflict of interest
The writers state that they have no known personal relationships or competing financial interests that could have appeared to affect the work reported in this work.