Abstract

Exponentially fitted and trigonometrically fitted explicit modified Runge-Kutta type (MRKT) methods for solving are derived in this paper. These methods are constructed which exactly integrate initial value problems whose solutions are linear combinations of the set functions and for exponentially fitted and and for trigonometrically fitted with being the principal frequency of the problem and the frequency will be used to raise the accuracy of the methods. The new four-stage fifth-order exponentially fitted and trigonometrically fitted explicit MRKT methods are called EFMRKT5 and TFMRKT5, respectively, for solving initial value problems whose solutions involve exponential or trigonometric functions. The numerical results indicate that the new exponentially fitted and trigonometrically fitted explicit modified Runge-Kutta type methods are more efficient than existing methods in the literature.

1. Introduction

This work deals with exponentially fitted and trigonometrically fitted modified Runge-Kutta type methods for solving third-order ordinary differential equations (ODEs)

This sort of problems is often found in numerous physical problems like thin film flow, gravity-driven flows, electromagnetic waves, and so on. In the past and recent years many researchers constructed exponentially fitted and trigonometrically fitted explicit Runge-Kutta methods for solving first-order and second-order ordinary differential equations. Paternoster [1] developed Runge-Kutta-Nyström methods for ODEs with periodic solutions based on trigonometric polynomials. Vanden Berghe et al. [2] developed exponentially fitted Runge-Kutta methods. Simos [3] extended exponentially fitted Runge-Kutta methods for the numerical solution of the Schrodinger equation and related problems. Kalogiratou et al. [[4, 5]] constructed trigonometrically and exponentially fitted Runge-Kutta-Nyström methods for the numerical solution of the Schrodinger equation and related problems which is eighth algebraic order. Next Simos et al. [6] constructed exponentially fitted Runge-Kutta-Nyström method for the numerical solution of initial value problems with oscillating solutions. Sakas et al. [7] developed a fifth algebraic order trigonometrically fitted modified Runge-Kutta Zonneveld method for the numerical solution of orbital problems. Van de Vyver [8] in 2005 constructed Runge-Kutta-Nyström pair for the numerical integration of perturbed oscillators. Then Yang et al. [9] constructed trigonometrically fitted adapted Runge-Kutta-Nyström methods for perturbed oscillators. Recently, Demba et al. [10] constructed an explicit trigonometrically fitted Runge-Kutta-Nyström method using Simos technique.

In this paper we construct explicit exponentially fitted and trigonometrically fitted modified Runge-Kutta type methods with four-stage fifth-order, called EFMRKT5 and TFMRKT5, respectively. Section 2 discussed the oscillatory and nonoscillatory properties of the third-order linear differential equation. In Section 3, the necessary conditions and the derivation for exponentially fitted and trigonometrically fitted modified Runge-Kutta type methods for solving third-order ODEs are given. The error analysis of the new EFMRKT5 and TFMRKT5 methods was discussed in Section 4, respectively. The effectiveness of the new methods when compared with existing methods is given in Section 5. The thin film flow problem is discussed in Section 6.

2. Third-Order Linear Differential Equation with Oscillating and Nonoscillating Solutions

This section discusses the oscillatory and nonoscillatory properties of the third-order linear differential equationA solution of (2) will be said to be oscillatory if it changes signs for arbitrarily large values of . The other solutions will be said to be nonoscillatory.

If and are constants, then it is easy to show that if (2) has an oscillatory solution, then there are two linearly independent oscillatory solutions of (2) whose zeroes separate and such that any oscillatory solution of (2) is a linear combination of them. Assuming that , and are continuous on the following will be established (see [1114]).

Definition 1. A solution of (2) will be called oscillatory iff it has an infinity of zeroes in and nonoscillatory iff it has but a finite number of zeroes in this interval. Equation (2) is said to be oscillatory iff it has at least one (nontrivial) oscillatory solution and nonoscillatory iff all of its (nontrivial) solutions are nonoscillatory.

Particularly, this paper deals with two cases based on (2) when , as follows:(i); it is clear that the characteristic roots equations are real and one of them is zero; then solutions will consist of exponential functions.(ii); one of the characteristic roots equations is zero and another two are conjugate roots and the solutions are in oscillatory form,where is constant.

3. Exponentially Fitted and Trigonometrically Fitted MRKT Methods

