Next Article in Journal
Weighted Mean Inactivity Time Function with Applications
Next Article in Special Issue
A Population Pyramid Dynamics Model and Its Analytical Solution. Application Case for Spain
Previous Article in Journal
The Development of PSO-ANN and BOA-ANN Models for Predicting Matric Suction in Expansive Clay Soil
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Matrix Spline Method for a Class of Fourth-Order Ordinary Differential Problems

1
Instituto de Matemática Multidisciplinar, Universitat Politècnica de València, Camino de Vera s/n, 46022 Valencia, Spain
2
Instituto de Instrumentación Para Imagen Molecular, Universitat Politècnica de València, Camino de Vera s/n, 46022 Valencia, Spain
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(16), 2826; https://doi.org/10.3390/math10162826
Submission received: 3 July 2022 / Revised: 30 July 2022 / Accepted: 4 August 2022 / Published: 9 August 2022
(This article belongs to the Special Issue Mathematical Methods and Models in Nature and Society)

Abstract

:
Differential matrix models provide an elementary blueprint for the adequate and efficient treatment of many important applications in science and engineering. In the present work, we suggest a procedure, extending our previous research results, to represent the solutions of nonlinear matrix differential problems of fourth order given in the form Y ( 4 ) ( x ) = f ( x , Y ( x ) ) in terms of higher-order matrix splines. The corresponding algorithm is explained, and some numerical examples for the illustration of the method are included.

1. Introduction

Scalar spline methods have a long and successful tradition for obtaining smooth approximations for solutions of a wide range of applications in engineering, mathematics, data and computer science [1,2]. On the other hand, reformulating an engineering problem in terms of matrix-valued physical quantities nowadays is a common approach, leading to a compact description of the problem and allowing for more efficient computations. Thus, combining spline methods with matrix models is a logical path to follow.
In the present work, we elaborate a spline method for the approximation of a special class of fourth-order matrix differential equations which take the form
Y ( 4 ) ( x ) = f x , Y ( x ) , x [ a , b ] R ,
where Y ( x ) is a complex matrix—not necessarily a square matrix—depending on the real parameter x, with the initial conditions Y ( a ) = y a , Y ( a ) = Y a , Y ( a ) = Y a , and Y ( a ) = Y a . Note that in Equation (1) the first, second, and third derivatives of matrix Y do not appear explicitly. In particular, this type of fourth-order problem can be found in diverse fields of the applied sciences and engineering, e.g., beam theory [3,4], fluid dynamics [5], neural networks [6], and electric circuits [7]. In practice, for ordinary differential equations, it is customary to convert fourth-order equations to a system of first-order equations, so that standard numerical methods and software can be used. However, with the increase in the number of equations, this technique inevitably also produces an increase in computational cost and numerical instabilities.
Given this hindsight, direct integration methods (without increasing the dimensionality of a problem) have attracted considerable attention in recent years. Several authors that have solved higher-order problems of scalar type have, therefore, used direct methods which have demonstrated exquisite features in accuracy and speed, see Refs. [8,9,10,11,12] and references therein.
The aim of this paper is to generalize the proposed method for problems given in Refs. [13,14] by developing an extended algorithm to deal with nonlinear matrix differential equations of the fourth order and of type Equation (1), thereby broadening the approach and allowing to tackle a wider class of significant applications. Apart from allowing significantly new applications of interest, we stress that it is not evident that our previous approach will work for nonlinear fourth-order matrix problems, therefore, requiring a detailed error analysis with adequate test examples and carrying out the necessary benchmarking, which we will pursue in this work.
Throughout the work, we will take up the notation for matrix splines and norms as previously used [15,16], which is frequently employed in matrix calculus. Adopting this nomenclature, we recall that for a rectangular r × s matrix, A C r × s , its 2-norm is expressed as
A = sup z 0 A z z ,
where for a vector z C s , the Euclidean norm is z = z t z 1 2 . Similarly, the 1-norm is defined by z 1 = i = 1 s | z i | .
The Kronecker product A B of A = a i j C m × n and B C r × s is a block matrix given by
A B = a 11 B a 1 n B a m 1 B a m n B .
The column-vector operator, vec , acting on matrix A C m × n , yields
vec ( A ) = A 1 A n , where A k = a 1 k a m k .
Here and in the remainder of the text, we use bold-face letters for vectors and vector-valued functions.
Given Y = y i j C p × q and X = x i j C m × n , the derivative of matrix Y with respect to matrix X is defined by [17] (pp. 62, 81):
Y X = Y x 11 Y x 1 n Y x m 1 Y x m n , where Y x r s = y 11 x r s y 1 q x r s y p 1 x r s y p q x r s .
If X C m × n , Y C n × v , and Z C p × q , then the following rule for the derivative of a matrix product with respect to another matrix applies [17] (p. 84):
X Y Z = X Z I q Y + I p X Y Z ,
where I q and I p denote the identity matrices of dimensions q and p, respectively. For the above matrices, X, Y, and Z, the following chain rule [17] (p. 88) is valid:
Z X = vec ( Y ) t X I p I n Z vec ( Y ) .
After this brief introduction, Section 2 gives a description of the proposed method outlining its algorithmic details. Section 3 provides programs in MATLAB [18] for solving the target equation. Section 4 then continues the discussion by implementing numerical examples for the scalar, vector, and matrix cases. Lastly, Section 5 summarizes the obtained results.

2. Description of the Method

