1 Introduction

We consider the one-space dimensional second-order quasi-linear hyperbolic equation

2 u t 2 =A(x,t,u) 2 u x 2 +g(x,t,u, u x , u t ),0<x<1,t>0
(1.1)

with the following initial conditions:

u(x,0)=a(x), u t (x,0)=b(x),0x1
(1.2)

and the boundary conditions

u(0,t)= p 0 (t),u(1,t)= p 1 (t),t0.
(1.3)

We assume that the conditions (1.2) and (1.3) are given with sufficient smoothness to maintain the order of accuracy in the numerical method under consideration.

The study of a second-order quasilinear hyperbolic equation is of keen interest in the fields like acoustics, electromagnetics, fluid dynamics, mathematical physics, engineering etc. Many efforts are going on to develop efficient and high accuracy methods for such types of partial differential equations. The term ‘spline’ in the spline function arises from the prefabricated wood or plastic curve board, which is called spline and is used by a draftman to plot smooth curves through connecting the known points. In early 1969, the cubic spline method was proposed to be applied on the differential equation to get their numerical solutions, and it was in 1974 that Raggett et al. [1] and Fleck, Jr. [2] successfully implemented cubic spline techniques to 1D wave equations. But, still so far in literature, a very limited number of spline methods are there for second-order quasilinear hyperbolic equations. During last three decades, there has been much effort to develop stable numerical methods based on spline approximations for the solution of the differential equations. Fyfe [3], Jain et al. [4, 5], Al-Said [6, 7], Khan et al. [8] and Kadalbajoo et al. [9] have studied the solution of two point boundary value problems by using the cubic spline method. Kadalbajoo et al. [1012], Marušić [13] and Khan et al. [14] have developed the tension spline method for the numerical solution of singular perturbed boundary value problems. Mohanty et al. [15, 16] on both uniform as well as non-uniform mesh have used tension spline to find the numerical solution of singular perturbed boundary value problems. The computational techniques based on cubic spline are discussed in detail by Khan et al. [17] and Kumar et al. [18] for the differential equations. Apart from initial work by Raggett et al. [1] and Fleck, Jr. [2] on wave equations using cubic splines, recently, Rashidinia et al. [19], Ding et al. [20] and Mohanty et al. [2123] have studied the cubic spline and compact finite difference method for the numerical solution of hyperbolic problems. More recently, Ding et al. [24, 25] and Rashidinia et al. [26, 27] have formulated the solution of second-order telegraph equations and a nonlinear Klein-Gordon, sine-Gordon equation by using parametric spline, respectively. In the present paper, we follow the idea of Jain et al. [5, 28] but use non-polynomial tension spline approximation to develop an method of order four for the solution of a wave equation in polar co-ordinates with a significant first-order derivative term. We have shown that our method is in general of order four but, for the sake of computation of the result, we have used the consistency of the first-order continuity condition.

In this paper, using nine grid points, we discuss a new three-level implicit spline in the tension finite difference method of accuracy two in time and four in space for the solution of a one-space dimensional second-order quasilinear hyperbolic equation. In this method, we require only three evaluations of a function g. In Section 2, we discuss spline in tension and its properties. In Section 3, we propose a new three-level Numerov-type finite difference method based on spline in tension approximation. In Section 4, we derive the proposed method. In Section 5 and Section 6, we discuss the application of our method to some important physical problems like wave equation in polar coordinates and telegraph equation in a general form and their stability analysis. Difficulties were experienced in the past for the high-order spline solution of a wave equation in polar coordinates. The solution usually deteriorates in the vicinity of the singularity. We modify our technique in such a way that the solution retains its order and accuracy everywhere in the solution region. In Section 7, we establish, under appropriate conditions, the fourth-order convergence of the method. In Section 8, we discuss the higher-order approximation at first time level in order to compute the proposed numerical method of same accuracy and compare the numerical results with the results of the corresponding second-order accuracy spline in tension method. Concluding remarks are given in Section 9.

2 Spline in tension approximation

