1,798
Views
0
CrossRef citations to date
0
Altmetric
PURE MATHEMATICS

Wolfram Mathematica application to determination of the number of solutions for certain nonlinear boundary value problems

Article: 1920656 | Received 22 Feb 2021, Accepted 18 Apr 2021, Published online: 17 May 2021

ABSTRACT

The nonlinear boundary value problem (BVP) x  =ax+q(t)xφ(x), where φ(x)=x or φ(x)=x2, x (1)=x (1)=0 with step-wise function q(t), is studied. The number of nontrivial solutions for the problem is estimated. For the case, where q(t)=b=const>0, the exact number of solutions for the boundary value problem is given. With the help of Wolfram Mathematica, the examples show several ways to determine the number of solutions for BVP.

PUBLIC INTEREST STATEMENT

In the theory of nonlinear boundary value problems for ordinary differential equations the most important and the most intensively studied is the solvability problem. Very often practical problems have a set of solutions that should be investigated, classified, approximated numerically and interpreted. Even for the second order autonomous differential equations there are problems that can be described in terms of phase portraits, even integrated and nevertheless it is lacking information to satisfactory treat them. We succeeded also in providing the explicit expressions for solutions of the respective Cauchy problems. The mentioned expressions use the Jacobian elliptic functions. Adaptation of known formulas for the cases under consideration was a bit technical. The result however was satisfactory. The exact number of solutions was provided. This investigation has been used in mathematical models of practical applications.

1. Introduction

The nonlinear oscillation in physics and applied mathematics has been intensively studied in many articles. Many papers, such as (Beléndez et al., Citation2017), (Beléndez et al., Citation2010), (Beléndez et al., Citation2016), (Elías-Zúñiga, Citation2013) presented analytical approximations to the periodic solutions and, in particular, to periodic solutions for oscillators described by ordinary differential equations with the odd-degree nonlinearity.

Studying the works of many researchers, for example, (Shafiq & Khalique, Citation2020), (Shafiq & Hammouch, Citation2020),(CitationShafiq et al.), (Shafiq & Sindhu, Citation2017), which describe physical processes, we may find that the practical applicability of these works is consistent with our theoretical studies.

An alternative possibility of studying and solving differential equations is by using the method of Lie algebras. It was mentioned in (Shang, Citation2012), that Lie algebra solution of differential equations has found host of useful applications in physical systems, where wealthy symmetries exist. “In many physical or chemical systems, biological or epidemic models often lack of symmetries, which adds difficulty in finding a proper Lie algebra.” An example (SIS epidemic spreading) of the application of this method was analysed in (Shang, Citation2012). This remark can be an impetus for the application of this method in the study of problems similar to those investigated in our article.

Motivated by these papers, the author in the current work wishes to find the exact formula for solutions (of the above-described equations) using Jacobian elliptic functions. Previous results of the author in this direction were published in a series of papers (Kirichuka, Citation2020), (Kirichuka, Citation2019), (Kirichuka & Sadyrbaev, Citation2018a), (Kirichuka and Sadyrbaev, Kirichuka & Sadyrbaev, Citation2018b).

The novelty of this research is that three ways to estimate the number of solutions to the boundary value problem are brought together.

However, insufficient attention has been paid to differential equation with even-degree nonlinearities. Although, for example, the quadratic nonlinearity has a practical application. As written in the work (Kovacic, Citation2020), this equation “has been used as a mathematical model of human eardrum oscillations”. This fact motivated the search for an exact solution of differential equation with quadratic nonlinearity. Equations with quadratic nonlinearities were studied in (Chicone, Citation1987).

Solution methodology consists of three types (ways) of obtaining an estimate of the number of solutions. One of the ways that is widely used to estimate the number of solutions is the phase plane method, when we analyze the phase portrait of the equation and the monotonicity properties of solutions. The second way to determine the number of solutions is to analyze the exact graph of a solution function or graphs of systems solutions. The third method is to study the behavior of curves consisting of endpoints of trajectories on a given interval.

In this article, we study the nonlinear boundary value problem

(1) x  =ax+q(t)xφ(x),a>0,(1)
(2) x (1)=0x (1)=0,(2)

where q(t) is a step-wise function

(3) q(t)=b,t[1,1+δ]=:I1,0,t(1+δ,1δ)=:I2,b,t[1δ,1]=:I3,b>0,0<δ<1.(3)

We consider two cases of function φ(x): φ(x)=x or φ(x)=x2. In the first case, the equation is quadratic in the side subintervals and linear in the middle subinterval, in the second case the equation is cubic in the side subintervals and linear one in the middle subinterval.

In our problem, we are dealing with three parameters a, b and δ and their influence on the number of solutions. There are multiple articles devoted to the study of differential equations, combined of several ones on disjoint subintervals of the main interval, for example, (Gritsans & Sadyrbaev, Citation2015), (Ellero & Zanolin, Citation2013), (Kirichuka and Sadyrbaev, 2018), (Kirichuka, Citation2016), (Moore & Nehari, Citation1959). In the paper (Kirichuka & Sadyrbaev, Citation2018a) an equation with cubic nonlinearity and step-wise potentials were studied together with the Dirichlet conditions.

We would like to study the same problems and compare the number of solutions. The differential equation (1) is a nonlinear equation with the quadratic or cubic nonlinearity that is switched off in a middle subinterval. We consider corresponding equations

(4) x  =ax+bx2(4)

and

(5) x  =ax+bx3,(5)

that contain only the quadratic or cubic nonlinearity. The EquationEquation (1) contains EquationEquation (4) and (5) that were studied previously in (Kirichuka & Sadyrbaev, Citation2019), (Kirichuka, Citation2018), (Kirichuka, Citation2017), (Kirichuka, Citation2013), (Ogorodnikova & Sadyrbaev, Citation2006) and are included often in textbooks. We are not aware however of precise estimation of the number of solutions for the two-point BVP (1), (2). We study the problem (1), (2), where EquationEquation (1) is a differential equation of the type (4) or (5) in two side subintervals I1 and I3 and is linear in the middle subinterval I2. The solutions in two side subintervals are described in terms of Jacobian elliptic functions (Gradshteyn & Ryzhik, Citation2000), (Milne-Thomson, Citation1972), (Whittaker & Watson, Citation1940, 1996). In the middle subinterval equation is linear x  =ax. The problem is to smoothly connect solutions in all subintervals. We compose a non-differential system of equations that gives the initial values of solutions for BVP (1), (2).