Let us consider the following fourth-order matrix problem
Y ( 4 ) ( x ) = f ( x , Y ( x ) ) Y ( a ) = Y a , Y ( a ) = Y a Y ( a ) = Y a , Y ( a ) = Y a , a x b ,
where the unknown matrix is Y ( x ) C r × q with initial conditions Y a , Y a , Y a , Y a C r × q . The matrix-valued function f : [ a , b ] × C r × q C r × q is of the differentiability class f C s T , s 1 , with
T = ( x , Y ) ; a x b , Y C r × q .
In order to ensure the existence and uniqueness of the continuously differentiable solution Y ( x ) for problem (4), let function f fulfill the global Lipschitz’s condition with constant L > 0 , such that [19] (p. 99)
f x , Y 1 f x , Y 2 L Y 1 Y 2 , a x b , Y 1 , Y 2 C r × q .
Next, the partition of the interval [ a , b ] shall be given by
Δ [ a , b ] = a = x 0 < x 1 < < x n = b , x k = a + k h , k = 0 , 1 , , n ,
where n N , and the corresponding stepsize is h = ( b a ) / n . For the individual subintervals [ a + k h , a + ( k + 1 ) h ] , we will construct matrix spline S ( x ) of order m N , where 4 m s . The order of the differentiability for function f is denoted by s. The approximated spline solution for problem (4) will then be S ( x ) C 4 [ a , b ] .
For the first interval [ a , a + h ] , we assume that the matrix spline takes the form
S a , a + h ( x ) = Y ( a ) + Y ( a ) ( x a ) + 1 2 ! Y ( a ) ( x a ) 2 + 1 3 ! Y ( a ) ( x a ) 3 + + 1 ( m 1 ) ! Y ( m 1 ) ( a ) ( x a ) m 1 + 1 m ! A 0 ( x a ) m ,
where A 0 C r × q is an unknown matrix parameter still to be computed. It is straightforward to verify that
S a , a + h ( a ) = Y ( a ) , S a , a + h ( a ) = Y ( a ) = Y a , S a , a + h ( a ) = Y ( a ) = Y a , S a , a + h ( a ) = Y ( a ) = Y a ,
and
S a , a + h ( 4 ) ( a ) = f ( a , Y ( a ) ) = f ( a , S a , a + h ( a ) ) .
Therefore, the spline S ( x ) for the subinterval a , a + h will satisfy the differential equation, Equation (4), at x = a by construction.
In order to fully determine the matrix spline of Equation (8), we still require the values of Y ( 5 ) ( a ) , Y ( 6 ) ( a ) , , Y ( m 1 ) ( a ) , and of A 0 . First, to determine the fifth-order derivative Y ( 5 ) ( x ) , one follows the method described in Ref. [16], adopting the notation already summarized in the introduction. Accordingly, we obtain
Y ( 5 ) ( x ) = f ( x , Y ( x ) ) x + vec f ( x , Y ( x ) ) t I r f ( x , Y ( x ) ) vec Y ( x ) = g 1 x , Y ( x ) , Y ( x ) ,
where g 1 C s 1 T . Subsequently, by using Equation (9), we are able to evaluate
Y ( 5 ) ( a ) = g 1 a , Y ( a ) , Y ( a ) = g 1 a , Y a , Y a .
Similarly, next we may suppose that f C s T for s 2 . Thus, the second partial derivatives of f exist and are continuous. Now, one obtains the sixth derivative for matrix Y ( x ) according to
Y ( 6 ) ( x ) = 2 f ( x , Y ( x ) ) x 2 + vec f ( x , Y ( x ) ) t I r x f ( x , Y ( x ) ) vec Y ( x ) + vec f ( x , Y ( x ) ) t x I r f ( x , Y ( x ) ) vec Y ( x ) + vec f ( x , Y ( x ) ) t I r vec Y ( x ) f ( x , Y ( x ) ) x + vec f ( x , Y ( x ) ) t I r vec f ( x , Y ( x ) ) t vec Y ( x ) I r f ( x , Y ( x ) ) vec Y ( x ) + vec f ( x , Y ( x ) ) t I r vec f ( x , Y ( x ) ) t I r 2 q 2 f ( x , Y ( x ) ) vec Y ( x ) 2 = g 2 x , Y ( x ) , Y ( x ) , Y ( x ) C s 2 T .
Evaluating Equation (10) at x = a , we conclude Y ( 6 ) ( a ) = g 2 a , Y ( a ) , Y ( a ) , Y ( a ) = g 2 a , Y a , Y a , Y a . For all higher-order derivatives Y ( 7 ) ( x ) , , Y ( m 1 ) ( x ) , we proceed in a similar manner and calculate
Y ( 7 ) ( x ) = g 3 x , Y ( x ) , Y ( x ) , Y ( x ) , Y ( x ) C s 3 T Y ( m 1 ) ( x ) = g m 5 x , Y ( x ) , Y ( x ) , , Y ( m 5 ) ( x ) C s ( m 5 ) T .
An exhaustive list of all symbolic derivatives may easily be established by employing standard computer algebra systems. Substituting again x = a in Equation (11), one accomplishes Y ( 7 ) ( a ) , , Y ( m 1 ) ( a ) . Therefore, as yet, all essential matrix parameters of the spline are known, except for parameter A 0 . Finally, to determine A 0 , we suppose that Equation (8) will be a solution of problem (4) at x = a + h , which entails
S a , a + h ( 4 ) ( a + h ) = f a + h , S a , a + h ( a + h ) .
Then, we obtain from Equation (12) the implicit matrix equation with only one unknown A 0 :
A 0 = ( m 4 ) ! h m 4 f a + h , Y ( a ) + Y ( a ) h + + h m 1 ( m 1 ) ! Y ( m 1 ) ( a ) + h m m ! A 0 Y ( 4 ) ( a ) Y ( 5 ) ( a ) h 1 ( m 5 ) ! Y ( m 1 ) ( a ) h m 5 .
Assuming that the implicit matrix equation, Equation (13), has a unique solution A 0 , matrix spline (8) is now completely determined within subinterval [ a , a + h ] .
For the subsequent interval [ a + h , a + 2 h ] , the matrix spline may be expressed as
S a + h , a + 2 h ( x ) = i = 0 3 S a , a + h ( i ) ( a + h ) i ! ( x ( a + h ) ) i + j = 4 m 1 Y ( j ) ( a + h ) ¯ j ! ( x ( a + h ) ) j + A 1 m ! ( x ( a + h ) ) m .
Here, the expressions
Y ( 4 ) ( a + h ) ¯ = f a + h , S a , a + h ( a + h ) ,
and Y ( 5 ) ( a + h ) ¯ , , Y ( m 1 ) ( a + h ) ¯ are the analogous results obtained after evaluating the respective derivatives of Y ( x ) using S a , a + h ( a + h ) in Equations (9)–(11). We may put this in a more compact form:
Y ( 5 ) ( a + h ) ¯ = g 1 a + h , S a , a + h ( a + h ) , S a , a + h ( a + h ) , Y ( m 1 ) ( a + h ) ¯ = g m 5 a + h , S a , a + h ( a + h ) , , S a , a + h ( m 5 ) ( a + h ) .
Observe that the matrix spline S ( x ) , defined by Equations (8) and (14), is of differentiability class C 4 [ a , a + h ] [ a + h , a + 2 h ] . Again, by construction, the spline of the form given in Equation (14) satisfies the differential equation, Equation (4), at point x = a + h . In Equation (14), all coefficients are known except for A 1 R r × q .
The exact value of A 1 may be determined by considering the spline provided in Equation (14) as being a solution at point x = a + 2 h of the problem, viz. Equation (4):
S a + h , a + 2 h ( 4 ) ( a + 2 h ) = f a + 2 h , S a + h , a + 2 h ( a + 2 h ) .
Expanding the last expression produces a matrix equation for A 1 :
A 1 = ( m 4 ) ! h m 4 f a + 2 h , i = 0 3 S a , a + h ( i ) ( a + h ) i ! h i + j = 4 m 1 Y ( j ) ( a + h ) ¯ j ! h j + A 1 h m m ! Y ( 4 ) ( a + h ) ¯ Y ( 5 ) ( a + h ) ¯ h h m 5 ( m 5 ) ! Y ( m 5 ) ( a + h ) ¯ .
Let us assume that the matrix equation, Equation (17), has the unique solution A 1 . This way, the matrix spline now is completely known for the interval [ a + h , a + 2 h ] .
By repeating this procedure, we can establish the matrix–spline
approximation for the subinterval a + ( k 1 ) h , a + k h . Then, in the following interval a + k h , a + ( k + 1 ) h , we define the corresponding matrix spline as
S a + k h , a + ( k + 1 ) h ( x ) = i = 0 3 S a + ( k 1 ) h , a + k h ( i ) ( a + k h ) i ! ( x ( a + k h ) ) i + j = 4 m 1 Y ( j ) ( a + k h ) ¯ j ! ( x ( a + k h ) ) j + A k m ! ( x ( a + k h ) ) m ,
where
Y ( 4 ) ( a + k h ) ¯ = f a + k h , S a + ( k 1 ) h , a + k h ( a + k h ) ,
and similarly, we may find
Y ( 5 ) ( a + k h ) ¯ = g 1 a + k h , S a + ( k 1 ) h , a + k h ( a + k h ) , S a + ( k 1 ) h , a + k h ( a + k h ) , Y ( m 1 ) ( a + k h ) ¯ = g m 5 a + k h , S a + ( k 1 ) h , a + k h ( a + k h ) , , S a + ( k 1 ) h , a + k h ( m 5 ) ( a + k h ) .
For this definition, the matrix spline S ( x ) C 4 j = 0 k [ a + j h , a + ( j + 1 ) h ] satisfies the differential equation, Equation (4), at point x = a + k h . Additionally, we require that S a + k h , a + ( k + 1 ) h ( x ) also is a solution of problem (4) at point x = a + ( k + 1 ) h , such that
S a + k h , a + ( k + 1 ) h ( 4 ) ( a + ( k + 1 ) h ) = f a + ( k + 1 ) h , S a + k h , a + ( k + 1 ) h ( a + ( k + 1 ) h ) .
An expansion of this expression produces
A k = ( m 4 ) ! h m 4 f a + ( k + 1 ) h , i = 0 3 S a + ( k 1 ) h , a + k h ( i ) ( a + k h ) i ! h i + j = 4 m 1 Y ( j ) ( a + k h ) ¯ j ! h j + A k m ! h m Y ( 4 ) ( a + k h ) ¯ h m 5 ( m 5 ) ! Y ( m 1 ) ( a + k h ) ¯ .
Observe that the final result in Equation (21) relates directly to Equations (13) and (17), when setting k = 0 and k = 1 .
By using a fixed-point argument, we will now demonstrate that Equation (21) will have unique solutions for k = 0 , 1 , , n 1 . For fixed values of h and k, the matrix function g : C r × q C r × q is
g ( S ) = ( m 4 ) ! h m 4 f a + ( k + 1 ) h , i = 0 3 S a + ( k 1 ) h , a + k h ( i ) ( a + k h ) i ! h i + j = 4 m 1 Y ( j ) ( a + k h ) ¯ j ! h j + S m ! h m Y ( 4 ) ( a + k h ) ¯ h m 5 ( m 5 ) ! Y ( m 1 ) ( a + k h ) ¯ .
If A k = g ( A k ) , i.e., A k is a fixed point for function g ( S ) , then Equation (21) is satisfied. Using the global Lipschitz’s condition for f, Equation (6), and the previous definition for g, Equation (22), now implies immediately:
g ( S 1 ) g ( S 2 ) L h 4 m ( m 1 ) ( m 2 ) ( m 3 ) S 1 S 2 .
Choosing h < m ( m 1 ) ( m 2 ) ( m 3 ) / L 4 , the matrix function g is contractive. Therefore, Equation (21) has unique solutions A k for k = 0 , 1 , , n 1 , and the matrix spline is finally computed. Summing up, the following theorem has been demonstrated:
Theorem 1.
Consider the fourth-order matrix differential system given by Equation (4), and let L > 0 be the corresponding Lipschitz constant defined by Equation (6). Further, let us take the partition Δ [ a , b ] over the interval [ a , b ] , following Equation (7) and having stepsize
h < m ( m 1 ) ( m 2 ) ( m 3 ) / L 4 .
Then, as shown by the previous procedure, the matrix spline S ( x ) of order m, with 4 m s , exists in each subinterval a + k h , a + ( k + 1 ) h , k = 0 , 1 , , n 1 , and is of class C 4 [ a , b ] .
Loscalzo and Talbot demonstrated that in the scalar case, the global error of the splines is of O ( h m 1 ) , see Ref. [20]. Note that an analogous analysis applies for the present matrix–spline case.

