Loading [MathJax]/jax/output/SVG/jax.js
Technical note

Solving problems involving numerical integration (Ⅱ): Modified Simpson's methods for equal intervals of odd numbers


  • Received: 06 July 2023 Revised: 27 July 2023 Accepted: 09 August 2023 Published: 17 August 2023
  • The trapezium and Simpson's methods are widely used for numerical integration. In most circumstances, Simpson's method is more accurate than the trapezium method but only applicable to cases with equal intervals of even numbers. This technical note reports the formulation of two modified Simpson's methods, the trapezium-corrected Simpson's method (TCSM) and cubic-corrected Simpson's method (CCSM), as general-purpose symmetric formulas to solve numerical integrations with equal intervals of odd numbers (n ≥ 5) with the same level of accuracy as that of Simpson's method applied to the even number near n. Error analysis in terms of the order of error bound and case studies in this note demonstrate and validate the usefulness of the proposed formulas for solving different types of theoretical problems and real-world applications. In terms of accuracy of approximation for cases with equal intervals of odd numbers, CCSM performs better than TCSM by at least one order in error bound whereas TCSM performs better than the trapezium method by at least one order in error bound.

    Citation: William Guo. Solving problems involving numerical integration (Ⅱ): Modified Simpson's methods for equal intervals of odd numbers[J]. STEM Education, 2023, 3(3): 171-189. doi: 10.3934/steme.2023011

    Related Papers:

    [1] Rizwan Rizwan, Jung Rye Lee, Choonkil Park, Akbar Zada . Qualitative analysis of nonlinear impulse langevin equation with helfer fractional order derivatives. AIMS Mathematics, 2022, 7(4): 6204-6217. doi: 10.3934/math.2022345
    [2] Weerawat Sudsutad, Chatthai Thaiprayoon, Sotiris K. Ntouyas . Existence and stability results for $ \psi $-Hilfer fractional integro-differential equation with mixed nonlocal boundary conditions. AIMS Mathematics, 2021, 6(4): 4119-4141. doi: 10.3934/math.2021244
    [3] Thabet Abdeljawad, Sabri T. M. Thabet, Imed Kedim, Miguel Vivas-Cortez . On a new structure of multi-term Hilfer fractional impulsive neutral Levin-Nohel integrodifferential system with variable time delay. AIMS Mathematics, 2024, 9(3): 7372-7395. doi: 10.3934/math.2024357
    [4] Murugesan Manigandan, R. Meganathan, R. Sathiya Shanthi, Mohamed Rhaima . Existence and analysis of Hilfer-Hadamard fractional differential equations in RLC circuit models. AIMS Mathematics, 2024, 9(10): 28741-28764. doi: 10.3934/math.20241394
    [5] Rizwan Rizwan, Jung Rye Lee, Choonkil Park, Akbar Zada . Switched coupled system of nonlinear impulsive Langevin equations with mixed derivatives. AIMS Mathematics, 2021, 6(12): 13092-13118. doi: 10.3934/math.2021757
    [6] Ugyen Samdrup Tshering, Ekkarath Thailert, Sotiris K. Ntouyas . Existence and stability results for a coupled system of Hilfer-Hadamard sequential fractional differential equations with multi-point fractional integral boundary conditions. AIMS Mathematics, 2024, 9(9): 25849-25878. doi: 10.3934/math.20241263
    [7] Kaihong Zhao, Shuang Ma . Ulam-Hyers-Rassias stability for a class of nonlinear implicit Hadamard fractional integral boundary value problem with impulses. AIMS Mathematics, 2022, 7(2): 3169-3185. doi: 10.3934/math.2022175
    [8] Sabri T. M. Thabet, Sa'ud Al-Sa'di, Imed Kedim, Ava Sh. Rafeeq, Shahram Rezapour . Analysis study on multi-order $ \varrho $-Hilfer fractional pantograph implicit differential equation on unbounded domains. AIMS Mathematics, 2023, 8(8): 18455-18473. doi: 10.3934/math.2023938
    [9] Arjumand Seemab, Mujeeb ur Rehman, Jehad Alzabut, Yassine Adjabi, Mohammed S. Abdo . Langevin equation with nonlocal boundary conditions involving a $ \psi $-Caputo fractional operators of different orders. AIMS Mathematics, 2021, 6(7): 6749-6780. doi: 10.3934/math.2021397
    [10] A.G. Ibrahim, A.A. Elmandouh . Existence and stability of solutions of $ \psi $-Hilfer fractional functional differential inclusions with non-instantaneous impulses. AIMS Mathematics, 2021, 6(10): 10802-10832. doi: 10.3934/math.2021628
  • The trapezium and Simpson's methods are widely used for numerical integration. In most circumstances, Simpson's method is more accurate than the trapezium method but only applicable to cases with equal intervals of even numbers. This technical note reports the formulation of two modified Simpson's methods, the trapezium-corrected Simpson's method (TCSM) and cubic-corrected Simpson's method (CCSM), as general-purpose symmetric formulas to solve numerical integrations with equal intervals of odd numbers (n ≥ 5) with the same level of accuracy as that of Simpson's method applied to the even number near n. Error analysis in terms of the order of error bound and case studies in this note demonstrate and validate the usefulness of the proposed formulas for solving different types of theoretical problems and real-world applications. In terms of accuracy of approximation for cases with equal intervals of odd numbers, CCSM performs better than TCSM by at least one order in error bound whereas TCSM performs better than the trapezium method by at least one order in error bound.



    The Sturm-Liouville problem arises within many areas of science, engineering and applied mathematics. It has been studied for more than two decades. Many physical, biological and chemical processes are described using models based on it (see [1,2,3], [8], [9] and [11]).

    For the homogeneous Sturm-Liouville problem with nonlocal conditions you can see [2], [9] and [11,12,13,14,15]. For the nonhomogeneous equation see [7]. In [7] the authors studied the nonhomogeneous Sturm-Liouville boundary value problem of the differential equation

    x(t)+m(t)=λ2x(t),t(0,π),

    with the conditions

    x(0)=0,x(ξ)+λx(ξ)=0,ξ(0,π].

    Here, we are concerned, firstly, with the nonlocal problem of the nonlinear differential inclusion

    x(t)F(t,λx(t)),a.e.t(0,π), (1.1)

    with the nonlocal conditions (η>ξ)

    x(0)λx(0)=0andηξx(τ)dτ=0,ξ[0,π),η(0,π]. (1.2)

    For

    h(t,λ)+λ2x(t)=f(t,λx(t))F(t,λx(t)),

    we study the existence of multiple solutions (eignevalues and eignefunctions) of the nonhomogeneous Sturm-Liouville problem of the differential equation

    x(t)+h(t,λ)=λ2x(t),t(0,π), (1.3)

    with the conditions (1.2).

    The special case of the nonlocal condition (1.2)

    x(0)λx(0)=0andπ0x(τ)dτ=0, (1.4)

    will be considered.

    Consider the nonlocal boundary value problem of the nonlinear differential inclusion (1.1)-(1.2) under the following assumptions.

    (ⅰ) The set F(t,x) is nonempty, closed and convex for all (t,x)[0,1]×R×R.

    (ⅱ) F(t,x) is measurable in t[0,1] for every x,yR.

    (ⅲ) F(t,x) is upper semicontinuous in x and y for every t[0,1].

    (ⅳ) There exist a bounded measurable function m:[0,1]R and a constant λ, such that

    F(t,x)=sup{|f|:fF(t,x)}|m(t)|+λ2|x|.

    Remark 1. From the assumptions (i)-(iv) we can deduce that (see [1], [5] and [6]) there exists fF(t,x), such that

    (v) f:I×RR is measurable in t for every x,yR and continuous in x for t[0,1] and there exist a bounded measurable function m:[0,π]R and a constant λ2 such that

    |f(t,x)||m(t)|+λ2|x|,

    and f satisfies the nonlinear differential equation

    x(t)=f(t,λx(t)),a.e.t(0,π). (2.1)

    So, any solution of (2.1) is a solution of (1.1).

    (ⅵ) λ(ηξ)2,λR.

    (ⅶ)

    2(1+|λ|π)π2+π|A|λ2π<1.

    For the integral representation of the solution of (2.1) and (1.2) we have the following lemma.

    Lemma 2.1. If the solution of the problem (2.1) and (1.2) exists, then it can be represented by the integral equation

    x(t)=2(1+λt)A[η0(ηs)22f(s,λx(s))dsξ0(ξs)22f(s,λx(s))ds]t0(ts)f(s,λx(s))ds, (2.2)

    where A=(ηξ)[2+λ(ηξ)]0.

    Proof. Integrating both sides of Eq (2.1) twice, we obtain

    x(t)x(0)tx(0)=t0(ts)f(s,λx(s))ds (2.3)

    and using the assumption x(0)λx(0)=0, we obtain

    x(0)=1λx(0). (2.4)

    The assumption ηξx(τ)dτ=0 implies that

    x(0)ηξdτ+x(0)ηξτdτ=ηξτ0(τs)f(s,λx(s))dsdτ,(ηξ)x(0)+(ηξ)22λx(0)=ξ0ηξ(τs)dτf(s,λx(s))ds+ηξηs(τs)dτf(s,λx(s))ds,(ηξ)[2+λ(ηξ)]2x(0)=ξ0[(ηs)22(ξs)22]f(s,λx(s))ds+ηξ(ηs)22f(s,λx(s))ds=η0(ηs)22f(s,λx(s))dsξ0(ξs)22f(s,λx(s))ds

    and we can get

    x(0)=2(ηξ)[2+λ(ηξ)][η0(ηs)22f(s,λx(s))dsξ0(ξs)22f(s,λx(s))ds]=2A[η0(ηs)22f(s,λx(s))dsξ0(ξs)22f(s,λx(s))ds]. (2.5)

    Substituting (2.5) into (2.4), we obtain

    x(0)=2λA[η0(ηs)22f(s,λx(s))dsξ0(ξs)22f(s,λx(s))ds]. (2.6)

    Now from (2.3), (2.5) and (2.6), we obtain

    x(t)=2(1+λt)A[η0(ηs)22f(s,λx(s))dsξ0(ξs)22f(s,λx(s))ds]t0(ts)f(s,λx(s))ds.

    To complete the proof, differentiate equation (2.2) twice, we obtain

    x(t)=2λA[η0(ηs)22f(s,λx(s))dsξ0(ξs)22f(s,λx(s))ds]t0f(s,λx(s))ds,

    and

    x(t)=f(t,λx(t)),a.e.t(0,T).

    Now

    x(0)=2λA[η0(ηs)22f(s,λx(s))dsξ0(ξs)22f(s,λx(s))ds],

    and

    λx(0)=2λA[η0(ηs)22f(s,λx(s))dsξ0(ξs)22f(s,λx(s))ds].

    From that, we get x(0)λx(0)=0.

    Now, to ensure that ηξx(τ)dτ=0,

    we have

    ηξ2(1+λt)A=2(ηξ)+λ(η2ξ2)A=(ηξ)[2+λ(ηξ)]A=1,

    from that, we obtain as before

    ηξx(τ)dτ=ηξ2(1+λτ)Adτ[η0(ηs)22f(s,λx(s))dsξ0(ξs)22f(s,λx(s))ds]ηξτ0(τs)f(s,λx(s))dsdτ,=η0(ηs)22f(s,λx(s))dsξ0(ξs)22f(s,λx(s))dsη0(ηs)22f(s,λx(s))ds+ξ0(ξs)22f(s,λx(s))ds=0.

    This proves the equivalence between the integral equation (2.2) and the nonlocal boundary value problem (1.1)-(1.2).

    Now, for the existence of at least one continuous solution for the problem of the integral equation (2.2), we have the following theorem.

    Theorem 2.1. Let the assumptions (v)-(vii) be satisfied, then there exists at least one solution xC[0,π] of the nonlocal boundary value problem (2.1) and (1.2). Moreover, from Remark 1, then there exists at least one solution xC[0,π] of the nonlocal boundary value problem (1.1)-(1.2).

    Proof. Define the set QrC[0,π] by

    Qr={xC:∥x∥≤r},r2(1+|λ|π)π2+πmL1|A|[2(1+|λ|π)π2+π]λ2π.

    It is clear that the set Qr is nonempty, closed and convex.

    Define the operator T associated with (2.2) by

    Tx(t)=2(1+λt)A[η0(ηs)22f(s,λx(s))dsξ0(ξs)22f(s,λx(s))ds]t0(ts)f(s,λx(s))ds.

    Let xQr, we have

    |Tx(t)|2(1+|λ|t)|A|[η0(ηs)22|f(s,λx(s))|ds+ξ0(ξs)22|f(s,λx(s))ds|]+t0(ts)|f(s,λx(s))|ds,2(1+|λ|π)π2|A|π0{|m(s)|+λ2|x(s)|}ds+ππ0{|m(s)|+λ2|x(s)|}ds,[2(1+|λ|π)π2|A|+π]{mL1+λ2πx},2(1+|λ|π)π2+π|A|{mL1+λ2πr}r,

    and we have

    2(1+|λ|π)π2+π|A|mL1r(12(1+|λ|π)π2+π|A|λ2π).

    Then T:QrQr and the class {Tx}Qr is uniformly bounded in Qr.

    In what follows we show that the class {Tx}, xQr is equicontinuous. For t1,t2[0,π],t1<t2 such that |t2t1|<δ, we have

    Tx(t2)Tx(t1)=2(1+λt2)A[η0(ηs)22f(s,λx(s))dsξ0(ξs)22f(s,λx(s))ds]t20(t2s)f(s,λx(s))ds2(1+λt1)A[η0(ηs)22f(s,λx(s))dsξ0(ξs)22f(s,λx(s))ds]t10(t2s)f(s,λx(s))ds,|Tx(t2)Tx(t1)|=|2(1+λt2)A[η0(ηs)22f(s,λx(s))dsξ0(ξs)22f(s,λx(s))ds]t20(t2s)f(s,λx(s))ds2(1+λt1)A[η0(ηs)22f(s,λx(s))dsξ0(ξs)22f(s,λx(s))ds]+t10(t1s)f(s,λx(s))ds|,2|λ|(t2t1)A[η0(ηs)22|f(s,λx(s))|ds+ξ0(ξs)22|f(s,λx(s))|ds]+(t2t1)t10|f(s,λx(s))|ds+πt2t1|f(s,λx(s))|ds,2|λ|(t2t1)π2Aπ0|f(s,λx(s))|ds+(t2t1)π0|f(s,λx(s))|ds+πt2t1|f(s,λx(s))|ds,2|λ|(t2t1)π2A{mL1+λ2x}+(t2t1){mL1+λ2x}+πt2t1{|m(s)|+λ2|x(s)|}ds.

    Hence the class of function {Tx}, xQr is equicontinuous. By Arzela-Ascolis [4] Theorem, we found that the class {Tx} is relatively compact.

    Now we prove that T:QrQr is continuous.

    Let {xn}Qr, such that xnx0Qr, then

    Txn(t)=2(1+λt)A[η0(ηs)22f(s,λxn(s))dsξ0(ξs)22f(s,λxn(s))ds]t0(ts)f(s,λxn(s))ds,

    and

    limnTxn(t)=limn{2(1+λt)A[η0(ηs)22f(s,λxn(s))dsξ0(ξs)22f(s,λxn(s))ds]t0(ts)f(s,λxn(s))ds}.

    Now, we have

    f(s,xn(s))f(s,x0(s))asn,

    and

    |f(s,λxn(s))|m(s)+λ2|xn|L1[0,π],

    then applying Lebesgue Dominated convergence theorem [4], we obtain

    limnTxn(t)=2(1+λt)A[η0(ηs)22limnf(s,λxn(s))dsξ0(ξs)22limnf(s,λxn(s))ds]t0(ts)limnf(s,λxn(s))ds,=2(1+λt)A[η0(ηs)22f(s,λx0(s))dsξ0(ξs)22f(s,λx0(s))ds]t0(ts)f(s,λx0(s))ds=F(x0).

    Then Txn(t)Tx0(t). Which means that the operator T is continuous.

    Since all conditions of Schauder theorem [4] are hold, then T has a fixed point in Qr, then the integral equation (2.2) has at least one solution xC[0,π].

    Consequently the nonlocal boundary value problem (2.1)-(1.2) has at least one solution xC[0,π]. Moreover, from Remark 1, then there exists at least one solution xC[0,π] of the nonlocal boundary value problem (1.1)-(1.2).

    Now, we have the following corollaries

    Corollary 1. Let λ2x(t)=f(t,λx(t))F(t,λx(t)). Let the assumptions of Theorem 2.1 be satisfied. Then there exists at lease one solution xC[0,π] of

    x(t)=λ2x(t),t(0,T).

    with the nonlocal condition (1.2). Moreover, from Remark 1, there exists at lease one solution xC[0,π] of the problem (1.1)-(1.2).

    Corollary 2. Let the assumptions of Theorem 2.1 be satisfied. Then there exists a solution xC[0,π] of the problem (2.1) and (1.4).

    Proof. Putting ξ=0 and η=π and applying Theorem 2.1 we get the result.

    Taking J=(0,π). Here, we study the existence of maximal and minimal solutions of the problem (2.1) and (1.2) which is equivalent to the integral equation (2.2).

    Definition 3.1. [10] Let q(t) be a solution x(t) of (2.2) Then q(t) is said to be a maximal solution of (2.2) if every solution of (2.2) on J satisfies the inequality x(t)q(t),tJ. A minimal solution s(t) can be defined in a similar way by reversing the above inequality i.e. x(t)s(t),tJ.

    We need the following lemma to prove the existence of maximal and minimal solutions of (2.2).

    Lemma 3.2. Let f(t,x) satisfies the assumptionsin Theorem 2.1 and let x(t),y(t) be continuous functions on J satisfying

    x(t)2(1+λt)A[η0(ηs)22f(s,λx(s))dsξ0(ξs)22f(s,λx(s))ds]t0(ts)f(s,λx(s))ds,y(t)2(1+λt)A[η0(ηs)22f(s,λy(s))dsξ0(ξs)22f(s,λy(s))ds]t0(ts)f(s,λy(s))ds

    where one of them is strict.

    Suppose f(t,x) is nondecreasing function inx. Then

    x(t)<y(t),tJ. (3.1)

    Proof. Let the conclusion (3.1) be false; then there exists t1 such that

    x(t1)=y(t1),t1>0

    and

    x(t)<y(t),0<t<t1.

    From the monotonicity of the function f in x, we get

    x(t1)2(1+λt1)A[η0(ηs)22f(s,λx(s))dsξ0(ξs)22f(s,λx(s))ds]t10(ts)f(s,λx(s))ds,<2(1+λt1)A[η0(ηs)22f(s,λy(s))dsξ0(ξs)22f(s,λy(s))ds]t10(ts)f(s,λy(s))ds<y(t1).

    This contradicts the fact that x(t1)=y(t1);then

    x(t)<y(t),tJ.

    Theorem 3.2. Let the assumptions of Theorem 2.1 besatisfied. Furthermore, if f(t,x) is nondecreasing function inx, then there exist maximal and minimal solutions of (2.2).

    Proof. Firstly, we shall prove the existence of maximal solution of (2.2). Let ϵ>0 be given. Now consider the integral equation

    xϵ(t)=2(1+λt)A[η0(ηs)22fϵ(s,λxϵ(s))dsξ0(ξs)22fϵ(s,λxϵ(s))ds]t0(ts)fϵ(s,λxϵ(s))ds, (3.2)

    where

    fϵ(t,xϵ(t))=f(t,xϵ(t))+ϵ.

    Clearly the function fϵ(t,xϵ) satisfies assumption (v) and

    |fϵ(t,xϵ)||m(t)|+λ2|x|+ϵ|m1(t)|+λ2|x|,|m1(t)|=|m(t)|+ϵ.

    Therefore, Equation (3.2) has a continuous solution xϵ(t) according to Theorem 2.1.

    Let ϵ1 and ϵ2 be such that 0<ϵ2<ϵ1<ϵ. Then

    xϵ1(t)=2(1+λt)A[η0(ηs)22fϵ1(s,λxϵ1(s))dsξ0(ξs)22fϵ1(s,λxϵ1(s))ds]t0(ts)fϵ1(s,λxϵ1(s))ds,=2(1+λt)A[η0(ηs)22(f(s,λxϵ1(s))+ϵ1)dsξ0(ξs)22(f(s,λxϵ1(s))+ϵ1)ds]t0(ts)(f(s,λxϵ1(s))+ϵ1)ds,>2(1+λt)A[η0(ηs)22(f(s,λxϵ1(s))+ϵ2)dsξ0(ξs)22(f(s,λxϵ1(s))+ϵ2)ds]t0(ts)(f(s,λxϵ1(s))+ϵ2)ds, (3.3)
    xϵ2(t)=2(1+λt)A[η0(ηs)22(f(s,λxϵ2(s))+ϵ2)dsξ0(ξs)22(f(s,λxϵ2(s))+ϵ2)ds]t0(ts)(f(s,λxϵ2(s))+ϵ2)ds. (3.4)

    Applying Lemma 3.2, then (3.3) and (3.4) imply that

    xϵ2(t)<xϵ1(t)fortJ.

    As shown before in the proof of Theorem 2.1, the family of functions xϵ(t) defined by Eq (3.2) is uniformly bounded and of equi-continuous functions. Hence by the Arzela-Ascoli Theorem, there exists a decreasing sequence ϵn such that ϵn0 as n, and limnxϵn(t) exists uniformly in I. We denote this limit by q(t). From the continuity of the function fϵn in the second argument, we get

    x(t)=limnxϵn(t)=2(1+λt)A[η0(ηs)22f(s,λq(s))dsξ0(ξs)22f(s,λq(s))ds]t0(ts)f(s,λq(s))ds,

    which proves that q(t) is a solution of (2.2).

    Finally, we shall show that q(t) is maximal solution of (2.2). To do this, let x(t) be any solution of (2.2). Then

    xϵ(t)=2(1+λt)A[η0(ηs)22fϵ(s,λxϵ(s))dsξ0(ξs)22fϵ(s,λxϵ(s))ds]t0(ts)fϵ(s,λxϵ(s))ds,=2(1+λt)A[η0(ηs)22(f(s,λxϵ(s))+ϵ)dsξ0(ξs)22(f(s,λxϵ(s))+ϵ)ds]t0(ts)(f(s,λxϵ(s))+ϵ)ds,>2(1+λt)A[η0(ηs)22f(s,λxϵ(s))dsξ0(ξs)22f(s,λxϵ(s))ds]t0(ts)f(s,λxϵ(s))ds. (3.5)

    Applying Lemma 3.2, then (2.2) and (3.5 imply that

    xϵ(t)>x(t)fortJ.

    From the uniqueness of the maximal solution (see [10]), it is clear that xϵ(t) tends to q(t) uniformly in tJasϵ0.

    In a similar way we can prove that there exists a minimal solution of (2.2).

    Here, we study the existence and some general properties of the eigenvalues and eigenfunctions of the problem of the homogeneous equation

    x(t)=λ2x(t),t(0,π), (4.1)

    with the nonlocal condition (1.2).

    Lemma 4.3. The eigenfunctions of the nonlocal boundary value problem (4.1) and (1.2) are in the form of

    xn(t)=cn(sin(π+4πn)t2(η+ξ)+cos(π+4πn)t2(η+ξ)),n=1,2,. (4.2)

    Proof. Firstly, we prove that the eigenvalues are

    λn=π+4πn2(η+ξ),n=1,2,. (4.3)

    The general solution of the problem (4.1) and (1.2) is given by

    x(t)=c1sinλt+c2cosλt. (4.4)

    Differentiating equation (4.4), we obtain

    x(t)=λc1cosλtλc2sinλt.

    Using the first condition, when t=0, we obtain

    c1=c2. (4.5)

    Integrating both sides of (4.4) from ξ to η, we obtain

    c1λcosλξc1λcosλη+c2λsinληc2λsinλξ=0.

    Substituting c1=c2, we obtain

    c1λcosλξc1λcosλη+c1λsinληc1λsinλξ=0. (4.6)

    Multiplying (4.6) by λc1, we obtain

    cosλξcosλη+sinληsinλξ=0,2sinλ(ξ+η)2sinλ(ηξ)2+2sinλ(ηξ)2cosλ(η+ξ)2=0,sinλ(ξ+η)2+cosλ(η+ξ)2=0,tanλ(ξ+η)2=1,λ(ξ+η)2=π4+nπ. (4.7)

    From (4.7), we deduce that

    λn=π+4πn2(η+ξ),n=1,2,.....

    Therefore, from (4.4) we can get

    xn(t)=cn(sin(π+4πn)t2(η+ξ)+cos(π+4πn)t2(η+ξ)),n=1,2,....

    Corollary 3. The eigenfunctions of the nonlocal boundary value problem (4.1) and (1.4) are in the form of

    xn(t)=cn(sin(1+4n)t2+cos(1+4n)t2),n=1,2,..... (4.8)

    Proof. Putting ξ=0 and η=π and applying Lemma 4.3 we obtain the result.

    Now, we study the existence of multiple solutions of the nonhomogeneous problem (1.3) and (1.2). Let x1,x2 be two solutions of the problem (1.3) and (1.2). Let u(t)=x1(t)x2(t), then the function u satisfy the Sturm-Liouville problem

    u(t)=λ2u(t)

    with the nonlocal conditions

    u(0)λu(0)=0andηξu(τ)dτ=0,ξ[0,π),η(0,π].

    So, the values of (eigenvalues) λn for the non zero solution of (4.1) and (1.2) is the same values (eigenvalues) of λn for the multiple solutions (eigenfunctions) of (1.3) and (1.2), i.e.

    λn=π+4πn2(η+ξ),n=1,2,.....

    Theorem 5.3. The multiple solutions (eigenfunctions) xn(t) of the problem (1.3) and (1.2) are given by

    xn(t)=An(sin(π+4πn)t2(η+ξ)+cos(π+4πn)t2(η+ξ))t0sin(π+4πn)(ts)2(η+ξ)π+4πn2(η+ξ)h(s,λ)ds. (5.1)

    Proof. Here we use the variation of parameter method to get the solution of (1.3) and (1.2). Assume that the solutions of (1.3) and (1.2) are given by

    xn(t)=A1cosλt+A2sinλt+xp(t). (5.2)

    So, we have

    x1(t)=cosλt,x2(t)=sinλt.

    Now, we can get W(x1,x2)=λ. Hence

    xp(t)=cosλtt0sinλsλh(s,λ)ds+sinλtt0cosλsλh(s,λ)ds,

    thus

    xp(t)=t0sinλ(ts)λh(s,λ)ds. (5.3)

    From (5.3) and (5.2), we obtain

    xn(t)=A1sin(π+4πn)t2(η+ξ)+A2cos(π+4πn)t2(η+ξ)t0sin(π+4πn)(ts)2(η+ξ)π+4πn2(η+ξ)h(s,λ)ds. (5.4)

    By using the first condition x(0)λx(0)=0, we get

    A1=A2,

    therefore the multiple solutions of the nonlocal problem (1.3) and (1.2) are given by

    xn(t)=An(sin(π+4πn)t2(η+ξ)+cos(π+4πn)t2(η+ξ))t0sin(π+4πn)(ts)2(η+ξ)(π+4πn)2(η+ξ)h(s,λ)ds,n=1,2,.....

    To complete the proof and to ensure that xn(t) is the solution of (1.3) and (1.2), we firstly prove that

    xn(t)+h(t,λ)=λ2xn(t).

    Differentiating (5.4) twice, we get

    xn(t)=Anπ+4πn2(η+ξ)(cos(π+4πn)t2(η+ξ)sin(π+4πn)t2(η+ξ))t0cos(π+4πn)(ts)2(η+ξ)h(s,λ)ds

    and

    xn(t)=An(π+4πn2(η+ξ))2(sin(π+4πn)t2(η+ξ)cos(π+4πn)t2(η+ξ))g(t)+π+4πn2(η+ξ)t0sin(π+4πn)(ts)2(η+ξ)h(s,λ)ds

    and

    xn(t)+h(t,λ)=An(π+4πn2(η+ξ))2(sin(π+4πn)t2(η+ξ)cos(π+4πn)t2(η+ξ))h(t,λ)+π+4πn2(η+ξ)t0sin(π+4πn)(ts)2(η+ξ)h(s,λ)ds+h(t,λ)=λ2xn(t).

    Also we have x(0)λx(0)=0.

    Example 1. Let h(t,λ)=λ2. Then we find that

    xp(t)=t0sinλ(ts)λλ2ds=cosλt1

    and the multiple solutions of the nonlocal problem (1.3) and (1.2) are given by

    xn(t)=A1sin(π+4πn)t2(η+ξ)+A2cos(π+4πn)t2(η+ξ)+cosλt1.

    Now consider the Riemann integral boundary condition (1.4).

    Corollary 4. The multiple solutions (eigenfunctions) xn(t) of the problem (1.3)-(1.4) are given by

    xn(t)=An(sin(1+4n)t2+cos(1+4n)t2)t0sin(1+4n)(ts)21+4n2h(s,λ)ds.

    Proof. In this special case, we put ξ=0 and η=π and applying Theorem 5.3 we get the result.

    Example 2. Let h(t,λ)=λ2. Then we find that

    xp(t)=t0sinλ(ts)λλ2ds=cosλt1,

    and the solution xn(t) of the problem (1.3)-(1.4) are given by

    xn(t)=An(sin(1+4n)t2+cos(1+4n)t2)+cosλt1.

    Here, we proved the existence of solutions xC[0,π] of the nonlocal boundary value problem of the differential inclusion (1.1) with the nonlocal condition (1.2).

    The maximal and minimal solutions of the problem (1.1)-(1.2) have been proved. The eigenvalues and eigenfunctions of the homogeneous and nonhomogeneous equations (4.1) and (1.3) with the nonlocal condition (1.2) have been obtained. Two examples have been studied to illustrate our results.

    We thank the referees for their constructive remarks and comments on our work which reasonably improved the presentation and the structure of the manuscript.

    The authors declare no conflict of interest.



    [1] Stewart, J., Calculus: Concepts and Contexts, 4th ed. 2019. Boston, USA: Cengage.
    [2] Guo, W.W., Essentials and Examples of Applied Mathematics, 2nd ed. 2020, Melbourne, Australia: Pearson.
    [3] Larson, R. and Edwards, B., Calculus, 12th ed. 2023, Boston, USA: Cengage.
    [4] Trim, D., Calculus for Engineers. 4th ed. 2008, Toronto, Canada: Pearson.
    [5] Sauer, T., Numerical Analysis, 2nd ed. 2014, Harlow, UK: Pearson.
    [6] Chapra, S.C., Applied Numerical Methods with MATLAB for Engineers and Scientists. 2005, Boston, USA: McGraw-Hill Higher Education.
    [7] Wheatley, G., Applied Numerical Analysis, 7th ed. 2004, Boston, USA: Pearson.
    [8] Stroud, K.A. and Booth, D.J., Engineering Mathematics. 7th ed. 2013, London, UK: Palgrave McMillian.
    [9] Guo, W., Solving problems involving numerical integration (Ⅰ): Incorporating different techniques. STEM Education, 2023, 3(2): 130–147. https://doi.org/10.3934/steme.2023009 doi: 10.3934/steme.2023009
    [10] Kalambet, Y., Kozmin, Y. and Samokhin, A., Comparison of integration rules in the case of very narrow chromatographic peaks. Chemometrics and Intelligent Laboratory Systems, 2018,179: 22–30. https://doi.org/10.1016/j.chemolab.2018.06.001 doi: 10.1016/j.chemolab.2018.06.001
    [11] Wolfram MathWorld, Newton-Cotes Formulas. Retrieved from: https://mathworld.wolfram.com/Newton-CotesFormulas.html
    [12] Tebeest, K.G., Combined Simpson's 1/3 and Simpson's 3/8 Examples, 2000. Kettering University. Retrieved from: https://paws.kettering.edu/~ktebeest/math305/simp38b.pdf
    [13] Rozema, E., Estimating the error in the trapezoidal rule. The American Mathematical Monthly, 1980, 87(2): 124–128. https://www.jstor.org/stable/2321991
    [14] Fazekas E.C. and Mercer, P.R., Elementary proofs of error estimates for the midpoint and Simpson's rules. Mathematics Magazine, 2009, 82(5): 365–370, https://doi.org/10.4169/002557009X478418 doi: 10.4169/002557009X478418
    [15] Cruz-Uribe, D. and Neugebauer, C.J., Sharp error bounds for the trapezoidal rule and Simpson's rule. Journal of Inequalities in Pure and Applied Mathematics, 2002, 3(4): Article 49. http://eudml.org/doc/123201
    [16] Cruz-Uribe, D. and Neugebauer, C.J., An elementary proof of error estimates for the trapezoidal rule. Mathematics Magazine, 2003, 76(4): 303–306. https://doi.org/10.1080/0025570X.2003.11953199 doi: 10.1080/0025570X.2003.11953199
    [17] Guo, W., A guide for using integration by parts: Pet-LoPo-InPo. Electronic Research Archive, 2022, 30(10): 3572–3585. https://doi.org/10.3934/era.2022182 doi: 10.3934/era.2022182
    [18] Guo, W., Streamlining applications of integration by parts in teaching applied calculus. STEM Education, 2022, 2(1): 73–83. https://doi.org/10.3934/steme.2022005 doi: 10.3934/steme.2022005
  • This article has been cited by:

    1. Hameda Mohamed Alama, On some spectral properties of nonlocal boundary-value problems for nonlinear differential inclusion, 2024, 76, 1027-3190, 1427, 10.3842/umzh.v76i10.7772
    2. Gabriela Mihaylova, Petio Kelevedjiev, Existence of solutions to Sturm–Liouville boundary value problems , 2025, 14173875, 1, 10.14232/ejqtde.2025.1.1
  • Author's biography Dr. William Guo is a professor in mathematics education with Central Queensland University, Australia. He is specialized in teaching applied mathematics for both engineering and education students. His research interests include mathematics education, applied computing, data analysis and numerical modeling. He is a member of IEEE and Australian Mathematical Society
    Reader Comments
  • © 2023 the Author(s), licensee AIMS Press. This is an open access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0)
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Metrics

Article views(1906) PDF downloads(55) Cited by(1)

Figures and Tables

Figures(6)  /  Tables(18)

Other Articles By Authors

/

DownLoad:  Full-Size Img  PowerPoint
Return
Return

Catalog