Skip to Content
AlgorithmsAlgorithms
  • Editor’s Choice
  • Article
  • Open Access

4 February 2026

18 Pages

Symbolic Algorithm for Solving Nonlocal Boundary Value Problems for Systems of Ordinary Integrodifferential Equations

,
and
1
Department of Environmental Sciences, University of Thessaly, Gaiopolis Campus, 415 00 Larissa, Greece
2
Department of Mechanics, Azerbaijan University of Architecture and Construction, Ayna Sultanova 11, AZ1073 Baku, Azerbaijan
*
Author to whom correspondence should be addressed.

Abstract

Boundary value problems for systems of integrodifferential equations appear in many branches of science and engineering. Accuracy in modeling complex processes requires the specification of nonlocal boundary conditions, including multipoint and integral conditions. These kinds of problems are even harder to solve. In this paper, we present solvability criteria and a direct operator method for constructing the exact solution to systems of linear ordinary integrodifferential equations with general nonlocal boundary conditions. A symbolic algorithm is also proposed. Several examples are solved to demonstrate the effectiveness of the method. The results obtained are equally valid for nonlocal boundary value problems for systems of ordinary differential, loaded differential, and loaded integrodifferential equations.

1. Introduction

Boundary value problems for systems of linear and nonlinear ordinary differential equations, due to their occurrence in numerous applications in science and engineering, have been extensively studied by many researchers. Corresponding problems with nonlocal boundary conditions have also been investigated. Kiguradze [1] considered the following general boundary value problem for a system of linear ordinary differential equations
d x d t = P ( t ) x + q ( t ) ,
l ( x ) = c 0 ,
where P ∈ L ( [ a , b ] ; R n × n ) , q ∈ L ( [ a , b ] ; R n ) , c 0 ∈ R n and l : C ( [ a , b ] ; R n ) → R n is a continuous linear transformation, and the corresponding homogeneous system
d x d t = P ( t ) x ,
l ( x ) = 0 .
He proved that Equations (1) and (2) are uniquely solvable if and only if
det l ( Y ) ≠ 0 ,
where Y is the fundamental matrix of Equation (3) satisfying the condition
Y ( a ) = E ,
where E is the identity matrix. If Equation (5) holds, then the solution x of Equations (1) and (2) has the representation
x ( t ) = x 0 ( t ) + ∫ a b G ( t , τ ) q ( τ ) d τ ,
where x 0 is the solution of Equations (2) and (3) and G is the Greens’ matrix of homogeneous Equations (3) and (4). These results are important and of practical use, as they are computationally efficient and can be easily implemented in modern computer algebra systems for constructing solutions to boundary value problems for differential equations.
Integrodifferential equations have many applications in biology, physics, engineering, chemical engineering and economics, and especially in population dynamics, epidemiology, hereditary mechanics, electromagnetic theory, viscoelasticity, nonlocal elasticity, heat transfer, fluid dynamics, automatic control, network theory, and elsewhere [2,3]. Integrodifferential equations (IDEs) involve a differential and an integral operator, and the state of the unknown function depends on its values at a point as well as on its previous and/or nonlocal spatial interactions, which are taken into account by the integral term. Boundary value problems for integrodifferential equations with nonlocal conditions have attracted increasing interest in recent years. The necessity and development of nonlocal boundary conditions in the modeling of complex physical situations are discussed in [4,5,6,7]. Due to the high mathematical complexity involved, numerical methods are mainly used to solve nonlocal boundary value problems. Approximate numerical methods for solving nonlocal boundary value problems for systems of Fredholm integrodifferential equations (FIDEs) can be found in [8,9,10,11], and the references therein. However, numerical methods lead to approximate solutions, require careful stability and error analysis, and provide less intuitive insight. Therefore, closed-form solutions are preferred whenever possible. Furthermore, the latter are also necessary for validating the former. The solvability and exact solution of general and some special boundary value problems for a single linear nth-order ordinary FIDE with nonlocal boundary conditions are investigated in [12,13,14,15]. An approach involving problem transformation and the use of generalized inverse operators to find solvability criteria and solutions to boundary value problems for systems of FIDEs is proposed in [16,17,18]. Also, another method involving the reduction in the system to the solution of a number of simpler differential systems is presented in [19]. The exact solution to systems of first-order FIDEs with constant coefficients and homogeneous general boundary conditions is studied in [20]. From the above analysis, it is understood that there is no direct method for the closed-form solution of boundary value problems for systems of FIDEs with variable coefficients and nonohomogeneous nonlocal boundary conditions. Finally, for the sake of completeness, although not studied here, reference is made to the research on the existence and uniqueness of solutions to classes of boundary value problems for fractional integrodifferential equations with nonlocal boundary conditions [21,22,23].
In this paper, we consider a general nonlocal boundary value problem for a system of linear ordinary FIDEs which is written in matrix form as   
x ′ ( t ) − A ( t ) x ( t ) − G ( t ) η ( x ) = f ( t ) , a ≤ t ≤ b ,
θ ( x ) = c ,
where x ( t ) = ( x 1 ( t ) ⋯ x n ( t ) ) T is the n × 1 vector of unknown functions, x ′ ( t ) = d d t x ( t ) = ( x 1 ′ ( t ) ⋯ x n ′ ( t ) ) T , A ( t ) , G ( t ) are, respectively, n × n and n × m matrices of given functions, η ( x ) = ( η 1 ( x ) ⋯ η m ( x ) ) T is an m × 1 vector of linear bounded functionals (definite integrals) valued on x, and  f ( t ) is an n × 1 vector of given forcing functions. The  n × 1 vector θ ( x ) = ( θ 1 ( x ) ⋯ θ n ( x ) ) T is a vector of linear bounded functionals of the type,
θ ( x ) = ∑ j = 1 l 1 A j x ( t j ) + ∑ j = 1 l 2 B j ∫ ξ j ξ j + 1 C j ( s ) x ( s ) d s ,
where C j ( t ) is an n × n matrix of functions, A j , B j are n × n constant matrices, a = t 1 < t 2 < ⋯ < t l 1 − 1 < t l 1 = b and a = ξ 1 < ξ 2 < ⋯ < ξ l 2 < ξ l 2 + 1 = b , and  c = c 1 ⋯ c n T is an n × 1 vector of constants. We extend Kiguradze’s results to the class of Equations (6) and (7), and in particular we derive solvability criteria of the type as in Equation (5) and a formula for their solution in closed form. The analysis is based on the existence of the inverse differential operator in closed form, which essentially depends on the availability of the fundamental matrix Z of the homogeneous differential system x ′ − A ( t ) x = 0 . The fundamental matrix can be computed analytically for systems with constant coefficients and for systems with special variable coefficient structures [24].
The proposed method is innovative in its design and scope compared to other works in the literature. It is a unified direct matrix approach for symbolic computation that can be applied to various classes of general boundary value problems that can be put in the form of Equations (6) and (7), such as boundary value problems for differential and integrodifferential equations as well as for loaded differential and loaded integrodifferential equations [25,26]. Symbolic computation is increasingly used in solving problems in many areas of mathematics, such as algebra, geometry and differential equations [27,28]. The proposed symbolic algorithm can be easily implemented in any available computer algebra system.
The paper is organized as follows: In Section 2, the problem is formulated in an operator form in a Banach space and some preliminary results are presented. The main results are given in Section 3 where two key theorems for the solvability of the problem are proved and a symbolic procedure for constructing the solution is presented. In Section 4, several examples are solved to demonstrate the application and effectiveness of the proposed technique. The conclusions are drawn in Section 5.

