International Journal of Differential Equations

Volume 2015 (2015), Article ID 347864, 15 pages

http://dx.doi.org/10.1155/2015/347864

## Solving the Telegraph and Oscillatory Differential Equations by a Block Hybrid Trigonometrically Fitted Algorithm

^{1}Department of Mathematics, USC Salkehatchie, Walterboro, SC 29488, USA^{2}Department of Mathematics and Statistics, Austin Peay State University, Clarksville, TN 37044, USA

Received 6 July 2015; Accepted 22 October 2015

Academic Editor: Salim Messaoudi

Copyright © 2015 F. F. Ngwane and S. N. Jator. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

#### Abstract

We propose a block hybrid trigonometrically fitted (BHT) method, whose coefficients are functions of the frequency and the step-size for directly solving general second-order initial value problems (IVPs), including systems arising from the semidiscretization of hyperbolic Partial Differential Equations (PDEs), such as the Telegraph equation. The BHT is formulated from eight discrete hybrid formulas which are provided by a continuous two-step hybrid trigonometrically fitted method with two off-grid points. The BHT is implemented in a block-by-block fashion; in this way, the method does not suffer from the disadvantages of requiring starting values and predictors which are inherent in predictor-corrector methods. The stability property of the BHT is discussed and the performance of the method is demonstrated on some numerical examples to show accuracy and efficiency advantages.

#### 1. Introduction

In what follows, we consider the numerical solution of the general second order IVPs of the formwhere , is an integer, and is the dimension of the system. Problems of the form of (1) frequently arise in several areas of science and engineering such as classical mechanics, celestial mechanics, quantum mechanics, control theory, circuit theory, astrophysics, and biological sciences. Equation (1) is traditionally solved by reducing it into a system of first-order IVPs of double dimension and then solved using the various methods that are available for solving systems of first-order IVPs (see Lambert [1, 2], Hairer and Wanner in [3], Hairer [4], and Brugnano and Trigiante [5, 6]).

Nevertheless, there are numerous methods for directly solving the special second-order IVPs in which the first derivative does not appear explicitly and it has been shown that these methods have the advantages of requiring less storage space and fewer number of function evaluations (see Hairer [4], Hairer et al. [7], Simos [8], Lambert and Watson [9], and Twizell and Khaliq [10]). Fewer methods have been proposed for directly solving second-order IVPs in which the first derivative appears explicitly (see Vigo-Aguiar and Ramos [11], Awoyemi [12], Chawla and Sharma [13], Mahmoud and Osman [14], Franco [15], and Jator [16]). It is also the case that some of these IVPs possess solutions with special properties that may be known in advance and taken advantage of when designing numerical methods. In this light, several methods have been presented in the literature which take advantage of the special properties of the solution that may be known in advance (see Coleman and Duxbury [17], Coleman and Ixaru [18], Simos [19], Vanden Berghe et al. [20], Vigo-Aguiar and Ramos [11], Fang et al. [21], Nguyen et al. [22], Ramos and Vigo-Aguiar [23], Franco and Gómez [24], and Ozawa [25]). However, most of these methods are restricted to solving special second-order IVPs in a predictor-corrector mode.

Our objective is to present a BHT that is implemented in a block-by-block fashion; in this way, the method does not suffer from the disadvantages of requiring starting values and predictors which are inherent in predictor-corrector methods (see Jator et al. [26], Jator [27], and Ngwane and Jator [28]). We note that multiderivative trigonometrically-fitted block methods for have been proposed in Jator [29] and Jator [27]. However, the BHT proposed in this paper avoids the computation of higher order derivatives which have the potential to increase computational cost, especially when applied to nonlinear systems. We note that Ramos et al. [30] recently proposed a trigonometrically fitted optimized two-step hybrid block method for solving the general second-order IVPs with oscillatory solutions. However, the method given in [30] is of an order 2; hence, in this paper, we propose a BHT which is of order 5 and its application is extended to solving PDEs such as the Telegraph equation.

The organization of this paper is as follows. In Section 2, we derive the BHT for solving (1). The analysis and implementation of the BHT are discussed in Section 3. Numerical examples are given in Section 4 to show the accuracy and efficiency of the BHT. Finally, the conclusion of the paper is given in Section 5.

#### 2. Development of Method

Considerwhich are used together with additional methods given aswhere , , and , , are coefficients that depend on the step-length and frequency . The coefficients of the method are chosen so that the method integrates IVP (1) exactly where the solutions are members of the linear space .

The main method has the formwhere , , and , , are to be determined coefficient functions of the frequency and step-size. To derive the main method and additional methods, we initially seek a continuous local approximation on the interval of the formwhich represents our CHT and where , , and , , are continuous coefficients. The first derivative of (5) is given byWe assume that is the numerical approximation to the analytical solution , is the numerical approximation to , and is an approximation to , .

The following theorem shows how continuous method (5) is constructed. This is done by requiring that on the interval from to the exact solution is locally approximated by function (5) with (6) obtained as a consequence.

Theorem 1. *Let , , , and be basis functions and a vector, where is the transpose. Define the matrix by and is obtained by replacing the column of by the vector . Let the following conditions be satisfied:then continuous representations (5) and (6) are equivalent to the following:*

*Proof. *We use the approach given in Jator [16] with appropriate notational modification. Let method (5) be defined by the assumed basis functions:where , , and , are coefficients to be determined. Substituting (11) into (5), we getwhich is simplified toand expressed aswhereBy imposing conditions (8) on (14), we obtain a system of six equations which can be expressed as where is a vector whose coefficients are determined via Cramer’s rule as where is obtained by replacing the column of by . In order to obtain the continuous approximation, we use the elements of to rewrite (14) aswhose first derivative is given by

*Remark 2. *In the derivation of the BHT, the basis functions , , , and are chosen because they are simple to analyze. Nevertheless, other possible bases are possible (see Nguyen et al. [22]).

##### 2.1. Specification of the Method

We note that continuous methods (9) and (10) which are equivalent to forms (5) and (6) are used to generate three discrete methods and five additional methods. The discrete and additional methods are then applied as a BHT for solving (1). We choose , and evaluating (9) at , , and , respectively, gives the three discrete methods , , and which take the form of the main method. Evaluating (10) at , , , , and , respectively, gives the additional methods , , , , and . The coefficients and their corresponding Taylor series equivalence of , , , , , , , and are, respectively, given as follows:

*Remark 3. *We note that the Taylor series expansions in (20) through (27) must be used when because the corresponding trigonometric coefficients given in these equations are vulnerable to heavy cancelations (see [8]).

##### 2.2. Block Form

In this subsection, the BHT method is formulated from the eight discrete hybrid formulas stated in (2) and (3). We emphasize that these eight formulas are provided by the continuous two-step hybrid trigonometrically fitted method with two off-grid points given by (5) and its first derivative (6). First, we define the following vectors:where ; . The three discrete methods whose coefficients are specified by (2) and the five additional methods in (3) whose coefficients are specified by (20) to (27) are combined to give the BHT method, which is expressed aswhere , , , and are matrices of dimension eight whose elements characterize the method and are given by the coefficients of (2) and (3).

#### 3. Error Analysis and Stability

##### 3.1. Local Truncation Error (LTE)

Define the local truncation error of (29) aswhere

Suppose that is sufficiently differentiable. Then, a Taylor series expansion of the terms in (30) about the point gives the following expression for local truncation error:where , , are constant coefficients (see [16]).

*Definition 4. *Block method (29) has algebraic order of at least provided there exists a constant such that the local truncation error satisfies , where is the maximum norm.

*Remark 5. *(i) The local truncation error constants of of block method (29) are given, respectively, by , , where .

(ii) From the local truncation error constant computation, it follows that method (29) has order of at least five.

##### 3.2. Stability

The linear stability of the BHT is discussed by applying the method to the test equation , where is a real constant (see [17]). Letting , it is easily shown as in [18] that the application of (29) to the test equation yieldswhere the matrix is the amplification matrix which determines the stability of the method. In the spirit of [21], the spectral radius of can be obtained from the characteristics equationwhere and are rational functions.

*Definition 6. *A region of stability is a region in the plane, throughout which and any closed curve given by defines the stability boundary of the method (see [21]). We note that the plot for the stability region of the BHT method is given in Figure 1.