In this section, we will determine the conditions and develop exponentially fitted and trigonometrically fitted MRKT methods. In order to construct the exponentially fitted and trigonometrically fitted MRKT methods, the extra and are absolutely necessary to insert at each stage and the MRKT methods is given as follows:where

for

The parameters of the MRKT methods are , and for and are assumed to be real. If and for , it is an explicit method and otherwise implicit method.

The MRKT method can be expressed in Butcher notation using the table of coefficients as follows (see Table 1).

3.1. Exponentially Fitted MRKT Method

To construct the exponentially fitted Runge-Kutta type four-stage fifth-order method the functions and need to integrate exactly at each stage; therefore the following four equations are obtained:

and six more equations corresponding to , , and :where , . The relations and will be used in the derivation process. The following order conditions are obtained: and six equations corresponding to , , and :

Solving (13) to (16), we find , ,, and .

Referring to the following fifth-order four-stage method developed by Fawzi et al. [15]:

we solve (23) to (26) and let , , , , , , , , , , and be free parameters and yields.Next, we solve (17) to (22) and use the above coefficients to find , , , , , and .

These lead to our new exponentially fitted Runge-Kutta type four-stage fifth-order explicit MRKT method denoted as EFMRKT5. The corresponding Taylor series expansion of the solution is given by where

This results in the new method called EFMRKT5. As , the coefficients , and of the new method EFMRKT5 reduce to the coefficients of the original method RKT5. That is to say, , , and are identical to , and of RKT5 method. Other than that, , as EFMRKT5 method will have the same error constant as RKT5 method.

3.2. Trigonometrically Fitted MRKT Method

Exponentially fitted method leads to trigonometrically fitted method when replacing with and solving (8) to (9) to find , ,, and .

Consider the same coefficients of fifth-order four-stage method developed by Fawzi et al.[15] as in Section 3.1. Solving the (31) to (34) and letting , , , , , , , , , , and be free parameters will give

Next, solving (10) to (12), and using the above Fawzi coefficients to find , ,, , , and ,

These lead to our new explicit trigonometrically fitted MRKT which is called TFMRKT5 method. The corresponding Taylor series expansion of the solution is given by

where

This results in the new method called TFMRKT5. As , the coefficients , and of the new method TFMRKT5 reduce to the coefficients of the original method RKT5. That is to say, , , and are identical to , , and of RKT5 method. Other than that, , as TFMRKT5 method will have the same error constant as RKT5 method.

4. Error Analysis

In this section, we will find the principal local truncation errors for , and (i.e., ) of the new exponentially fitted and trigonometrically fitted explicit modified Runge-Kutta type methods, respectively. We first find the Taylor series expansion of the actual solution , the first derivative of the actual solution , and the second derivative of the actual solution , the approximate solution , the first derivative of the approximate solution , and the second derivative of the approximate solution . The local truncation errors of , , and are given as

The , and of the methods are given in the Appendix.

Notes: from , and , we can see that the order of TFMRKT5 is order 5 because all of the coefficients up to vanished.

5. Problems Tested and Numerical Results

In this section, we will apply the new explicit exponentially fitted modified Runge-Kutta type method to some ODEs for problems (1)-(4) which consist of exponential solutions and the new trigonometrically fitted modified Runge-Kutta type method to some ODEs problems (5)-(8) with trigonometric functions solutions. The numerical results are compared with the results obtained when the same set of problems are reduced to a system of first-order equations and is solved using the existing Runge-Kutta of the same order.(i): step sizes.(ii)TFMRKT5: the four-stage fifth-order trigonometrically fitted RK type method derived in this paper.(iii)EFMRKT5: the four-stage fifth-order exponentially fitted RK type method derived in this paper.(iv)RKT5: the four-stage fifth-order RK type method given by Fawzi et al. [15].(v)RK5B: the six-stage fifth-order RK method given in Butcher [16].(vi)RKF5: the six-stage fifth-order RK method given in Lambert [17].(vii)TFRK: the six-stage fifth-order trigonometrically fitted RK method given in Anastassi et al. [18].

Problem 2 (homogeneous linear problem). exact solution is Estimated frequency

Problem 3 ( homogeneous linear system). exact solutions are Estimated frequency

Problem 4 ( inhomogeneous linear system ). exact solutions are Estimated frequency

Problem 5 (inhomogeneous linear problem). exact solution is Estimated frequency

Problem 6 (homogeneous linear problem). exact solution is Estimated frequency

Problem 7 (inhomogeneous linear problem). exact solution is Estimated frequency

Problem 8 (inhomogeneous linear system). exact solutions are Estimated frequency

Problem 9 (inhomogeneous linear system). exact solutions are Estimated frequency

6. An Application to a Problem in Thin Film Flow

Here, we will use the suggested method to a famous problem in engineering and physics based on the thin film flow of a liquid. Many researchers in the literature explain this problem more. Momoniat and Mahomed[19] constructed symmetry reduction and numerical solution of a third-order ODE from thin film flow. Tuck and Schwartz [20] discussed the movement of a thin film of viscous fluid over a solid surface and taken into account tension and gravity, as well as viscosity. The problem was evaluated and solved using third-order ODE as follows: Many forms of the function were studied by [20] for the drainage dry surface; it has the form of which can be stated asWhen the surface is prewetted by a thin film with thickness (where is very small), the function is given byProblems concerning the flow of thin films of viscous fluid with a free surface in which surface tension effects play a role typically lead to third-order ODEs governing the shape of the free surface of the fluid,. As indicated by [20], one such equation iswith initial conditionswhere , , and are constants, which is of specific significance since it portrays the dynamic balance amongst surface and gooey strengths in a thin fluid layer in disregard of gravity. For compare and contrast, we utilized Runge-Kutta methods which are fifth-order (RKT5, RK5B, RKF5, and TFRKT) strategies, individually. To utilize Runge-Kutta techniques we write (1) as a system of three first-order equations. Biazar et al. [21] we can write (58) as the following system:whereWe have taken and . Unfortunately, for general , (58) cannot be solved analytically. However, we can use these reductions to determine an efficient way to solve (1) numerically. Here, we are focusing on the cases and (see Mechee et al.[22]).

7. Discussion and Conclusion

In this research, we have derived exponentially fitted and trigonometrically fitted explicit modified Runge-Kutta type methods for solving with application to thin film flow problem. Consequently, the new four-stage fifth-order exponentially-fitted and trigonometrically-fitted methods which are denoted as EFMRKT5 and TFMRKT5, respectively, were constructed and we used in numerical comparison the criteria based on computing the maximum error in the solution which is equal to the maximum between absolute errors of the actual solutions and computed solutions. The numerical outcomes are plotted in Figures 18. Figures 18 demonstrate that the new TFMRKT5 and EFMRKT5 methods require less capacity assessments than the RKT5, RK5B, RKF5, and TFRK methods. The figures showed the efficiency of the new methods where the common logarithm of the maximum global error throughout the integration versus computational cost was measured by the number of function evaluations. The numerical results obtained showed clearly that the global error for a short period of integration for the new exponentially fitted method and for a large period of integration for the new trigonometrically fitted explicit modified Runge-Kutta type method is smaller than that of the other existing methods. The new EFMRKT5 and TFMRKT5 methods are much more efficient than the other existing methods when solving third-order ODEs of the form straightforwardly. For Tables 2 and 3 we observed that the numerical results using TFMRKT5 and EFMRKT5 methods are correct to five decimal places. Applying RK5B, RKF5, TFRK, and RKT5 to (58) for also yields five-decimal place accuracy. Tables 4 and 5 show the numerical results for the case with and since for , Problem (58) cannot be solved analytically. Table 4 shows that TFMRKT5 and EFMRKT5 manage to achieve the numerical results which agree to seven decimal places when compared to RK5B, RKF5, TFRK, and RKT5 for . In Table 5 the numerical results for TFMRKT5 and EFMRKT5 agree to nine decimal places when compared to RK5B, RKF5, TFRK, and RKT5 for . For Table 7 we observe that RK5B, RKF5, RKT5, TFRK, TFMRKT5, and EFMRKT5 have similar order of accuracy. In Table 6 values of the error are different. Therefore it is consistent with results displayed in Tables 2 and 3. Figures 9 and 10 show that the new EFMRKT5 and TFMRKT5 methods require less function evaluations than the RK5B, RKF5, TFRK, and RKT5 methods. This is because when problem (58) is solved using RK5B, RKF5, TFRK, and RKT5 methods, it needs to be reduced to a system of first-order equations which is three times the dimension.

Appendix

The principal local truncation errors for , and (i.e., ) for EFMRKT5 are as follows:

The principal local truncation errors for , and (i.e., ) for TFMRKT5 are as follows:

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.