Skip to main content
Heliyon logoLink to Heliyon
. 2023 Nov 13;9(11):e22267. doi: 10.1016/j.heliyon.2023.e22267

Simulating accurate and effective solutions of some nonlinear nonlocal two-point BVPs: Clique and QLM-clique matrix methods

Mohammad Izadi a,, Jagdev Singh b, Samad Noeiaghdam c,d
PMCID: PMC10694310  PMID: 38053889

Abstract

This research work deals with two spectral matrix collocation algorithms based on (novel) clique functions to solve two classes of nonlinear nonlocal elliptic two-points boundary value problems (BVPs) arising in diverse physical models. The nonlinearity together with nonlocality makes the models so difficult to solve numerically. In both matrix methods by expanding the unknown solutions in terms of clique polynomials the nonlocality in the models is handled. In the first and direct technique, the clique coefficients are determined in an accurate way through solving an algebraic system of nonlinear equations. To get rid of the nonlinearity of the models and in order to gain efficacy, the quasilinearization method (QLM) is utilized in the second approach. In the latter algorithm named QLM-clique procedure, the first directly clique collocation method is applied to a family of linearized equations in an iterative manner. In particular, we show that the series expansion of clique polynomials is convergent exponentially in a weighted L2 norm. Numerous numerical simulations validate the performance of two matrix collocation schemes and demonstrate the accuracy as well as the gain in computational efficiency in terms of elapsed CPU time. The proposed matrix algorithms for computation are easy to implement and straightforward, and provide more accuracy compared to other available computational values in the literature.

MSC: 65L60, 41A10, 93B18, 35J25, 34B10

Keywords: Clique functions, Collocation points, Elliptic BVPs, Nonlocal problems, Quasilinearization approach

Highlights

  • Considering two classes of BVPs with nonlinearity and nonlocality and with numerous applications in diverse physical models.

  • Devising an accurate direct matrix collocation based on novel clique functions.

  • Developing an effective spectral matrix collocation method based on quasilinearization technique and the clique bases.

  • Proving the exponential convergence of clique basis functions in the L2 norm.

  • Doing experimental simulations to show the superiority of the techniques in comparison to the existing methods, i.e., VIM and GF-OHAM.

1. Introduction

There has been always an increasing interest in the study of boundary value problems (BVPs) for differential equations due to their importance in various disciplines of physical science and applied mathematics. The BVPs occur in the modeling of heat transfer, diffusion, chemical reactions, and the solution of optimal control problems [1], [2].