Let S j (x) be the non-polynomial spline in tension of the function u(x,t) at the grid point ( x l , t j ) and be given by

(2.1)

where x l x x l + 1 and a l j , b l j , c l j , d l j are unknowns, and ω is an arbitrary parameter to be determined. S j (x) is a class of C 2 [0,1], which interpolates u(x,t) at the grid point ( x l , t j ) at j th time level.

The derivatives of a non-polynomial spline in tension function S j (x) are given by

(2.2)
(2.3)

We denote

M l j = S j ( x l ),l=0,1,2,,N+1;j=1,2,,J.
(2.4)

To derive the expression for the coefficients of (2.2) in terms of U l j , U l + 1 j , M l j and M l + 1 j , we use

S j ( x l )= U l j , S j ( x l + 1 )= U l + 1 j , M l j = S j ( x l ), M l + 1 j = S j ( x l + 1 ).

From algebraic manipulation, we get

where θ=ωh and l=0,1,2,,N1.

Using the continuity of the first derivative at ( x l , t j ), that is, S j ( x l )= S j ( x l +), we obtain the following relation for l=1,2,,N1:

U l + 1 j 2 U l j + U l 1 j h 2 =α M l + 1 j +2β M l j +α M l 1 j ,
(2.5)

where

α= 1 θ 2 ( 1 2 θ ( e θ e θ ) ) ,β= 1 θ 2 ( θ ( e θ + e θ ) ( e θ e θ ) 1 ) andθ=ωh.

When ω0, that is, θ0, then (α,β)( 1 6 , 1 3 ), and the relation (2.5) reduces to the ordinary cubic spline relation

U l + 1 j 2 U l j + U l 1 j = h 2 6 ( M l + 1 j + 2 M l j + M l 1 j ) .

From (2.5), we obtain the consistency condition α+2β+α=1, which is equivalent to the equation tanh θ 2 = θ 2 . This equation has an infinite number of roots. Solving graphically, we obtain the smallest nonzero positive value θ=0.001.

Now,

m l j = S j ( x l )= U x l j = U l + 1 j U l j h h [ α M l + 1 j + β M l j ] , x l x x l + 1 ,
(2.6)

and replacing ‘h’ by ‘−h’, we get

m l j = S j ( x l )= U x l j = U l j U l 1 j h +h [ β M l j + α M l 1 j ] , x l 1 x x l .
(2.7)

Combining (2.6) and (2.7), we obtain

m l j = S j ( x l )= U x l j = U l + 1 j U l 1 j 2 h α h 2 [ M l + 1 j M l 1 j ] .
(2.8)

Further, from (2.6), we have

m l + 1 j = S j ( x l + 1 )= U x l + 1 j = U l + 1 j U l j h +h [ β M l + 1 j + α M l j ]
(2.9)

and from (2.7), we have

m l 1 j = S j ( x l 1 )= U x l 1 j = U l j U l 1 j h h [ β M l l j + α M l j ] .
(2.10)

Note that (2.4), (2.8), (2.9) and (2.10) are important properties of the non-polynomial cubic spline in tension function S j (x).

3 The finite difference method based on spline in tension approximation

For the sake of the simplicity, first we consider the one-space dimensional nonlinear hyperbolic partial differential equation

2 u t 2 =A(x,t) 2 u x 2 +g(x,t,u, u x , u t ),0<x<1,t>0
(3.1)

with the given initial conditions (1.2) and boundary conditions (1.3).

The solution domain [0,1]×[t>0] is divided into (N+1)×J mesh with the spatial step size h=1/(N+1) in x-direction and the time step size k>0 in t-direction, respectively, where N and J are positive integers. The mesh ratio parameter is given by λ=(k/h)>0. Grid points are defined by ( x l , t j )=(lh,jk), l=0,1,2,,N+1 and j=0,1,2,,J. The notations u l j and U l j are used for the discrete approximation and the exact value of u(x,t) at the grid point ( x l , t j ), respectively. Similarly, at the grid point ( x l , t j ), we define A l j =A( x l , t j ), A x l j = A x ( x l , t j ), , etc.