3. MATLAB Program

Consider the following fourth-order ordinary differential equation for a matrix Y ( x ) :
Y ( 4 ) ( x ) = f ( x , Y ( x ) ) Y ( x k ) = Y 0 , Y ( x k ) = Y 1 , Y ( x k ) = Y 2 , Y ( x k ) = Y 3 , x k x x k + h ,
where h is the stepsize, such that x k = a + k h . Further, Y 0 , Y 1 , Y 2 , and Y 3 are the matrices Y, Y , Y , and Y calculated in the previous step at x k . Denoting by Y k ( x ) the spline of order m in the subinterval [ x k , x k + h ] , we have
Y k ( x k + h ) = i = 0 m 1 Y ( i ) ( x k ) h i i ! + h m m ! A k B k ( 1 ) + h m m ! A k ,
Y k ( x k + h ) = i = 1 m 1 Y ( i ) ( x k ) h i 1 ( i 1 ) ! + h m 1 ( m 1 ) ! A k B k ( 2 ) + h m 1 ( m 1 ) ! A k ,
Y k ( x k + h ) = i = 2 m 1 Y ( i ) ( x k ) h i 2 ( i 2 ) ! + h m 2 ( m 2 ) ! A k , B k + h m 2 ( m 2 ) ! A k
Y k ( x k + h ) = i = 3 m 1 Y ( i ) ( x k ) h i 3 ( i 3 ) ! + h m 3 ( m 3 ) ! A k , B k ( 4 ) + h m 3 ( m 3 ) ! A k
Y k ( 4 ) ( x k + h ) = i = 4 m 1 Y ( i ) ( x k ) h i 4 ( i 4 ) ! + h m 4 ( m 4 ) ! A k B k ( 5 ) + h m 4 ( m 4 ) ! A k ,
where A k still must be computed.
If we substitute expressions of Equations (24) and (28) into differential Equation (23), we obtain
B k ( 5 ) + h m 4 ( m 4 ) ! A k = f x , B k ( 1 ) + h m m ! A k .
Then, the matrix A k can be determined by using the following fixed-point iteration:
A k = ( m 4 ) ! h m 4 f x , B k ( 1 ) + h m m ! A k B k ( 5 ) .
Hence, the approximated values for Y, Y , Y and Y at x k + h can be computed by substituting A k into Equations (24)–(27).
Figure 1 lists the MATLAB code for approximately computing the solution matrices Y ( b ) , Y ( b ) , Y ( b ) , and Y ( b ) of the fourth-order ordinary differential equation given in Equation (4). This code uses the cell-array data type for storing sets of matrices. In line 36, the values for Y ( i ) ( x k ) , i = 0 , 1 , , m , are obtained and stored in the cell-array variable Ym by invoking the f MATLAB function to return the matrices which appear in the expressions given by Equations (24)–(28). In lines 37–42, the expressions B k , B k , B k , B k ( 4 ) , and B k ( 5 ) from Equations (24)–(28) are computed. In lines 45–52, the matrix A k is worked out by using fixed-point iteration. Finally, in lines 53–55, the matrices Y ( x k + h ) , Y ( x k + h ) , Y ( x k + h ) , and Y ( x k + h ) are computed.
The memory requirements for this function are ( m + 12 ) matrices, i.e., m matrices for the cell-array variable ym, five matrices for the cell array variable B k , three matrices for the variables Ak, Ak1, and Skm, furthermore, four matrices for the cell-array variable y.
Figure 2 reproduces the MATLAB code of the function create_problem, which automatically generates an output file, such as the one shown in Figure 3, containing all symbolical derivatives required for the main program, viz. Figure 1. The symbolical results in this file are then readily accessible as a function for computing the spline approximation with function spline4order. Note that for the computer algebra, the MATLAB interface to MuPAD is called [21,22]. All the essential codes, including future developments, will be made available for public use [23].