2. Preliminaries

Let X denotes a Banach space, namely the space of continuous functions C [ a , b ] or the Lebesgue space L p ( a , b ) , with  a , b ∈ R . Let X n be the n-dimensional vector space of all column vectors x ( t ) = x 1 ( t ) , … , x n ( t ) T with x i ( t ) ∈ X , i = 1 , … , n , and  X n 1 denote the space of all x that have continuous first derivatives C n 1 [ a , b ] or the Sobolev space W p n 1 ( a , b ) .
Let [ X n ] * be the dual space of X n , i.e., the set of all linear bounded functionals ϕ i defined on X n . We denote by ϕ i ( x ) the value of ϕ i at x ∈ X n and
ϕ ( x ) = ϕ 1 ( x ) ⋮ ϕ n ( x ) , ϕ ( Z ) = ϕ ( z 1 ) ⋯ ϕ ( z n ) ,
where Z is n × n matrix of functions with the column vectors z 1 , … , z n ∈ X n . Note that for any n × 1 constant vector c,
ϕ ( Z c ) = ϕ ( Z ) c .
Throughout this paper, I n denotes the n × n identity matrix and 0 is used to denote the scalar zero and the all-zero vector or matrix, as appropriate, without confusion.
Let the operator A : X n → X n , D ( A ) and R ( A ) be the domain and range of this operator, respectively. The operator A is said to be injective or uniquelly solvable if for all x , y ∈ D ( A ) such that A x = A y , it follows that x = y . Recall that a linear operator A is injective if and only if ker A = { 0 } . The operator A is called surjective or everywhere solvable if R ( A ) = X n . The operator A is called bijective if A is both injective and surjective.
Definition 1. 
The operator A is said to be correct if A is bijective and its inverse A − 1 is bounded on R ( A ) = X n .
Definition 2. 
The problem A x = f , f ∈ X n , is said to be well posed and hence uniquely and everywhere solvable, if the operator A is correct.
Lemma 1. 
Let the operator A : X n → X n be defined by
A x = x ′ − A ( t ) x , D ( A ) = x ∈ X n 1 ,
where A ( t ) is a n × n matrix of functions a i j ( t ) ∈ X , i , j = 1 , … , n , and the boundary functional vector θ ^ ∈ [ X n ] * . Let Z ( t ) be a fundamental matrix of the homogeneous equation A x = 0 satisfying θ ^ ( Z ) = I n , where I n denotes the n × n identity matrix. Then
(i) 
The operator A ^ : X n → X n defined by
A ^ x = A x , D ( A ^ ) = x ∈ D ( A ) : θ ^ ( x ) = 0 ,
is correct and the unique solution of the equation A ^ x = f for any f ∈ X n is given by
x = A ^ − 1 f = Z ( t ) ∫ t 0 t Z − 1 ( s ) f ( s ) d s − Z ( t ) θ ^ Z ( t ) ∫ t 0 t Z − 1 ( s ) f ( s ) d s ,
where t 0 is a fixed point in [ a , b ] .
(ii) 
In the case that θ ^ ( x ) = x ( t 0 ) ,
x = A ^ − 1 f = Z ( t ) ∫ t 0 t Z − 1 ( s ) f ( s ) d s .
Proof. 
(i) It is well known that every solution of A x = f is given by
x = Z ( t ) ∫ t 0 t Z − 1 ( s ) f ( s ) d s + Z ( t ) c ,
where c is a column vector of n arbitrary constants. Acting by the vector θ ^ on both sides of Equation (12) and taking into account that θ ^ ( x ) = 0 and θ ^ ( Z ) = I n , we obtain
θ ^ ( x ) = θ ^ Z ( t ) ∫ t 0 t Z − 1 ( s ) f ( s ) d s + c = 0 , c = − θ ^ Z ( t ) ∫ t 0 t Z − 1 ( s ) f ( s ) d s .
Substituting c into Equation (12), we obtain Equation (10). Since Equation (10) holds for any f ∈ R ( A ^ ) = X n and θ ^ is bounded it is concluded that A ^ − 1 is bounded on R ( A ^ ) = X n and hence the operator A ^ is correct.
(ii) Equation (11) follows immediately from Equation (10) since θ ^ ( x ) = x ( t 0 ) .    □

3. Main Results

Let the operator B : X n → X n be defined by
B x = A x − G ( t ) η ( x ) , D ( B ) = x ∈ X n 1 : θ ( x ) = c ,
where the operator A is defined in Equation (9), G ( t ) denotes a n × m matrix of functions g i j ( t ) ∈ X , i = 1 , … , n , j = 1 , … , m , η ( x ) is a m × 1 vector of the values η j ( x ) of the functionals η j ∈ [ X n ] * , j = 1 , … , m at x, θ ( x ) is a n × 1 vector of the values θ i ( x ) of the boundary functionals θ i ∈ [ X n ] * , i = 1 , … , n at x, and c is vector of n arbitrary constants. Then, Equations (6) and (7) can be expressed as follows:
B x = f , f ∈ X n .
We first consider the case with homogeneous boundary conditions, that is, when c ≡ 0 . The following theorem provides conditions for the existence and uniqueness of the solution and the solution itself for this problem:
Theorem 1. 
Let Lemma 1 hold. Let the operator B 0 : X n → X n be defined by
B 0 x = A x − G ( t ) η ( x ) , D ( B 0 ) = x ∈ X n 1 : θ ( x ) = 0 .
Then
(i) 
The operator B 0 is injective if and only if
det ( W ) = det θ ( Z ) θ ( A ^ − 1 G ) − η ( Z ) I m − η ( A ^ − 1 G ) ≠ 0 ,
where W is a square matrix of order n + m and the inverse operator A ^ − 1 is given in Lemma 1.
(ii) 
When Equation (16) holds, the unique solution of the problem B 0 x = f for any f ∈ X n is given by
x = B 0 − 1 f = A ^ − 1 f − Z ( t ) A ^ − 1 G ( t ) W − 1 θ ( A ^ − 1 f ) − η ( A ^ − 1 f ) .
Proof. 
(i) Assume that det ( W ) ≠ 0 . Let the element x ∈ ker B 0 . Then,
B 0 x = A x − G ( t ) η ( x ) = A x − Z ( t ) θ ^ ( x ) − G ( t ) η ( x ) = A ^ x − Z ( t ) θ ^ ( x ) − G ( t ) η ( x ) = 0 ,
since A Z ( t ) θ ^ ( x ) = 0 and the element y = x − Z ( t ) θ ^ ( x ) ∈ D ( A ^ ) ⊂ D ( A ) because θ ^ ( x − Z θ ^ 0 ( x ) ) = θ ^ ( x ) − θ ^ ( Z ) θ ^ ( x ) = θ ^ ( x ) − I n θ ^ ( x ) = 0 by using Equation ( 8 ) and the relation θ ^ ( Z ) = I n .
Multiplying Equation (18) by A ^ − 1 and rearranging terms we get
x = Z ( t ) θ ^ ( x ) + A ^ − 1 G ( t ) η ( x ) .
Acting on Equation (19) by the boundary functional vector θ and using Equation (8) we get
θ ( x ) = θ ( Z ) θ ^ ( x ) + θ ( A ^ − 1 G ) η ( x ) ,
and from Equation (15), we have
θ ( Z ) θ ^ ( x ) + θ ( A ^ − 1 G ) η ( x ) = 0 .
Furthermore, acting on Equation (19) by the functional vector η and making use of Equation (8) we obtain
η ( x ) = η ( Z ) θ ^ ( x ) + η ( A ^ − 1 G ) η ( x ) ,
and hence
− η ( Z ) θ ^ ( x ) + I m − η ( A ^ − 1 G ) η ( x ) = 0 .
From Equations (20) and (21) we construct the system of algebraic equations
θ ( Z ) θ ( A ^ − 1 G ) − η ( Z ) I m − η ( A ^ − 1 G ) θ ^ ( x ) η ( x ) = 0 ,
or
W θ ^ ( x ) η ( x ) = 0 ,
where W is as in Equation (16). Since det ( W ) ≠ 0 , it follows from Equation (22) that θ ^ ( x ) = 0 and η ( x ) = 0 , so from Equation (19) it is implied that x = 0 and hence ker B 0 = { 0 } , i.e.,  B 0 is injective.
Conversely, let det ( W ) = 0 . Then there exists a nonzero constant vector ( c θ T , c η T ) = ( c θ 1 , … , c θ n , c η 1 , … , c η m ) such that
W c θ c η = 0 .
Consider the element y = Z ( t ) c θ + A ^ − 1 G ( t ) c η ∈ D ( A ) = X n and note that y ≠ 0 since ker A ∩ D ( A ^ ) = ∅ [29]. Moreover, y ∈ D ( B 0 ) since from Equation (23),
θ ( y ) = θ ( Z ) c θ + θ A ^ − 1 G c η = 0 ,
and also
B 0 y = A y − G ( t ) η ( y ) , = G ( t ) − η ( Z ) c θ + I m − η ( A ^ − 1 G ) c η = 0 .
This means that y ∈ ker B 0 and hence the operator is not injective. Thus B 0 is injective if and only if det ( W ) ≠ 0 .
(ii) We consider the nonhomogeneous system
B 0 x = A x − G ( t ) η ( x ) = f , f ∈ X n .
Then,
A x − G ( t ) η ( x ) = A ^ x − Z ( t ) θ ^ ( x ) − G ( t ) η ( x ) = f ,
since the element y = x − Z ( t ) θ ^ ( x ) ∈ D ( A ^ ) ⊂ D ( A ) . Multiplying Equation (25) by A ^ − 1 and solving with respect to x we get
x = A ^ − 1 f + Z ( t ) θ ^ ( x ) + A ^ − 1 G ( t ) η ( x ) .
Acting on Equation (26) by the boundary functional vector θ we get
θ ( x ) = θ ( A ^ − 1 f ) + θ ( Z ) θ ^ ( x ) + θ ( A ^ − 1 G ) η ( x ) ,
and from Equation (15), we have
θ ( Z ) θ ^ ( x ) + θ ( A ^ − 1 G ) η ( x ) = − θ ( A ^ − 1 f ) .
Similarly, acting on Equation (26) by the functional vector η we have
− η ( Z ) θ ^ ( x ) + I m − η ( A ^ − 1 G ) η ( x ) = η ( A ^ − 1 f ) .
We write Equations (27) and (28) in the form
W θ ^ ( x ) η ( x ) = − θ ( A ^ − 1 f ) η ( A ^ − 1 f ) ,
where W is given in Equation (16). Since det ( W ) ≠ 0 , Equation (29) can be inverted to obtain θ ^ ( x ) and η ( x ) . Substitution then into Equation (26) yields
x = A ^ − 1 f + Z ( t ) A ^ − 1 G ( t ) W − 1 − θ ( A ^ − 1 f ) η ( A ^ − 1 f ) ,
and hence Equation (17).    □
We now prove the main theorem for the solution of the fully nonhomogeneous problem (14).
Theorem 2. 
Let Lemma 1 hold and let the operator
B x = A x − G ( t ) η ( x ) , D ( B ) = x ∈ X n 1 : θ ( x ) = c .
Then
(i) 
The operator B is injective if and only if
det ( W ) = det θ ( Z ) θ ( A ^ − 1 G ) − η ( Z ) I m − η ( A ^ − 1 G ) ≠ 0 ,
where W is a square matrix of order n + m and the inverse operator A ^ − 1 is given in Lemma 1.
(ii) 
When Equation (31) holds, the unique solution of the nonhomogeneous problem B x = f for any f ∈ X n is given by
x = B − 1 f = A ^ − 1 f − Z ( t ) A ^ − 1 G ( t ) W − 1 θ ( A ^ − 1 f ) − c − η ( A ^ − 1 f ) .
Proof. 
(i) Assume det ( W ) ≠ 0 . Let any u , v ∈ D ( B ) such that B u = B v . Then,
A u − G ( t ) η ( u ) = A v − G ( t ) η ( v ) , θ ( u ) = θ ( v ) ,
whence it follows that
A ( u − v ) − G ( t ) η ( u − v ) = 0 , θ ( u − v ) = 0 ,
or
B 0 ( u − v ) = 0 .
From Theorem 1 it follows that u − v = 0 and therefore u = v which means that the operator B is injective.
Conversely, assume that det ( W ) = 0 . Let u , v ∈ D ( B ) ∀ u , v such that B u = B v . Then from Equation (33) and Theorem 1, we conclude that B 0 is not injective. This means that there is at least an element u − v ∈ D ( B 0 ) with u − v ≠ 0 , or equivalently u ≠ v , satisfying Equation (33). Hence, the operator B is not injective.
(ii) The solution of the nonhomogeneous problem B x = f can be obtained via the principle of superposition, i.e., as the sum of the solution of the problem B 0 x = f and the solution of homogeneous problem B x = 0 . The former is given in Equation (17) and the latter is now computed below.
We write the homogeneous system as follows:
B x = A x − G ( t ) η ( x ) = A ^ x − Z ( t ) θ ^ ( x ) − G ( t ) η ( x ) = 0 ,
from the fact that the element y = x − Z ( t ) θ ^ ( x ) ∈ D ( A ^ ) ⊂ D ( A ) and the assumptions of Lemma 1 hold. Multiplying by A ^ − 1 and rearranging terms, we get
x = Z ( t ) θ ^ ( x ) + A ^ − 1 G ( t ) η ( x ) .
Acting on Equation (35) by the functional vectors η and θ and from Equation (30) we get, respectively,
− η ( Z ) θ ^ ( x ) + I m − η ( A ^ − 1 G ) η ( x ) = 0 ,
and
θ ( x ) = θ ( Z ) θ ^ ( x ) + θ ( A ^ − 1 G ) η ( x ) = c .
Writing Equations (36) and (37) in matrix form, we have
W θ ^ ( x ) η ( x ) = c 0 .
Since det ( W ) ≠ 0 , Equation (38) can be inverted to find [ θ ^ ( x ) , η ( x ) ] T and after substituting into Equation (35) we get
x = Z ( t ) A ^ − 1 G ( t ) W − 1 c 0 .
Finally, by the principle of superposition from Equations (17) and (39) we get Equation (32).    □
In the case where the operator B is just a differential operator of first order, i.e., when G ( t ) ≡ 0 and η ( x ) ≡ 0 , the following corollary holds:
Corollary 1. 
Let the operator B d : X n → X n be defined by
B d x = A x , D ( B d ) = { x ∈ X n 1 : θ ( x ) = c } .
Then
(i) 
The operator B d is injective if and only if
det ( W d ) = det θ ( Z ) ≠ 0 ,
where W d is square matrix of order n.
(ii) 
Additionally, when Equation (40) holds, the unique solution of B d x = f for any f ∈ X n is given by
x = B d − 1 f = A ^ − 1 f − Z W d − 1 θ ( A ^ − 1 f ) − c .
Finally, for the efficient implementation of Theorem 2 we provide the following Algorithm 1.
Algorithm 1: Algorithm for solving nonlocal linear boundary value problems in closed form.
  • input
    •     parameters n, m
    •     matrices A ( t ) , G ( t )
    •     vectors f ( t ) , c
    •     matrix Z ( t )           /*in case A ( t ) is constant compute Z(t)*/
  • compute
    •      matrix θ ( Z )
    •      matrix η ( Z )
    •      matrix A ^ − 1 G ( t )
    •      matrix θ ( A ^ − 1 G )
    •      matrix η ( A ^ − 1 G )
    •      matrix W : = θ ( Z ) θ ( A ^ − 1 G ) − η ( Z ) I m − η ( A ^ − 1 G )
    •      if det ( W ) ≠ 0 compute
      •        vector A ^ − 1 f ( t )
      •        vector θ ( A ^ − 1 f )
      •        vector η ( A ^ − 1 f )
      •        vector x ( t ) : = A ^ − 1 f − Z ( t ) A ^ − 1 G ( t ) W − 1 θ ( A ^ − 1 f ) − c − η ( A ^ − 1 f )
      •        print  x ( t )
    •      else
      •        print ‘There is no unique solution’
    •      end
  • end
