Table of Contents Author Guidelines Submit a Manuscript
International Journal of Differential Equations
Volume 2015, Article ID 347864, 15 pages
http://dx.doi.org/10.1155/2015/347864
Research Article

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

1Department of Mathematics, USC Salkehatchie, Walterboro, SC 29488, USA
2Department 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.

Figure 1: The stability region for the BHT plotted in the -plane.
3.3. Implementation

We emphasize that the main method and the additional methods specified by (20)–(27) are combined to form block method BHT (29), which is used to solve (1) without requiring starting values and predictors. BHT is implemented in a block-by-block fashion using a Mathematica 10.0 code, enhanced by the feature for linear problems while nonlinear problems were solved by Newton’s method enhanced by the feature (see Keiper and Gear [35]). Mathematica can symbolically compute derivatives and so the entries of the Jacobian matrix which involve partial derivatives are automatically generated. In what follows, we summarize how BHT is applied.

Step 1. Choose , , and the number of blocks . Using (29), , , the values of and are simultaneously obtained over the subinterval , as and are known from IVP (1).

Step 2. For , , the values of and are simultaneously obtained over the subinterval , as and are known from the previous block.

Step 3. The process is continued for and to obtain the numerical solution to (1) on the subintervals .

4. Numerical Examples

In this section, numerical experiments are performed using a code in Mathematica 10.0 to illustrate the accuracy and efficiency of the method.

Example 1. We consider the following inhomogeneous IVP by Simos [8]:where the analytical solution is given by

This example was solved using the order 5 BHT and the end-point errors () obtained were compared to the order 4 exponentially fitted method given in Simos [8]. In Table 1, it is shown that BHT is more efficient than the method in Simos [8]. We also compare the computational efficiency of the two methods in Figure 2 by considering the FNEs (number of function evaluations) over integration steps for each method. Our method (BHT) requires fewer number of function evaluations. Hence, for this example, BHT performs better.