Our results are:

• the estimates of the number of solutions for the BVP (4), (2) and (5), (2) and their dependence on coefficient a;

• the systems that produce solutions of the BVP (1), (2) are given for both choices of the function φ(x): φ(x)=x or φ(x)=x2;

• the estimates of the number of solutions for the BVP (1), (2) are obtained;

• the examples are analyzed that show the validity of the above mentioned results and illustrate them.

The structure of the paper is the following. In the next section (Section 2) we describe previously obtained results on the Neumann problem for the quadratic and cubic equations. In Section 3 we obtain the systems that produce solutions of the BVP (1), (2) for both choices of the function φ(x): φ(x)=x or φ(x)=x2. The equations in those systems are obtained using the theory of Jacobian elliptic functions ((Gradshteyn & Ryzhik, Citation2000), (Milne-Thomson, Citation1972), (Whittaker & Watson, Citation1940, 1996)). In Section 4 we provide the main result on the number of solutions to the problem (1), (2) and we demonstrate how all the developed technique and formulas work in a specific example. In Section 5 we discuss the results and the novelty of the work.

2. Review of results on the number of solutions for the equations with quadratic and cubic nonlinearity

For the case, where q(t)=b=const>0 in EquationEquation (1). Consider the equation with quadratic nonlinearity that is given in (4). There are two critical points of EquationEquation (4) at x1=0 and x2=ab. The point x1=0 is a center, but x=ab is a saddle as shown in . The region bounded by homoclinic orbit is denoted G2.

Consider the EquationEquation (5), there are three critical points of equation (5) at x1=ab, x2=0, x3=ab. The point x2=0 is a center and x1,3=±ab both are saddle points. Two heteroclinic trajectories connect the two saddle points. The phase portrait of Equation (5) is depicted in . The region bounded by two heteroclinic orbits is denoted G3.

Figure 1. The phase portrait of equation x  =ax+bx2

Figure 1. The phase portrait of equation x ′ ′=−ax+bx2

Figure 2. The phase portrait of equation x  =ax+bx3

Figure 2. The phase portrait of equation x ′ ′=−ax+bx3

Consider the Cauchy problem (4),

(6) x(1)=x0,x (1)=0,0<x0<ab.(6)

It was proved in the article (Chicone, Citation1988), that the period of a solution to the problem (4), (2) is increasing function of x0. Therefore, the following statement is true.

Theorem 1 Let i be a positive integer such that

(7) iπ2<a<(i+1)π2.(7)

The Neumann problem (4), (2) has exactly 2i nontrivial solutions such that x(1)=x0, x (1)=0, a2b<x0<ab, x00.

The similar theorem and proof were provided in the article (Kirichuka & Sadyrbaev, Citation2019).

Consider the Cauchy problem (5),

(8) x(1)=xα,x (1)=0,ab<xα<ab,xα0,(8)

Theorem 2 Let i be a positive integer such that

(9) iπ2<a<(i+1)π2.(9)

The Neumann problem (5), (2) has exactly 2i nontrivial solutions such that x(1)=xα, x (1)=0, ab<xα<ab, xα0.

The proof of Theorem 2 can be found in the articles (Kirichuka, Citation2019) and (Kirichuka & Sadyrbaev, Citation2018a).

Proposition 1 The number of nontrivial solutions for BVP (4), (2) and (5), (2) is the same and depends on the choice of coefficient a.

3. Systems that produce solutions to the BVP with linear-quadratic and linear-cubic equations

3.1. BVP with linear-quadratic equations

In the formulations below the Jacobian elliptic functions cd, sd, nd are used.

A solution of the Cauchy problem (4), x(0)=x0, x (0)=0, 0<x0<ab is

(10) x(t,a,b,x0)=x1+(x0x1)cd 216b(x2x1)t,k,k=x0x1x2x1,x1,2(x0)=14b3a2bx03(3a2bx0)(a+2bx0).(10)

Denoting f(t,a,b,x0)=x t(t,a,b,x0), we get

f(t,a,b,x0)=23b(x2x1)(x0x2)k2cd16b(x2x1)t;k×
(11) ×nd16b(x2x1)t;ksd16b(x2x1)t;k.(11)

Formulas (10) and (11) were obtained in article (Kirichuka & Sadyrbaev, Citation2019).

Consider Equation (1), where φ(x)=x and q(t) is a step-wise function given by (3). Hence, we have the problems

(12) x  1=ax1+bx12,x1(1)=xγ,x 1(1)=0,tI1,0xγab,x  2=ax2,x2(1+δ)=x1(1+δ),x2(1δ)=x3(1δ),tI2,x  3=ax3+bx32,x3(1)=xα,x 3(1)=0,tI3,0<xα<ab.(12)

Using the change of the independent variable (tt1, tt+1) in (10), solutions of the problems

(13) x  =ax+bx2,x(1)=xγ,x (1)=0,(13)
(14) x  =ax+bx3,x(1)=xα,x (1)=0(14)

are, respectively

(15) x˜1(t,xγ)=x1+(xγx1)cd216b(x2x1)(t+1),k,k=xγx1x2x1,x1,2(xγ)=14b3a2bxγ3(3a2bxγ)(a+2bxγ)x1(t,xγ)=x1+(xγx1)cd216b(x2x1)(t+1),k,k=xγx1x2x1,x1,2(xγ)=14b3a2bxγ3(3a2bxγ)(a+2bxγ)(15)

and

(16) x˜3(t,xα)=x3+(xαx3)cd216b(x4x3)(t1),k1,k1=xαx3x4x3,x3,4(xα)=14b3a2bxα3(3a2bxα)(a+2bxα).(16)

The trajectories x˜1(t) and x˜3(t) are located in G2. In order x(t) to be C2-function both solutions x˜1 and x˜3 are to be smoothly connected by a middle function x˜2(t):

(17) x˜2(t)=C1sinat+C2cosat.(17)

In order for the solutions x˜1(t), x˜3(t) and x˜2(t) to connect smoothly, it is necessary for them to satisfy the following system. The following relations are to be satisfied:

(18) x˜1(1+δ)=x˜2(1+δ),x˜1(1+δ)=x˜2(1+δ),x˜3(1δ)=x˜2(1δ),x˜3(1δ)=x˜2(1δ).(18)

We solve the system (18) with respect to constants C1 and C2. For this, we insert formulas (15), (16), (17) into the system (18). Then, making the certain transformations, we find constants C1 and C2, equating them and find the expressions of solutions in formulas (19), (22). We get

Φ(xγ,xα)=sina(δ1)23b(x4x3)(xαx4)k2cd16b(x2x1)δ;k×nd16b(x2x1)δ;ksd16b(x2x1)δ;k23b(x4x3)(xαx4)k12×
×nd16b(x2x1)δ;ksd16b(x2x1)δ;k23b(x4x3)(xαx4)k12×
×cd(16b(x4x3)δ;k1)nd(16b(x4x3)δ;k1)sd(16b(x4x3)δ;k1) 
acosa(δ1)x1x3+(xγx1)cd216b(x2x1)δ,k(xαx3)×
(19) ×cd216b(x4x3)δ,k1,(19)
Ψ(xγ,xα)=cosa(δ1).23b(x2x1)(xγx2)k2cd16b(x2x1)δ;k×
×nd16b(x2x1)δ;ksd16b(x2x1)δ;k+23b(x4x3)(xαx4)k12×
×cd16b(x4x3)δ;k1nd16b(x4x3)δ;k1sd16b(x4x3)δ;k1+
+asina(δ1)[x1+x3+(xγx1)cd216b(x2x1)δ,k+(xαx3)×
(20) ×cd216b(x4x3)δ,k1.(20)

To simplify formulas (19), (22) we denote A=16b(x2x1) and B=16b(x4x3). Then we have

Φ(xγ,xα)=sina(δ1)23b(x2x1)(xγx2)k2cdAδ;kndAδ;ksdAδ;k
23b(x4x3)(xαx4)k12cdBδ;k1ndBδ;k1sdBδ;k1
(21) acosa(δ1)x1x3+(xγx1)cd2Aδ,k(xαx3)cd2Bδ,k1,(21)
Ψ(xγ,xα)=cosa(δ1)23b(x2x1)(xγx2)k2cdAδ;kndAδ;ksdAδ;k+
+23b(x4x3)(xαx4)k12cdBδ;k1ndBδ;k1sdBδ;k1+
(22) +asina(δ1)x1+x3+(xγx1)cd2Aδ,k+(xαx3)cd2Bδ,k1.(22)

The system

(23) Φ(xγ,xα)=0,Ψ(xγ,xα)=0(23)

is obtained. We are interested in the number of solutions of boundary value problem (1), (2), where in (1) φ(x)=x.

Proposition 2 For a, b and δ given a nontrivial solution (xγ,xα) of the system (23) produces a solution of the Neumann problem (1),(2), where in (1) φ(x)=x.

3.2. BVP with linear-cubic equations

The solution of the Cauchy problem (5), x(0)=xα, x (0)=0, ab<xα<ab, xα0 is

(24) x(t,a,b,xα)=xαcda12bxα2t;k,k=bxα22abxα2.(24)

Denoting by f(t,a,b,xα)=x t(t,a,b,xα), we get

(25) f(t,a,b,xα)=xαabxα22k21nda12bxα2t;ksda12bxα2t;k.(25)

Formulas (24) and (25) were obtained in article (Kirichuka, Citation2019).

Consider Equation (1), where φ(x)=x2 and q(t) is a step-wise function given by (3). Hence we have the problems

(26) x  1=ax1+bx13,x1(1)=xα,x1(1)=0,tI1,0<xα<ab,x  2=ax2,x2(1+δ)=x1(1+δ),x2(1δ)=x3(1δ),tI2,x  3=ax3+bx33,x3(1)=xβ,x3(1)=0,tI3,0<xβ<ab.(26)

Using the change of the independent variable (tt1, tt+1) in (24), solutions of the problems

(27) x  =ax+bx3,x(1)=xα,x (1)=0,(27)
(28) x  =ax+bx3,x(1)=xβ,x (1)=0(28)

are respectively

(29) x1(t,xα)=xαcda12bxα2(t+1);kα,kα=bxα22abxα2,(29)

and

(30) x3(t,xβ)=xβcda12bxβ2(t1);kβ,kβ=bxβ22abxβ2.(30)

The trajectories x1(t,xα) and x3(t,xβ) are located in G3. In order x(t) to be C2-function both solutions x1(t,xα) and x3(t,xβ) are to be smoothly connected by a middle function x2(t):

(31) x2(t)=C1sinat+C2cosat.(31)

The following relations are to be satisfied:

(32) x1(1+δ)=x2(1+δ),x 1(1+δ)=x 2(1+δ),x3(1δ)=x2(1δ),x 3(1δ)=x 2(1δ).(32)

Using the formulas (29), (30), (31) and solving the system (32) with respect to constants C1 and C2 we get

Φ1(xα,xβ)=acosa(δ1)xαcda12bxα2δ,kαxβcda12bxβ2δ,kβsina(δ1)2xαa12bxα2(kα21)nda12bxα2δ,tkαsda12bxα2δ,kαxβa12bxβ2(kβ21)nda12bxβ2δ,kβsda12bxβ2δ,kβ,
(33) Ψ1(xα,xβ)=asina(δ1)xαcda12bxα2δ,kα+xβcda12bxβ2δ,kβ++cosa(δ1)2xαa12bxα2(kα21)nda12bxα2δ,kαsda12bxα2δ,kα++xβa12bxβ2(kβ21)nda12bxβ2δ,kβsda12bxβ2δ,kβ.(33)
(34) Φ1(xα,xβ)=0,Ψ1(xα,xβ)=0.(34)

We are interested in the number of solutions of boundary value problem (1), (2), where in (1) φ(x)=x2.

Proposition 3 For a, b and δ given a nontrivial solution of the system (34) produces a solution of the Neumann problem (1), (2), where in (1) φ(x)=x2.

4. Result on the number of solutions to the BVP (1), (2)

Analysis of some examples have shown that the following assertions hold. We have considered several examples concerning the problems (1), (2), where 0<δ<1. One might expect that for δ1 the equations (1) “tend” to the limiting equations (4) and (5). Numerical experiments show that this is not the case.

We have observed for the case of quadratic nonlinearity that if a is in the interval iπ2,(i+1)π2 and i is sufficiently large, the number of nontrivial solutions of the Neumann problem (1), (2) is less than 2i provided that δ is close to unity. The detailed analysis of the respective situation is given when considering Example 4. The problem (1), (2), where in (1) φ(x)=x has no nontrivial solutions for δ close to zero (the equation is then almost linear).

Similarly, we have observed for the case of cubic nonlinearity that if a is in the interval iπ2,(i+1)π2 and i is sufficiently large, the number of nontrivial solutions of the Neumann problem (1), (2) is greater than 2i provided that δ is close to unity. The evidence of this is in Example 4. The problem (1), (2), where in (1) φ(x)=x2 has no nontrivial solutions for δ close to zero (the equation is then almost linear).

Remark 1 At δ=0 (the equation is linear) the functions Φ(xγ,xα) and Ψ(xγ,xα) in (21), (22) are respectively a(xγxα)cosa and a(xγ+xα)sina. The system (23) for δ=0 takes the form

(35) (xγxα)cosa=0,(xγ+xα)sina=0,(35)

where aiπ2, i is a positive integer. Then the system (35) has only the trivial solutions xγ=xα=0 and the BVP has no solutions for δ sufficiently small.

Remark 2 We note the following properties of the functions Φ(xγ,xα) and Ψ(xγ,xα). The function Φ satisfies

Φ(xγ,xα)+Φ(xα,xγ)=0

and

Ψ(xγ,xα)Ψ(xα,xγ)=0.

These relations mean that if a point (xγ,xα) solves the system (23) then symmetrical with respect to the bisectix point (xα,xγ) is also a solution.

Due to complexity of functions Φ and Ψ this is established by analytically comparison of functions Φ(xγ,xα) and Φ(xα,xγ), Ψ(xγ,xα) and Ψ(xα,xγ).

In examples 4 and 4 we consider BVP, where equations contain only quadratic and cubic nonlinearities.

Example 1 Consider equation (1), φ(x)=x with a=50, q(t)=b=25:

(36) x  =50x+25x2.(36)

For initial conditions x(1)=xγ, x (1)=0, 0<xγ<2 the number of solutions of BVP (36), (2) is four and for initial conditions x(1)=xγ, x (1)=0, 1<xγ<0 there are also four solutions to the problem (36), (2), totally eight solutions. By Theorem 1, this is the case for i=4 (namely 4π2<50<5π2) in the inequality (7). But the number of solutions to the problem (36), (2) can be determined using the formula (11) where x0 is replaced by xγ and tt+1. We have equation

f(2,50,25,xγ)=50(x2x1)3(xγx1)k2cd225(x2x1)6;k×
(37) ×nd225(x2x1)6;ksd225(x2x1)6;k=0,wherek=xγx1x2x1,(37)

x1,2=1.50.5xγ0.53(3xγ)(1+xγ). The graph of f(2,50,25,xγ) is depicted in , . There are eight zeros of (37) and, respectively, eight initial values xγ which have solutions to the problem (36), (2) (xγ0.9999989;0.99986;0.9835;0.786, xγ1.11319;1.77377;1.9795;1.99998).

Figure 3. The graph of f(2,50,25,xγ) for quadratic equation, with eight zeros in (1,2)

Figure 3. The graph of f(2,50,25,xγ) for quadratic equation, with eight zeros in (−1,2)

Figure 4. The magnification of the graph of f(2,50,25,xγ) for quadratic equation, xγ[1,0.999), xγ0.9999989;0.99986

Figure 4. The magnification of the graph of f(2,50,25,xγ) for quadratic equation, xγ∈[−1,−0.999), xγ≈−0.9999989;−0.99986

In we see the behaviors of curves of end-points (at t=1) for equation (36). The curve of values (x(1,xγ),x (1,xγ)) for equation (36) is a spiral around the origin. Any point of intersection of these curves with the axis x =0 corresponds to a solution of the BVP (36), (2).

Figure 5. Curve (x(1,xγ),x (1,xγ)) for equation (36), 0<xγ<2

Figure 5. Curve (x(1,xγ),x ′(1,xγ)) for equation (36), 0<xγ<2

Figure 6. Curve (x(1,xγ),x (1,xγ)) for equation (36), 1<xγ<0

Figure 6. Curve (x(1,xγ),x ′(1,xγ)) for equation (36), −1<xγ<0

Example 2 Consider equation (1), φ(x)=x2 with a=50, q(t)=b=25:

(38) x  =50x+25x3.(38)

Consider differential equation (38), where the initial conditions are x(1)=xα, x (1)=0, 0<xα<2, then the number of solutions satisfying the boundary conditions (2) is four and for initial conditions x(1)=xα, x (1)=0, 2<xα<0 there are also four solutions to the problem, totally eight solutions. Therefore, the Theorem 2 is fulfilled. This is the case for i=4 (namely 4π2<50<5π2) in the inequality (9). On the other hand, the number of solutions to the problem (38), (2) can be determined using the formula (25) and the replacement tt+1. We get equation

(39) f(2,50,25,xα)=xα5025xα22(k21)nd250252xα2;ksd250252xα2t;k=0,(39)

where k=25xα210025xα2. The graph of f(2,50,25,xα) is depicted in . There are eight zeros of (39) and, respectively, eight initial values xα, which have solutions to the problem (38), (2).

Therefore, Proposition 1 is fulfilled.

Figure 7. The graph of f(2,50,25,xα) for cubic equation in (2,2)

Figure 7. The graph of f(2,50,25,xα) for cubic equation in (−2,2)

In we see the behaviours of curves of end-points (at t=1) for equation (38). The curve of values (x(1,xα),x (1,xα)) for equation (38) is a spiral around the origin. Any point of intersection of these curves with the axis x =0 corresponds to a solution of the BVP (38), (2).

Figure 8. Curve (x(1,xα),x (1,xα)) for equation (38), 0<xα<2

Figure 8. Curve (x(1,xα),x ′(1,xα)) for equation (38), 0<xα<2

Figure 9. Curve (x(1,xα),x (1,xα)) for eEquation (38), 2<xα<0

Figure 9. Curve (x(1,xα),x ′(1,xα)) for eEquation (38), −2<xα<0

Example 3 Consider equation (1), φ(x)=x with a=50, b=25:

(40) x  =50x+q(t)x2,q(t)=25,t[1,1+δ]=:I1,0,t(1+δ,1δ)=:I2,25,t[1δ,1]=:I3,b>0,0<δ<1.(40)

In what follows we are changing the parameter δ in this way regulating the width of the interval I2. We are tracing changes in the number of solutions of BVP and discussing reasons for that. We have observed that for δ=0.98 the number of solutions is five, which is less as predicted by Theorem 1 (i=4, 4π2<50<5π2).

If δ=1 and the initial conditions are x(1)=xα, x (1)=0, 1<xα<2, xα0, then equation (40) is equation with quadratic nonlinearity x  =50x+25x2 and the number of solutions satisfying the boundary conditions (2) is 8. This was discussed in Example 1.

Now we look for solutions of the system (23) which are represented by intersection points of graphs Ψ(xγ,xα) (dashed line) and Φ(xγ,xα) (solid line) (). Let δ=0.98. There are totally 5 intersection points of graphs Φ(xγ,xα) and Φ(xγ,xα) that coresponds to 5 pairs of solutions of BVP (40), (2). These solutions are depicted in , and , but corresponding points in the are marked.

In this case, coefficient a is large enough but the number of nontrivial solutions is less than 2i. For a=50, i=4 the number of solutions as by Theorem 1 should be 8, but there are 5 solutions. provide explanation of this situation. The curve of end values (x(1,xγ),x (1,xγ)) for equation (40) leave the region G2 and therefore the number of solutions has decreased.

Figure 10. The trajectory of Ψ=0 (dashed), Φ=0 (solid), the points which correspond to solutions of system (23) and to the problem (40), (2), δ=0.98

Figure 10. The trajectory of Ψ=0 (dashed), Φ=0 (solid), the points which correspond to solutions of system (23) and to the problem (40), (2), δ=0.98

Figure 11. The solutions which correspond to the points (1.23398,1.23398), xγ1.23398 (solid) and (0.774727,0.774727), xγ0.774727 (dashed) in , δ=0.98

Figure 11. The solutions which correspond to the points (1.23398,1.23398), xγ≈1.23398 (solid) and (−0.774727,−0.774727), xγ≈−0.774727 (dashed) in Figure 10, δ=0.98

Figure 12. The solution which correspond to the point (1.97856,1.97856), xγ1.97856 (solid) in , δ=0.98

Figure 12. The solution which correspond to the point (1.97856,1.97856), xγ≈1.97856 (solid) in Figure 10, δ=0.98

Figure 13. The solutions which correspond to the points (0.970911,1.87886), xα0.970911 (solid) and (1.17886,0.970911), xα1.17886 (dashed) in , δ=0.98

Figure 13. The solutions which correspond to the points (−0.970911,1.87886), xα≈−0.970911 (solid) and (1.17886,−0.970911), xα≈1.17886 (dashed) in Figure 10, δ=0.98

In we see the behaviors of curves of end-points (at t=1) for equation (40). The curve of values (x(1,xγ),x (1,xγ)) for equation (40) is more complicated spiral-like curve than that for quadratic equation (36) (see ). Any point of intersection of these curves with the axis x =0 corresponds to a solution of the BVP (40), (2). show that there are fewer intersections points with the axis x =0 than in the corresponding quadratic equation (36).

Figure 14. Curve (x(1,xγ),x (1,xγ)) for equation (40), 0<xγ<2, δ=0.98

Figure 14. Curve (x(1,xγ),x ′(1,xγ)) for equation (40), 0<xγ<2, δ=0.98

Figure 15. Curve (x(1,xγ),x (1,xγ)) for equation (40), 1<xγ<0, δ=0.98

Figure 15. Curve (x(1,xγ),x ′(1,xγ)) for equation (40), −1<xγ<0, δ=0.98

Example 4 Consider equation (1), φ(x)=x2 with a=50, b=25:

(41) x  =50x+q(t)x3,q(t)=25,t[1,1+δ]=:I1,0,t(1+δ,1δ)=:I2,25,t[1δ,1]=:I3,b>0,0<δ<1.(41)

In what follows we are changing the parameter δ which regulates the width of the interval I2. We have observed that for δ=0.98 the number of solutions is greater than eight as predicted by Theorem 2 (i=4, 4π2<50<5π2).

If δ=1 and the initial conditions are x(1)=xα, x (1)=0, 2<xα<2, xα0, then equation (34) is equation with cubic nonlinearity x  =50x+25x3 and the number of solutions satisfying the boundary conditions (2) is 8. This was discussed in Example 2.

Let δ=0.98. Now we look for solutions of the system (34) which are represented by intersection points of graphs Ψ1(xα,xβ) (solid line) and Φ1(xα,xβ) (dashed line) ().

Figure 16. The trajectory of Ψ1=0 (solid), Φ1=0 (dashed), the points which correspond to solutions of system (34) and to the problem (41), (2), δ=0.98

Figure 16. The trajectory of Ψ1=0 (solid), Φ1=0 (dashed), the points which correspond to solutions of system (34) and to the problem (41), (2), δ=0.98

There are totally 12 intersection points of graphs Ψ1(xα,xβ) and Φ1(xα,xβ) that coresponds to 12 pairs of solutions of BVP (41), (2). These solutions are depicted in , but the corresponding points in are marked.

Figure 17. The solutions which correspond to the points (0.766869,0.766869), xα0.766869 (solid) and (0.766869,0.766869), xα0.766869 (dashed) in , δ=0.98

Figure 17. The solutions which correspond to the points (0.766869,0.766869), xα≈0.766869 (solid) and (−0.766869,−0.766869), xα≈−0.766869 (dashed) in Figure 16, δ=0.98

Figure 18. The solutions which correspond to the points (1.18879,1.18879), xα1.18879 (solid) and (1.18879,1.18879), xα1.18879 (dashed) in , δ=0.98

Figure 18. The solutions which correspond to the points (−1.18879,1.18879), xα≈−1.18879 (solid) and (1.18879,−1.18879), xα≈1.18879 (dashed) in Figure 16, δ=0.98

Figure 19. The solutions which correspond to the points (1.25308,1.4136), xα1.25308 (solid) and (1.25308,1.4136), xα1.25308 (dashed) in , δ=0.98

Figure 19. The solutions which correspond to the points (1.25308,1.4136), xα≈1.25308 (solid) and (−1.25308,−1.4136), xα≈−1.25308 (dashed) in Figure 16, δ=0.98

Figure 20. The solutions which correspond to the points (1.40795,1.40795), xα1.40795 (solid) and (1.40795,1.40795), xα1.40795 (dashed) in , δ=0.98

Figure 20. The solutions which correspond to the points (1.40795,1.40795), xα≈1.40795 (solid) and (−1.40795,−1.40795), xα≈−1.40795 (dashed) in Figure 16, δ=0.98

Figure 21. The solutions which correspond to the points (1.4136,1.25308), xα1.4136 (solid) and (1.4136,1.25308), xα1.4136 (dashed) in , δ=0.98

Figure 21. The solutions which correspond to the points (1.4136,1.25308), xα≈1.4136 (solid) and (1.4136,−1.25308), xα≈−1.4136 (dashed) in Figure 16, δ=0.98

Figure 22. The solutions which correspond to the points (1.41396,1.41396), xα1.41396 (solid) and (1.41396,1.41396), xα1.41396 (dashed) in , δ=0.98

Figure 22. The solutions which correspond to the points (−1.41396,1.41396), xα≈−1.41396 (solid) and (1.41396,−1.41396), xα≈1.41396 (dashed) in Figure 16, δ=0.98

In this case, coefficient a is large enough and the number of nontrivial solutions is greater than 2i. For a=50, i=4 the number of solutions for Equation (41) must be 8, but there are 12 for Equation (41).

In we see the behaviors of curves of end-points (at t=1) for equation (41), where we can see how the additional solutions arise. The curve of values (x(1,xα),x (1,xα)) for equation (41) is more complicated spiral-like curve than for cubic equation (38) (see ). Any point of intersection of these curves with the axis x =0 corresponds to a solution of the BVP (41), (2).

Figure 23. Curve (x(1,xα),x (1,xα)) for equation (41), 0<xα<2, δ=0.98

Figure 23. Curve (x(1,xα),x ′(1,xα)) for equation (41), 0<xα<2, δ=0.98

Figure 24. Curve (x(1,xα),x (1,xα)) for equation (41), 2<xα<0, δ=0.98

Figure 24. Curve (x(1,xα),x ′(1,xα)) for equation (41), −2<xα<0, δ=0.98

Example 5 Consider equation (1), φ(x)=x with a=4, b=2:

(42) x  =4x+q(t)x2,q(t)=2,t[1,1+δ]=:I1,0,t(1+δ,1δ)=:I2,2,t[1δ,1]=:I3,b>0,0<δ<1.(42)

.

We have observed that for δ=0.98 the number of solutions is the same as predicted by Theorem 1—two solutions (i=1, π2<4<2π2).

If δ=1 and the initial conditions are x(1)=xγ, x (1)=0, 1<xγ<2, xγ0, then equation (23) is equation with quadratic nonlinearity x  =4x+2x2 and the number of solutions satisfying the boundary conditions (2) is 2.

Let δ=0.98. Now we look for solutions of the system (23) which are represented by intersection points of graphs Ψ(xγ,xα) (solid line) and Φ(xγ,xα) (dashed line) ().

Figure 25. The trajectory of Ψ=0 (solid), Φ=0 (dashed), the points which correspond to solutions of system (23) and to the problem (42), (2), δ=0.98

Figure 25. The trajectory of Ψ=0 (solid), Φ=0 (dashed), the points which correspond to solutions of system (23) and to the problem (42), (2), δ=0.98

Figure 26. The solutions which correspond to the points (0.942088,1.51109), xγ0.942088 (solid) and (1.51109,0.942088), xγ1.51109 (dashed) in , δ=0.98

Figure 26. The solutions which correspond to the points (−0.942088,1.51109), xγ≈−0.942088 (solid) and (1.51109,−0.942088), xγ≈1.51109 (dashed) in Figure 25, δ=0.98

These solutions are depicted in . In this case coefficient a is small enough and the number of nontrivial solutions is 2i. For a=4, i=1 the number of solutions must be two.

Example 6 Consider Equation (1), φ(x)=x2 with a=4, b=2:

(43) x  =4x+q(t)x3,q(t)=2,t[1,1+δ]=:I1,0,t(1+δ,1δ)=:I2,2,t[1δ,1]=:I3,b>0,0<δ<1.(43)

.

We have observed that for δ=0.98 the number of solutions is the same as predicted by Theorem 2, namely, two solutions (i=1, π2<4<2π2).

If δ=1 and the initial conditions are x(1)=xα, x (1)=0, 2<xα<2, xα0, then Equation (34) is equation with cubic nonlinearity x  =4x+2x3 and the number of solutions satisfying the boundary conditions (2) is 2.

This estimate is in agreement with Theorem 2. Next, let us consider the case δ<1.

Let δ=0.98. Now we look for solutions of the system (34) which are represented by intersection points of graphs Ψ1(xα,xβ) (solid line) and Φ1(xα,xβ) (dashed line) ().

Figure 27. The trajectory of Ψ1=0 (solid), Φ1=0 (dashed), the points which correspond to solutions of system (34) and to the problem (43), (2), δ=0.98

Figure 27. The trajectory of Ψ1=0 (solid), Φ1=0 (dashed), the points which correspond to solutions of system (34) and to the problem (43), (2), δ=0.98

Figure 28. The solutions which correspond to the points (0.998339,0.998339), xα0.998339 (solid) and (0.998339,0.998339), xα0.998339 (dashed) in , δ=0.98

Figure 28. The solutions which correspond to the points (−0.998339,0.998339), xα≈−0.998339 (solid) and (0.998339,−0.998339), xα≈0.998339 (dashed) in Figure 27, δ=0.98

These solutions are depicted in . In this case coefficient a is small enough and the number of nontrivial solutions is 2i. For a=4, i=1 the number of solutions must be two.

5. Concluding discussion

In this paper, we investigated the BVP x  =ax+q(t)xφ(x), where φ(x)=x or φ(x)=x2, x (1)=x (1)=0 with step-wise function q(t) given in (3). The systems that produce the solutions of the BVP (1), (2) are given for both cases of the function φ(x): φ(x)=x or φ(x)=x2. Using the possibilities the instruments of Wolfram Mathematica, the trajectories of those systems are constructed. Therefore, it is possible to determine the number of solutions to the problem and the initial values of solutions. This can be observed in Example 4 and Example 4. These examples show two ways to determine the number of BVP solutions. One of them uses the above-mentioned system, the second one uses behavior of curves of endpoints.

Example 1 and Example 2 consider BVP, where equations contain only quadratic and cubic nonlinearities. This example shows that the number of solutions to BVP can be estimated in three ways and the results obtained are the same. One of them is using results of Theorem 1 or Theorem 2 accordingly to inequality (7) or (9). The second way is to use the graph of exact solution (10) or (24) obtained in the author’s works (Kirichuka & Sadyrbaev, Citation2019), (Kirichuka, Citation2019). The third way is using the behavior of curves of end points.

In Example 5 and Example 6 the estimates of the number of solutions for the BVP (1), (2) are obtained for small enough coefficient a and it was shown that the number of solutions is the same as in Theorem 1 or Theorem 2.

Despite the fact that the equation of quadratic nonlinearity looks simpler, finding a solution is more difficult. This can be explained by the fact that for cubic nonlinearity the solution trajectory in the phase plane is symmetric in all four quadrants, but for quadratic nonlinearity this is not the case.

Further research in the indicated direction can be conducted taking into account the following. More polynomial right hand sides f(x) can be studied. The period annuli surrounding critical points appear often in theoretical research and in applications. The trajectories that escape regions like G2 go away and can tend to infinity. The reason is the step-wise character of the coefficient q(t). Therefore the study of such resonant behaviour is possible. Evidently, this can be of practical value. Adding the damping terms of the form f(x)x 2 in the equation allows to consider more general cases. Certain transformations of dependent variables can reduce problems with damping to equations of the form studied here. The functions f(x) can be considered which are not polynomials, but the equations have similar properties to what was studied in this paper.

Acknowledgements

The author would like to sincerely thank Professor Felix Sadyrbaev for his useful comments.

Disclosure statement

No potential conflict of interest was reported by the author(s).

Additional information

Funding

The author received no direct funding for this research.

References

  • Beléndez, A., Arribas, E., Beléndez, T., Pascual, C., Gimeno, E., & Álvarez, M. L. (2017). Closed-form exact solutions for the unforced quintic nonlinear oscillator. In Advances in mathematical physics. Hindawi.
  • Beléndez, A., Beléndez, T., Martinez, F. J., Pascual, C., Alvarez, M. L., & Arribas, E. (2016). Exact solution for the unforced Duffing oscillator with cubic and quintic nonlinearities. Nonlinear Dynamics, 86(3), 1687–24. https://doi.org/https://doi.org/10.1007/s11071-016-2986-8
  • Beléndez, A., Bernabeu, G., Francés, J., Méndez, D. I., & Marini, S. (2010). An accurate closed-form approximate solution for the quintic Duffing oscillator equation. Mathematical and Computer Modelling, 52(3–4), 637–641. https://doi.org/https://doi.org/10.1016/j.mcm.2010.04.010
  • Chicone, C. (1987).The monotonicity of the period function for planar Hamiltonian vector fields. Journal of Differential Equations, 69(3), 310321. MR903390;. https://doi.org/https://doi.org/10.1016/0022-0396(87)90122-7
  • Chicone, C. (1988). Geometric Methods for Two-Point Nonlinear Boundary Value Problems. Journal of Differential Equations, 72(2), 360–407. https://doi.org/https://doi.org/10.1016/0022-0396(88)90160-X
  • Elías-Zúñiga, A. (2013). Exact solution of the cubic-quintic Duffing oscillator. Applied Mathematical Modelling, 37(4), 2574–2579. https://doi.org/https://doi.org/10.1016/j.apm.2012.04.005
  • Ellero, E., & Zanolin, F. (2013). Homoclinic and heteroclinic solutions for a class of second-order non-autonomous ordinary differential equations: Multiplicity results for stepwise potentials. Boundary Value Problems, 2013(1), 167. https://doi.org/https://doi.org/10.1186/1687-2770-2013-167
  • Gradshteyn, I. S., & Ryzhik, I. M. (2000). Table of Integrals. Series and Products, Academic Press, San Diego, Calif, USA. 6th edition. https://booksite.elsevier.com/samplechapters/9780123736376/Sample_Chapters/01~Front_Matter.pdf
  • Gritsans, A., & Sadyrbaev, F. (2015). Extension of the example by Moore-Nehari . Tatra Mt. Math. Publ., 63, 115-127. https://doi.org/https://doi.org/10.1515/tmmp-2015-0024
  • Kirichuka, A. (2013). Multiple solutions for nonlinear boundary value problems of ODE depending on two parameters. Proceedings of IMCS of University of Latvia, 13, 83–97. https://protect-us.mimecast.com/s/vOlrCERZP5flWgPkXIPw49I?domain=lumii.lv
  • Kirichuka, A. (2016). On the Dirichlet boundary value problem for a cubic on two outer intervals and linear in the internal interval differential equation. Proceedings of IMCS of University of Latvia, 16, 54–66. https://lumii.lv/uploads/sadirbajevs_2016/Sbornik-2016english.htm
  • Kirichuka, A. (2017). The number of solutions to the Neumann problem for the second order differential equation with cubic nonlinearity. Proceedings of IMCS of University of Latvia, 17, 44–51. https://lumii.lv/uploads/sadirbajevs_2018/Sbornik2018english.html
  • Kirichuka, A. (2018). The number of solutions to the Dirichlet and mixed problem for the second order differential equation with cubic nonlinearity. Proceedings of IMCS of University of Latvia, 18, 63–72. https://lumii.lv/uploads/sadirbajevs_2017/Sbornik2017english.html
  • Kirichuka, A. (2019). The number of solutions to the boundary value problem for the second order differential equation with cubic nonlinearity. WSEAS Transactions on Mathematics, 18(31), 230–236. https://lumii.lv/uploads/sadirbajevs_2019/Sbornik2019english.html
  • Kirichuka, A. (2020). The number of solutions to the boundary balue broblem with linear-quintic and linear-cubic-quintic nonlinearity. WSEAS Transactions on Mathematics, 19(64), 589–597. https://doi.org/https://doi.org/10.37394/23206.2020.19.64
  • Kirichuka, A., & Sadyrbaev, F. (2018a). On boundary value problem for equations with cubic nonlinearity and step-wise coefficient. Differential Equations and Applications, 10(4), 433–447. https://doi.org/https://doi.org/10.7153/dea-2018-10-29
  • Kirichuka, A., & Sadyrbaev, F. (2018b). Remark on boundary value problems arising in Ginzburg-Landau theory. WSEAS Transactions on Mathematics, 17, 290–295. https://www.wseas.org/multimedia/journals/mathematics/2018/a685106-1057.php
  • Kirichuka, A., & Sadyrbaev, F. (2019). On the number of solutions for a certain class of nonlinear second-order boundary-value problems. Itogi Nauki I Tekhniki. Seriya “Sovremennaya Matematika I Ee Prilozheniya. Tematicheskie Obzory, 160, 32–41. http://www.mathnet.ru/php/archive.phtml?wshow=paper&jrnid=into&paperid=422&option_lang=eng
  • Kovacic, I. (2020, August). Nonlinear Oscillations. Springer International Publishing.
  • Milne-Thomson, L. M. (1972). Handbook of mathematical functions, chapter 16. In M. Abramowitz & I. A. Stegun (Eds.), Jacobian elliptic functions and theta functions. Dover Publications. http://www.math.ubc.ca/~cbm/aands/abramowitz_and_stegun.pdf
  • Moore, R., & Nehari, Z. (1959). Nonoscillation theorems for a class of nonlinear differential equations, Trans. Amer. Math. Soc, 93(1), 30–52. https://doi.org/https://doi.org/10.1090/S0002-9947-1959-0111897-8
  • Ogorodnikova, S., & Sadyrbaev, F. (2006). Multiple solutions of nonlinear boundary value problems with oscillatory solutions. Mathematical Modelling and Analysis, 11(4), 413–426. https://doi.org/https://doi.org/10.3846/13926292.2006.9637328
  • Shafiq, A., & Hammouch, Z. (2020). Statistical approach of mixed convective flow of third-grade fluid towards an exponentially stretching surface with convective boundary condition. Special Functions and Analysis of Differential Equations, 307, 307–319. https://www.taylorfrancis.com/chapters/edit/ https://doi.org/10.1201/9780429320026-15 /statistical-approach-mixed-convective-flow-third-grade-fluid-towards-exponentially-stretching-surface-convective-boundary-condition-anum-shafiq-zakia-hammouch-tabassum-naz-sindhu-dumitru-baleanu
  • Shafiq, A., & Khalique, C. M. (2020). Lie group analysis of upper convected Maxwell fluid flow along stretching surface. Alexandria Engineering Journal, 59(4), 2533–2541. https://doi.org/https://doi.org/10.1016/j.aej.2020.04.017
  • Shafiq, A., & Sindhu, T. N. (2017). Statistical study of hydromagnetic boundary layer flow of Williamson fluid regarding a radiative surface. Results in Physics, 7, 3059–3067. https://doi.org/https://doi.org/10.1016/j.rinp.2017.07.077
  • Shafiq, A., Sindhu, T. N., & Hammouch, Z. Characteristics of homogeneous heterogeneous reaction on flow of walters’ B liquid under the statistical paradigm. Mathematical Modelling, Applied Analysis and Computation, 272. https://www.researchgate.net/publication/334208119_Characteristics_of_Homogeneous_Heterogeneous_Reaction_on_Flow_of_Walters'_B_Liquid_Under_the_Statistical_Paradigm
  • Shang, Y. (2012). A Lie algebra approach to susceptible-infected-susceptible epidemics. Electronic Journal of Differential Equations, 2012(233), 1–7. https://www.researchgate.net/publication/266859292_A_Lie_algebra_approach_to_susceptible-infected-susceptible_epidemics
  • Whittaker, E. T., & Watson, G. N. (1996). A course of modern analysis. Cambridge University Press.

Appendix

We provide below the Wolfram Mathematica codes for several functions and expressions appearing in our paper.

In Figure 29 the code of the function Φ1 in (33) first equation is given, in code replaced Φ1 to Φ, u=xα, v=xβ.

Φ1

In Figure 30 the code of the function Ψ1 in (33) second equation is given, in code replaced Ψ1 to Ψ, u=xα, v=xβ.

Ψ1

In Figure 31 the code of the system (34) for Example 4 is given, simplifying the notation Ψ1 to Ψ, u=xα, v=xβ.

In Figure 32 the code for the parametrically defined curve of the values (x(1,xγ),x (1,xγ)) for the equation (38) is given.

(x(1,xγ),x (1,xγ))