We consider the following approximations:

(3.2a)
(3.2b)
(3.2c)
(3.2d)
(3.3a)
(3.3b)
(3.4a)
(3.4b)

Since the derivative values of S j (x) defined by (2.4), (2.8), (2.9) and (2.10) are not known at each grid point ( x l , t j ), we use the following approximations for the derivatives of S j (x). Let

(3.5a)
(3.5b)
(3.5c)
(3.6a)
(3.6b)
(3.6c)

Now we define the following approximations:

(3.7a)
(3.7b)
(3.7c)

in which we use spline in tension function U l j = S j ( x l ), the approximation of its first-order space derivative defined by (3.6a)-(3.6c) in x-direction and central difference approximations of time derivative defined by (3.2a)-(3.2d) in t-direction.

Then, at each grid point ( x l , t j ), differential equation (3.1) is discretized by

(3.8)

where

and the local truncation error

T ˆ l j =O ( k 4 + k 4 h 2 + k 2 h 4 ) .
(3.9)

4 Derivation of the method

For the derivation of a Numorov-type method (3.8) based on spline in tension approximations for the numerical solution of differential equation (3.1), we follow the ideas of Jain et al. [5, 28]. We use spline in tension approximations in x-direction and second-order finite difference approximation in t-direction.

At the grid point ( x l , t j ), let us denote

U a b = ( a + b U x a t b ) l j , A a b = ( a + b A x a t b ) l j , ψ l j = ( g U x ) l j .
(4.1)

At the grid point ( x l , t j ), we may write differential equation (3.1) as

U t t l j A l j U x x l j =g ( x l , t j , U l j , U x l j , U t l j ) G l j (say).
(4.2)

Using the Taylor expansion, we obtain

(4.3)

Simplifying (3.2a)-(3.3b), we get

(4.4a)
(4.4b)
(4.4c)
(4.4d)
(4.5a)
(4.5b)

With the help of the approximations (4.4a) and (4.5b), from (3.4a), we obtain

G ¯ l j = g ( x l , t j , U l j , U x l j + h 2 6 U 30 + O ( h 4 ) , U t l j + O ( k 2 ) ) = g ( x l , t j , U l j , U x l j , U t l j ) + h 2 6 U 30 ψ l j + O ( k 2 + h 4 ) = G l j + h 2 6 U 30 ψ l j + O ( k 2 + h 4 ) .
(4.6a)

Similarly,

(4.6b)
(4.6c)

Now, using the approximations (4.4a)-(4.5b), (4.6a)-(4.6c) and simplifying (3.5a), we get

m ˆ l j = m l j +O ( k 2 + h 4 ) .
(4.7a)

Similarly,

(4.7b)
(4.7c)

Now, with the help of the approximations (4.4a) and (4.7a), from (3.7a), we obtain

G ˆ l j = g ( x l , t j , U l j , m l j + O ( k 2 + h 4 ) , U t l j + O ( k 2 ) ) = g ( x l , t j , U l j , m l j , U t l j ) + O ( k 2 + h 4 ) = G l j + O ( k 2 + h 4 ) .
(4.8a)

Similarly,

(4.8b)
(4.8c)

Using the approximations (4.4a)-(4.4d) and (4.8a)-(4.8c), from (3.8) and (4.3), we obtain the local truncation error T ˆ l j =O( k 4 + k 4 h 2 + k 2 h 4 ).

Now, we consider the numerical method of O( k 4 + k 4 h 2 + k 2 h 4 ) for the solution of 1D second-order quasi-linear hyperbolic equation (1.1).

In order to understand the concept to develop the method for quasi-linear case, we consider the following differential equation:

u =f(x),0<x<1.
(4.9)

A fourth-order method for differential equation (4.9) is given by

U l 1 2 U l + U l + 1 = h 2 12 [ f l + h 2 f x x l ] +O ( h 6 ) ,
(4.10)

where f l =f( x l ), f x x l = d 2 f l d x 2 .