We conclude this section by saying that the complexity in the proposed algorithm, and in symbolic computation in general, lies mainly in the integration of functions and the inversion of matrices. These operations can sometimes lead to very large, unmanageable symbolic expressions and time-consuming computations. In these cases, an alternative option, not considered here, would be to perform them numerically in the framework of symbolic-numeric computation [30].

4. Examples

In this section, selected nonlocal boundary value problems for differential and integrodifferential equations are solved to demonstrate the application of the method and its effectiveness. The algorithm was implemented in the free and open source computer algebra software Maxima (v. 5.44.0) and all operations were performed using the symbolic computing capabilities available in it. Alternatively, it can be implemented in other similar software, such as Mathematica, MatLab, Maple and SymPy.

4.1. Differential Equations

First, we solve two boundary value problems for differential equations with multipoint and integral conditions.
Example DE.1 
We consider a three-point boundary value problem presented by Na [31] and concerns the distribution of shear deformation ψ of sandwich beams governed by the ordinary differential equation
ψ ‴ − k 2 ψ ′ + a = 0 ,
where k and a are physical constants related to elastic properties of the beam, under the boundary conditions
ψ ′ ( 0 ) = ψ ′ ( 1 ) = 0 , ψ ( 1 2 ) = 0 ,
corresponding to zero shear bimoment at the two free ends and the symmetry condition, respectively.
By setting x 1 ( t ) = ψ , x 2 ( t ) = ψ ′ and x 3 ( t ) = ψ ′ ′ , Equations (41) and (42) can be written as a system of three first-order differential equations as follows:
x 1 ′ ( t ) − x 2 ( t ) = 0 , x 2 ′ ( t ) − x 3 ( t ) = 0 , x 3 ′ ( t ) − k 2 x 2 ( t ) = − a ,
subject to homogeneous boundary conditions
x 2 ( 0 ) = x 2 ( 1 ) = 0 , x 1 ( 1 2 ) = 0 .
To solve the system of Equations (43) and (44), we take n = 3 , X = C [ 0 , 1 ] and write it in the operator form as in Corollary 1, viz.
B d x = A x = f ( t ) , D ( B d ) = { x ∈ X 3 1 : θ ( x ) = c } ,
where
x ( t ) = x 1 ( t ) x 2 ( t ) x 3 ( t ) T , f ( t ) = 0 0 − a T , A x = x ′ − A ( t ) x = x ′ − 0 1 0 0 0 1 0 k 2 0 x , θ ( x ) = x 2 ( 0 ) x 2 ( 1 ) x 1 ( 1 2 ) = 0 1 0 0 0 0 0 0 0 x ( 0 ) + 0 0 0 0 1 0 0 0 0 x ( 1 ) + 0 0 0 0 0 0 1 0 0 x ( 1 2 ) , c = 0 0 0 T .
We consider the auxiliary correct system as in Lemma 1, i.e.
A ^ x = A x = f ( x ) , D ( A ^ ) = x ∈ X 3 1 : θ ^ ( x ) = x ( 0 ) = 0 .
Since A x = 0 is a system of linear differential equations with constant coefficients, it is easy to find a fundamental matrix, for example,
Z ( t ) = 1 1 k sinh ( k t ) 1 k 2 ( cosh ( k t ) − 1 ) 0 cosh ( k t ) 1 k sinh ( k t ) 0 k sinh ( k t ) cosh ( k t ) , k ≠ 0 ,
which satisfies the equation θ ^ ( Z ) = I 3 .
Then, from the proposed algorithm, it follows that Equations (43) and (44) have a unique solution when
det ( W d ) = sinh ( k ) k ≠ 0 ,
and in this case we get the solution
x 1 ( t ) : = a k 3 sinh ( k 2 ) − sinh ( k t ) + a k 2 t − 1 2 + a k 3 tanh ( k 2 ) cosh ( k t ) − cosh ( k 2 ) .
This problem with k = 5 and a = 1 was solved numerically in [32,33,34]. The numerical solution obtained by the weighted residuals method in [32] and the error compared to the present exact solution are depicted in Figure 1 and Figure 2, respectively.
Figure 1. Numerical solution (shear deformation) in [32] and the present exact solution.
Figure 2. Relative error rate of the numerical solution in [32] compared to the present exact solution.
Example DE.2 
Consider the system of two differential equations with variable coefficients,
( t 2 + 1 ) x 1 ′ ( t ) − t x 1 ( t ) + x 2 ( t ) = 2 t 4 + 4 t 2 − 3 , ( t 2 + 1 ) x 2 ′ ( t ) − x 1 ( t ) − t x 2 ( t ) = 5 t ,
for 0 ≤ t ≤ 1 , subject to the boundary conditions
x 1 ( 0 ) + x 2 ( 1 2 ) − 2 ∫ 3 / 4 1 s x 1 ( s ) d s = − 2183 7680 , x 1 ( 1 2 ) − 4 x 2 ( 1 ) + ∫ 0 1 / 4 x 1 ( s ) + 2 x 2 ( s ) d s = 4835 3072 .
We take n = 2 , X = C [ 0 , 1 ] and put Equations (45) and (46) in the operator form as in Corollary 1, viz.
B d x = A x = f ( t ) , D ( B d ) = { x ∈ X 2 1 : θ ( x ) = c } ,
where
x ( t ) = x 1 ( t ) x 2 ( t ) T , f ( t ) = 2 t 4 + 4 t 2 − 3 t 2 + 1 5 t t 2 + 1 T , A x = x ′ − A ( t ) x = x ′ − t t 2 + 1 − 1 t 2 + 1 1 t 2 + 1 t t 2 + 1 x , θ ( x ) = 1 0 0 0 x ( 0 ) + 0 1 1 0 x ( 1 2 ) + 0 0 0 − 4 x ( 1 ) + ∫ 0 1 / 4 0 0 1 2 x ( s ) d s + ∫ 3 / 4 1 − 2 s 0 0 0 x ( s ) d s , c = − 2183 7680 4835 3072 T .
Consider the complementary system as in Lemma 1, i.e.,
A ^ x = A x = f ( x ) , D ( A ^ ) = x ∈ X 2 1 : θ ^ ( x ) = x ( 0 ) = 0 .
It is known that the homogeneous system A x = 0 has the fundamental matrix
Z ( t ) = 1 − t t 1 ,
which satisfies the equation θ ^ ( Z ) = I 2 , see, for example, [35].
Then, from the proposed algorithm, we obtain
det ( W d ) = − 1279 384 ≠ 0 ,
which ensures that Equations (45) and (46) have a unique solution, which is
x 1 ( t ) = t 3 − 2 t , x 2 ( t ) = t 2 − 1 .

4.2. Integrodifferential Equations

Next, we solve a boundary value problem for a second-order FIDE and nonhomogeneous multipoint-integral conditions, and a boundary value problem for a system of two second-order FIDEs with nonhomogeneous mixed nonseparable conditions.
Example IDE.1  
In [36], a second order control problem for the dynamics of the rocket bank reduces to the second-order Fredholm integrodifferential equation
χ ″ ( t ) + ν χ ′ ( t ) + μ ∫ 0 T K ( s ) χ ( s ) d s = f ( t ) ,
with the boundary conditions
T χ ( 0 ) + ∫ 0 T χ ( t ) d t = 0 , χ ′ ( T ) = φ ,
where K ( s ) , f ( t ) ∈ C [ 0 , T ] , ν = 1 / T 0 , μ = ( k 0 k 1 ) / T 0 , T 0 , k 0 , k 1 , φ are constants and T > T 0 .
With the transformation χ ( t ) = x 1 ( t ) and χ ′ ( t ) = x 2 ( t ) we can reduce Equations (47) and (48) to the following system of two first-order integrodifferential equations:
x 1 ′ ( t ) − x 2 ( t ) = 0 , x 2 ′ ( t ) + ν x 2 ( t ) + μ ∫ 0 T K ( s ) x 1 ( s ) d s = f ( t ) ,
subject to the boundary conditions
T x 1 ( 0 ) + ∫ 0 T x 1 ( s ) d s = 0 , x 2 ( T ) = φ .
We set X = C [ 0 , T ] , n = 2 and m = 1 and write Equations (49) and (50) in the operator form
B x = A x − G ( t ) η ( x ) , D ( B ) = x ∈ X 2 1 : θ ( x ) = c ,
where
x ( t ) = x 1 ( t ) x 2 ( t ) T , f ( t ) = 0 f ( t ) T , A x = x ′ − A ( t ) x = x ′ − 0 1 0 − ν x , G ( t ) = 0 − μ , η ( x ) = ∫ 0 T K ( s ) 0 x ( s ) d s , θ ( x ) = T 0 0 0 x ( 0 ) + 0 0 0 1 x ( T ) + ∫ 0 T 1 0 0 0 x ( s ) d s , c = 0 φ T .
Let the complementary system in Lemma 1 be defined by
A ^ x = A x = f ( x ) , D ( A ^ ) = x ∈ X 2 1 : θ ^ ( x ) = x ( 0 ) = 0 .
The fundamental matrix of the homogeneous system A x = 0 is
Z ( t ) = 1 1 − e − ν t ν 0 e − ν t ,
which satisfies θ ^ ( Z ) = I 2 .
Substituting into algorithm, we obtain that Equations (49) and (50) have a unique solution if and only if
det ( W ) = 2 T e − T ν 1 − μ ν ∫ 0 T K ( s ) [ T 4 − s − 1 2 T ν 2 + ( 1 2 T ν − e − s ν + 1 2 ) e T ν ν ] d s ≠ 0 .
As a simple example, let K ( s ) = 1 , f ( t ) = 1 , ν = 1 / 5 , φ = 1 and T = 10 . In this case the exact solution x 1 ( t ) of boundary value Equations (49) and (50) is
x 1 ( t ) = e − t 5 125 e 2 + 125 μ − 10 t − 1250 e 2 μ + 30 e 2 + 15 e t 5 + 1250 e 2 μ − 40 e 2 125 e 2 − 125 μ − 2 .
In the more complicated case for K ( s ) = e − ν t / 10 and f ( t ) = 2 t , the solution is illustrated for different values of μ in Figure 3.
Figure 3. Exact solution of boundary value Equations (49) and (50) for different values of μ .
Example IDE.2 
Consider the following system of two second-order linear Fredholm integrodifferential equations:
u 1 ″ ( t ) + u 2 ′ ( t ) + ∫ 0 1 2 t s [ u 1 ( s ) − 3 u 2 ( s ) ] d s = 3 t 2 + 3 t 10 + 8 , u 1 ′ ( t ) + u 2 ″ ( t ) + ∫ 0 1 3 ( 2 t + s 2 ) [ u 1 ( s ) − 2 u 2 ( s ) ] d s = 21 t + 4 5 ,
subject to the boundary conditions
u 1 ( 0 ) + u 1 ′ ( 0 ) = 1 , u 1 ( 1 ) + u 1 ′ ( 1 ) = 10 , u 2 ( 0 ) + u 2 ′ ( 0 ) = 1 , u 2 ( 1 ) + u 2 ′ ( 1 ) = 7 .
This problem was solved numerically by the Tau method in [11].
To construct the exact solution we use the transformation u 1 ( t ) = x 1 ( t ) , u 2 ( t ) = x 2 ( t ) , u 1 ′ ( t ) = x 3 ( t ) and u 2 ′ ( t ) = x 4 ( t ) and write boundary value Equations (52) and (53) as a system of four first-order integrodifferential equations,
x 1 ′ − x 3 = 0 , x 2 ′ − x 4 = 0 , x 3 ′ + x 4 + 2 t ∫ 0 1 s x 1 ( s ) − 3 x 2 ( s ) d s = 3 t 2 + 3 t 10 + 8 , x 4 ′ + x 3 + 6 t ∫ 0 1 x 1 ( s ) − 2 x 2 ( s ) d s + 3 ∫ 0 1 s 2 x 1 ( s ) − 2 x 2 ( s ) d s = 21 t + 4 5 ,
with the boundary conditions
x 1 ( 0 ) + x 3 ( 0 ) = 1 , x 1 ( 1 ) + x 3 ( 1 ) = 10 , x 2 ( 0 ) + x 4 ( 0 ) = 1 , x 2 ( 1 ) + x 4 ( 1 ) = 7 .
In space X = C [ 0 , 1 ] and for n = 4 and m = 3 , we write Equations (54) and (55) in the operator form
B x = A x − G ( t ) η ( x ) , D ( B ) = x ∈ X 4 1 : θ ( x ) = c ,
where
x ( t ) = x 1 ( t ) x 2 ( t ) x 3 ( t ) x 4 ( t ) T , f ( t ) = 0 0 3 t 2 + 3 t 10 + 8 21 t + 4 5 T , A x = x ′ − A ( t ) x = x ′ − 0 0 1 0 0 0 0 1 0 0 0 − 1 0 0 − 1 0 x , G ( t ) = 0 0 0 0 0 0 0 − 2 t 0 − 6 t 0 − 3 , η ( x ) = ∫ 0 1 1 − 2 0 0 s − 3 s 0 0 s 2 − 2 s 2 0 0 x ( s ) d s , θ ( x ) = 1 0 1 0 0 0 0 0 0 1 0 1 0 0 0 0 x ( 0 ) + 0 0 0 0 1 0 1 0 0 0 0 0 0 1 0 1 x ( 1 ) , c = 1 10 1 7 .
Let the complementary system in Lemma 1 be defined by
A ^ x = A x = f ( x ) , D ( A ^ ) = x ∈ X 4 1 : θ ^ ( x ) = x ( 0 ) = 0 ,
where, since the matrix A is constant, it is easy to construct a fundamental set of solutions of the homogeneous system A x = 0 , namely
Z ( t ) = 1 0 sinh ( t ) 1 − cosh ( t ) 0 1 1 − cosh ( t ) sinh ( t ) 0 0 cosh ( t ) − sinh ( t ) 0 0 − sinh ( t ) cosh ( t ) ,
which satisfies the equation θ ^ ( Z ) = I 4 .
By substituting into the algorithm, we obtain the unique solution of Equations (54) and (55) as follows:
x ( t ) = 3 t 2 + 1 t 3 + 2 t − 1 6 t 3 t 2 + 2 T .

5. Conclusions

Solvability criteria for general nonlocal boundary value problems for systems of linear ordinary integrodifferential equations of Fredholm type have been derived in a computationally convenient matrix form. A direct operator method for constructing their exact solution has also been presented. The method can be easily implemented in any computer algebra system. The main advantage is its ease of use and efficiency. Its disadvantage is the requirement of the fundamental matrix of the corresponding homogeneous differential system, which limits its application to cases where the matrix of coefficients is constant or is a matrix with variable coefficients of a special form.
The proposed method will be useful to many researchers as well as educational professionals in teaching advanced mathematics. Exact solutions are always necessary to validate numerical methods.
Although only integrodifferential equations are investigated here, Equations (6) and (7) are more general and describe various types of nonlocal boundary value problems. In particular, when the functionals η j are values of x at certain fixed points t ˇ ∈ [ a , b ] , then Equation (6) becomes a system of differential-boundary equations or loaded differential equations. Therefore, the solvability criteria and the solution method derived here can be extended to nonlocal boundary value problems for systems of linear ordinary loaded differential and loaded integrodifferential equations.

Author Contributions

Conceptualization, E.P. and I.N.P.; methodology, E.P.; software, E.P.; validation, E.P., I.N.P. and J.E.M.; formal analysis, E.P. and I.N.P.; writing—original draft preparation, E.P.; writing—review and editing, J.E.M.; visualization, E.P.; supervision, E.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Acknowledgments

The authors would like to thank the anonymous reviewers for their valuable comments.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
DEDifferential Equation
IDEIntegroDifferential Equation
FIDEFredholm IntegroDifferential Equation

References

  1. Kiguradze, I.T. Boundary-value problems for systems of ordinary differential equations. J. Math. Sci. 1988, 43, 2259–2339. [Google Scholar] [CrossRef] [Scilit]
  2. Jerri, A.J. Introduction to Integral Equations with Applications, 2nd ed.; John Wiley & Sons: Hoboken, NJ, USA, 1999. [Google Scholar]
  3. Corduneanu, C. Integral Equations and Applications; Cambridge University Press: Cambridge, UK, 1991. [Google Scholar]
  4. Byszewski, L. Theorems about the existence and uniqueness of solutions of a semilinear evolution nonlocal Cauchy problem. J. Math. Anal. Appl. 1991, 162, 494–505. [Google Scholar] [CrossRef] [Scilit]
  5. Ntouyas, S.K. Chapter 6 Nonlocal Initial and Boundary Value Problems: A Survey. In Handbook of Differential Equations: Ordinary Differential Equations; Cañada, A., Drábek, P., Fonda, A., Eds.; North-Holland: Amsterdam, The Netherlands, 2006; pp. 461–557. [Google Scholar] [CrossRef] [Scilit]
  6. Štikonas, A. A Survey on stationary problems, Green’s functions and spectrum of Sturm–Liouville problem with nonlocal boundary conditions. Nonlinear Anal. Model. Control 2014, 19, 301–334. [Google Scholar] [CrossRef] [Scilit]
  7. McKibben, M. Discovering Evolution Equations with Applications: Volume 1-Deterministic Equations, 1st ed.; Chapman and Hall/CRC: Boca Raton, FL, USA, 2010; pp. 393–403. [Google Scholar] [CrossRef] [Scilit]
  8. Styś, K.; Styś, T. A higher-order finite difference method for solving a system of integro-differential equations. J. Comput. Appl. Math. 2000, 126, 33–46. [Google Scholar] [CrossRef] [Scilit]
  9. Zhao, J.; Corless, R.M. Compact finite difference method for integro-differential equations. Appl. Math. Comput. 2006, 177, 271–288. [Google Scholar] [CrossRef] [Scilit]
  10. Ghasemi, M.; Fardi, M.; Moradi, E. A Reproducing Kernel Method for Solving Systems of Integro-differential Equations with Nonlocal Boundary Conditions. Iran. J. Sci. Technol. Trans. Sci. 2021, 45, 1375–1382. [Google Scholar] [CrossRef] [Scilit]
  11. Pour-Mahmoud, J.; Rahimi-Ardabili, M.Y.; Shahmorad, S. Numerical solution of the system of Fredholm integro-differential equations by the Tau method. Appl. Math. Comput. 2005, 168, 465–478. [Google Scholar] [CrossRef] [Scilit]
  12. Vassiliev, N.; Parasidis, I.; Providas, E. Exact solution method for Fredholm integro-differential equations with multipoint and integral boundary conditions. Part 1. Extention method. Inf. Control Syst. 2018, 6, 14–23. [Google Scholar] [CrossRef] [Scilit]
  13. Tsilika, K.D. An exact solution method for Fredholm integro-differential equations. Inform.-Upravl. Sist. 2019, 4, 2–8. [Google Scholar] [CrossRef] [Scilit]
  14. Providas, E.; Parasidis, I.N. A Procedure for Factoring and Solving Nonlocal Boundary Value Problems for a Type of Linear Integro-Differential Equations. Algorithms 2021, 14, 346. [Google Scholar] [CrossRef] [Scilit]
  15. Providas, E. On the Exact Solution of Nonlocal Euler–Bernoulli Beam Equations via a Direct Approach for Volterra-Fredholm Integro-Differential Equations. AppliedMath 2022, 2, 269–283. [Google Scholar] [CrossRef] [Scilit]
  16. Samoilenko, A.M.; Boichuk, O.A.; Krivosheya, S.A. Boundary-Value problems for systems of integro-differential equations with Degenerate Kernel. Ukr. Math. J. 1996, 48, 1785–1789. [Google Scholar] [CrossRef] [Scilit]
  17. Boichuk, A.A.; Zhuravlev, V.F. Solvability Criterion for Integro-Differential Equations with Degenerate Kernel in Banach Spaces. Nonlinear Dyn. Syst. Theory 2018, 18, 331–341. [Google Scholar]
  18. Boichuk, A.A.; Zhuravlev, V.F. Solvability Criterion for Linear Boundary-Value Problems for Integrodifferential Fredholm Equations with Degenerate Kernels in Banach Spaces. Ukr. Math. J. 2021, 72, 1695–1714. [Google Scholar] [CrossRef] [Scilit]
  19. Aida-Zade, K.R.; Abdullayev, V.M. To the solution of integro-differential equations with nonlocal conditions. Turk. J. Math. 2022, 46, 177–188. [Google Scholar] [CrossRef] [Scilit]
  20. Baiburin, M.M.; Providas, E. Exact Solution to Systems of Linear First-Order Integro-Differential Equations with Multipoint and Integral Conditions. In Mathematical Analysis and Applications, Springer Optimization and Its Applications 154; Rassias, T.M., Pardalos, P.M., Eds.; Springer Nature: Cham, Switzerland, 2019; pp. 1–16. [Google Scholar] [CrossRef] [Scilit]
  21. Balachandran, K.; Kiruthika, S. Existence results for fractional integrodifferential equations with nonlocal condition via resolvent operators. Comput. Math. Appl. 2011, 62, 1350–1358. [Google Scholar] [CrossRef] [Scilit]
  22. Gupta, V.; Dabas, J. Existence results for a fractional integrodifferential equation with nonlocal boundary conditions and fractional impulsive conditions. Nonlinear Dyn. Syst. Theory 2015, 15, 370–382. [Google Scholar]
  23. Ahmad, B.; Alnahdi, M.; Ntouyas, S.K. Existence Results for a Differential Equation Involving the Right Caputo Fractional Derivative and Mixed Nonlinearities with Nonlocal Closed Boundary Conditions. Fractal Fract. 2023, 7, 129. [Google Scholar] [CrossRef] [Scilit]
  24. Moler, C.; Van Loan, C. Nineteen Dubious Ways to Compute the Exponential of a Matrix, Twenty-Five Years Later. SIAM Rev. 2003, 45, 3–49. [Google Scholar] [CrossRef] [Scilit]
  25. Krall, A.M. Differential-boundary operators. Trans. Amer. Math. Soc. 1971, 154, 429–458. [Google Scholar] [CrossRef]
  26. Nakhushev, A.M. Loaded equations and their applications. Differ. Uravn. 1983, 19, 86–94. (In Russian) [Google Scholar]
  27. Winkler, F. Symbolic computation in algebra, geometry, and differential equations. Inf. Comput. 2024, 301, 105200. [Google Scholar] [CrossRef] [Scilit]
  28. Mélard, G. A Symbolic Algorithm for Checking the Identifiability of a Time-Series Model. Information 2025, 16, 16. [Google Scholar] [CrossRef] [Scilit]
  29. Kokebaev, B.K.; Otelbaev, M.; Shynibekov, A.N. About Restrictions and Extensions of operators. Dokl. Akad. Nauk. SSSR 1983, 271, 1307–1310. (In Russian) [Google Scholar]
  30. Gusev, A.A.; Gerdt, V.P.; Hai, L.L.; Derbov, V.L.; Vinitsky, S.I.; Chuluunbaatar, O. Symbolic-Numeric Algorithms for Solving BVPs for a System of ODEs of the Second Order: Multichannel Scattering and Eigenvalue Problems. In Computer Algebra in Scientific Computing; CASC 2016. Lecture Notes in Computer Science; Gerdt, V., Koepf, W., Seiler, W., Vorozhtsov, E., Eds.; Springer: Cham, Switzerland, 2016; Volume 9890. [Google Scholar] [CrossRef] [Scilit]
  31. Na, T.Y. Computational Methods in Engineering Boundary Value Problems; Academic Press: New York, NY, USA, 1979. [Google Scholar]
  32. Haque, M.; Baluch, M.H.; Mohsen, M.F.N. Solution of multiple point, nonlinear boundary value problems by method of weighted residuals. Int. J. Comput. Math. 1986, 19, 69–84. [Google Scholar] [CrossRef] [Scilit]
  33. Liu, G.R.; Wu, T.Y. Multipoint boundary value problems by differential quadrature method. Math. Comput. Model. 2002, 35, 215–227. [Google Scholar] [CrossRef] [Scilit]
  34. Groza, G.; Pop, N. Approximate solution of multipoint boundary value problems for linear differential equations by polynomial functions. J. Differ. Equ. Appl. 2008, 14, 1289–1309. [Google Scholar] [CrossRef] [Scilit]
  35. Shirley, K.L.; Klima, V.W. Linear ODE Systems Having a Fundamental Matrix of the Form f(Mt). CODEE J. 2024, 18, 2. [Google Scholar] [CrossRef] [Scilit]
  36. Yuldashev, T.K. Nonlocal Boundary Value Problem for a Nonlinear Fredholm Integro-Differential Equation with Degenerate Kernel. Differ. Equ. 2018, 54, 1646–1653. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.