In the current research study, we are concerned with numerical treatments of two classes of nonlinear nonlocal BVPs. To be precise, we are going to consider the following two models:

  • Model problem (I): We consider the nonhomogeneous nonlocal BVPs reads [3], [4]
    {f(01ω(p)dp)d2dτ2ω(τ)=g(τ),τΩτ:=(0,1),ω(0)=ω0,ω(1)=ω1, (1.1)
    where ω0,ω1 are two given non-negative numbers. The previous work [3] addresses the issue of the existence and uniqueness of this model by means of fixed-point theory.
  • Model problem (II): We study the nonlinear homogeneous nonlocal BVPs given as [4], [5], [6]
    {f(01ω(p)dp)d2dτ2ω(τ)+(τ)ω2n+1(τ)=0,τΩτ:=(0,1),ω(0)=ω0,ω(1)=ω1, (1.2)
    where nN and ω0,ω1 belong to [0,). By means of Schauder's fixed-point theorem, the existence and the uniqueness issues of the model (II) with l(τ)1 were discussed and proved in [5].

In both models, the function f=f(t) is a positive function of t, and g, are two given functions defined over Ωτ. The above model problems (I) and (II) are called nonlocal due to the fact that the term f(01ω(p)dp) depends on the unknown ω(τ) in the whole domain Ωτ instead of a single point. The nonlocal BVPs of these types (1.1) and (1.2) play important roles in diverse branches of science such as the aeroelastic behavior of a flexible elastic suspended cable driven by mean wind speed [7] and thermo-viscoelastic flows [8], see [9] and references therein for more details.

Before describing the main contributions of this work, we provide a brief review of previously published work devoted to the model equations (1.1) and (1.2) numerically. Finite difference schemes were suggested in [3] and [6]. The variational iteration method (VIM) was developed in [4]. An optimal iterative method based on Green's functions and an optimal homotopy analysis method (GF-OHAM) has been studied in [10] and [11]. Finally, the Jacobi spectral method has been proposed recently in [12] to solve two models (I) and (II).

The spectral based collocation approaches are very common in simulating initial and BVPs. The benefit of spectral methods is that they provide a very accurate approximate solution for the model equations and achieve a higher accuracy with a low number of basis functions without employing discretization like the classical finite difference schemes. These methods have been successfully applied to a number of significant model problems with various (orthogonal) basis functions. Among these types of bases, we mention Morgan-Voyce [13], Vieta-Lucas [14], Bessel [15], [16], [17], Fibonacci [18], Jacobi [19], Chebyshev [20], [21], [22], [23], [24], and Vieta-Fibonacci [25], to name a few.

The focal objective of the present work is the development of two matrix collocation techniques based on clique functions [26], [27], [28]. Direct application of the spectral clique technique is accomplished in the first approach. Unlike the Jacobi spectral method [12], we describe a spectral algorithm in detail and in particular the convergence of the clique basis functions is established. The main advantage of this technique is that accurate approximate solutions are achieved using a few terms of the truncated series expansions. However, this approach suffers from the fact that by growing the number of bases, solving the corresponding nonlinear system is very time-consuming or we may not have convergence at all. The technique of quasilinearization (QLM) is then utilized in the second proposed approach to overcome this difficulty. Once the underlying model is transformed into a family of linearized BVPs, the direct spectral clique function acquires the approximate solution iteratively. This is the first time that two given models (I) and (II) are being solved by using the clique polynomials in two direct and iterative manners, to the best of the author's knowledge. Concisely speaking, the main features of the present research are highlighted as follows:

  • Two classes of BVPs with nonlinearity and nonlocality and with numerous applications in diverse physical models are solved numerically by employing two matrix collocation algorithms based on novel clique functions.

  • The first proposed approach is called the direct clique collocation method, which converts the model problems into nonlinear algebraic matrix equations, however, is more accurate than existing available well-established schemes such as VIM [4] and GF-OHAM [10], [11].

  • The second approach is called QLM-clique method, which is based on a combination of quasilinearization and the direct clique collocation method. This hybrid technique solves a sequence of linear subproblems and is more efficient and effective than the existing numerical schemes.

  • The exponential convergence of the clique series expansion is proved in the L2 norms theoretically and confirmed by defining the numerical order of convergence numerically in both proposed spectral methods.

The outline of this study is given next. In the next section, we first introduce some basic facts related to clique polynomials and also the convergence of these functions is established in a weighted L2 norm. Then, in Section 3, we design two matrix collocation techniques based on the clique functions for two model equations (I) and (II) comprehensively. A detailed illustration of numerical simulations with three test cases is carried out in Section 4. Some concluding remarks are made in the final section.

2. Clique functions: basic matrix relations

Let's assume G:=(V,E) is a (finite) graph, which is simple in the sense that has no multiple edges or loops. Here, V is the set of m vertices of G while E denotes the set of n edges of the graph. If two vertices are joined by a common edge in the graph, they are called adjacent vertices. We call G=(V,E) a subgraph of G if we have VV and EE. In a complete graph, all pair of vertices are adjacent. The complete graph with m vertices is shown by Km, which has (m2) (undirected) edges. We define a q-clique in G to be a subgraph of G which is complete and has q vertices. For more information about graph theory, we refer to [29].

The concept of clique polynomials for a complete graph was first given in [30]. Denoting by C(G,τ), the clique polynomial of a given graph G is defined by

C(G,τ):=q=0mcq(G)τq,

where cq(G) denotes the number of q-cliques of G and c0(G)=1. Whenever V={}, we set C(G,τ):=1. For a complete graph Km, the number of distinct q-cliques is as cq(Km)=(mq). Thus, the related clique polynomials for Km are rewritten as

Cm(τ)C(Km,τ):=q=0m(mq)τq. (2.1)

For m=0,1,2,3, we get

C0(τ)=1,C1(τ)=1+τ,C2(τ)=1+2τ+τ2,C3(τ)=1+3τ+3τ2+τ3.

We are interested in utilizing the clique polynomials of complete graphs on Ωτ. To this end, we set

WM=spanC0(τ),C1(τ),,CM(τ),

as a finite subspace of

Lw2(Ωτ)={u:ΩτR:uis measurable anduw<}.

Here, the related norm and its weighing function are defined by

uw2=Ωτ|u(τ)|2w(τ)dτ,w(τ):=1|Ωτ|.

Obviously, WM of finite dimensional (M+1) is a closed subspace of Lw2(Ωτ). Thus, for an arbitrary function u(τ)Lw2(Ωτ), one can find the finest (best) approximation uWM in the sense that

u(τ)u(τ)wu(τ)v(τ)w,vWM. (2.2)

We can expand an arbitrary function u(τ)Lw2(Ωτ) as an infinite series in terms of clique polynomials Cm(τ) in (2.1). However, we practically utilize a finite number of elements and restrict the discussion to the subspace WM. Therefore, we approximate u(τ) as follows

u(τ)uM(τ)=m=0MpmCm(τ)=CM(τ)PM,τΩτ, (2.3)

where

PM=[p0p1pM]T,CM(τ)=[C0(τ)C1(τ)CM(τ)].

Here, we seek for the coefficients pm as unknowns to be determined. We next define the error function EM(τ)=u(τ)uM(τ). The next result indicates that the norm of error tends to zero if we increase M. We recall that a function with r continuous derivatives is called a C(r) function.

Theorem 2.1

Suppose thatuM(τ)=CM(τ)PMdenotes the best approximation tou(τ)in the spaceWMand letuC(M+1)(Ω¯τ)Lw2(Ωτ). Then, it holds

EM(τ)wu,M+1T0M+1(M+1)!,

whereu,M:=supτΩ¯τ|u(M)(τ)|andT0=max{τ0,1τ0}for aτ0Ω¯τ.

Proof

We first select an arbitrary point τ0Ω¯τ. We now expand the function u(τ) about τ0 giving us the following representation

u(τ)=u(τ0)+(ττ0)u(τ0)+(ττ0)2u(τ0)/2!++(ττ0)Mu(M)(τ0)/M!+RM+1(τ),

where RM+1(τ)=(ττ0)M+1u(M+1)(sτ)/(M+1)! denotes the remainder error term and sτ is between τ0 and τ. By defining UM(τ)=j=0M(ττ0)ju(j)(τ0)/j!, it is known from calculus theory [31] that the residual error satisfies

|u(τ)UM(τ)|=|RM+1(τ)|T0M+1u,M+1(M+1)!. (2.4)

Due to (2.2), we know that uM(τ) is the finest approximation out of WM to u(τ). So, we get

EM(τ)w2u(τ)v(τ)w2,vWM.

It is sufficient to select v(τ)=UM(τ)WM in the foregoing inequality to obtain

EM(τ)w2u(τ)UM(τ)w2=Ωτ|u(τ)UM(τ)|2w(τ)dτ.

If we use the result derived in (2.4), we arrive at

EM(τ)w2Ωτ|T0M+1u,M+1(M+1)!|2w(τ)dτ|T0M+1u,M+1(M+1)!|2Ωτw(τ)dτ.

The proof is completed by noting that Ωτw(τ)dτ=1 followed by taking the square root from both sides of the last relation. □

It is also not a difficult task to show that the vector of clique polynomials CM(τ) in (2.3) can be written as

CM(τ)=χM(τ)KM, (2.5)

where χM(τ) as the vector of monomials is given by

χM(τ)=[1ττ2τM],

and KM as a lower-triangular matrix is defined by

KM=((00)(10)(20)(M10)(M0)0(11)(21)(M11)(M1)00(22)(M12)(M2)0(M1M1)(MM1)0(MM))(M+1)×(M+1).

It can be clearly seen that det(KM)=j=0M(jj), which is equal to one. Therefore, KM in an invertible matrix.

On account of two former relations (2.3) and (2.5), we may express the approximated solution uM(τ) as

uM(τ)=χM(τ)KMPM. (2.6)

One can also prove that the derivatives of χM(τ) namely dνdτνχM(τ) are written in terms of itself. To be more precise, we have

dνdτνχM(τ)=χM(τ)(EM)ν,EM=(01000020000M0000)(M+1)×(M+1), (2.7)

for ν=1,2. Indeed, EM is called the differentiation matrix. A set of collocation points on Ωτ must be given to obtain the numerical solutions of BVPs (1.1) as well as (1.2). Instead of an uniform partitioning of Ωτ, we use the shifted zeros of the Chebyshev nodes given in the following

τξ=12(1xξ),ξ=1,2,,M+1, (2.8)

where xξ:=cos(2ξ1M+1π2) are the roots of the classical Chebyshev functions of the first kind.

3. Two matrix collocation techniques

We will propose two matrix collocation algorithms using the clique basis functions to solve the linear and nonlinear model problems (I) and (II) in (1.1) and (1.2) respectively. While the first procedure is applied directly to these models, in the second approach we first utilize the technique of quasilinearization to convert the nonlinear nonlocal equation (1.2) into a family of simpler model equations. We illustrate these algorithms in detail below.

3.1. Directly proposed approach

Supposedly, we can express the solution ω(τ) of model (I) and (II) in terms of clique functions. In view of (2.3), (2.5), and (2.6) we can write

ω(τ)WM(τ)=m=0MpmCm(τ)=χM(τ)KMPM,τΩτ, (3.1)

in which we have used χM(τ)=[1ττ2τM], KM is defined in the last section, and

PM=[p0p1pM]T,CM(τ)=[C0(τ)C1(τ)CM(τ)].

By using the former relations (2.3)-(2.6), we may express WM(τ) as

WM(τ)=CM(τ)PM=χM(τ)KMPM. (3.2)

In the latter relation, we differentiate twice with regard to variable τ. Utilizing the relation (2.7) to get

{WM(1)(τ)=χM(τ)EMKMPM,WM(2)(τ)=χM(τ)(EM)2KMPM. (3.3)

The following theorem states the ways that the approximate solutions WM(τ) and d2dτ2WM(τ) can be written in the matrix forms. We proceed by defining the following vectors

X=(χM(τ1)χM(τ2)χM(τM+1)),W=(WM(τ1)WM(τ2)WM(τM+1)),W(2)=(WM(2)(τ1)WM(2)(τ2)WM(2)(τM+1)). (3.4)

Theorem 3.1

The matrix representation forms ofdνdτνWM(τ),ν=0,2at the Chebyshev nodes(2.8)are given by

W=XMKMPM, (3.5)
W(2)=XM(EM)2KMPM. (3.6)

Proof

The main idea of proof is to place the points (2.8) into relations (3.2)-(3.3) followed by utilizing the defined vectors (3.4). □

Since the considered models involve an integral term, one needs to approximate it in the matrix form. To do so, we integrate the relation (3.2) over Ωτ to get

ΩτWM(p)dp=(ΩτχM(p))KMPM=IMKMPM, (3.7)

where the constant vector IM as the integral of χM(p) is IM:=[112131M+1].

3.1.1. The nonhomogeneous nonlocal model problem (I)

We proceed by inserting the set of Chebyshev nodes (2.8) into the model (1.1) to arrive at

f(01WM(p)dp)d2dτ2WM(τξ)=g(τξ),ξ=1,2,,M+1, (3.8)

where we have replaced ω(τ) by its approximation WM(τ). By using the matrix notations (3.6) and (3.7), we rewrite the latter equations (3.8) compactly as

f(IMKMPM)W(2)=G. (3.9)

Here, the right-hand-side vector G is given by

G=(g(τ1)g(τ2)g(τM+1))(M+1)×1.

We now get the fundamental matrix equation by placing the relation (3.6) into the former equation (3.9) as

HPM=G,or[H;G], (3.10)

where

H:={f(IMKMPM)XM(EM)2}KM.

It can be readily seen that we need to solve a nonlinear matrix equation, which its degree of nonlinearity depends strictly on the positive function f. In the numerical part, different kinds of this function are considered. Besides, we use the nonlinear solver of Newton type to solve the nonlinear system (3.10).

3.1.2. The homogeneous nonlinear nonlocal model problem (II)

Similar to the first linear model (I), we consider the relation (1.2). By inserting the set of Chebyshev nodes (2.8) into it to get

f(01WM(p)dp)d2dτ2WM(τξ)+(τξ)(WM)2n+1(τξ)=0,ξ=1,2,,M+1. (3.11)

We next introduce the matrix L in the diagonal form and the zero vector Z as

L=((τ1)000(τ2)000(τM+1)),Z=(000).

Therefore, we now able to rewrite the system of equations (3.11) in a compact representation form as

f(IMKMPM)W(2)+LW2n+1=Z, (3.12)

where the vectors W and W(2) are defined in (3.4).

Remark 3.2

The powers of W in (3.12) can be handled in a matrix form by a recursive manner. To treat the term W2, we use the following relation

Remark 3.2

On account of (3.2), we can write the matrix Image 2 in the form

Remark 3.2

where

Remark 3.2

By repeating this process, one can easily find

Remark 3.2 (3.13)

With the aid of former approximation (3.13) and the preceding relations (3.5), (3.6), we set

3.1.2.

which is obtained by putting the relations (3.5)-(3.6) into the corresponding equation (3.12). We arrive at related fundamental matrix equation

HPM=Z,or[H;Z]. (3.14)

3.1.3. Treatment of boundary conditions

The fundamental matrix equations for both linear and nonlinear models are obtained in the last parts. The implementations of boundary conditions have so far been left undone. We need to incorporate the related boundary conditions (1.1) and (1.2) into the matrix equations (3.10) and (3.14) respectively. We consider the relation (3.2) and tend τ0,1 in order to implement the boundary conditions. In either case, we get

{H¯0PM=ω0,H¯0:=χM(0)KM,H¯1PM=ω1,H¯1:=χM(1)KM. (3.15)

Or equivalently we obtain two rows [H¯0;ω0] and [H¯1;ω1] to be added into the matrix equations. We now replace two rows of the fundamental matrix equations [H;G] in (3.10) or [H;Z] in (3.14) by two above new rows. Denote the modified matrix equations by [H¯;G¯] or [H¯;Z¯]. In each case, by solving the modified equation we get the clique coefficients p0,p1,,pM for each model problem (1.1) or (1.2).

3.2. The quasilinearization approach

This part is devoted to applying first the common quasilinearization method (QLM) to the nonlinear and nonhomogeneous nonlocal model (1.2) to get a family of linearlized model equations. An analogue conclusion can be drawn for the model (I) as a special case of (II). The QLM has been successfully applied to many important nonlinear equations in the literature, we refer to [32], [33], [34], [35] for more information.

Let by ωs(τ) we denote the quasilinear solution and ω0(τ) be a rough approximation to ω(τ). Applying the QLM to the original nonlinear nonlocal model problem (1.2) we get the following

f(01ωs(p)dp)d2dτ2ωs+1(τ)[(2n+1)(τ)ωs2n(τ)]ωs+1(τ)=2n(τ)ωs2n+1(τ), (3.16)

for s=1,2,. Note that during the QLM process we first assumed that the integral term f(01ω(p)dp) is a constant coefficient. Hence, we employed the QLM to the model and finally we replaced the unknown function ω(τ) by the previous approximation ωs(τ). It should be emphasized that the initial approximation at s=0 can not be taken as a zero function in f(01ωs(p)dp). With the quasilinear model (3.16), the same boundary conditions as (1.2) are given

ωs+1(0)=ω1,ωs+1(1)=ω1. (3.17)

Remark 3.3

A similar technique can be applied to the first model problem (I) in (1.1) as a special case of model (II). In this case we get the following quasilinear models

{f(01ωs(p)dp)d2dτ2ωs+1(τ)=g(τ),ωs+1(0)=ω1,ωs+1(1)=ω1.s=1,2,.

For simplicity of exposition, we utilize the following notations for the quasilinear models (3.16)

ls(τ):=[(2n+1)(τ)ωs2n(τ)]/f(01ωs(p)dp),gs(τ):=2n(τ)ωs2n+1(τ)/f(01ωs(p)dp).

So, we may rewrite the equations (3.16) together with boundary conditions (3.17) into a concise form as

{d2dτ2ωs+1(τ)+ls(τ)ωs+1(τ)=gs(τ),ωs+1(0)=ω1,ωs+1(1)=ω1.s=1,2,. (3.18)

We now apply the direct spectral clique collocation approach to the above family of equations. To this end, we suppose that the approximate solution Ws,M(τ) to the true solution ωs(τ) of (3.18) is already computed in the iteration s1. In the next iteration and according to (3.1), we try to find a solution in terms of clique function as

ωs+1(τ)Ws+1,M(τ)=m=0Mpm(s)Cm(τ)=χM(τ)KMPM(s),τΩτ,

where we set PM(s):=[p0(s)p1(s)p2(s)pM(s)]T and χM(τ), KM are as defined in (3.1) or (2.3). We then proceed by placing the Chebyshev nodes (2.8) into (3.18). In the matrix format, we obtain

Ws+1(2)+LsWs+1=Gs,s=1,2,,Gs=(gs(τ1)gs(τ2)gs(τM+1)), (3.19)

where

Ws+1=(Ws+1,M(τ1)Ws+1,M(τ2)Ws+1,M(τM+1)),Ws+1(2)=(Ws+1,M(2)(τ1)Ws+1,M(2)(τ2)Ws+1,M(2)(τM+1)),Ls=(ls(τ1)000ls(τ2)000ls(τM+1)).

The results of Theorem 3.1 are also valid here, in the sense that

Ws+1=XMKMPM(s),Ws+1(2)=XM(EM)2KMPM(s).

To get the linear fundamental matrix equation, it suffices to insert the proceeding relations into (3.19). Therefore, we arrive at

HsPM(s)=Gs,or[Hs;Gs],s=1,2,, (3.20)

where

Hs:={XM(EM)2+LsXM}KM.

To finalize the process, we require to implement the boundary conditions the matrix formats as we did before in (3.15) in the direct collocation technique. In this case, by replacing two rows of [Hs;Gs] the resulting modified matrix equation will be denoted by [H¯s;G¯s] for s=1,2,. Based on solving this linear system the unknown clique coefficients are found. In contrast to the direct approaches previously described, we here just solve a linear algebraic system rather than a nonlinear one. We refer to the latter technique as QLM-clique scheme.

4. Implementation and graphical illustrations

A set of computational results is performed to show the accuracy of the presented direct and QLM-clique collocation matrix techniques and support the theoretical findings. The benefits of these attempts will be presented through comparisons of results in the model problems obtained by these matrix methods and the outcomes of other existing numerical techniques. All experimental simulations were conducted on an ASUS laptop computer with a 2.2 GHz Intel Core i7 CPU and 16 GB RAM. We utilized Matlab software version 2021a.

In order to measure the quality of approximations, the absolute error between the exact solution ω(τ) and the numerical solutions WM(τ) and Ws,M(τ) are defined as follows

EM(τ):=|ω(τ)WM(τ)|,Es,M(τ):=|ω(τ)Ws,M(τ)|,τΩτ. (4.1)

We also calculate the norms (for a fixed s) of the former error terms (4.1) as follows

EE(M):=maxτΩτEM(τ),Es,Es,(M):=maxτΩτEs,M(τ).

The following expressions are further used to calculate the obtained order of convergence (OC) related to both numerical techniques given by

OC:=log2(E(M)E(2M)),OCs,:=log2(Es,(M)Es,(2M)). (4.2)

Test example 4.1

The first test case is devoted to a non-homogeneous model in the form (1.1) as given by [4], [10], [11]

(01ω(p)dp)1/3d2dτ2ω(τ)=6τ41/3,τΩτ,

and with the boundary conditions ω(0)=0 and ω(1)=1. One can verify that the true solution is ω(τ)=τ3.

For this example, we set M=3 and use the direct clique-collocation approach (3.10). By using the four collocation points {321/8434,467/1513,1046/1513,1567/1629} and solving the modified fundamental matrix equation [H¯;G¯] we get the unknown coefficients as

P3=(1.0,3.0,3.0,1.0)T.

Hence, the approximate solution is obtained by considering the clique vector C3(τ) as

W3(τ)=C3(τ)P3=(11+τ1+2τ+τ21+3τ+3τ2+τ3)(1331)=τ3,

which is clearly the exact solution. Note that the required CPU time for M=3 by the direct clique collocation method is about 2 seconds. We also notice that the measured time is taken to solve the final fundamental matrix equation (3.20).

For further validation, a comparison is made between the numerical outcomes gained by the direct collocation technique (3.10) and the results obtained via the variational iteration method (VIM) [4] with 10 iterations in Table 1. The numerical results are obtained with M=3 and evaluated at some points τ[0,1]. The exact solutions are also tabulated in the third column. Note that the last column shows the absolute errors (AE) achieved by VIM. It can be readily observed that the present technique with a lower computational cost performs extremely better than VIM.

Table 1.

Numerical/exact solutions in Test Example 4.1 with M = 3 and diverse τ ∈ Ωτ.

x Clique
VIM [4]
W3(τ) Exact E3(τ) u10 AE
0.1 0.000999999999958 0.001 4.1654014 × 10−14 0.0010252914 2.5 × 10−5
0.2 0.007999999999917 0.008 8.3121066 × 10−14 0.0080490501 4.9 × 10−5
0.3 0.026999999999879 0.027 1.2068369 × 10−13 0.0270697430 7.0 × 10−5
0.4 0.063999999999849 0.064 1.5106849 × 10−13 0.0640858376 8.6 × 10−5
0.5 0.124999999999829 0.125 1.7100210 × 10−13 0.1250958009 9.6 × 10−5
0.6 0.215999999999823 0.216 1.7721113 × 10−13 0.2160981001 9.8 × 10−5
0.7 0.342999999999834 0.343 1.6642221 × 10−13 0.3430912024 9.1 × 10−5
0.8 0.511999999999865 0.512 1.3536194 × 10−13 0.5120735751 7.4 × 10−5
0.9 0.728999999999919 0.729 8.0756957 × 10−14 0.7290436852 4.4 × 10−5

Test example 4.2

We now consider the homogeneous model in the form (1.2). By taking f(t)=1t and n=2, we have the following model [4], [10], [11]

(01ω(p)dp)1d2dτ2ω(τ)+38(21)ω5(τ)=0,τΩτ.

The given boundary conditions are ω(0)=1 and ω(1)=12. The exact solution is given by ω(τ)=1τ+1.

We first set M=5. Using the direct clique collocation approach (3.14), we get the approximate solution

W5(τ)=0.02973645463τ5+0.1247582345τ40.2506226733τ3+0.3614999396τ20.498792265τ+1.0.

Utilizing the same number of clique bases, we employ the second linearized QLM-clique technique with s=5 and the initial approximation ω0(τ)=1τ/2. The obtained approximation is

W5,5(τ)=0.02973645162τ5+0.124758223τ40.2506226538τ3+0.3614999168τ20.4987922532τ+1.0.

It is evident that the coefficients of both solutions are coincided up to 8 number of digits. To see the effect of using different initial approximations, we take ω0(τ)=1. In this case, we get

W5,5(τ)=0.02973644636τ5+0.1247582027τ40.2506226196τ3+0.3614998768τ20.4987922323τ+1.0,

which is approximately the same as the last one.

The profile of approximate solutions W5(τ) and W5,5(τ) together with related exact solution are depicted in Fig. 1, the left picture. The related achieved absolute errors obtained via both approaches are also depicted in the same figure, the right part. We emphasize that we can obtain more accuracy by increasing M. To justify this fact, we use M=8 and M=12 in the QLM-clique technique. The achieved absolute errors for two latter values of M are also depicted in Fig. 1.

Figure 1.

Figure 1

Approximate solutions versus exact one obtained via clique/QLM-clique collocation approach (left) and the associated absolute errors (right) in Test Example 4.2 with M = 5,8,12, and s = 5.

To validate the obtained result, let us mention the following approximate solution obtained via the combined Green's function and optimal homotopy analysis method GF-OHAM [10], [11]

ϕ2(x)=10.4973x+0.3737x20.3060x3+0.2235x40.1258x5+0.05148x60.0153x7+0.0033x80.00055x9+0.0000646x10.

The corresponding approximation attained via QLM-clique with M=10 is given by

W5,10(τ)=1.00.4999995τ+0.37498269τ20.31223646τ3+0.2712800τ40.23535132τ5+0.19050825τ60.13024817τ7+0.066533613τ80.0216455τ9+0.0032831897τ10.

Note, the same result is obtained by the direct clique approach, but we omit it to save space. These approximate solutions can also be compared with the series expansion of the exact solution given by

ω(τ)=1τ+1112τ+38τ2516τ3+35128τ4.

Table 2 shows some comparisons with two available existing numerical procedures. For this purpose, we use the VIM [4] and the GF-OHAM [10].

Table 2.

Numerical/exact solutions in Test Example 4.2 utilizing M = 5 and diverse τ ∈ Ωτ.

x QLM-clique
VIM [4]
GF-OHAM [10]
W5,5(τ) Exact E5(τ) u3 AE ϕ2 E2
0.1 0.953497330 0.953462589245592 3.47 × 10−5 0.9535746906 1.1 × 10−4 0.953715758 2.53 × 10−4
0.2 0.912886662 0.912870929175277 1.57 × 10−5 0.9130017937 1.3 × 10−4 0.913348055 4.77 × 10−4
0.3 0.877068787 0.877058019307029 1.08 × 10−5 0.8773763380 3.2 × 10−4 0.877702187 6.44 × 10−4
0.4 0.845172545 0.845154254728517 1.83 × 10−5 0.8454589061 3.0 × 10−4 0.845886767 7.32 × 10−4
0.5 0.816519146 0.816496580927726 2.26 × 10−5 0.8167992837 3.0 × 10−4 0.817233417 7.36 × 10−4
0.6 0.790586484 0.790569415042095 1.71 × 10−5 0.7909250558 3.6 × 10−4 0.791235825 6.66 × 10−4
0.7 0.766973456 0.766964988847370 8.47 × 10−6 0.7672832340 3.2 × 10−4 0.767504100 5.39 × 10−4
0.8 0.745364273 0.745355992499930 8.28 × 10−6 0.7457397214 3.8 × 10−4 0.745731089 3.75 × 10−4
0.9 0.725492783 0.725476250110012 1.65 × 10−5 0.7257126136 2.3 × 10−4 0.725667948 1.91 × 10−4

In the next simulation results, we compare the performance of two proposed matrix algorithms in terms of efficiency and numerical order of convergence (OC). To this end, different values of M=2j, j=0,1,2,3,4 are utilized. The error norms E and Es, for s=5 related to test Example 4.2 are tabulated in Table 3. The spent CPU times measured in seconds are further presented in this table. Besides, the estimated OC for these error norms are shown in Table 3. Let us emphasize that we could not obtain reasonable outcomes in the direct approach for M=16, so we have not reported the results in this case. It can be obviously realized that the estimated OC of both matrix collocation strategies has exponential behavior as proved in Theorem 2.1. However, the CPU times reported in Table 3 show that the QLM-clique matrix algorithm is more efficient than the direct collocation approach.

Table 3.

The results of maximum absolute error norms, the corresponding estimated order of convergence, and CPU times, in Test Example 4.2 with diverse M.

M Clique
QLM-clique
E OC CPU(s) E5, OC5, CPU(s)
1 3.7814 × 10−2 0.29995 3.7814 × 10−2 0.37005
2 6.4447 × 10−3 2.5527 0.83433 6.4447 × 10−3 2.5527 0.41440
4 2.0937 × 10−5 4.9440 2.90217 2.0938 × 10−4 4.9440 0.50689
8 1.5987 × 10−7 10.355 15.5894 1.6031 × 10−7 10.351 0.72272
16 2.1024 × 10−9 6.2527 1.30033

Test example 4.3

In the third test study we again consider to the homogeneous model with f(t)=1t2 and n=1 in the form (1.2). Thus, we get [10], [11]

(01ω(p)dp)2d2dτ2ω(τ)+(2ln2)2ω3(τ)=0,τΩτ.

The accompanied boundary conditions given as ω(0)=1 and ω(1)=12. Here, the function ω(τ)=1τ+1 is known as the exact solution to this model.

The approximate solutions using M=8 via the direct clique and QLM-clique matrix collocation procedures obtained as follows respectively

W8(τ)=0.03299843825τ80.182257207τ7+0.4642505855τ60.7525294686τ5+0.9251400828τ40.9863217331τ3+0.9986653453τ20.9999460432τ+1.0,

and

W5,8(τ)=0.032985326τ80.18218723τ7+0.46408212τ60.75228112τ5+0.92487946τ40.98610858τ3+0.99851115τ20.99988113τ+1.0.

Note that in the latter QLM-clique solution, we have used the initial approximation ω0(τ)=1τ and s=5 was taken as before. Clearly, one sees a good alignment between the given coefficients. The graphical illustrations of the foregoing approximations are shown in Fig. 2. Besides, the graphics of related absolute errors E8(τ) and E5,8(τ) are presented in this figure.

Figure 2.

Figure 2

Approximate solutions versus exact one obtained via clique/QLM-clique collocation approach (left) and the associated absolute errors (right) in Test Example 4.3 with M = 8, and s = 5.

Similar to the second test case, we compare the result of the proposed method with the result reported via GF-OHAM. The approximate solution obtained by this scheme is [10], [11]

ϕ2(x)=11.00399x+0.995127x20.90086x3+0.655261x40.338986x5+0.115228x60.0246916x7+0.00308645x80.00017147x9.

In Table 4, a comparison between W5,5(τ) and the above solution ϕ2 evaluated at some point τΩτ is reported. Additionally, the associated absolute errors E5,5(τ) and E2=|uϕ2| are presented in Table 4. Obviously, the obtained solution of degree 5 is more accurate than the approximation of degree 9 obtained by using the GF-OHAM [10], [11].

Table 4.

Numerical/exact solutions in Test Example 4.3 with M = 5 and diverse τ ∈ Ωτ.

x QLM-clique
GF-OHAM [10], [11]
W5,5(τ) Exact E5,5(τ) ϕ2 E2
0.1 0.909221629705822 0.909090909090909 1.3072 × 10−4 0.908713383 3.77 × 10−4
0.2 0.833390455620759 0.833333333333333 5.7122 × 10−5 0.832746652 5.86 × 10−4
0.3 0.769267982919968 0.769230769230769 3.7214 × 10−5 0.768603045 6.27 × 10−4
0.4 0.714350231166983 0.714285714285714 6.4517 × 10−5 0.713705107 5.80 × 10−4
0.5 0.666746826500040 0.666666666666667 8.0160 × 10−5 0.666157571 5.09 × 10−4
0.6 0.625060093818403 0.625000000000000 6.0094 × 10−5 0.624561470 4.38 × 10−4
0.7 0.588264148968677 0.588235294117647 2.8855 × 10−5 0.587870965 3.64 × 10−4
0.8 0.555583990931140 0.555555555555556 2.8435 × 10−5 0.555285414 2.70 × 10−4
0.9 0.526374594006055 0.526315789473684 5.8805 × 10−5 0.526170109 1.45 × 10−4

Indeed, the approximate solution using M=9 obtained by utilizing the QLM-clique scheme is given by

W5,9(τ)=1.00.99992353τ+0.99949587τ20.99536662τ3+0.9698158τ40.87685961τ5+0.66908189τ60.38018454τ7+0.13663536τ80.022694623τ9.

On the other hand, the Maclaurin series form of the exact solution is ω(τ)=1τ+τ2τ3+. By looking at these solutions, we can easily conclude that the proposed approach has more accuracy than the other one.

Finally, the results of maximum absolute error norms as well as the elapsed CPU time (in seconds) related to both presented approaches are provided in Table 5. Along with these errors, we report the estimated OC. The results show that by increasing M the accuracy of the direct method is better than the QLM-clique procedure. However, as shown before, the latter approach is more efficient than the direct procedure especially when we use a larger problem size. For example for M=8 the time needed for the direct clique collocation is about eight times longer than the QLM-clique matrix method.

Table 5.

The results of maximum absolute error norms, the corresponding estimated order of convergence, and CPU times in Test Example 4.3 with diverse M.

M Clique
QLM-clique
E OC CPU(s) E5, OC5, CPU(s)
1 8.5780142 × 10−2 0.31551 8.5780142 × 10−2 0.38790
2 1.7280180 × 10−2 2.3115 1.46497 1.7283500 × 10−2 2.3112 0.43169
4 7.1513421 × 10−4 4.5948 3.39733 7.1999405 × 10−4 4.5853 0.51555
8 7.3183300 × 10−7 9.9325 54.0007 1.0248915 × 10−5 6.1344 0.70158

5. Conclusions

This study has proposed two matrix collocation techniques that rest upon (novel) clique functions of graphs for solving two classes of nonlinear, nonlocal, and two-point boundary value problems (BVPs). The first algorithm applied directly to the model problems while in the second approach, the given equation was first transformed into a sequence of quasilinear equations followed by solving them via the former direct algorithm. The convergence of the clique basis function is verified in a weighted L2 norm. The presented algorithms are applied to solve numerically three test examples with known true solutions for their order of convergence. The main achievements of the current study can be summarized in the following points:

  • The proposed direct clique matrix collocation approach is more accurate than two existing numerical procedures such as VIM [4] and GF-HAM [10].

  • The second QLM-clique matrix methodology as a combination of the quasilinearization and the direct matrix method is not only accurate but also computationally efficient in terms of elapsed CPU time, see Table 2, Table 5.

  • Besides, the outcomes presented in tables and figures show that both methods are exponentially convergent, which confirms the theoretical upper bound derived in Theorem 2.1.

The presented numerical approaches can be easily extended to solve diverse types of BVPs in science and engineering.

Funding

There is no funding.

CRediT authorship contribution statement

Mohammad Izadi: Conceptualization, Investigation, Methodology, Software, Validation, Visualization, Writing – original draft, Writing – review & editing. Jagdev Singh: Formal analysis, Validation, Writing – review & editing. Samad Noeiaghdam: Validation, Writing – review & editing.

Declaration of Competing Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Contributor Information

Mohammad Izadi, Email: izadi@uk.ac.ir.

Jagdev Singh, Email: jagdevsinghrathore@gmail.com.

Samad Noeiaghdam, Email: snoei@istu.edu.

Data availability

No data was used for the research described in the article.

References

  • 1.Lin Y., Enszer J.A., Stadtherr M.A. Enclosing all solutions of two-point boundary value problems for ODEs. Comput. Chem. Eng. 2008;32(8):1714–1725. [Google Scholar]
  • 2.Boyce W.E., DiPrima R.C., Meade D.B. John Wiley & Sons; 2021. Elementary Differential Equations and Boundary Value Problems. [Google Scholar]
  • 3.Cannon J.R., Galiffa D.J. A numerical method for a nonlocal elliptic boundary value problem. J. Integral Equ. Appl. 2008;20(2):243–261. [Google Scholar]
  • 4.Khuri S., Wazwaz A.M. A variational approach for a class of nonlocal elliptic boundary value problems. J. Math. Chem. 2014;52(5):1324–1337. [Google Scholar]
  • 5.Cannon J.R., Galiffa D.J. On a numerical method for a homogeneous, nonlinear, nonlocal, elliptic boundary value problem. Nonlinear Anal. 2011;74(5):1702–1713. [Google Scholar]
  • 6.Themistoclakis W., Vecchio A. On the numerical solution of some nonlinear and nonlocal boundary value problems. Appl. Math. Comput. 2015;255:135–146. [Google Scholar]
  • 7.Luongo A., Piccardo G. Non-linear galloping of sagged cables in 1: 2 internal resonance. J. Sound Vib. 1998;214(5):915–940. [Google Scholar]
  • 8.Bebernes J.W., Lacey A.A. Shear band for a non-local model of thermo-viscoelastic flows. Adv. Math. Sci. Appl. 2005;15:265–282. [Google Scholar]
  • 9.Stánczy R. Nonlocal elliptic equations. Nonlinear Anal. 2001;47(5):3579–3584. [Google Scholar]
  • 10.Singh R. An iterative technique for solving a class of local and nonlocal elliptic boundary value problems. J. Math. Chem. 2020;198 [Google Scholar]
  • 11.Singh H. An efficient technique based on the HAM with Green's function for a class of nonlocal elliptic boundary value problems. Comput. Methods Differ. Equ. 2021;9:722–735. [Google Scholar]
  • 12.Singh H. Solving a class of local and nonlocal elliptic boundary value problems arising in heat transfer. Heat Transf. 2022;51:1524–1542. [Google Scholar]
  • 13.Izadi M., Yüzbaşı Ş., Adel W. Accurate and efficient matrix techniques for solving the fractional Lotka-Volterra population model. Physica A. 2022;600 [Google Scholar]
  • 14.Noor Z.A., Talib I., Abdeljawad T., Alqudah M.A. Numerical study of Caputo fractional-order differential equations by developing new operational matrices of Vieta-Lucas polynomials. Fractal Fract. 2022;6(2):79. [Google Scholar]
  • 15.Izadi M. A combined approximation method for nonlinear foam drainage equation. Sci. Iran. 2022;29(1):70–78. [Google Scholar]
  • 16.Ahmed S.S., MohammedFaeq S.J. Bessel collocation method for solving Fredholm-Volterra integro-fractional differential equations of multi-high order in the Caputo sense. Symmetry. 2021;13(12) [Google Scholar]
  • 17.Izadi M., Yüzbaşı Ş., Adel W. Two novel Bessel matrix techniques to solve the squeezing flow problem between infinite parallel plates. Comput. Math. Math. Phys. 2021;61(12):2034–2053. [Google Scholar]
  • 18.Dwivedi K.D., Singh J. Numerical solution of two-dimensional fractional-order reaction advection sub-diffusion equation with finite-difference Fibonacci collocation method. Math. Comput. Simul. 2021;181:38–50. [Google Scholar]
  • 19.Youssri Y.H., Hafez R.M. Exponential Jacobi spectral method for hyperbolic partial differential equations. Math. Sci. 2019;13(4):347–354. [Google Scholar]
  • 20.Izadi M. A computational algorithm for simulating fractional order relaxation-oscillation equation. SeMA J. 2022;79(4):647–661. [Google Scholar]
  • 21.Razavi M., Hosseini M.M., Salemi A. Error analysis and Kronecker implementation of Chebyshev spectral collocation method for solving linear PDEs. Comput. Methods Differ. Equ. 2022;10(4):914–927. [Google Scholar]
  • 22.Öztürk Y. Numerical solution of systems of differential equations using operational matrix method with Chebyshev polynomials. J. Taibah Univ. Sci. 2018;12(2):155–162. [Google Scholar]
  • 23.Izadi M., Roul P. A highly accurate and computationally efficient technique for solving the electrohydrodynamic flow in a circular cylindrical conduit. Appl. Numer. Math. 2022;181:110–124. [Google Scholar]
  • 24.Baleanu D., Shiri B., Srivastava H.M., Al Qurashi M. A Chebyshev spectral method based on operational matrix for fractional differential equations involving non-singular Mittag-Leffler kernel. Adv. Differ. Equ. 2018;2018 [Google Scholar]
  • 25.Abbasi Z., Izadi M., Hosseini M.M. A highly accurate matrix method for solving a class of strongly nonlinear BVP arising in modeling of human shape corneal. Math. Methods Appl. Sci. 2023;46(2):1511–1527. [Google Scholar]
  • 26.Kumbinarasaiah S. A new approach for the numerical solution for the non-linear Klein–Gordon equation. SeMA J. 2020;77:435–456. [Google Scholar]
  • 27.Adel W., Kumbinarasaiah S. A new clique polynomial approach for fractional partial differential equations. Int. J. Nonlinear Sci. Numer. Simul. 2022 doi: 10.1515/ijnsns-2021-0258. [DOI] [Google Scholar]
  • 28.Kumbinarasaiah S., Preetham M.P. A study on homotopy analysis method and clique polynomial method. Comput. Methods Differ. Equ. 2022;10(3):774–788. [Google Scholar]
  • 29.Wallis W.D. Springer Science & Business Media; 2007. A Beginner's Guide to Graph Theory. [Google Scholar]
  • 30.Hoede C., Li X. Clique polynomials and independent set polynomials of graphs. Discrete Math. 1994;125:219–228. [Google Scholar]
  • 31.Stewart G.W. SIAM; 1996. Afternotes on Numerical Analysis, vol. 49. [Google Scholar]
  • 32.Izadi M., Srivastava H.M. Generalized Bessel quasilinearlization technique applied to Bratu and Lane-Emden type equations of arbitrary order. Fractal Fract. 2021;5(4):179. [Google Scholar]
  • 33.Zare F., Heydari M., Loghmani G.B. Quasilinearization-based Legendre collocation method for solving a class of functional Volterra integral equations. Asian-Eur. J. Math. 2023;16(05) [Google Scholar]
  • 34.Hu B., Wang Z., Xu M., Wang D. Quasilinearization method for an impulsive integro-differential system with delay. Math. Biosci. Eng. 2022;19(1):612–623. doi: 10.3934/mbe.2022027. [DOI] [PubMed] [Google Scholar]
  • 35.Izadi M., Yüzbaşı Ş., Noeiaghdam S. Approximating solutions of non-linear Troesch's problem via an efficient quasi-linearization Bessel approach. Mathematics. 2021;9(16):1841. [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

No data was used for the research described in the article.


Articles from Heliyon are provided here courtesy of Elsevier

RESOURCES