4. Numerical Examples

4.1. A Scalar Test Problem

As a starting point, we consider the problem of type Equation (4) for Y ( x ) C r × q with r = q = 1 , and apply our proposed method to the following scalar problem:
y ( 4 ) ( x ) = x 4 6 x 2 + 3 y ( x ) y ( 0 ) = 1 , y ( 0 ) = 0 y ( 0 ) = 1 , y ( 0 ) = 0 , 0 x 1 .
This is a simple test problem and is recognized as an ideal benchmark test in the literature [9]. Its exact solution is known as y ( x ) = e x 2 / 2 .
Since max x [ 0 , 1 ] x 4 6 x 2 + 3 = 3 , we have a Lipschitz constant given by L = 3 . For splines of the seventh order ( m = 7 ), according to Theorem 1, we have h < 4.09062 and take n = 10 partitions with stepsize h = 0.1 . Computer algebra systems are most suitable to algebraically solve the equations arising from the algorithm. In this case, we employ Mathematica. All analytical results for the approximate splines are recorded in Table 1.
In Table 2, we specify the difference between the estimates of our numerical approach and the exact solution. The maximums of these errors are indicated for each subinterval. Obviously, the error for each subinterval is lower than the predicted global error of O ( 10 6 ) , but each local error is necessarily increasing while iterating from the first to the last subinterval.

4.2. A Nonlinear Scalar Test Problem

This problem appears in Refs. [24] (p. 1003), [25], although for different intervals of the form [ 0 , b ] :
y ( 4 ) ( x ) = y 2 ( x ) + cos 2 ( x ) + sin ( x ) 1 , 0 < x b ,
y ( 0 ) = 0 , y ( 0 ) = 1 , y ( 0 ) = 0 , y ( 0 ) = 1 .
Its exact solution is y ( x ) = sin ( x ) .
Note that for this particular test problem, the usage example in Figure 2 shows how to automatically produce the corresponding derivatives in the form of a MATLAB function f.m as required by the function spline4order. The output is shown in Figure 3. Afterwards, the execution of the usage example in Figure 1 computes all spline approximations for this test.
Figure 4 displays four graphics for the relative errors at b = 1 , taking as stepsizes h = 10 1 , h = 10 2 , h = 10 3 and h = 10 4 , by also varying spline order m. In general, the error committed decreases by increasing the spline order. Similarly, the error generally reduces as we decrease the stepsize. However, for m = 10 , the error acquired for h = 10 3 is less than the error for h = 10 4 . This is due to the increase in the number of floating point operations. Table 3 lists the corresponding relative errors.
Figure 5 provides five graphics with the relative errors for spline orders m = 5 , 6 , 7 , 8 , and 9, varying the final point of the interval ( b = 1 , 2 , 3 , 4 , and 5). A fixed stepsize h = 10 3 is considered. Obviously, the error increases as the value b grows. Similarly, the error improves when the stepsize decreases. Clearly, the highest precision is obtained for m = 8 .

4.3. A Matrix Differential Equation