Whenever differential equation (4.9) is of the form u =f(x,u), then the evaluation of f x x is difficult and the formula (4.10) needs to be modified. Substituting h 2 f x x l =( f l + 1 2 f l + f l 1 )+O( h 4 ) in (4.10), we obtain the modified version of (4.10) due to Numerov as

U l 1 2 U l + U l + 1 = h 2 12 [ f l + 1 + f l 1 +10 f l ]+O ( h 6 ) ,
(4.11)

where f l =f( x l , U l ). Note that (4.11) is consistent with the differential equation u =f(x,u).

Now, we use the above concept to derive the numerical method for quasi-linear equation (1.1). Whenever the coefficient A is a function of x, t and u, i.e., A=A(x,t,u), the difference scheme (3.8) needs to be modified. For this purpose, we use the following central differences:

(4.12a)
(4.12b)

where

With the help of the approximations (4.12a)-(4.12b), it is easy to verify that

Thus, substituting the central differences (4.12a)-(4.12b) into (3.8), we obtain the required numerical method of O( k 2 + k 2 h 2 + h 4 ) for the solution of second-order quasi-linear hyperbolic equation (1.1) and hence the local truncation error retains its order, that is, T ˆ l j =O( k 4 + k 4 h 2 + k 2 h 4 ).

Note that the initial and Dirichlet boundary conditions are given by (1.2) and (1.3), respectively. Incorporating the initial and boundary conditions, we can write the method (3.8) in a tri-diagonal matrix form. If differential equation (1.1) is linear, we can solve the linear system using the Gauss-elimination (tri-diagonal solver) method; in the nonlinear case, we can use the Newton-Raphson iterative method to solve the nonlinear system (see Kelly [29], Hageman and Young [30]).

5 Application to wave equation with singular coefficients and stability analysis

We consider the one-space dimensional wave equation in polar co-ordinates

u t t = u r r + γ r u r γ r 2 u+f(r,t),0<r<1,t>0.
(5.1)

For γ=1 and 2, the above equation represents the one-space dimensional wave equation in cylindrical and spherical co-ordinates, respectively. The initial and the Dirichlet boundary conditions are prescribed by

(5.2)
(5.3)

Assume that f(r,t) C 2 (0,1)×[t>0] and the conditions (5.2) and (5.3) are given with sufficient smoothness to maintain the order of accuracy in the numerical method under consideration.

Replacing the variable x by r, applying the spline in tension method (3.8) to (5.1) and neglecting the local truncation error, we obtain

(5.4)

where the approximations associated with (5.4) are defined in Section 3.

Note that the scheme (5.4) is of O( k 2 + k 2 h 2 + h 4 ) accuracy for the solution of wave equation (5.1). Since r 0 =0, the scheme (5.4) fails to compute at l=1 due to zero division. In order to get a stable spline in tension scheme of O( k 2 + k 2 h 2 + h 4 ) accuracy, we need the following approximations:

(5.5a)
(5.5b)
(5.5c)

where

f l j =f( r l , t j )= f 00 , f r l j = f r ( r l , t j )= f 10 , f r r l j = f r r ( r l , t j )= f 20 ,, etc .

Now, with the help of the approximations defined in Section 3 and (5.5a)-(5.5c), neglecting high-order terms, we can re-write the scheme (5.4) in three-level operator compact implicit form

(5.6)

where

and

f= k 2 12 [ ( 12 + γ l 2 ) f 00 + γ h l f 10 + h 2 f 20 ] ,

and μ r u l = 1 2 ( u l + 1 2 + u l 1 2 ) and δ r u l =( u l + 1 2 u l 1 2 ) are averaging and central difference operators with respect to r-direction, etc. This implies (2 μ r δ r ) u l j = u l + 1 j u l 1 j , δ r 2 u l j = u l + 1 j 2 u l j + u l 1 j , δ t 2 u l j = u l j + 1 2 u l j + u l j 1 , etc. The spline in tension finite difference scheme (5.6) has a local truncation error of O( k 2 + h 4 ) and is free from the terms 1 l ± 1 and hence it can be solved for l=1(1)N, j=1(1)J in the region 0<r<1, t>0.

