Research Article | Open Access
A Collocation Method for Numerical Solution of Hyperbolic Telegraph Equation with Neumann Boundary Conditions
We present a technique based on collocation of cubic B-spline basis functions to solve second order one-dimensional hyperbolic telegraph equation with Neumann boundary conditions. The use of cubic B-spline basis functions for spatial variable and its derivatives reduces the problem into system of first order ordinary differential equations. The resulting system subsequently has been solved by SSP-RK54 scheme. The accuracy of the proposed approach has been confirmed with numerical experiments, which shows that the results obtained are acceptable and in good agreement with the exact solution.
The hyperbolic partial differential equations model the vibrations of structures (e.g., building, beams, and machines) and are the basis for fundamental equations of atomic physics. In this paper we consider nonlinear second order one-dimensional hyperbolic telegraph equation with initial conditions and Neumann boundary conditions where and are known real constants. If , (1) represents a linear hyperbolic telegraph equation in which both the electric voltage and current, in a double conductor, satisfy the equation, where is distance and is time. For , it represents a damped wave equation and for it is called a telegraph equation. Linear second order hyperbolic telegraph equation arise in the study of propagation of electric signal in a cable of transmission line and wave phenomena. Interaction between convection and diffusion or reciprocal action of reaction and diffusion describes a number of nonlinear phenomena in physical and biological process. In fact telegraph equation is more suitable than ordinary diffusion equation in modeling reaction diffusion for such branches of sciences.
Numerical solutions of one-dimensional linear hyperbolic equation with Dirichlet boundary conditions have been studied by many authors. El-Azab and El-Ghamel  have used Routhe-wavelet method for the numerical solution of telegraph equation. Dehghan and Shokri  presented a meshless method based on collocation with radial basis functions. Spline solutions of hyperbolic telegraph equation have been studied in [3–6]. L. B. Liu and H. W. Liu  used the quartic spline method. In , H.-W. Liu and L.-B. Liu applied an unconditionally stable spline difference method; Dosti and Nazemi  presented a quartic -spline collocation method; modified cubic -spline collocation method has been proposed by Mittal and Bhatia  to find the numerical solution of one-dimensional linear hyperbolic telegraph equation. Numerical solution of linear and nonlinear one-dimensional hyperbolic telegraph equation with variable coefficient has been presented in [7, 8]. Unconditionally stable finite difference schemes have been proposed in [9, 10]. Dehghan and Lakestani  used the Chebyshev cardinal functions, whereas Saadatmandi and Dehghan  used the Chebyshev tau method for expanding the approximate solution of one-dimensional telegraph equation. Mohebbi and Dehghan  reported a higher order compact finite difference approximation of fourth order in space and used collocation method for time direction. Other techniques used for numerical solutions of one-dimensional hyperbolic telegraph equation with Dirichlet boundary conditions are interpolating scaling function technique  and radial basis function technique . Thus much work has been done to solve (1) with Dirichlet boundary conditions. Little has been done for numerical solution of one-dimensional hyperbolic telegraph equation with Neumann boundary conditions. In , Dehghan and Ghesmati reported a dual reciprocity boundary integral equation (DRBIE) method, in which three different types of radial basis functions have been used to approximate the solution of one-dimensional linear hyperbolic telegraph equation. Recently, L. B. Liu and H. W. Liu  developed an unconditionally stable compact difference scheme for one-dimensional telegraphic equations with Neumann boundary conditions.
In the literature the -spline collocation method has been successfully applied to find the numerical solutions of various linear and nonlinear partial differential equations [6, 18, 19]. -splines have some special properties like local support, smoothness, and capability of handling local phenomena, which make them suitable to solve linear and nonlinear partial differential equations easily and elegantly. The use of cubic -spline basis functions leads to a global solution for which not only the functions but also their first and second derivatives are continuous. The present collocation method has two great advantages: the set-up procedure does not involve integrations and the resulting matrix system is banded with small band width. Hence, -spline when combined with the collocation provides a simple solution procedure of linear and nonlinear partial differential equations. In this paper, we have developed a collocation method based on cubic -spline basis function to solve hyperbolic telegraph equation with Neumann boundary conditions. Equation (1) is converted into a system of equations using the transformation . Then for approximating the solution we use the collocation of cubic -spline basis functions. Finally we get a system of first order systems of ordinary differential equations, which have been solved by five-stage, fourth-order strong stability preserving time stepping Runge Kutta (SSP-RK54)  scheme. The method needs less storage space and causes less accumulation of numerical errors.
The outline of the paper is as follows. In Section 2, cubic -spline basis functions are introduced. In Section 3, numerical scheme is presented for telegraph equation using cubic -spline functions based collocation method. In Section 4, initial vector is computed for given initial conditions. In Section 5, stability of the scheme is discussed and found to be unconditionally stable. In Section 6 computational results for telegraph equations (1)–(3) for some test problems are illustrated and finally conclusions are included in Section 6.
2. Cubic B-Spline Collocation Method
The solution domain is partitioned into a mesh of uniform length by the knot , where such that .
In the cubic -spline collocation method, the approximate solution can be written as the linear combination of cubic -spline basis functions for the approximation space under consideration.
Our numerical treatment for solving (1)–(3) using the collocation method with cubic -spline is to find an approximate solution to the exact solution in the form where are the time dependent quantities to be determined from boundary conditions and collocation from the differential equation.
The cubic -spline at the knots is given by where the set of functions forms a basis for the function defined over the region with the obvious adjustment of the boundary base functions to avoid undefined knots. Each cubic -spline covers four elements so that an element is covered by four cubic -splines.
The values of and its derivatives are tabulated in Table 1. Since outside the interval , so there is no need to tabulate for other values of .
3. Numerical Scheme
The telegraph equation (1) is decomposed into a system of partial differential equations using the following transformation.
Then the transformed form of (1) is For solving the coupled equations (7) we assume our approximate solution as the linear combination of cubic -spline basis function Using approximate solution (8), approximate values of can be written as follows: where is the derivative of with respect to time .
Using Table 1,
From (11), we have
is tridiagonal matrix, is column vector of order (), and and are order vector, represents the rhs of system (14).
Once the vector is computed at a specific time level, the approximate solution can be computed at the required knots.
System (16) represents a system of first order ordinary differential equations, which is solved using SSP-RK54  scheme, with a variant of Thomas algorithm and consequently the approximate solution is completely known.
4. Initial Vectors
To solve the resulting systems of first order ordinary differential equations, we need initial vectors and , which are computed from the initial and boundary conditions as follows.
4.1. Initial Vector
The matrix is tridiagonal matrix. System (19) is solved using Thomas algorithm and hence initial vector is computed.
4.2. Initial Vector
Initial vector can be computed using the initial condition (2) as We have
5. Stability of Scheme
The stability of system (16) is very important since it is related to the stability of numerical scheme for solving it. If the system of ordinary differential equations (16) is unstable, then stable numerical scheme for temporal discretization may not generate converged solution. The stability of this system depends on the eigenvalues of coefficient matrix, since its exact solution can be directly found using its eigenvalues.
For linear case, that is, if , we consider where is the unknown vector and is a column vector of order . Consider where and are symmetric tridiagonal matrix of order , given bywhere and are identity and null matrix of order , respectively.
Let be any eigenvalue of and and are two components each of order , of eigenvector corresponding to eigenvalue . We have From (26), we have From the above system of equations, we get is an eigenvalue of .
Since and are tridiagonal matrices, so their eigenvalues are
and are symmetric matrices, so eigenvalues of matrix are which is negative and real.
Let , where and are real numbers.
We have that is real and negative, which implies From the above set of equations, we get the solutions as follows:(i) and is arbitrary real number; is negative real number, since is real and positive;(ii) ; ; is negative and real, since is real and positive.Hence, the real part of eigenvalues of should always be negative for stability.
When , that is, when (1) is nonlinear, we have the following system: The stability can be discussed by finding the eigenvalues of the matrix , where is the Jacobian matrix. For stability eigenvalues of matrix should be negative.
6. Numerical Experiments
In this section, three experiments including linear and nonlinear form of problem (1)–(3) are considered to demonstrate the accuracy and applicability of the proposed method. The numerical efficiency is shown by calculating the , , and root mean square error norms.
Example 1. We consider the following linear telegraph equation: with initial conditions and boundary conditions The exact solution is given  by
, , and RMS errors are reported in Table 2 with , , and . RMS errors with different space step sizes are reported in Table 3 and compared with the results given by Dehghan and Ghesmati . It is noticed that our results are in good agreement with the results of . From Figure 1, it is clear that approximate solution coincides with the exact solution at , with and . Figure 2 depicts the space-time graph of approximate solution up to time with and . Similar figures have been depicted in [16, 17]. It is clear that the obtained numerical results are accurate and comparable favorably with the exact solutions and earlier studies.
Example 2. We consider the following linear telegraph equation:
with initial conditions
and boundary conditions
The exact solution is given  by
, , and RMS errors are reported in Table 4 with and . In Table 5, RMS errors are reported with different space step sizes and compared with the results given by Dehghan and Ghesmati . Figure 3 shows that the approximate solution and exact solution coincide for with and . Space-time graph of approximate solution is depicted in Figure 4 with and up to . Similar figures have been depicted in [16, 17].
Example 3. In this example we consider the nonlinear telegraph equation
with initial conditions
and boundary conditions
The exact solution is given  by
, , and RMS errors are computed for different values of and reported in Table 6 with and . In Table 7, error norms are reported for and and compared with the results given by L. B. Liu and H. W. Liu . From Figure 5, we observe that approximate solution and exact solution coincide for with and . Space-time graph of approximate solution is depicted in Figure 6 with and , which shows the approximate solution profile up to . Similar figure has been depicted in .
It should be noticed that in this case we obtain a system of nonlinear first order ordinary differential equations. Unlike the numerical methods , which use finite difference methods to solve nonlinear hyperbolic wave equation to get a system of nonlinear algebraic equations and finally solved using the Newton-Raphson method, we do not need to do any extra effort to handle the nonlinear term and solutions are easily computed by solving the obtained system of ODEs using SSP-RK54 scheme. Hence, the present scheme reduces the computational cost.
The main idea of the present paper is to first convert the given problem into a coupled system of partial differential equations and then using cubic -spline basis functions for spatial variable and derivatives, the coupled system of equations is converted into system of first order ordinary differential equations. The resulting system of first order ordinary differential equations has been solved by SSP-RK54 scheme. The stability of the scheme is discussed using matrix stability analysis and found to be unconditionally stable. The method is also capable of solving nonlinear telegraph equation with Neumann boundary conditions. It has been noticed that obtained numerical solutions are in good agreement with the exact solution and earlier studies. These facts illustrate that the proposed method is a reliable, valid, and powerful tool for solving telegraph equation with Neumann boundary conditions.
Conflict of Interests
The authors declare that there is no conflict of interests regarding to the publication of this paper.
- M. S. El-Azab and M. El-Gamel, “A numerical algorithm for the solution of telegraph equations,” Applied Mathematics and Computation, vol. 190, no. 1, pp. 757–764, 2007.
- M. Dehghan and A. Shokri, “A numerical method for solving the hyperbolic telegraph equation,” Numerical Methods for Partial Differential Equations, vol. 24, no. 4, pp. 1080–1093, 2008.
- L. B. Liu and H. W. Liu, “Quartic spline methods for solving one-dimensional telegraphic equations,” Applied Mathematics and Computation, vol. 216, no. 3, pp. 951–958, 2010.
- H.-W. Liu and L.-B. Liu, “An unconditionally stable spline difference scheme of for solving the second-order 1D linear hyperbolic equation,” Mathematical and Computer Modelling, vol. 49, no. 9-10, pp. 1985–1993, 2009.
- M. Dosti and A. Nazemi, “Quartic B-spline collocation method for solving one-dimensional hyperbolic telegraph equation,” The Journal of Information and Computing Science, vol. 7, no. 2, pp. 83–90, 2012.
- R. C. Mittal and R. Bhatia, “Numerical solution of second order one dimensional hyperbolic telegraph equation by cubic B-spline collocation method,” Applied Mathematics and Computation, vol. 220, pp. 496–506, 2013.
- R. K. Mohanty, “An unconditionally stable finite difference formula for a linear second order one space dimensional hyperbolic equation with variable coefficients,” Applied Mathematics and Computation, vol. 165, no. 1, pp. 229–236, 2005.
- R. K. Mohanty, M. K. Jain, and K. George, “On the use of high order difference methods for the system of one space second order nonlinear hyperbolic equations with variable coefficients,” Journal of Computational and Applied Mathematics, vol. 72, no. 2, pp. 421–431, 1996.
- R. K. Mohanty, “An unconditionally stable difference scheme for the one-space-dimensional linear hyperbolic equation,” Applied Mathematics Letters, vol. 17, no. 1, pp. 101–105, 2004.
- F. Gao and C. Chi, “Unconditionally stable difference schemes for a one-space-dimensional linear hyperbolic equation,” Applied Mathematics and Computation, vol. 187, no. 2, pp. 1272–1276, 2007.
- M. Dehghan and M. Lakestani, “The use of Chebyshev cardinal functions for solution of the second-order one-dimensional telegraph equation,” Numerical Methods for Partial Differential Equations, vol. 25, no. 4, pp. 931–938, 2009.