The next example focuses on a type of matrix problem involving complex square matrices Y ( t ) C r × r , satisfying the general differential equation
Y ( 4 ) ( t ) + P ( t ) Y ( t ) + Q ( t ) Y ( t ) + R ( t ) Y ( t ) + S ( t ) Y ( t ) = 0 ,
where P ( t ) , Q ( t ) , R ( t ) and S ( t ) are continuous C r × r -valued functions on an interval J R . Later on, we will choose these functions to be compatible with Equation (4).
In agreement with Ref. [26], we introduce the concept of a fundamental set of solutions for Equation (32). Its definition is as follows:
Definition 1.
Consider Equation (32). We say that a set of solutions { Y 1 , Y 2 , Y 3 , Y 4 } is a fundamental set of solutions of Equation (32); in the interval J, if any solution Z of Equation (32) defined in J, the matrices A , B , C , D C r × r exist, uniquely determined by Z, such that
Z ( t ) = Y 1 ( t ) A + Y 2 ( t ) B + Y 3 ( t ) C + Y 4 ( t ) D , t J .
The following result provides a useful characterization of a fundamental set of solutions for Equation (32), and it may be regarded as a matrix analogue of Liouville’s formula for the scalar case [26].
Lemma 1.
Let { Y 1 , Y 2 , Y 3 , Y 4 } be a set of solutions of Equation (32) defined on the interval J of the real line, and let W ( t ) be the block matrix function
W ( t ) = Y 1 ( t ) Y 2 ( t ) Y 3 ( t ) Y 4 ( t ) Y 1 ( t ) Y 2 ( t ) Y 3 ( t ) Y 4 ( t ) Y 1 ( t ) Y 2 ( t ) Y 3 ( t ) Y 4 ( t ) Y 1 ( t ) Y 2 ( t ) Y 3 ( t ) Y 4 ( t ) C 4 r × 4 r .
Then, the set { Y 1 , Y 2 , Y 3 , Y 4 } is a fundamental set solutions of Equation (34) on J if there exists a point t 1 J , such that W ( t 1 ) is non-singular in C 4 r × 4 r . In this case, W ( t ) is non-singular for all t J .
Proof of Lemma 1.
Since { Y 1 , Y 2 , Y 3 , Y 4 } are solutions of Equation (32), it follows that W ( t ) defined by Equation (34) satisfies
W ( t ) = 0 I 0 0 0 0 I 0 0 0 0 I S ( t ) R ( t ) Q ( t ) P ( t ) W ( t ) , t J ,
where I denotes the identity matrix of C r × r . Thus, if G ( t , s ) is the transition-state matrix of Equation (35), such that G ( t , t ) = I , see [27] (p. 598), it follows that W ( t ) = G ( t , t 1 ) W ( t 1 ) for all t J . Hence, the result is established because G ( t , s ) is invertible for all t , s J .    □
Returning to our specific matrix problem at hand, we consider for our test case an invertible matrix A C r × r and the differential equation
Y ( 4 ) ( x ) A 4 Y ( x ) = 0 , 0 x 1 ,
where Y ( x ) C r × r . This equation is a special case of Equation (32) with P ( t ) = Q ( t ) = R ( t ) = 0 and S ( t ) = A 4 . Thus, all coefficients are continuous C r × r -valued functions on interval [ 0 , 1 ] . For the solutions, it is easy to check that the matrix functions
X 1 ( x ) = e ( A x ) , X 2 ( x ) = e ( A x ) , X 3 ( x ) = cos ( A x ) , X 4 ( x ) = sin ( A x )
satisfy Equation (36). To show that this set is also a fundamental set of solutions of Equation (36), we will use Lemma 1. In this case, one obtains
W x = X 1 ( x ) X 2 ( x ) X 3 ( x ) X 4 ( x ) X 1 ( x ) X 2 ( x ) X 3 ( x ) X 4 ( x ) X 1 ( x ) X 2 ( x ) X 3 ( x ) X 4 ( x ) X 1 ( x ) X 2 ( x ) X 3 ( x ) X 4 ( x ) = e ( A x ) e ( A x ) cos ( A x ) sin ( A x ) A e ( A x ) A e ( A x ) A sin ( A x ) A cos ( A x ) A 2 e ( A x ) A 2 e ( A x ) A 2 cos ( A x ) A 2 sin ( A x ) A 3 e ( A x ) A 3 e ( A x ) A 3 sin ( A x ) A 3 cos ( A x ) ,
and still needs to confirm that W x 0 is non-singular for some value x 0 [ 0 , 1 ] . To show this, we consider x 0 = 0 and the matrix block W ( 0 ) = M such that
M = I I I 0 A A 0 A A 2 A 2 A 2 0 A 3 A 3 0 A 3 ,
where I denotes the identity matrix of C r × r , and whose determinant | M | is exactly | W 0 | . It is straightforward to verify that
I 0 0 0 0 I 0 0 A 2 0 I 0 0 A 2 0 I N M = I I I 0 A A 0 A 0 0 2 A 2 0 0 0 0 2 A 3 S ,
where the block matrices N and S are invertible, with results
N 1 = I 0 0 0 0 I 0 0 A 2 0 I 0 0 A 2 0 I , S 1 = 1 4 2 I 2 A 1 A 2 A 3 2 I 2 A 1 A 2 A 3 0 0 2 A 2 0 0 0 0 2 A 3 .
Next, taking the determinants on both sides of Equation (37), one concludes that | M | 0 , and thus, W ( x ) is non-singular by Lemma 1. Furthermore, the set
X 1 ( x ) = e ( A x ) , X 2 ( x ) = e ( A x ) , X 3 ( x ) = cos ( A x ) , X 4 ( x ) = sin ( A x )
is a fundamental set of solutions for Equation (36).
To carry out the numerics, we now select the initial value problem
Y ( 4 ) ( x ) = A 4 Y ( x ) Y ( 0 ) = I , Y ( 0 ) = 0 Y ( 0 ) = A 2 , Y ( 0 ) = 0 , 0 x 1 ,
which has the unique and exact solution Y ( x ) = cos ( A x ) . We choose A = 1 1 0 1 . Thus, the exact solution of Equation (38) is cos ( A x ) = cos ( x ) x sin ( x ) 0 cos ( x ) . In this case, f ( x , Y ) = A 4 Y in Equation (4), and the corresponding Lipschitz constant is L = 4.23607 .
For our example, we consider splines of the seventh order ( m = 7 ). Then, according to Theorem 1, we obtain the condition h < 3.75257 . Therefore, we choose n = 10 partitions with stepsize h = 0.1 .
Table 4 shows the maximum of the difference between the numerical estimates of our approach and the exact solution by taking the Fröbenius norm of this difference for each subinterval. Figure 6 analyzes the relative errors for this problem with varying stepsizes h = 0.1 , 0.01 , and 0.001 . As can be seen, the spline approximation considerably improves with smaller stepsizes. Apparently, the relative errors accumulate with each new subinterval as it of course propagates from one to the next subinterval. However, the approximations are well below the expected global error of O ( 10 6 ) for h = 0.1 . For h = 0.01 , the local error also remains nearly of the order O ( 10 12 ) . However, for h = 0.001 and working in practice with double-precision arithmetic ( 2 53 1.1102 · 10 16 ), the truncation and rounding errors lastly determine the error margins. Nevertheless, the observed error of approximately O ( 10 14 ) is fully satisfactory in almost all relevant applications.

4.4. A Nonlinear Matrix Problem

The following problem is similar to the Problem 4.7 from Ref. [14], but now applied to a fourth-order equation:
Y ( 4 ) = Y 2 Y ( 0 ) = 0 n Y ( 0 ) = 10 2 I n Y ( 0 ) = 10 3 1 n Y ( 0 ) = 10 4 1 n , x [ 0 , b ] ,
where 0 n , I n and 1 n are the null, the identity, and all-ones matrices of dimension n, respectively.
We have used the vpa function from the MATLAB Symbolic Math Toolbox for obtaining the “exact solution” with 256 digits of precision. All computations have IEEE double-precision arithmetic with unit round-off u = 2 53 1.11 × 10 16 . The “exact” solution is obtained whenever two consecutive spline orders (for fixed stepsize) present a relative error lower than the unit round-off for this accuracy.
Figure 7 shows four graphics of the relative errors at b = 2 corresponding to the stepsizes h = 0.5 , h = 0.1 , h = 0.05 and h = 0.01 , varying spline order m. As we can see, in general, the error committed becomes smaller and smaller with the increasing spline order. Similarly, the error gets smaller as we decrease the stepsize. However, for m = 9 , the error made for h = 0.05 is less than the error made for h = 0.01 . Again, this is due to the resulting increase in the number of arithmetic operations. Table 5 gives the relative errors.
The five graphics of Figure 8 correspond to the relative errors for the spline orders m = 5 , m = 6 , m = 7 , m = 8 and m = 9 , varying the final points ( b = 2 , 4 , 6 , 8 , 10 ), for a fixed stepsize h = 0.05 . As can be seen, the error increases when the value of b grows. Similarly, the error drops as we decrease the stepsize. The most accurate results are obtained when m = 9 .

5. Conclusions

This work describes a numerical procedure for solving fourth-order matrix differential equations of the type Y ( 4 ) ( x ) = f x , Y ( x ) , where Y ( x ) is a complex matrix—not necessarily a square matrix—and x is the parameter ranging over a real interval. In an iterative procedure, step by step, the solutions for all successive subintervals of the full interval are approximated in terms of matrix splines. This algorithm is straightforward to implement on a computer, consisting of the symbolical computation for the necessary derivatives and the subsequent numerical evaluation. The MATLAB code will be available to download [23].
Four standard benchmark tests, two scalar and two matrix cases, demonstrate that our numerical scheme produces spline approximations with suitable accuracy and is easy to implement. Moreover, with an appropriately chosen stepsize—provided by the theory and well adapted to the problem—an ever increasing improvement of the accuracy of the approximation can be reached up to the very limits of machine precision.

Author Contributions

Conceptualization, E.D., J.I, M.M.T., J.M.A. and J.R.-H.; methodology, E.D., J.I., M.M.T., J.M.A. and J.R.-H.; software, J.I. and J.M.A.; validation, E.D., J.I., M.M.T., J.M.A. and J.R.-H.; formal analysis, E.D.; writing—original draft preparation, M.M.T. and E.D.; writing—review and editing, M.M.T.; visualization, M.M.T. and J.I.; supervision, E.D.; project administration, J.M.A.; funding acquisition, J.M.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Vicerrectorado de Investigación de la Universitat Politècnica de València (PAID-11-21).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Acknowledgments

We wish to thank the anonymous referees for their suggestions to improve the original manuscript.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Cantón, A.; Fernández-Jambrina, L. Interpolation of a spline developable surface between a curve and two rulings. Front. Inf. Technol. Electron. Eng. 2015, 16, 173–190. [Google Scholar] [CrossRef] [Green Version]
  2. Dokken, T.; Skytt, V.; Barrowclough, O. Trivariate spline representations for Computer Aided Design and Additive Manufacturing. Comput. Math. Appl. 2019, 78, 2168–2182. [Google Scholar] [CrossRef] [Green Version]
  3. Jator, S.N. Numerical integrators for fourth order initial and boundary value problems. Int. J. Pure Appl. Math. 2008, 47, 563–576. [Google Scholar]
  4. Bai, Z.; Wang, H. On positive solutions of some nonlinear fourth-order beam equations. J. Math. Anal. Appl. 2002, 270, 357–368. [Google Scholar] [CrossRef] [Green Version]
  5. Alomari, A.K.; Anakira, N.R.; Bataineh, A.S.; Hashim, I. Approximate solution of nonlinear system of BVP arising in fluid flow problem. Math. Probl. Eng. 2013, 2013, 7. [Google Scholar] [CrossRef]
  6. Malek, A.; Beidokhti, R.S. Numerical solution for high order differential equations using a hybrid neural network–optimization method. Appl. Math. Comput. 2006, 183, 260–271. [Google Scholar] [CrossRef]
  7. Boutayeb, A.; Chetouani, A. A mini-review of numerical methods for high-order problems. Int. J. Comput. Math. 2007, 84, 563–579. [Google Scholar] [CrossRef]
  8. Hussain, K.; Ismail, F.; Senu, N. Two Embedded Pairs of Runge-Kutta Type Methods for Direct Solution of Special Fourth-Order Ordinary Differential Equations. Math. Probl. Eng. 2015, 2015, 196595. [Google Scholar] [CrossRef] [Green Version]
  9. Famelis, I.; Tsitouras, C. On modifications of Runge–Kutta–Nyström methods for solving y(4) = f(x,y). Appl. Math. Comput. 2016, 273, 726–734. [Google Scholar] [CrossRef]
  10. Papakostas, S.; Tsitmidelis, S.; Tsitouras, C. Evolutionary generation of 7th order Runge–Kutta–Nyström type methods for solving y(4) = f(x,y). In Proceedings of the AIP Conference Proceedings 1702, Athens, Greece, 20–23 March 2015; AIP Publishing LLC: Melville, NY, USA, 2015; p. 190018. [Google Scholar]
  11. Olabode, B.T.; Omole Ezekiel, O. Implicit Hybrid Block Numerov-Type Method for the Direct Solution of Fourth-Order Ordinary Differential Equations. Am. J. Comput. Appl. Math. 2015, 5, 129–139. [Google Scholar]
  12. Adeyeye, O.; Omar, Z. Solving fourth order linear initial and boundary value problems using an implicit block method. In Proceedings of the Third International Conference on Computing, Mathematics and Statistics (iCMS2017), Langkawi, Malaysia, 5 November 2019; Springer Nature: Singapore, 2019; pp. 167–177. [Google Scholar]
  13. Defez, E.; Tung, M.M.; Ibáñez, J.; Sastre, J. Approximating a Special Class of Linear Fourth-Order Ordinary Differential Problems. In Proceedings of the European Consortium for Mathematics in Industry, Santiago de Compostela, Spain, 13–17 June 2016; Springer: Cham, Switzerland, 2016; pp. 577–584. [Google Scholar]
  14. Defez, E.; Ibáñez, J.; Alonso, J.M.; Tung, M.M.; Real-Herráiz, T. On the approximated solution of a special type of nonlinear third-order matrix ordinary differential problem. Mathematics 2021, 9, 2262. [Google Scholar] [CrossRef]
  15. Defez, E.; Tung, M.M.; Ibáñez, J.; Sastre, J. Approximating and computing nonlinear matrix differential models. Math. Comput. Model. 2012, 55, 2012–2022. [Google Scholar] [CrossRef]
  16. Defez, E.; Tung, M.M.; Solis, F.J.; Ibáñez, J. Numerical approximations of second-order matrix differential equations using higher degree splines. Linear Multilinear Algebra 2015, 63, 472–489. [Google Scholar] [CrossRef] [Green Version]
  17. Graham, A. Kronecker Products and Matrix Calculus with Applications; John Wiley & Sons: New York, NY, USA, 1981. [Google Scholar]
  18. MATLAB, Version 9.12.0 (R2022a); The MathWorks Inc.: Natick, MA, USA, 2022.
  19. Flett, T.M. Differential Analysis; Cambridge University Press: Cambridge, MA, USA, 1980. [Google Scholar]
  20. Loscalzo, F.R.; Talbot, T.D. Spline function approximations for solutions of ordinary differential equations. SIAM J. Numer. Anal. 1967, 4, 433–445. [Google Scholar] [CrossRef]
  21. Fuchssteiner, B. (Ed.) MuPad Multi Processing Algebra Data Tool: Tutorial, MuPad Version 1.2; Springer: Basel, Switzerland, 1994. [Google Scholar]
  22. MATLAB. Symbolic Math in MATLAB. 2022. Available online: https://www.mathworks.com/discovery/mupad.html (accessed on 25 June 2022).
  23. Group of High Performance Scientific Computing (HiPerSC); Universitat Politècnica de València. MATLAB Code for Solving Non-Linear Matrix-Differential Equations. 2022. Available online: http://personales.upv.es/joalab/software/spline4order.zip (accessed on 25 June 2022).
  24. Jikantoro, Y.; Ismail, F.; Senu, N.; Ibrahim, Z. A class of hybrid methods for direct integration of fourth-order ordinary differential equations. Bull. Malays. Math. Sci. Soc. 2018, 41, 985–1010. [Google Scholar] [CrossRef]
  25. Hussain, K.; Ismail, F.; Senu, N. Solving directly special fourth-order ordinary differential equations using Runge–Kutta type method. J. Comput. Appl. Math. 2016, 306, 179–199. [Google Scholar] [CrossRef]
  26. Jódar, L. Explicit solutions for second order operator differential equations with two boundary value conditions. Linear Algebra Appl. 1988, 103, 73–86. [Google Scholar] [CrossRef] [Green Version]
  27. Kailath, T. Linear Systems; Prentice-Hall: Englewood Cliffs, NJ, USA, 1980; Volume 156. [Google Scholar]