For the stability of the method (5.6), we follow the technique used by Mohanty [31]. We may re-write (5.6) as

(5.7)

The additional terms are of high orders and do not affect the accuracy of the scheme. The exact value U l j =u( r l , t j ) satisfies

(5.8)

We assume that there exists an error ε l j = U l j u l j at the grid point ( x l , t j ). Subtracting (5.7) from (5.8), we obtain the error equation

(5.9)

For the stability of the modified scheme (5.7), we assume that ε l j = A l e i ϕ j e i θ l (where ξ= e i ϕ such that |ξ|=1) at the grid point ( x l , t j ), where ξ is in general complex, θ is an arbitrary real number and A is a non-zero real parameter to be determined. Substituting ε l j = A l e i ϕ j e i θ l in the homogeneous part of error equation (5.9), we obtain the amplification factor

4 sin 2 ( ϕ 2 ) = ( λ 2 [ T 2 { ( A + A 1 ) cos θ 2 + i ( A A 1 ) sin θ } + T 3 { ( A A 1 ) cos θ + i ( A + A 1 ) sin θ } + 2 T 4 ] ) / ( T 0 + 1 12 [ T 2 { ( A + A 1 ) cos θ 2 + i ( A A 1 ) sin θ } + T 3 { ( A A 1 ) cos θ + i ( A + A 1 ) sin θ } ] ) .
(5.10)

Since the left-hand side of (5.10) is a real quantity, hence the imaginary part of the right-hand side of (5.10) must be zero, from which we obtain

T 2 ( A A 1 ) + T 3 ( A + A 1 ) =0

or

A= T 2 T 3 T 2 + T 3 ,
(5.11)

where T 2 ± T 3 >0. Substituting the values of A and A 1 in (5.10), we get

sin 2 ( ϕ 2 ) = λ 2 [ T 2 + ( T 2 2 T 3 2 ) ( 2 sin 2 ( θ 2 ) 1 ) T 4 ] 2 T 0 1 3 [ T 2 + ( T 2 2 T 3 2 ) ( 2 sin 2 ( θ 2 ) 1 ) ] .
(5.12)

Since 0 sin 2 ( ϕ 2 )1, max sin 2 ( θ 2 )=1, min sin 2 ( θ 2 )=0, it follows from (5.12) that the spline in tension finite difference scheme (5.4) is stable if

0< λ 2 2 T 0 1 3 [ T 2 + T 2 2 T 3 2 ] T 2 T 4 + T 2 2 T 3 2
(5.13)

leading to |ξ|=1. It is easy to verify that as l, 0< λ 2 1.

6 Application to telegraph equation in a general form and stability analysis

Consider the telegraph equation in a general form

u t t +(α+β) u t +αβu= c 2 u x x +f(x,t),0<x<1,t>0,
(6.1)

where α>0, β0 are real parameters. For β=0, the equation above represents a damped wave equation. The initial and boundary conditions are prescribed by (1.2) and (1.3), respectively. The telegraph equation is a linear differential equation which describes the voltage and current on an electric transmission line with distance and time. In fact, the telegraph equation is more suitable than an ordinary diffusion equation in modeling reaction-diffusion for such branches of science. In equation (6.1), u(x,t) is either voltage or current through the wire at position x and time t, and α=Z/C, β=/I and c 2 =1/(IC), where Z is the conductance of a resistor, ℜ is the resistance of the resistor, I is the inductance of the coil and C is the capacitance of the capacitor.

Now onwards, we denote a= ( α + β 2 ) 2 k 2 , b=αβ k 2 ; and f l j =f( x l , t j ).

Applying the scheme (3.8) to differential equation (6.1), we may obtain a numerical approximation of O( k 2 + h 4 ) as

(6.2)

The corresponding error equation is

(6.3)

To establish the stability for the scheme (6.2), it is necessary to assume that the solution of the homogeneous part of error equation (6.3) is of the form ε l j = ξ j e i θ l , where i= 1 , θ is real and we obtain the characteristic equation

