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. 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.View at: Google Scholar
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.View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet
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.View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet
M. Esmaeilbeigi, M. M. Hosseini, and S. T. Mohyud-Din, “A new approach of the radial basis functions method for telegraph equations,” International Journal of Physical Sciences, vol. 6, no. 6, pp. 1517–1527, 2011.View at: Google Scholar
M. Dehghan and A. Ghesmati, “Solution of the second-order one-dimensional hyperbolic telegraph equation by using the dual reciprocity boundary integral equation (DRBIE) method,” Engineering Analysis with Boundary Elements, vol. 34, no. 1, pp. 51–59, 2010.View at: Publisher Site | Google Scholar | MathSciNet
R. C. Mittal and R. K. Jain, “Cubic B-splines collocation method for solving nonlinear parabolic partial differential equations with Neumann boundary conditions,” Communications in Nonlinear Science and Numerical Simulation, vol. 17, no. 12, pp. 4616–4625, 2012.View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet