1. Introduction
Integral algebraic equations (IAEs) represent an important class of mathematical objects. They arise when constructing models of natural and technical processes with memory and balance relations. These models are formulated as a set of Volterra integral equations of the first and second kind, along with finite algebraic equations, interconnected via the components of the desired vector-function. They take the form of a system of integral equations with an identically singular matrix in the principal part. Currently, such models are found in many applied fields, including the theory of viscoelasticity with material memory effects, population dynamics in biology, economic modeling, and optimal control problems with aftereffect.
The development of numerical methods for solving IAEs has been associated with significant difficulties. Constructive theorems on the solvability of IAEs were lacking, and solution methods were developed in parallel with the construction of the qualitative theory. The theoretical foundations for singular systems of integral equations are rooted in earlier work on differential-algebraic equations (DAEs). Key analytical tools, such as left regularizing operators, the analysis of matrix pencils, and the formalization of singular points, are directly adapted from DAE theory to characterize the solvability and structural properties of IAEs. Consequently, the numerical analysis and classification of IAEs, including the challenges posed by singularities and high index, inherit their core methodology and terminology from the well-developed corpus of DAE research, providing a vital theoretical bridge for investigating these complex integral systems.
Early foundational contributions in this area include the works of Chistyakov [
1] on singular ordinary differential systems and their integral analogues, and the monograph by Hairer et al. [
2] on numerical methods for singular systems. A pivotal connection was established by Gear, whose paper [
3] formally linked the theory of DAEs, including the concept of the index, to integral–algebraic equations (IAEs). This theoretical framework was expanded in the monographs [
4,
5] on algebraic-differential systems. The development of numerical analysis for these problems progressed along two parallel tracks: integral equations and DAEs. For Volterra-type equations, the monographs by Brunner [
6,
7] on collocation methods and Volterra integral equations, respectively, provide a general foundation. Within the specific context of IAEs, Kauthen [
8,
9] pioneered the analysis of polynomial spline collocation methods for index-1 equations. This line of inquiry was significantly advanced in the theoretical work of Liang and Brunner [
10,
11], which established a comprehensive framework for collocation methods applied to IAEs. Concurrently, the projector-based analysis of DAEs, as detailed in the monographs by Lamour et al. [
12] and Kunkel and Mehrmann [
13], provides essential tools for understanding the related singular structures. Specific investigations into the properties of linear Volterra integro-algebraic systems have been continued by Chistyakov and colleagues. This includes studies on solvability and numerical methods [
14], and most recently, an examination of singular points and solvability conditions [
15]. Together, this body of literature forms the core theoretical and numerical basis for the study of singular integral and integro-algebraic equations.
Generally, in the works on constructing numerical methods for solving IAEs, three main directions can be conditionally distinguished: (I) Finite-difference methods [
1,
16]. Here, within the framework of existence theorems, conditions for stability and convergence of first and higher orders have been obtained. (II) Methods based on collocation. The articles and monographs [
7,
8] laid the foundation for the theory of collocation methods for IAEs. They present the qualitative theory of IAEs and the theory of numerical methods, including convergence analysis. A major contribution to this direction are the works [
17,
18,
19,
20,
21] on spline collocation and spectral methods. In particular, it is shown that collocation methods allow solving Hessenberg-type IAEs with a high index. (III) Methods based on variational principles. Notable works here include [
22,
23].
This article is a continuation of the work on applying the least squares method (LSM) for solving degenerate problems (see [
14,
22]). We focus our research on IAEs with singular points in the domain. The development of stable numerical methods for IAEs with singular points is highly relevant. In applied problems, the presence of singular points can lead to a significant loss of accuracy or loss of convergence of step-by-step methods (in particular, finite difference schemes). The proposed least squares-based approach allows these difficulties to be partially circumvented, ensuring global approximation of the solution and stability even in the presence of singularities. Thus, this work aims to address an important problem in computational mathematics with applications in natural and technical sciences.
Similar to previous works, the problem of solving IAEs is replaced by the problem of minimizing a residual functional in Sobolev spaces. The article formalizes the concept of a singular point of IAEs and considers a number of examples with singular points, which are solved by the LSM followed by an analysis of the numerical processes. Unlike finite-difference and spline-collocation methods, the LSM allows searching for the solution not step-by-step but globally, eliminating potential instability or halting that arises when grid nodes coincide with or are close to singular points. A comparison of these results with the application of the finite-difference method from [
1] is provided.
The brief review given above by no means claims to be exhaustive and provides only reference points for orientation within the vast accumulated material.
The article is structured as follows. In
Section 2, we formally state the IAE problem and introduce basic concepts and definitions.
Section 3 is devoted to key theoretical tools, including ways of formalizing the concept of a singular point. In
Section 4, we present the main theorem on the solvability of IAEs.
Section 5 describes the proposed numerical method based on LSM, including the form of the residual functional and coordinate functions. The results of the numerical experiments for several test cases with singular points are presented and analyzed in
Section 6. Finally,
Section 7 provides a general discussion of the results.
2. Problem Statement
We consider systems of Volterra integral equations of the form
where
is the Volterra operator, the symbol
denotes a differential operator in which the zero power of the operator
is assumed to be the identity operator,
are given
matrices,
is the unknown vector-function, and
is a given vector-function.
It is assumed that, at a minimum, the matrices
and the vector-function
are continuous in their domains, and the following condition holds:
The smoothness requirements will be specified separately in the statements of definitions and assertions. Systems of the form (
1) satisfying condition (
2) are currently referred to as integro-algebraic equations (IAEs).
By the solution of the IAE (
1), we understand any vector-function
that satisfies the IAE identically on
T upon substitution.
This article pays particular attention to IAEs with singular points. Informally, by a singular point of the IAE (
1), we mean any point in
T where either of the following conditions (or both) are met: (I) The IAE (
1) has no solutions on
T; (II) the dimension of the solution space of the homogeneous system
changes.
Example 1. Consider the IAEwhere denotes the transpose. This system includes interconnected Volterra integral equations of the first and second kind and an algebraic equation. However, even for such simple IAEs, arbitrarily small perturbations of the input data in the uniform metric can lead to the absence of solutions or arbitrarily large perturbations of the solutions. Consider two IAEs with the structure specified above:where are perturbation parameters. Here the exact solution is known: . For an arbitrarily small value of ε, the solution of the second system does not exist. If , thenThe Euclidean norm of the vector-function as . Note that the perturbations do not change the Kronecker structure of the matrix pencil where λ is a scalar parameter (generally complex) [24]. However, in the general case, an IAE represents a more complex object than a mere combination of the aforementioned equations.
Example 2. Consider the IAE obtained by integrating a system of differential equations from the monograph ([25], p. 24, Example 2.4.3):where is the identity matrix. Thus, the first and second equations of the system (3) are Volterra integral equations of the first or second kind on certain sub-intervals of T. The subset of the interval T where the function or can be very complex since any closed set can be the zero set of some functions from . By substitution, one can verify that the vector function is a solution of the system (3). Under the condition there exists no matrix with the properties 3. Key Concepts and Tools
Introduce the following definition.
Definition 1. If there exists an -matrix such that any element of the linear solution space of the homogeneous IAE (1) on T can be represented as the product where c is a vector of arbitrary constants, then we say that the solution space is finite-dimensional The minimal possible value of the integer parameter d is called the dimension of the solution space of the IAE (1). The solution space of the homogeneous IAE (1) is infinite-dimensional if it contains an infinite number of linearly independent solutions. The general class of IAEs with sufficiently smooth input data is described using the following concept.
Definition 2 ([
22])
. If there exists an operator where are -matrices from , possessing the propertieswhere , then it is called a left regularizing operator (LRO) for the IAE (1), and the minimal possible number l is its index. Remark 1. If an IAE has an LRO with index l, then it is common to say that the IAE under consideration is index l. It is also accepted by default that if in (1) then (1) is index zero. Let us formalize the concept of a singular point. For this, we will need the following information. Consider the system of linear ODEs of arbitrary order
where
denotes the
th derivative of the vector-function
,
are
-matrices defined on
T,
is the unknown vector-function,
is the given vector-function, respectively. It is assumed that the following condition holds:
Systems of the form (
4) satisfying condition (
5) are currently called differential-algebraic equations (DAEs). Condition (5) is a defining property of a DAEs (see, for example, [
26]). It indicates the degeneracy of the leading matrix, which is a key characteristic of DAEs. In this paper, it is used here to establish the connection between DAEs and IAEs.
Definition 3 ([
27])
. System (4) has a Cauchy-type solution on the interval T if it is solvable for any vector-function and its solutions can be represented as a linear combinationwhere is an -matrix from , with the propertyc is a vector of arbitrary constants, is a vector-function with the property and on any sub-interval there are no solutions different from . Lemma 1. If the Kronecker–Capelli condition is satisfiedthen there exists a unique solution to the DAE (4) passing through the point . In particular, one can take . Definition 4 ([
5])
. If there exists an operator where are -matrices from , possessing the propertieswhere are some -matrices from , then it is called a left regularizing operator (LRO) for the DAE (4), and the smallest possible m is called its index. Similarly to Remark 1, if an LRO with
is defined for the DAE (
4), then the condition
is satisfied automatically.
Theorem 1 ([
27])
. Suppose that in the DAE (4). Then the following conditions are equivalent:- 1.
A Cauchy-type solution for the DAE (4) is defined on T; - 2.
An LRO for the DAE (4) is defined on T.
Moreover, for the vector-function from formula (6), the representationis valid, where are some -matrices from , respectively. Now using the information given above, we are ready to formalize the concept of a singular point in IAEs.
Definition 5. Suppose there exists an operator where are -matrices from , possessing the following properties:
- 1.
has an LRO from Definition 4 defined for it on T;
- 2.
where and there exists an isolated point Then the point is called a singular point of the IAE (1).
Other known approaches (see, for example, [
12]) rely on the sequential construction of a chain of projectors. In our case, we construct the left regularizing operator (LRO) in a global manner. A chain of projectors may not exist in certain cases, whereas the LRO is still defined.
Condition 1 of Definition 5 guarantees that the DAE corresponding to the operator
has no singular points, and all singular points belong to the IAE (
1). For example, consider a scalar equation that can be viewed as a simplest IAE:
, where
,
. Set
. We can take any non-zero constant as the LRO from Definition 4 for
. Then
. The point
is singular in terms of Definition 5. If we take
, then
and a “false” singular point
emerges.
If there is no singular points of the IAE (
1) on the interval
T, then the operator
coincides with the LRO for the IAE (
1).
Let us present the simplest criterion for the existence of a singular point of an IAE [
15].
Lemma 2. Suppose that for the IAE (1) the following conditions hold: - 1.
;
- 2.
where
- 3.
The equation has ϑ roots on T.
Then:
- 1.
Each root of is a singular point of the IAE (1) and there are no other singular points on T; - 2.
Any point is singular;
- 3.
We can takeas an operator from Definition 5, where and the number of rows in the block is .
The operation of building matrix
is generally not finite [
28].
Using several examples, we now demonstrate how singular points may affect solutions to IAEs.
Example 3. Consider the IAEwhere is a given function from , for which a function is defined with the property Apply the operator to system (9). In the new system, the second equation has the form Expressing in terms of and substituting this expression into the first equation, we obtain the relationConsider the following cases: (a) , . Here, the solution space of the homogeneous IAE consists only of the zero function. In Definition 1, . System (9) has a unique solution
Here, we can takeas the LRO. (b) The function is nonzero, , and there exists an isolated point . Solutions to the DAE (9) do not exist: the functions in formula (10) have a discontinuity of the second kind at the point We can take (11) as the operator .
(c) , the function is arbitrary. The solution space of the homogeneous DAE (9) is infinite-dimensional. The vector functions can be taken as a basis of the solution space. The component can be taken as an arbitrary function . The compatibility conditions here have the form ;
(d) . Then there exist nonzero solutions of the DAE (9): . Neither any component of the solution nor their linear combination can be taken as an arbitrary function: the solution to (1) has zeros coinciding with the zeros of the function .
In many cases, the condition is equivalent to the statement: at least one of the solution components (or a linear combination of solutions) can be taken as an arbitrary continuous function (see case (c) of Example 3). From case (d) it follows that this is not true in the general case.
Example 4. Consider the homogeneous IAEwhere . Applying the operator to (12), we see that the second equation of the new system has the form . Substituting the expression into the first equation, we obtain the integral equation . We will seek in the form of a sum with undetermined coefficients . Substituting this expression into the integral equation, we obtain the system of equations This system has a unique solution for , and is arbitrary.
Thus, there exists a one-parameter family of analytic solutions of the IAE (12): . In the polynomial , and, therefore, the equation has a root . According to Lemma 2, the point is a singular point of (12). In Definition 4, one can take . If we assume that , where ϵ is an arbitrarily small positive number, then system (12) has only a zero solution. Example 5. Consider the homogeneous IAEwhere . There exists a one-parameter family of analytic solutions to the IAE (13): and a d-parameter family of differentiable solutionswhere . Here , and, therefore, has roots . According to Lemma 2, the points are singular points of system (13). Note that, in contrast to the IAE (12), the singular points here coincide with the points where the rank of the matrix changes. In Definition 4, one can take Example 6. Consider the IAEwhere By applying the operator to system (14), we find that the second equation of the new system has the form . From the first equation, we obtain the relation , where . Then , where , , and . Here and, therefore, the equation has a root , which, according to Lemma 2, is a singular point. Thus, despite the presence of a singular point, the non-homogeneous system (14) has a unique solution on T. 4. Solvability Theorem
The concept of LRO for DAEs and IAEs is closely related to the concept of differential array.
Definition 6 ([
5])
. The expression will be called a differential array of system (1). The operator is defined by formula (7). Given sufficient smoothness of the input data, a differential array for the IAE (
1) can be written as
where
In general, the blocks of matrix
are linear combinations of the matrices
and their derivatives with binomial coefficients as factors. Their explicit form can be found, for example, in [
15].
Definition 6 introduces a tool for transforming IAEs into extended systems that are more convenient for analysis. This method is used to derive the LRO and investigate solution properties of the systems under study. Later, we employ it as a key technique that links IAEs to the theory of differential-algebraic equations.
Definition 7 (see, for example, [
29])
. A semi-inverse matrix of an -matrix is an -matrix that satisfies the equation for all . According to [
5], there exist matrices
if
and
.
Lemma 3. Suppose the following conditions hold for the IAE (1): - 1.
, q > l;
- 2.
an LRO is defined on T and the index of the system operator is ;
- 3.
.
Then, for any matrix , we havewhere the matrix is a semi-inverse to , and are some blocks of appropriate dimensions. In other words, the -blocks forming the first n rows of the matrix are the coefficients of the LRO.
Thus, by computing the matrices and verifying the structure of the first rows in the product , we can find the index of the IAE (if it exists) and the coefficients of the LRO.
The main result of the paper is presented by the following theorem.
Theorem 2. Suppose the following conditions hold for the IAE (1): - 1.
;
- 2.
An LRO of a finite index l is defined for (1) on T; - 3.
.
Then, , and the IAE (1) has a unique solution on T. Moreover, the solution has the formwhere are some -matrices from and respectively. Proof. Introduce the function
where
and consider the equation
where the operator
is an LRO for system (
1) from Definition 2, and according to Lemma 3, the coefficients of the LRO can be chosen from the space
. Condition 3 of this theorem means that
The initial value problem
has only the trivial solution
, since by Definition 2 the equality
holds, and the equation
has only a zero solution. If problem (
18) had nonzero solutions, then the equation
would also have nonzero solutions. This is a contradiction.
Thus, system (
1) has only one solution
, which can be taken as the solution
to the IAE (
1). The solution to the equation
according to [
30], has the form
where
, and
is the kernel of the resolvent operator. Integrating by parts, we obtain representation (
17). □
In [
5], this theorem was proved under the conditions that
Thus, the IAE (
1) is solvable if the finite index
l of the equation operator is defined, and the Kronecker–Capelli criterion is satisfied at the initial point for the corresponding differential of dimension
.
An LRO from Definition 2 does not exist if the following hold:
- I.
There are singular points defined on the interval T;
- II.
The solution space of the IAE is infinite-dimensional.
In the second case, under certain conditions, we can build a differential operator such that in the system some of the equations vanish.
Let us describe another method for transitioning from an IAE to a system of Volterra integral equations of the second kind. To this end, we will need the following definition.
Definition 8 ([
5])
. A nonzero polynomial , where are square matrices, satisfies the “rank-degree” criterion on T if Now consider systems of integro-differential equations (IDEs) of the form
with initial conditions
where
,
are the blocks of the
-th row of the matrix
from formula (
15),
Consider the differential part of formula (
19) and suppose that there exists an LRO from Definition 4 for the DAE
and that, starting with some
, the LRO index does not exceed the order of this DAE. For example, suppose that in the IAE (
1) the polynomial
satisfies the “rank-degree” criterion (Definition 8). Then, according to [
1], the polynomial
of the system of IDEs
also satisfies the “rank-degree” criterion and, therefore, the LRO for the DAE (
20) is index 1 (and does not exceed the order of (
20)). Having this in mind, write down system (
19) in the form of the equality
. Then, according to Theorem 1, we obtain a system of integral equations
In what follows, the transition from the IAE (
1) to the system of IDEs (
19) is used to obtain a criterion for the existence of singular points that is more general than Lemma 2 from [
15].
5. Numerical Method
This section discusses the difficulties that arise in numerical treatment of the IAE (
1) and explains the reasons for including the least squares method (LSM) in the set of methods recommended for their solution.
The paper [
1] considers a difference analogue of the IAE (
1), based on the right rectangle quadrature formula. A following grid is introduced:
to obtain a system
The computational scheme is based on subtracting (
21) calculated for
i from the expression for (
21) calculated for
. Thereby, we have
where
. The statement below is a particular case of the statement from [
1].
Theorem 3. Let the conditions of Theorem 1 be satisfied and . Then, starting with some , difference scheme (21) has solutions uniquely defined for any i, and Theorem 3 provides a convergence result for the finite-difference scheme (
21) under an index-1 condition. Although related to [
1], here we have adapted it to the context of singular IAEs. It will serve as a benchmark against which our LSM will be compared later.
The theoretical information presented above requires, in some cases, clarification of the problem statement itself. In particular, if
then this corresponds, when the non-homogeneous IAE (
1) is solvable, to the existence of a family of solutions of the form
where
c is a vector of arbitrary constants.
In this case, it is possible to specify additional conditions similar to boundary conditions in the theory of ODEs. For example, by setting
where
are the given full rank
-matrices (in particular, identity matrices),
are vectors from
, and
d is the dimension of the solution space. The grid values
are chosen between singular points.
The residual functional in the least squares method is taken in the Sobolev spaces
as
where
denotes the Euclidean norm in
. It is clear that if an LRO is defined for (
1), it makes sense to set
. The residual functional (
23) is constructed in the Sobolev spaces
. If the original IDE (
1) has an index
l, then derivatives of the free term up to order
l participate in the solution formula (
17).
If
then the residual functional is chosen as
and we set
.
Now let us describe some properties of functional (
24).
Lemma 4. The functional (24) is convex for an arbitrary p. If and , (24) is continuously Fréchet differentiable at the point , and its gradient is found by the formulas Moreover, the gradient of the functional satisfies the Lipschitz condition:where L is some positive constant. Proof. We have that is a linear operator, and the operation of multiplication by is linear. The integrand has an affine structure. The square of the Euclidean norm of some function is a convex function since The composition of the convex function with the affine mapping gives a convex function. The integral of a convex function is a convex functional. Each term is the square of the norm of an affine mapping, hence convex. Since is a sum of convex functionals, it is convex.
Consider the increment of the functional
, where
is the increment of the argument. We obtain
where
is adjoint to
in the space
. Considering the scalar product
in
we obtain that formula (
24) is valid due to
Let us compute the Lipschitz constant. Denote
, and write
Further,
The continuity of the input data entails that
We take the norm in
. Then
We have
(by the Cauchy–Bunyakovsky inequality,
). It follows that
□
It is proposed to seek the solution to problem (
1), (
22) in the form of a linear combination
where
are undetermined coefficients and coordinate functions, respectively (see, for example, [
31]), with the property
By substituting (
26) into (
23), we obtain
and write down the conditions for its minimum (
) as a system of linear algebraic equations
with respect to the unknown vector
of dimension
. Below are formulas for the elements of
and
in (
28):
where
.
Lemma 5. If the solution to problem (1), (22) is unique, then in (28). Proof. Substitute into the IAE (
1) the vector function
with given coefficients
from formula (
26) and compute the free term
. The general solution to (
28) has the form
, where
is an arbitrary vector. Due to the convexity of the function
for any fixed vector
, the vector function
is a solution to problem (
1), (
22) with a free term
. Taking into account that the matrix
does not depend on the choice of the free term
in system (
1), as well as the condition of the Lemma, we are convinced of the validity of the statement. □
Consider the situation when the sum in formula (
26) is chosen as a polynomial. The next theorem establishes the convergence rates of the LSM approximation under different smoothness conditions and forms the theoretical basis for the numerical experiments.
Theorem 4. Let the following hold:
- 1.
The solution to problem (1), (22) be unique; - 2.
be approximated by the formula ;
- 3.
satisfy one of the conditions:
- (a)
;
- (b)
;
- (c)
.
Then, (24) satisfies the following estimates: - (a)
;
- (b)
;
- (c)
.
Proof. Let some polynomial
be a trial vector function, where each component is the Weierstrass polynomial for the corresponding component of the derivative
of order
. Substitute
into (
24). According to each of the conditions (a), (b), (c), the corresponding estimates of the deviations of
from the solution hold (see, for example, [
32]). Since the minimum is achieved on the solutions to system (
28), these estimates will also valid for the polynomial with respect to vector
. □
Lemma 6. If the IAE (1) satisfies Theorem 1 and in (23), then for squared norm , the corresponding estimates (a), (b), (c) hold. Proof. Substitute
both into the IAE (
1) and into the functional (
23) with
. Then
, where
satisfies the corresponding estimates from Theorem 4. Substitute the vector function
into formula (
17), then straightforward calculations that account for the estimate for
complete the proof. □
By imposing different conditions on the solution and using other approximating polynomials, one can obtain new convergence estimates for the functional and its argument.
6. Numerical Experiments
For numerical experiments, we used the representation
The LSM algorithm was implemented in Python 3.11.3 using the NumPy 1.24.3 and SciPy 1.11.4 libraries [
33], where the integral values are approximated by the quad function from the
scipy.integrate module with default parameters. The system of linear equations (28) is solved using the function
numpy.linalg.solve. To enhance the reproducibility of our results, we have provided a public link to the full source code on GitHub in the Data Availability Statement of the manuscript, which includes detailed numerical implementation and parameter settings used in this study.
To evaluate the performance of the method, the approximate solutions obtained by LSM are directly compared with the exact solutions based on the following metrics: R
2, Mean Absolute Error (MAE), Mean Squared Error (MSE), and Root Mean Squared Error (RMSE). Specifically, the interval
is divided into 500 equally spaced time points, with each
. The polynomial approximation obtained from LSM is used to compute the solution at these points, which is then directly compared with the exact solution. Regarding the choice of the optimal degree
N for practical problems, it depends on several factors: (1) Desired accuracy. (2) Smoothness of the sought solution. (3) Condition number of the matrix of system (
28), which worsens as
N increases.
Example 7. Consider a family of IAEwhere , The parameters here are the quantities . The vector function is taken as the solution. For the IAE (30) and its solution, the basic parameters are given: . Four variants are considered. Variant 1. . Consequently, the “rank-degree” criterion is satisfied on T and the IAE (30) has index . There are no singular points on T. Variant 2. Here, the leading coefficient of the polynomial is . Consequently, the equation has a root of multiplicity 2 on T, which, according to Lemma 2, is a singular point.
Variant 3. Here, the leading coefficient of the polynomial is . Consequently, the equation has two simple roots on T: , which, according to Lemma 2, are singular points.
Variant 4. Here, the leading coefficient of the polynomial is . We obtainThe equation has no real roots. Thus, according to Definition 2, the IAE (30) in this variant is index 2. The results of numerical testing for Example 7 are presented in
Table 1 and
Figure 1.
In
Table 1 and below, we employ the following notations:
N is the degree of the approximating polynomial from formula (
26),
Err is the difference between the exact and approximate solutions in the corresponding norms.
Table 2 provides condition numbers for matrix
from formula (
28) for Example 7, which illustrates how singular points (Variants 2 and 3) and higher index (Variant 4) affect the quality of the solution. The condition numbers were computed using the NumPy library in Python, and the results were evaluated with respect to the 2-norm.
In the above examples, we considered cases where the sought solutions are relatively simple functions, such as exponential or trigonometric functions with moderate oscillations. However, when the parameters involved vary significantly, leading to solutions with very large exponents or highly complex oscillations, the approximation of such functions becomes challenging. In these situations, the approximation error can increase rapidly and substantially, even for small changes in the input parameters.
For instance, when increasing the parameter
in Example 7—Variant 1, the exact solution exhibits exponential behavior, resulting in values of large magnitude over the interval
, which are difficult to approximate accurately. The results presented in
Table 3 and
Figure 2 show that the approximation errors increase sharply under these conditions.
Therefore, it is essential to carefully examine the ill-conditioning of the problem under study and apply suitable techniques to mitigate this issue. For example, to reduce the ill-conditioning in Example 7—Variant 1, before applying the LSM, we can perform a substitution of variable
which eliminates the exponential growth component in the equation. Then, the LSM is applied to determine the solution
, and once
is obtained, the desired solution
can be recovered. The results shown in
Table 4 and
Figure 3 demonstrate that the errors are significantly reduced after applying this transformation.
Example 8. The following system was successfully solved by the collocation method in [11]:where . We choose . Eventually, we obtain Table 5 presents the error comparison between the exact and approximate solutions obtained by the LSM for Example 8 with
and
, where the degrees of the approximating polynomials are 4 and 8. The results show that in this case, the LSM is just as successful as the collocation method proposed in [
11].
Figure 4 illustrates the direct comparison between the exact and approximate solutions obtained by the LSM for Example 8 with
and
, where the degree of the approximating polynomials is 8.
Comparison with the conventional right rectangle method (
21) reveals the superiority of the LSM approach. We implement an algorithm based on formula (
21) in Python. The computations produce the following results: the right rectangle method converges with a first-order accuracy only for Variant 1 and diverges or is inapplicable for other variants, while the LSM provides stable and accurate solutions across all test cases. This robustness makes the LSM particularly valuable for practical applications where singular points may be present.
The proposed LSM has several limitations. First, like any spectral method, it is effective for solutions that are smooth functions. Second, for solutions with rapid exponential growth (as in Example 7 with ), the direct application of the method leads to extreme ill-conditioning.
The main computational costs in solving system (
28) consist of: (1) Filling the matrix
A of size
, which requires computing
integrals of function products. (2) Solving the resulting dense system of linear equations, which has a complexity of
. (3) The condition number grows with
N and can affect numerical stability for very high degrees for polynomials of higher degrees. Compared to the step-by-step finite difference methods, which have linear complexity
, the LSM is less efficient for very large
N. In the case of IAEs with singular points, where difference methods may not converge, the complexity comparison is not entirely correct.
The stability of the LSM is ensured by its global nature. While step-by-step methods (finite difference and collocation) may diverge when a grid node coincides with a singular point or its neighborhood (significantly smaller than the step size), the LSM seeks an approximation over the entire interval. This typically results in limited, though reduced, accuracy in the vicinity of the singular point. Additionally, at this stage of research, we are unable to describe the behavior of the solution neat singular points as it is done, for example, for scalar cases in [
34,
35].