p ξ 2 +qξ+r=0,
(6.4)

where

The necessary and sufficient condition for |ξ|<1 is that p+q+r>0, pr>0, pq+r>0. The conditions p+q+r>0 and pr>0 are satisfied for α>0, β0 and for all θ except (θ,β)=(0,0) or (2π,0). We can treat this case separately.

The condition pq+r>0 is satisfied if

0< λ 2 4 b 6 c 2 provided0b<4.
(6.5)

In order to obtain an unconditionally stable spline in tension finite difference scheme of accuracy of O( k 2 + h 4 ), we may re-write the scheme (6.2) as

(6.6)

where η and γ are free parameters to be determined. The additional terms η b 2 δ t 2 u l j and γ λ 2 c 2 δ x 2 δ t 2 u l j are of higher order and do not affect the consistency and accuracy of the scheme. Now using the technique discussed in [21] and [22], we find that for α>0, β0, η 1 64 ; and γ 1 + 3 λ 2 c 2 12 λ 2 c 2 , the spline in tension finite difference scheme (6.6) is stable for all choices of h>0 and k>0.

7 Convergence analysis

In this section, we establish under appropriate conditions the fourth-order convergence of the proposed method. For simplicity, we consider the nonlinear hyperbolic differential equation

2 u t 2 = 2 u x 2 +g(x,t,u, u x , u t ),0<x<1,t>0
(7.1)

with the initial and boundary conditions which are prescribed by (1.2) and (1.3), respectively.

We assume that the initial value problem (7.1), (1.2)-(1.3) has a unique smooth solution u(x,t) and the following conditions are satisfied:

(i) g(x,t,u, u x , u t ) is continuous,

(ii) g(x,t,u, u x , u t ) satisfies the Lipschitz condition, namely,

where ξ i and ξ i are arbitrary real numbers and L is a Lipschitz constant,

(iii) a(x) and b(x) are continuously differentiable up to order four and two, respectively.

The method (3.8) becomes

(7.2)

where G ¯ l j =g( x l , t j , U l j , U ¯ x l j , U ¯ t l j ), G ˆ l j =g( x l , t j , U l j , U ˆ x l j , U ¯ t l j ), etc., … and T l j =O( k 4 + k 4 h 2 + k 2 h 4 ).

Let U j = [ U 1 j , U 2 j , , U N j ] T (T denotes transpose) and u j = [ u 1 j , u 2 j , , u N j ] T be the exact and approximate solution vectors of the solution u(x,t) at the grid point ( x l , t j ), respectively, and T= [ T 1 j , T 2 j , , T N j ] T be the local truncation error vector.

Let

ϕ(U)ϕ ( U j + 1 , U j , U j 1 ) = k 2 [ G ˆ l + 1 j + G ˆ l 1 j + 10 G ˆ l j ]

and

ϕ(u)ϕ ( u j + 1 , u j , u j 1 ) = k 2 [ g ˆ l + 1 j + g ˆ l 1 j + 10 g ˆ l j ] ,

where g ¯ l j =g( x l , t j , u l j , u ¯ x l j , u ¯ t l j ), g ˆ l j =g( x l , t j , u l j , u ˆ x l j , u ¯ t l j ), etc., … .

Then, the spline in tension method described by (7.2) can be expressed in a matrix form as follows:

D U j + 1 +2C U j +D U j 1 +ϕ(U)=T,
(7.3)

where D= [ 1 , 10 , 1 ] T and C= [ 1 + 6 λ 2 , 10 12 λ 2 , 1 + 6 λ 2 ] T are tri-diagonal matrices of order N.

The method consists of obtaining an approximation u j + 1 for U j + 1 by solving the tri-diagonal system

D u j + 1 +2C u j +D u j 1 +ϕ(u)=0.
(7.4)

Let ε l j = u l j U l j and E j = u j U j = [ ε 1 j , ε 2 j , , ε N j ] T .

We may write u ¯ t l j U ¯ t l j =( ε l j + 1 ε l j 1 )/(2k), u ¯ x l j U ¯ x l j =( ε l + 1 j ε l 1 j )/(2h), , etc.