Figure 1. MATLAB code for computing approximate solutions of the problem in Equation (4) by means of m-th order splines.
Figure 1. MATLAB code for computing approximate solutions of the problem in Equation (4) by means of m-th order splines.
Mathematics 10 02826 g001
Figure 2. MATLAB function create_problem for automatically generating all symbolical derivatives required by the main code in Figure 1.
Figure 2. MATLAB function create_problem for automatically generating all symbolical derivatives required by the main code in Figure 1.
Mathematics 10 02826 g002
Figure 3. MATLAB function f.m generated by the code of Figure 2 for the problem given in Equation (31), using m = 9 for the highest spline order. All relevant analytical derivatives have been set up automatically.
Figure 3. MATLAB function f.m generated by the code of Figure 2 for the problem given in Equation (31), using m = 9 for the highest spline order. All relevant analytical derivatives have been set up automatically.
Mathematics 10 02826 g003
Figure 4. Relative errors at b = 1 for the problem given in Equation (31), for several stepsizes ( h = 10 1 , 10 2 , 10 3 , 10 4 ), and varying spline orders ( m = 5 , 6 , 7 , 8 , 9 ).
Figure 4. Relative errors at b = 1 for the problem given in Equation (31), for several stepsizes ( h = 10 1 , 10 2 , 10 3 , 10 4 ), and varying spline orders ( m = 5 , 6 , 7 , 8 , 9 ).
Mathematics 10 02826 g004
Figure 5. Relative errors for the problem given in Equation (31), for several spline orders ( m = 5 , 6 , 7 , 8 , 9 ). We discretely vary the value for b = 1 , 2 , 3 , 4 , and 5, with a fixed stepsize h = 10 3 .
Figure 5. Relative errors for the problem given in Equation (31), for several spline orders ( m = 5 , 6 , 7 , 8 , 9 ). We discretely vary the value for b = 1 , 2 , 3 , 4 , and 5, with a fixed stepsize h = 10 3 .
Mathematics 10 02826 g005
Figure 6. Relative errors for the matrix problem given in Equation (36), with seventh-order splines ( m = 7 ) and various stepsizes ( h = 0.1 , 0.01 , and 0.001 ).
Figure 6. Relative errors for the matrix problem given in Equation (36), with seventh-order splines ( m = 7 ) and various stepsizes ( h = 0.1 , 0.01 , and 0.001 ).
Mathematics 10 02826 g006
Figure 7. Relative errors at b = 2 for the problem given in Equation (39), for various stepsizes ( h = 0.5 , 0.1 , 0.05 , and 0.01 ), varying the spline orders.
Figure 7. Relative errors at b = 2 for the problem given in Equation (39), for various stepsizes ( h = 0.5 , 0.1 , 0.05 , and 0.01 ), varying the spline orders.
Mathematics 10 02826 g007
Figure 8. Relative errors for the problem given in Equation (39), for various spline orders ( m = 5 , 6 , 7 , 8 , 9 ), varying b = 2 , 4 , 6 , 8 , 10 and with a fixed stepsize h = 0.05 .
Figure 8. Relative errors for the problem given in Equation (39), for various spline orders ( m = 5 , 6 , 7 , 8 , 9 ), varying b = 2 , 4 , 6 , 8 , 10 and with a fixed stepsize h = 0.05 .
Mathematics 10 02826 g008
Table 1. Spline approximations for the scalar problem given in Equation (30).
Table 1. Spline approximations for the scalar problem given in Equation (30).
IntervalSpline Approximations
[ 0 , 0.1 ] 1 0.5 x 2 + 0.125 x 4 0.0208333 x 6 + 0.000519274 x 7
[ 0.1 , 0.2 ] 1 + 1.05916 × 10 8 x 0.5 x 2 + 3.47838 × 10 6 x 3 + 0.124965 x 4 + 0.000244182 x 5 0.0218871 x 6 + 0.00253921 x 7
[ 0.2 , 0.3 ] 1 + 4.48369 × 10 7 x 0.500007 x 2 + 0.0000645975 x 3 + 0.124627 x 4 + 0.00138989 x 5 0.0240704 x 6 + 0.00433397 x 7
[ 0.3 , 0.4 ] 1 + 4.84951 × 10 6 x 0.500054 x 2 + 0.000344851 x 3 + 0.123613 x 4 + 0.00360634 x 5 0.0267723 x 6 + 0.00574896 x 7
[ 0.4 , 0.5 ] 1.00004 0.000641764 x 0.495489 x 2 0.0174827 x 3 + 0.165188 x 4 0.054248 x 5 + 0.0176658 x 6 0.00876821 x 7
[ 0.5 , 0.6 ] 0.999995 + 0.0000593981 x 0.500383 x 2 + 0.00157178 x 3 + 0.120685 x 4 + 0.00792015 x 5 0.0303493 x 6 + 0.00703515 x 7
[ 0.6 , 0.7 ] 1 1.66127 × 10 6 x 0.500075 x 2 + 0.000708329 x 3 + 0.122137 x 4 + 0.00645505 x 5 0.0295281 x 6 + 0.00683787 x 7
[ 0.7 , 0.8 ] 1.00005 0.000496956 x 0.497896 x 2 0.0046218 x 3 + 0.129965 x 4 0.000447737 x 5 0.0261447 x 6 + 0.0061268 x 7
[ 0.8 , 0.9 ] 1.00024 0.00225309 x 0.491134 x 2 0.0190941 x 3 + 0.148561 x 4 0.0147911 x 5 0.0199957 x 6 + 0.00499666 x 7
[ 0.9 , 1.0 ] 1.00081 0.00677476 x 0.475679 x 2 0.0484533 x 3 + 0.182039 x 4 0.0377048 x 5 0.0112802 x 6 + 0.00357551 x 7
Table 2. Approximation errors for the scalar problem given in Equation (30).
Table 2. Approximation errors for the scalar problem given in Equation (30).
Interval [ 0 , 0.1 ] [ 0.1 , 0.2 ] [ 0.2 , 0.3 ] [ 0.3 , 0.4 ] [ 0.4 , 0.5 ]
Max. error 2.59117 × 10 11 9.30152 × 10 10 5.54498 × 10 9 1.85921 × 10 8 4.83612 × 10 8
Interval [ 0.5 , 0.6 ] [ 0.6 , 0.7 ] [ 0.7 , 0.8 ] [ 0.8 , 0.9 ] [ 0.9 , 1.0 ]
Max. error 1.48407 × 10 7 4.29331 × 10 7 1.00674 × 10 6 1.99556 × 10 6 3.50949 × 10 6
Table 3. Relative errors at b = 1 for the problem given in Equation (31) with varying spline orders m and stepsizes h.
Table 3. Relative errors at b = 1 for the problem given in Equation (31) with varying spline orders m and stepsizes h.
m56789
h = 10 1 1.99 × 10 2 2.24 × 10 3 2.55 × 10 4 2.93 × 10 5 8.09 × 10 5
h = 10 2 2.08 × 10 4 2.23 × 10 6 2.47 × 10 8 2.76 × 10 10 6.57 × 10 9
h = 10 3 2.08 × 10 6 2.22 × 10 9 2.48 × 10 12 4.88 × 10 15 6.27 × 10 13
h = 10 4 2.08 × 10 8 2.44 × 10 12 2.27 × 10 13 2.28 × 10 13 2.27 × 10 13
Table 4. Approximation error for the matrix problem presented in Equation (36), with stepsize h = 0.1 .
Table 4. Approximation error for the matrix problem presented in Equation (36), with stepsize h = 0.1 .
Interval [ 0 , 0.1 ] [ 0.1 , 0.2 ] [ 0.2 , 0.3 ] [ 0.3 , 0.4 ] [ 0.4 , 0.5 ]
Max. error 2.0135 × 10 12 7.2457 × 10 11 4.3608 × 10 10 1.4836 × 10 9 3.7673 × 10 9
Interval [ 0.5 , 0.6 ] [ 0.6 , 0.7 ] [ 0.7 , 0.8 ] [ 0.8 , 0.9 ] [ 0.9 , 1.0 ]
Max. error 7.9945 × 10 9 1.5020 × 10 8 2.5835 × 10 8 4.1559 × 10 8 6.3425 × 10 8
Table 5. Relative errors at b = 2 for the problem given in Equation (39), for various stepsizes ( h = 0.5 , 0.1 , 0.05 , and 0.01 ), varying the spline orders.
Table 5. Relative errors at b = 2 for the problem given in Equation (39), for various stepsizes ( h = 0.5 , 0.1 , 0.05 , and 0.01 ), varying the spline orders.
m56789
h = 0.5 1.87 × 10 4 2.18 × 10 5 1.30 × 10 6 2.38 × 10 8 3.86 × 10 10
h = 0.1 7.25 × 10 6 1.96 × 10 7 2.48 × 10 9 9.63 × 10 12 4.19 × 10 14
h = 0.05 1.81 × 10 6 2.48 × 10 8 1.58 × 10 10 3.09 × 10 13 5.24 × 10 16
h = 0.01 7.24 × 10 8 2.01 × 10 10 2.52 × 10 13 4.54 × 10 15 4.54 × 10 15
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Tung, M.M.; Defez, E.; Ibáñez, J.; Alonso, J.M.; Real-Herráiz, J. A Matrix Spline Method for a Class of Fourth-Order Ordinary Differential Problems. Mathematics 2022, 10, 2826. https://doi.org/10.3390/math10162826

AMA Style

Tung MM, Defez E, Ibáñez J, Alonso JM, Real-Herráiz J. A Matrix Spline Method for a Class of Fourth-Order Ordinary Differential Problems. Mathematics. 2022; 10(16):2826. https://doi.org/10.3390/math10162826

Chicago/Turabian Style

Tung, Michael M., Emilio Defez, Javier Ibáñez, José M. Alonso, and Julia Real-Herráiz. 2022. "A Matrix Spline Method for a Class of Fourth-Order Ordinary Differential Problems" Mathematics 10, no. 16: 2826. https://doi.org/10.3390/math10162826

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop