Mathematical Problems in Engineering

Volume 2015 (2015), Article ID 196595, 12 pages

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

## Two Embedded Pairs of Runge-Kutta Type Methods for Direct Solution of Special Fourth-Order Ordinary Differential Equations

^{1}Department of Mathematics, Faculty of Science, Universiti Putra Malaysia (UPM), 43400 Serdang, Selangor, Malaysia^{2}Department of Mathematics, College of Science, Al-Mustansiriyah University, Baghdad, Iraq^{3}Institute for Mathematical Research, Universiti Putra Malaysia (UPM), 43400 Serdang, Selangor, Malaysia

Received 14 August 2015; Revised 3 November 2015; Accepted 8 November 2015

Academic Editor: Tarek Ahmed-Ali

Copyright © 2015 Kasim Hussain et al. 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 present two pairs of embedded Runge-Kutta type methods for direct solution of fourth-order ordinary differential equations (ODEs) of the form denoted as RKFD methods. The first pair, which we will call RKFD5, has orders 5 and 4, and the second one has orders 6 and 5 and we will call it RKFD6. The techniques used in the derivation of the methods are that the higher order methods are very precise and the lower order methods give the best error estimate. Based on these pairs, we have developed variable step codes and we have used them to solve a set of special fourth-order problems. Numerical results show the robustness and the efficiency of the new RKFD pairs as compared with the well-known embedded Runge-Kutta pairs in the scientific literature after reducing the problems into a system of first-order ordinary differential equations (ODEs) and solving them.

#### 1. Introduction

This paper deals with embedded RKFD methods for directly solving special fourth-order ordinary differential equations (ODEs) of the formwith initial conditionsin which the first, second, and third derivatives do not appear explicitly. This type of problems can be found in various fields of applied science and engineering such as beam theory [1, 2], fluid dynamics [3], neural networks [4], and electric circuits [5]. Traditionally, the fourth-order ordinary differential equations are transformed to a first-order system of ordinary differential equations, so that standard numerical methods can be applied (see [6–11]). However, several researchers (see [1, 12, 13]) observed the drawback of this technique as it wastes a lot of computing time and human effort. Therefore, direct integration methods have attracted significant attention from several authors for solving higher order ODEs, because these direct methods demonstrated the features in accuracy and speed (see [14–23]). However, all the methods discussed above are multistep methods in nature. This paper primarily aims to construct a one-step method to solve special fourth-order ODEs directly; this new method is self-starting in nature.

The general form of RKFD method with -stage for solving special fourth-order ODEs (1) can be expressed as follows [24]:wherefor .

The parameters , , , , , and of the RKFD method are to be determined for and and supposed to be real. The RKFD method is an explicit method if for and is an implicit method if for some such that .

To determine the parameters of the RKFD method given in (3)-(4), the RKFD method expression is expanded using the Taylor series expansion. After doing some algebraic simplifications, this expansion is equated to the true solution that is given by the Taylor series expansion. The direct expansion of the truncation error is used to derive the order conditions for the RKFD method [25]. A good deal of algebraic and numerical calculations are required for the above operation which were carried out using algebra package Maple [26]. Algebraic order conditions for the RKFD method can be obtained from the direct expansion of the local truncation error.

In this paper we will derive embedded Runge-Kutta pairs for direct integration of special fourth-order ODEs. Embedded pairs of RK type methods have a built-in local truncation error estimate; as a result, the step size can be controlled at virtually no extra cost, and hence an efficient variable step size code can be developed.

In recent years, the construction of embedded Runge-Kutta method is an effective research area yielding continuous development to the existing codes. The present paper is primarily dedicated as an extra work in this research area. This technique involves two Runge-Kutta formulae of orders and (, usually ) (see [25, 27–33]). We are interested in deriving the effective embedded pairs of RKFD methods that provide a cheap error estimation for variable step size codes. They depend on the methods of order and of order . Butcher tableau of embedded RKFD pair can be written as follows:The method will compute , , , and to approximate , , , and , where is the computed solution and is the exact solution.

The remainder of this paper is organized as follows. In Section 2, we present the order conditions of RKFD method as well as the basic concepts and notations which are used for embedded method. In Section 3, we present the construction of the new embedded RKFD pairs of orders 5(4) and 6(5), respectively. In Section 4, we carry out the numerical experiments to show the efficiency of the new embedded RKFD pairs when compared with the well-known Runge-Kutta pairs from the scientific literature. Conclusions of the paper are given in Section 5.

#### 2. The Order Conditions of RKFD Method

The order conditions of RKFD method up to fifth order have been derived using Taylor series expansion by Hussain et al. [24]. We use the same approach to derive the order conditions up to seventh order and for convenience we will present the algebraic order conditions of the RKFD method given in [24] together with the seventh order method in this paper. Next, we give the order conditions up to order 7.

The order conditions for are as follows: Fourth order: Fifth order: Sixth order: Seventh order:

The order conditions for are as follows: Third order: Fourth order: Fifth order: Sixth order: Seventh order:

The order conditions for are as follows: Second order: Third order: Fourth order: Fifth order: Sixth order: Seventh order:

The order conditions for are as follows: First order: Second order: Third order: Fourth order: Fifth order: Sixth order: Seventh order:The following strategies are utilized for developing efficient embedded pairs.(1)The quantities of and should be as small as possible for higher and lower order RKFD method, respectively, where where , , , and are called the error terms for , , , and , respectively.(2)The following quantities given in [34] should be as small as possible:(i) (ii) where , , , and are called the error coefficients for , , , and of the embedded RKFD pairs, respectively.(3)We defined the local error estimation at the point by the following formula: where where , , , and and , , , and are solutions using the higher order formula and the lower order formula, respectively.The local error estimation, EST, can be used to control the step size by the standard formula as given in [35–38]where 0.9 is a safety factor, the local error estimation at each step is represented by EST, and TOL is the maximum allowable local error which is the precision required.

If , then the step is accepted and we applied the procedure of performing local extrapolation (or higher order mode) meaning that the more accurate approximation will be used to advance the integration. If , then the step is rejected and the step size will be updated using formula (37).

#### 3. Construction of Embedded Explicit RKFD Pairs

The construction of embedded explicit RKFD pairs will be discussed in this section. In specific, we will derive two embedded RKFD pairs of orders 5(4) and 6(5) with three and four stages per step, respectively.

##### 3.1. The Derivation of Embedded RKFD5(4) Pair

This section will focus on the derivation of embedded RKFD5(4) pair with three stages. The authors in [24] derived three-stage fifth-order RKFD method and the solution is given as follows:Now, based on the above solution for values of and , we derive a three-stage fourth-order embedded formula. Solving the algebraic conditions (6), (10)-(11), (16)–(18), and (23)–(26) simultaneously gives a solution for in terms of and and the solution of in terms of which are given as follows:while the values of and , , are the same as the fifth-order method. Our objective now is to select the values of the free parameters , , and and thus the values of , , , , , and are as small as possible. Using the above solution, we get is a constant value; however, and are functions in terms of , by plotting the graph of versus (see Figure 1). From the numerical experiment and for the accurate result, we choose using* Minimize* command in Maple Software, which gives the error norm and .