(7.5a)
(7.5b)
(7.5c)
(7.5d)

for suitable W, H and I. Further, we may write

W l ± 1 j = W l j ± W x l j +O ( h 2 ) , H l ± 1 j = H l j ± H x l j +O ( h 2 ) and I l ± 1 j = I l j ± I x l j +O ( h 2 ) .

With the help of (7.5c) and (7.5d), we obtain

ϕ(u)ϕ(U)=P E j + 1 +2Q E j +R E j 1 ,
(7.6)

where P, Q and R are the coefficient matrices of error vectors E j + 1 , E j and E j 1 , respectively.

Subtracting (7.4) from (7.3), we have

(D+P) E j + 1 +2(C+Q) E j +(D+R) E j 1 =T.
(7.7)

Assume that the exact solution values of u(x,t) are known exactly at the initial and first time levels so that E j = E j 1 =0. Then from (7.7), we obtain the error equation

(D+P) E j + 1 =T.
(7.8)

Let P l , m be the (l,m)th element of matrix P, then it is easy to verify that

1+ P l , l ± 1 <0for l=1(1)N1,2(1)N

and hence D+P is irreducible (see Varga [32]).

Let S m be the sum of the elements of the m th row of D+P and H =min[(5αβ) H l j I x l j (2α+β I l j ) H x l j ], then for sufficiently small h and k, we obtain

(7.9a)
(7.9b)

and hence, D+P is also monotone.

Then, ( D + P ) 1 exists and ( D + P ) 1 0 (see Varga [32]), i.e., ( D + P ) l , m 1 0.

Since

m = 1 N ( D + P ) l , m 1 S m =1,l=1(1)N,

hence

( D + P ) l , m 1 1 S m 2 k h 2 H ,l=1(1)N;m=1 and N
(7.10a)

and

m = 2 N ( D + P ) l , m 1 1 min S m 1 k h 2 H ,l=1(1)N.
(7.10b)

From (7.8), we have

E j + 1 ( D + P ) 1 T.
(7.11)

Now,

| ε l j + 1 | ( D + P ) l , 1 1 | T 1 |+ m = 2 N 2 ( D + P ) l , m 1 | T m |+ ( D + P ) l , N 1 | T N |,l=1(1)N.
(7.12)

Let E j + 1 =max{| ε l j + 1 |:l=1(1)N}.

With the help of (3.9), (7.10a) and (7.10b), for a fixed value of σ= k h 2 , from (7.12), we obtain for sufficiently small h and k

E j + 1 =O ( h 4 ) .

This establishes the fourth-order convergence of the method.

8 Numerical illustrations

In this section, we solve some benchmark problems using the method described by equation (3.8) and compare our results with those obtained by the numerical method of O( k 2 + h 2 ) accuracy based on spline in tension approximations. The exact solutions are provided in each case. The linear difference equation was solved using a tri-diagonal solver, whereas nonlinear difference equations were solved using the Newton-Raphson method. While using the Newton-Raphson method, the iterations were stopped when absolute error tolerance ≤10−10 was achieved. In order to demonstrate the fourth-order convergence of the proposed method, throughout the computation, we chose the fixed value of the parameter σ= k h 2 =3.2. All computations were carried out using double precision arithmetic.

Note that, the proposed spline in tension finite difference method (3.8) for second-order quasilinear hyperbolic equations is a three-level scheme. The value of u at t=0 is known from the initial condition. To start any computation, it is necessary to know the numerical value of u of required accuracy at t=k. In this section, we discuss an explicit scheme of O( k 2 ) for u at first time level, i.e., at t=k in order to solve differential equation (1.1) using the method (3.8), which is applicable to problems in Cartesian and polar coordinates.

Since the values of u and u t are known explicitly at t=0, this implies all their successive tangential derivatives are known at t=0, i.e., the values of u, u x , u x x ,, u t , u t x , , etc. are known at t=0.

An approximation for u of O( k 2 ) at t=k may be written as

u l 1 = u l 0 +k u t l 0 + k 2 2 ( u t t ) l 0 +O ( k 3 ) .
(8.1)

From equation (1.1), we have

( u t t ) l 0 = [ A ( x , t , u ) u x x + g ( x , t , u , u x , u t ) ] l 0 .
(8.2)

Thus, using the initial values and their successive tangential derivative values, from (8.2) we can obtain the value of ( u t t ) l 0 , and then ultimately, from (8.1) we can compute the value of u at first time level, i.e., at t=k. Replacing the variable x by r in (8.1), we can also obtain an approximation of O( k 2 ) for u at t=k in polar coordinates.

Example 1 (Wave equation in polar coordinates)

2 u t 2 = 2 u r 2 + γ r u r γ r 2 u+f(r,t),0<r<1,t>0.
(8.3a)

The initial and boundary conditions are given by

(8.3b)
(8.3c)

We solve equation (8.3a) using the method (5.6) in the region bounded by 0<r<1, t>0. The exact solution is given by u(r,t)= r 2 sinht. The maximum absolute errors (MAE) are tabulated in Table 1 at t=5.0 and for γ=1, γ=2.

Table 1 Example 1: The maximum absolute errors

Example 2 (Telegraphic equation in general form)

2 u t 2 +(α+β) u t +αβu= c 2 2 u x 2 +f(x,t),0<x<1,t>0.
(8.4a)

The initial and boundary conditions are given by

(8.4b)
(8.4c)

where α=6, β=4; α=π, β=π, and α=3π, β=π. We solve equation (8.4a) using the method (6.6). The exact solution is given by u= e t sinhx. The MAE are tabulated in Table 2.

Table 2 Example 2: The maximum absolute errors

Example 3 (Nonlinear hyperbolic equation)

2 u t 2 = 2 u x 2 +γu ( u x + u t ) +f(x,t),0<x<1,t>0.
(8.5a)

The initial and boundary conditions are given by

(8.5b)
(8.5c)

We solve equation (8.5a) using the method (3.8) in the region bounded by 0<x<1, t>0. The exact solution is given by u(x,t)= x 2 sinht. The MAE are tabulated in Table 3 for γ=1,5 and 10 at t=2.0.

Table 3 Example 3: The maximum absolute errors

Example 4 (Quasi-linear hyperbolic equation)

2 u t 2 = ( 1 + x 2 + u 2 ) 2 u x 2 +γu ( u x + u t ) +f(x,t),0<x<1,t>0.
(8.6a)

The initial and the boundary conditions are given by

(8.6b)
(8.6c)

The exact solution is given by u= e t sinhx. The MAE are tabulated in Table 4 for γ=1,5 and 10 at t=2.

Table 4 Example 4: The maximum absolute errors

The order of convergence may be obtained by using the formula

log ( e h 1 ) log ( e h 2 ) log ( h 1 ) log ( h 2 ) ,
(8.7)

where e h 1 and e h 2 are maximum absolute errors for two uniform mesh widths h 1 and h 2 , respectively. For computation of order of convergence of the proposed method, we have considered h 1 = 1 32 and h 2 = 1 64 for all cases, and results are reported in Table 5.

Table 5 Order of convergence : h 1 = 1 32 , h 2 = 1 64

9 Concluding remarks

Available numerical methods based on spline in tension approximations for the numerical solution of second-order quasilinear hyperbolic equations are of O( k 2 + h 2 ) accuracy only and require 9-grid points. In this article, using the same number of grid points and three evaluations of the function g (as compared to five and nine evaluations of the function g discussed in [33] and [35]), we have derived a new stable spline in tension finite difference method of O( k 2 + h 4 ) accuracy for the solution of second-order quasi-linear hyperbolic equation (1.1). For a fixed parameter σ= k h 2 , the proposed method behaves like a fourth-order method, which is exhibited by the computed results. The proposed numerical method for the wave equation in polar coordinates is conditionally stable, whereas for the damped wave equation and the telegraphic equation, the method is shown to be unconditionally stable. From Table 5, we found that the order of the method is nearly equal to four.