1 Introduction

The second-order equation governing the Liénard oscillator [1] reads

$$\begin{aligned} \ddot{x} + F(x)\dot{x} + G(x) =0. \end{aligned}$$
(1)

Equations of this type can be used to model oscillating circuits, and the Van der Pol oscillator is a special case. Mathematically, this equations and second-order generalizations have been studied in order to generate a variety of oscillating and in some cases periodic solutions [2, 3]. The problem with negative damping was considered in [4]. Solutions under one-sided growth restrictions were studied in [5]. Solutions with quadratic damping were studied in [6].

Consider the third-order extension of the Liénard oscillator,

$$\begin{aligned} \dddot{x} + f(x)\ddot{x} +g(x,\dot{x})\dot{x} + h(x) = 0. \end{aligned}$$
(2)

Note that while this seems somewhat arbitrary, it is a natural extension of (1). Indeed, the equation captures many of the properties of (1) in some reductions (as we shall later show), yet is of higher order, meaning that a variety of new dynamics should be possible. This third-order equation can be used to describe a number of physically relevant problems, as we shall demonstrate later. We may write (2) as the first order system

$$\begin{aligned} \begin{aligned} \dot{y}_1&= y_2,\\ \dot{y}_2&= y_3,\\ \dot{y}_3&= - f(y_1)y_3 -g(y_1,y_2)y_2 - h(y_1), \end{aligned} \end{aligned}$$
(3)

which shall be useful in our later mathematical analysis. Note also that equilibrium points (steady states) of (2) correspond to \(x^* \in \mathbb {R}\) such that \(h(x^*)=0\), and hence, equilibrium points of the system (3) will take the form \((y_1^*,y_2^*,y_3^*)=(x^*,0,0)\) for such \(x^*\).

Sprott [7] studied a subclass of Eq. (2) of the form \(f(x)=A\), \(g(x,\dot{x})=B\), where A and B are positive real-valued constants, that is,

$$\begin{aligned} \dddot{x} + A\ddot{x} +B\dot{x} + h(x) = 0. \end{aligned}$$
(4)

As discussed in [7], Eq. (4) is essentially a damped harmonic oscillator driven by a linear memory term that involves the integral of h(x). For many specific forms of h(x), chaos was observed, both in the paper [7] and by others. Chaos was observed when h(x) takes the form of a cubic function [8], while piecewise linear forms of h(x) have also been shown [911] to yield chaos in (4). An RLC circuit has also been devised to give chaos for particular forms of h(x), see [12, 13]. Since (2) is therefore a generalization of the Sprott systems, we anticipate that chaotic dynamics will emerge from many equations of the form (2).

The goal of this paper is to investigate the nonlinear dynamics emergent in general equations of the form (2). In Sect. 2, we give a general competitive modes analysis for (3), in order to determine forms of (3) which might permit chaotic solutions. In Sect. 3, we consider three concrete physical applications (Sprott equations, electronic oscillator equations, and memristor oscillators) which can be described by systems of the form (3). By way of these applications, we demonstrate the utility of considering systems of the form (3), as well as the utility of the competitive modes analysis of Sect. 2. In Sect. 4, we consider a specific form of (2) which satisfies the competitive modes conditions yet which nonetheless cannot yield chaotic dynamics. This illustrates the fact that the competitiveness conditions are not sufficient for the existence of chaotic trajectories in nonlinear systems. Concluding remarks are given in Sect. 5.

2 Analytical considerations for (2)

Recall that the method of competitive modes involves recasting a dynamical system as a coupled system of oscillators [1420]. Consider the general nonlinear autonomous system of dimension n given by

$$\begin{aligned} \dot{x_{i}}=f_i(x_1,x_2,\ldots ,x_n). \end{aligned}$$
(5)

Differentiation of (5) once gives a coupled system of second-order equations,

$$\begin{aligned} \ddot{x_i}= & {} \sum \limits _{j=1}^{n}f_j\frac{\partial f_i}{\partial x_j} = -x_ig_i(x_1,x_2,\ldots ,x_i,\ldots ,x_n)\nonumber \\&+\,h_i(x_1,x_2,\ldots ,x_{i-1},x_{i+1},\ldots ,x_n). \end{aligned}$$
(6)

When a \(g_i\) is positive, its respective ith equation behaves like an oscillator. The following conjecture is posed in [15]:

Competitive modes requirements The conditions for dynamical systems to be chaotic are given by:

  1. (A)

    there exist at least two modes, labeled \(g_i\) in the system;

  2. (B)

    at least two g’s are competitive or nearly competitive, that is, for some i and j, \(g_i \approx g_j >0\) at some t;

  3. (C)

    at least one of the g’s is a function of evolution variables such as t; and

  4. (D)

    at least one of the h’s is a function of system variables.

The requirements (A)–(D) essentially tell us that a condition for chaos is that two or more equations in (6) behave as oscillators (\(g_i>0\)) and that two of these oscillators lock frequencies at one or more times. In practice, we find that the frequencies agree at a countably infinite collection of time values [14, 19]. The frequencies should be functions of time (i.e., we have nonlinear frequencies), and there should be at least one forcing function which depends on a state variable.

Returning to the equations of interest, differentiation of (3) once yields

$$\begin{aligned} \begin{aligned}&\ddot{y}_1 = H_1(y_3),\\&\ddot{y}_2 + G_2(y_1,y_2) y_2 = H_2(y_1,y_3),\\&\ddot{y}_3 + G_3(y_1,y_2) y_3 = H_3(y_1,y_2), \end{aligned} \end{aligned}$$
(7)

where \(H_1(y_3)=y_3\), \(H_2(y_1,y_3)=-f(y_1)y_3-h(y_1)\), \(H_3(y_1,y_3)=-g_1(y_1,y_2)y_2^2-h'(y_1)y_2+f(y_1)g(y_1,y_2)y_2+f(y_1)h(y_1)\), \(G_1=0\), \(G_2(y_1,y_2)=g(y_1,y_2)\), \(G_3(y_1,y_2)=f'(y_1)y_2+g_2(y_1,y_2)y_2+g(y_1,y_2)-(f(y_1))^2\). Note that we define the partial derivative notation \(\frac{\partial g}{\partial y_1}=g_1\) and \(\frac{\partial g}{\partial y_2}=g_2\).

Since the equation for \(y_1\) can never be an oscillator equation, hence \(G_1=0\), only the modes \(y_2\) and \(y_3\) can ever be competitive. Therefore, consider the case when both modes are competitive, that is, when the mode frequencies satisfy \(G_2(y_1,y_2) = G_3(y_1,y_2)\). Then, we have that \(y_1\) and \(y_2\) must satisfy

$$\begin{aligned} f'(y_1)y_2 + g_2(y_1,y_2)y_2 - (f(y_1))^2 =0. \end{aligned}$$
(8)

Therefore, if condition (8) holds at a point \(t=t_0\ge 0\), then the modes \(y_2\) and \(y_3\) are competitive at \(t=t_0\).

2.1 g constant in \(y_2\)

In the case where g is constant in \(y_2\), that is \(g=g(y_1)\), we must have that \(G_2 = g(y_1) >0\) and \(G_3 = f'(y_1)y_2 + g(y_1) - (f(y_1))^2 >0\). The competitiveness condition (8) becomes

$$\begin{aligned} f'(y_1)y_2 - (f(y_1))^2 =0, \end{aligned}$$
(9)

so

$$\begin{aligned} y_2 = (f(y_1))^2/f'(y_1) \end{aligned}$$
(10)

is the explicit form of the competitiveness condition. This suggest that ODEs of the form

$$\begin{aligned} \dddot{x} + f(x)\ddot{x} +g(x)\dot{x} + h(x) = 0 \end{aligned}$$
(11)

can admit chaotic behaviors if \(g(x(t_0))>0\) and \(\dot{x}(t_0) = (f(x(t_0)))^2/f'(x(t_0))\) at some \(t=t_0\).

Note that if \(f'(x(t_0)) =0\), the modes can still be competitive. The conditions required in this case are \(g(x(t_0))>0\) and \(f(x(t_0))=0\).

2.2 \(g(y_1,y_2)=k(y_1)+l(y_1)y_2\)

In the case where g depends linearly on \(y_2\), such as \(g(y_1,y_2)=k(y_1)+l(y_1)y_2\), we must have the conditions \(G_2 = k(y_1)+l(y_1)y_2 >0\) and \(G_3 = f'(y_1)y_2 + k(y_1) + 2l(y_1)y_2 - (f(y_1))^2 >0\). Condition (8) then becomes

$$\begin{aligned} f'(y_1)y_2 + l(y_1)y_2 - (f(y_1))^2 =0. \end{aligned}$$
(12)

The modes \(y_2\) and \(y_3\) are then competitive at \(t=t_0\) provided that

$$\begin{aligned}&k(y_1(t_0))+l(y_1(t_0))y_2(t_0) >0,\end{aligned}$$
(13)
$$\begin{aligned}&f'(y_1(t_0))y_2(t_0) + k(y_1(t_0)) + 2l(y_1(t_0))y_2(t_0) \nonumber \\&\quad - (f(y_1(t_0)))^2 >0, \end{aligned}$$
(14)

and

$$\begin{aligned} y_2(t_0) = \frac{f(y_1(t_0))^2}{f'(y_1(t_0))+l(y_1(t_0))}. \end{aligned}$$
(15)

Performing some simplifications, this suggests that third-order ODEs of the form

$$\begin{aligned} \dddot{x} + f(x)\ddot{x} +k(x)\dot{x} + l(x)\dot{x}^2 + h(x) = 0 \end{aligned}$$
(16)

can admit chaos if

$$\begin{aligned} \dot{x}(t_0) = \frac{f(x(t_0))^2}{f'(x(t_0))+l(x(t_0))} \end{aligned}$$
(17)

and

$$\begin{aligned} k(x(t_0))+\frac{l(x(t_0))f(x(t_0))^2}{f'(x(t_0))+ l(x(t_0))} >0, \end{aligned}$$
(18)

at some \(t=t_0\).

We should remark that, if \(f'(x(t_0))+l(x(t_0)) =0\), the modes can still be competitive. The conditions for this case become \(k(x(t_0))>0\) and \(f(x(t_0))=0\).

2.3 The zero locus of (8)

In general, we cannot find a closed-form expression for \(y_2\) in terms of \(y_1\) from (8) when \(g(y_1,y_2)\) is a general nonlinear function. However, one can study the zero locus which constitutes the solution set of ordered pairs \((y_1,y_2)\) to (8).

Note also that, since only two modes can ever be competitive, we only have one relation to check [namely, (8)], along with the positivity conditions. In general, for a third-order system, we would have three possible comparisons to make. This simplicity is due to the form of the Eq. (2) considered.

2.4 Volume expansion or contraction

In addition to competitive modes, one can use volume expansion or contraction in an attempt to better understand the dynamics of specific equations of the form (2). Note that the system (3) has volume expansion or contraction in phase space depending on the sign of

$$\begin{aligned} \frac{1}{\mathcal {V}}\frac{\hbox {d}\mathcal {V}}{\hbox {d}t}= & {} \triangle \mathcal {V} = \frac{\partial \dot{y}_1}{\partial y_1} + \frac{\partial \dot{y}_2}{\partial y_2} + \frac{\partial \dot{y}_3}{\partial y_3}\nonumber \\= & {} - f(y_1) = - f(x). \end{aligned}$$
(19)

In particular, for a chaotic attractor, we should have

$$\begin{aligned} 0 \ge \frac{1}{\mathcal {V}}\frac{\hbox {d}\mathcal {V}}{\hbox {d}t} = - f(x) \end{aligned}$$
(20)

for long time if we want trajectories in phase space to converge upon such an attractor. For more on dissipativity and the utility of this approach for locating hidden attractors, see [2124].

In light of (20), \(f(x) \ge 0\) seems to be a useful condition on equations of the form (2) when we seek chaos. For some situations, such as the blue skye catastrophe [25], there is volume expansion locally for some time during bursting events, while for most times there is strong volume contraction. For such a case, a restriction that

$$\begin{aligned} \int _{t_0}^{t_f} f(x(t))\hbox {d}t \ge 0, \end{aligned}$$
(21)

for every large enough time interval \([t_0,t_f]\), may be most useful. This says that, over every large enough time interval, the dynamics are dissipative, although there can be regions of local bursting behavior. As we shall see later in Sect. 3, the physical models which occur as special cases of (2) will satisfy this property.

3 Concrete examples

In this section, we shall provide some examples of nonlinear oscillator equations of the form (2). We demonstrate that some equations of this form can permit chaos, and hence, the extension of (1) to order three gives the possibility for many more types of dynamics.

3.1 Sprott equations

Sprott [7] considered various equations of the form

$$\begin{aligned} \dddot{x} + a \ddot{x} + b \dot{x} + h(x) =0, \end{aligned}$$
(22)

and some specific functional forms of h(x) for which chaotic trajectories exist were found. Such equations have volume contraction when \(a>0\) or are volume neutral when \(a=0\).

The mode frequencies for (22) are found to be \(G_1 =0\), \(G_2 = b\), and \(G_3 = b - a^2\). Since the mode frequencies are all constant, if \(G_2=G_3\), then the mode frequencies are always competitive. In this case, the modes lock and the system may not exhibit chaos for some response functions h(x) (see [7]). However, if the mode frequencies are nearly competitive, \(G_2 \approx G_3\), then chaos can still occur. This would imply that we should have the condition \(0 \,{\le }\, a^2 \,{<}\,1\), and this is actually what we see in all of the chaotic systems of the form (22) given in Table 1 of [7]. From the positivity conditions on \(G_2\) and \(G_3\), we must also have \(b-a^2 >0\). Therefore, it makes sense to look for chaos in the system (22) when

$$\begin{aligned} a^2<<1 \quad \text {and} \quad a^2 < b. \end{aligned}$$
(23)
Fig. 1
figure 1

Plot of the phase portrait for the system (22) when \(a=0\), \(b=2.8\), and \(h(x) = x-x^2\). Initial conditions are taken to be \(x(0) = 0.5\), \(x'(0) = -1\), and \(x''(0) = 1\). Since \(a=0\), the modes are always competitive, while since \(b = 1 > a^2\) the positivity condition is always satisfied

Fig. 2
figure 2

Plot of the phase portrait for the system (22) when \(a=0.19\), \(b=1\), and \(h(x) = x-2\tanh (x)\). Initial conditions are taken to be \(x(0) = 0\), \(x'(0) = 1\), and \(x''(0) = 0\). Since \(a^2 = 0.0361 \,{\ll }\, 1\), the modes are always nearly competitive, while since \(b = 1 > a^2\) the positivity condition is always satisfied

Fig. 3
figure 3

Plot of the phase portrait for the system (22) when \(a=0.2\), \(b=1\), and \(h(x) = -\sin (x)\). Initial conditions are taken to be \(x(0) = 0\), \(x'(0) = 1\), and \(x''(0) = 0\). Since \(a^2 = 0.04 \ll 1\), the modes are always nearly competitive, while since \(b = 1 > a^2\) the positivity condition is always satisfied

When h(x) is a linear function, note that the Eq. (22) can never give chaos; hence, a competitive modes analysis is not sufficient for chaos. We shall pick various nonlinear forms of h(x). In particular, we take \(h(x) = x-x^2\), \(h(x) = x-2\tanh (x)\), and \(h(x)=-\sin (x)\), and plot the resulting phase portraits in Figs. 1, 2, and 3, respectively. For each case, we pick parameter values giving chaos, using the results of [7] as guidance. For each case, one positive, one zero, and one negative Lyapunov exponent exists. Note that the modes are competitive or nearly competitive for each, while the positivity conditions always hold. Therefore, even through the competitiveness and positivity conditions are independent of time (and hence hold for all time, when appropriate parameter values are employed), we still see emergent chaotic behavior within the dynamics of Eq. (22).

3.2 Electronic oscillator

In [26], a simple chaotic oscillator from an electric circuit was constructed. This oscillator was modeled by the ODE system

$$\begin{aligned} \begin{aligned}&\dot{X} = Y,\\ {}&\dot{Y} = aY - X - Z,\\ {}&\epsilon \dot{Z} = b + Y - c(e^{Z}-1), \end{aligned} \end{aligned}$$
(24)

where \(a,b,c,\epsilon \) are constant parameters. Importantly, chaotic dynamics were shown to exist for such oscillators in [26].

In our coordinates, the relevant oscillator equation is given by

$$\begin{aligned}&\dddot{x} + \left( C e^x - A \right) \ddot{x} + \left( Ce^{x}\dot{x} +D -Ae^{x}\right) \dot{x}\nonumber \\&\quad + \left( Ce^{x} - B \right) = 0. \end{aligned}$$
(25)

Our function x(t) is z(t) in [26], while the parameters \(a,b,c,\epsilon \) of [26] are transformed by \(A= \frac{ac}{\epsilon }\), \(B = \frac{b+c}{\epsilon }\), \(C= \frac{c}{\epsilon }\), \(D=\frac{1}{\epsilon }+1\). Note that \(x=\ln (B/C)\) is an equilibrium value. We have volume contraction in phase space when \(C e^x - A >0\).

Fig. 4
figure 4

Plot of the phase portrait for the system (25) when \(a=0.4\), \(b=30\), \(c = 4\times 10^{-9}\), and \(\epsilon = 0.13\), which in turn give \(A = 1.2307\times 10^{-9}\), \(B=230.769\), \(C = 3.0769\times 10^{-8}\), and \(D = 8.6923\). Initial conditions are taken to be \(x(0) = 1\), \(x'(0) = 0\), and \(x''(0) = 0\). The corresponding plot showing the competitiveness condition is given in Fig. 5

We find that the positivity conditions are given by

$$\begin{aligned} (C\dot{x}-A)e^x + D >0 \end{aligned}$$
(26)

and

$$\begin{aligned} (3C\dot{x}+2AC-A)e^x -C^2e^{2x}-A^2 >0. \end{aligned}$$
(27)

The competitiveness condition becomes

$$\begin{aligned} 2Ce^x \dot{x} - (Ce^x -A)^2 =0, \end{aligned}$$
(28)

Hence, if there exists \(t=t_0\) such that (28) holds, then the mode frequencies \(G_2\) and \(G_3\) are equal. In terms of the unknown functions, the competitiveness condition is equivalent to

$$\begin{aligned} \dot{x}(t_0) = \frac{C}{2}e^{x(t_0)} -A + \frac{A^2}{2C}e^{-x(t_0)}. \end{aligned}$$
(29)

If we use the competitiveness condition in the positivity condition, we find that (after some algebraic manipulations) they may be reduced to a single relation of the form

$$\begin{aligned} \frac{1}{2}C^2e^{2x} - A(C+1)e^{x} + \frac{1}{2}A^2 > \max \left\{ 0, -D \right\} . \end{aligned}$$
(30)

Note that the parameter B does not matter for either positivity or competitiveness, while D enters only into the positivity condition. In contrast, both A and C feature in both the positivity and competitiveness conditions and are hence more likely to play the role of bifurcation parameters.

We plot a representative chaotic solution in Fig. 4 for fixed parameter values. In Fig. 5, we plot the competitiveness condition (28) as well as the positivity condition (30) corresponding to this chaotic solution. We see that the competitiveness condition holds intermittently over the time domain, which appears as a common feature among chaotic systems [27]. Therefore, the competitive modes analysis can be successfully applied to the solutions of (25).

Fig. 5
figure 5

Plot of the competitiveness and positivity conditions for Eq. (25), given parameter values and initial conditions of Fig. 4. When the competitiveness condition equals zero and the function showing the positivity condition is greater than zero, then the criteria for the competitive modes test are met, and the two relevant modes are indeed competitive. This occurs at what appears to be countably many intermittent times

3.3 Memristor oscillator

Itoh and Chua [28] studied a variety of nonlinear dynamics arising from memristor oscillators. We shall consider the specific third-order system

$$\begin{aligned} \begin{aligned} \dot{X}&= \alpha (Y - W(Z)X),\\ \dot{Y}&= -\xi X + \beta Y,\\ \dot{Z}&= X, \end{aligned} \end{aligned}$$
(31)

where W(Z) is a prescribed function. This equation arises in the study of memristors and appears as equation (65) of [28]. The functional form of W will determine the particular physics of the system.

Putting this equation into the form of a single ODE by reduction in order [29], and setting \(x(t)=Z(t)\), we obtain

$$\begin{aligned} \dddot{x} \,{+}\, (\alpha W(x) \,{-}\, \beta )\ddot{x} \,{+}\, \alpha (W'(x)\dot{x}\,{-}\,\beta W(x)\,{+}\,\xi )\dot{x} \,{=}\,0.\nonumber \\ \end{aligned}$$
(32)

We have \(f(x)=\alpha W(x) - \beta \) and \(g(x,\dot{x})=\alpha (W'(x)\dot{x}-\beta W(x)+\xi )\). We have volume contraction in phase space provided that \(\alpha W(x) - \beta >0\).

The competitiveness condition is

$$\begin{aligned} 2\alpha W'(x)\dot{x} - (\alpha W(x) -\beta )^2 = 0, \end{aligned}$$
(33)

and for \(W'(x)\ne 0\) this gives

$$\begin{aligned} \dot{x}(t_0) = \frac{(\alpha W(x(t_0)) -\beta )^2}{2\alpha W'(x(t_0))}. \end{aligned}$$
(34)

Meanwhile, the positivity condition becomes

$$\begin{aligned} \alpha (W'(x)\dot{x}-W(x)+\xi ) >0, \end{aligned}$$
(35)

which is equivalent to (using (34))

$$\begin{aligned} \frac{\alpha ^2}{2}(W(x))^2 - \alpha (1+\beta )W(x) + \frac{\beta ^2}{2} + \alpha \xi >0. \end{aligned}$$
(36)

On the other hand, if \(W'(x(t_0))=0\), we must have the competitiveness condition \(W(x(t_0))=\frac{\beta }{\alpha }\). The positivity condition is then \(\xi > \frac{\beta }{\alpha }\).

In [28], W(x) was taken to be of the form of a family of step functions. For our purposes, consider a family of step functions satisfying

$$\begin{aligned} W(x) = {\left\{ \begin{array}{ll} a &{}\text {if} \; |x- k| < 1,\\ b &{}\text {if} \; |x -k| > 1. \end{array}\right. } \end{aligned}$$
(37)

Since this function is discontinuous, let us approximate it via a continuous and smooth function. To this end, consider

$$\begin{aligned} W(x) = a + (b-a)\tanh ^2 \left( j(x-k) \right) , \end{aligned}$$
(38)

which for large \(j>>1\) gives a smooth approximation of (37).

In Fig. 6, we plot the resulting solution x(t) to (32) for various values of the initial condition near the algebraic competitiveness condition, corresponding to \(x'(0)=-0.0317\) when \(x(0)=0.9\). We find that the trajectories tend to a stable positive equilibrium. For other parameters, stable limit cycles exist (as discussed in [28]). Therefore, while we have competitiveness of two modes, we do not have chaos.

Let us consider the positivity condition (35) and the competitiveness condition (33). We plot both in Fig. 7, for parameter values and initial conditions taken in Fig. 6. Initially, the modes are competitive, but then fail to be competitive for all time \(t>0\). The positivity condition is satisfied for all \(t>0\). This highlights the fact that the modes should be intermittently competitive in order for there to be chaos, while modes which are competitive only at finitely many times do not yield chaotic dynamics (as was discussed in [27]). As such, it is insufficient for modes to be competitive at only a point (or, by extension, a finite collection of points) if we seek chaotic trajectories.

Fig. 6
figure 6

Plot of the solution x(t) to (32) given \(\alpha = 0.2\), \(\beta = 0\), \(\xi = 2\), while W(x) is taken as in (38) with parameters \(a=0\), \(b=1\), \(j=20\), \(k=1\). Initial conditions are \(x(0)=0.9\), \(x''(0)=0\), while \(x'(0)\) is varied. When \(x'(0)=-0.0317\) we have from (34) that the modes are competitive

Fig. 7
figure 7

Plot of the competitiveness (33) and positivity (35) conditions for Eq. (32), given parameter values and initial conditions of Fig. 6. We select \(x'(0)=-0.0317\), noting similar results for nearby initial conditions. Observe that the positivity condition always holds, while the competitiveness condition holds only at \(t=0\), and not for any positive time. Chaos does not emerge, which highlights the need for modes to be intermittently competitive for all time if chaotic trajectories are sought

We remark that the competitive modes analysis has picked up on something interesting. Since the modes are competitive at only one time, this means that as time gets arbitrarily large, the modes will never again be competitive. (Similarly, if the modes are competitive at finitely many times, then for all times larger than the maximum of those finite times, the modes will not be competitive.) As such, we anticipate rather tame behaviors: trajectories leading to finite steady states, divergence to infinity, or limit cycles. That is, we essentially expect those dynamics commonly seen in two dimensions. With this in mind, let us note that equations of the form (32) with sufficiently smooth W(x) can actually be written in the form

$$\begin{aligned} \frac{\hbox {d}}{\hbox {d}t}\left\{ \ddot{x} + \alpha W(x)\dot{x} - \beta \dot{x} + \alpha W(x) + \alpha \xi x \right\} =0, \end{aligned}$$
(39)

and hence for such a case, Eq. (32) clearly has a first integral for the form

$$\begin{aligned} \ddot{x} + \alpha W(x)\dot{x} - \beta \dot{x} + \alpha W(x) + \alpha \xi x = I, \end{aligned}$$
(40)

where I is a real-valued constant of integration. Since this is a second-order equation, and the nonlinear terms are smooth, we can only obtain non-chaotic solutions. Hence, even if modes start out competitive, they should separate, with one mode eventually becoming dominant for increasingly large time.

Fig. 8
figure 8

Plot of the phase portrait for the system to (42) given \(\alpha = 0.2\), \(\beta = 0\), \(\xi = 2\), while W(x) is taken as in (38) with parameters \(a=0\), \(b=1\), \(j=20\), \(k=1\). We also take \(V(x) = 5\sin (x)\) for sake of example. Initial conditions are \(x(0)=0.9\), \(x'(0)=-0.0317\), and \(x''(0)=0\). Recall that when \(x'(0)=-0.0317\), we have from (34) that the modes are competitive

Fig. 9
figure 9

Plot of the competitiveness (33) and positivity (35) conditions for Eq. (32), given parameter values and initial conditions of Fig. 8. We select \(x'(0)=-0.0317\), noting similar results for nearby initial conditions. Observe that the positivity condition holds over most of the domain, including for all sufficiently large times, while the competitiveness condition holds at \(t=0\) and for a collection of larger times. Eventually, the modes become locked at a nearly competitive state, with the curve denoting the competitiveness condition tending toward a value of about \(-0.04\) for large time, which is sufficiently close to zero. As such, we observe the chaos as shown in Fig. 8

Let us note that one can modify the oscillator equation (31) in order to obtain chaotic trajectories. We consider the system

$$\begin{aligned} \begin{aligned} \dot{X}&= \alpha (Y - W(Z)X),\\ \dot{Y}&= -\xi X + \beta Y - V(Z),\\ \dot{Z}&= X, \end{aligned} \end{aligned}$$
(41)

where we now have coupled the \(\dot{Y}\) equation with Z direction, through use of the function V(Z). Then, again identifying \(x(t) = Z(t)\), we obtain the analog of (32), to wit:

$$\begin{aligned}&\dddot{x} + (\alpha W(x) - \beta )\ddot{x} + \alpha (W'(x)\dot{x}-\beta W(x)+\xi )\dot{x}\nonumber \\&\quad +\, \alpha V(x) =0. \end{aligned}$$
(42)

Recall that the function h(x) in (2) will not enter into either the competitiveness or positivity conditions; therefore, we can use the same conditions as derived above. In Fig. 8, we plot a solution to (42) for which the modes are competitive at \(t=0\). This solution corresponds to the choice \(V(x)=5\sin (x)\). In Fig. 9, we plot the competitiveness condition along with the positivity condition. As we can see, there are intermittent regions where modes are not competitive, while for most times the modes are indeed competitive. For large time, the competitiveness condition is nearly, but not exactly, zero, and the modes appear to remain nearly competitive for all time. Meanwhile, the positivity condition is simultaneously satisfied for large time.

4 Competitive modes are not sufficient for chaos

While we demonstrated certain conditions for which two modes being competitive did not yield chaos (mainly, when two modes were competitive at only finitely many points), in this section we shall more generally consider the insufficiency of competitive modes, as illustrated by a subclass of equations of the form (2).

When (2) is equivalent to (1), we do not expect chaos, since in this case the dynamics are two-dimensional. Differentiation of (1) with respect to t yields a third-order system

$$\begin{aligned} \dddot{x} + F(x)\ddot{x} + F'(x)\dot{x}^2 + G'(x)\dot{x} = 0. \end{aligned}$$
(43)

Equations (2) and (1) are therefore equivalent when \(f(x)=F(x)\), \(g(x,\dot{x})=F'(x)\dot{x}+G'(x)\) and \(h(x)=0\). In other words, when \(h(x)=0\) and when g takes the form \(g(x,\dot{x})=f'(x)\dot{x}+g_0(x)\), (2) has a first integral, and hence, its dynamics are two-dimensional.

For a concrete example, consider the third-order nonlinear differential equation

$$\begin{aligned} \dddot{x} + x\ddot{x} + \dot{x}^2 + \left( \frac{1}{2}x^2 + 1 \right) \dot{x} =0. \end{aligned}$$
(44)

The competitiveness condition is

$$\begin{aligned} \dot{x} - \frac{1}{2}x^2 =0, \end{aligned}$$
(45)

while the positivity condition is

$$\begin{aligned} x^2 + 1 >0, \end{aligned}$$
(46)

which always holds. Let us take \(t_0 =0\) to be a point when the modes are competitive. Then, the mode frequencies \(G_2 = G_3\) at \(t=0\) provided that \(\dot{x}(0) = \frac{1}{2}x(0)^2\). Therefore, (44) has two competitive modes at time \(t=0\) provided that the initial condition is selected appropriately.

While (44) has two competitive modes at time \(t=0\), we can show that the system (44) cannot admit any chaotic trajectories. Note that (44) is equivalent to

$$\begin{aligned} \frac{\hbox {d}}{\hbox {d}t}\left\{ \ddot{x} + x\dot{x} + \frac{1}{6}x^3 +x \right\} = 0. \end{aligned}$$
(47)

Yet, (47) has an exact first integral, given by

$$\begin{aligned} \ddot{x} + x\dot{x} + \frac{1}{6}x^3 +x = C. \end{aligned}$$
(48)

The dynamics of (48) are planar; therefore, there can be no chaotic trajectories. Yet, (44) and (48) are equivalent systems, so there can be no chaotic trajectory in (44). This demonstrates that the competitiveness of two modes cannot be a sufficient condition for chaos in dynamical systems of order greater than two.

Of course, this does not diminish the utility of the competitive modes analysis. The method remains useful for detecting parameter regimes that might lead to chaos. However, there still is a certain skill required to extract such information from the method. In this way, we see that the approach is certainly not a black box method and that one must exercise caution when applying the method. Still, the approach has been demonstrated to assist in finding parameter regimes admitting chaos, for appropriate applications of the method.

5 Conclusions

A new, third-order, extension of the Liénard oscillator equation (2) was considered. A general competitive modes analysis for this third-order system was considered, as nonlinear third-order systems can possibly give chaos. This equation holds the third-order equations studied in [7] as special cases, and hence, we are able to study chaos in a much more general setting. Indeed, through a competitive modes analysis, we were able to derive some criteria which allow one to search for chaos in such third-order systems. The results demonstrate that the natural extension (2) of the Liénard oscillator equation to third-order permits a variety of dynamics, some previously explored for specific forms of (2).

Physically relevant examples were considered, in order to illustrate the utility of studying such third-order oscillator equations. In each of these cases, the aforementioned competitive modes analysis was employed in order to search for parameter regimes permitting the existence of chaotic trajectories. The results also point out that modes should be at least intermittently competitive over the time domain. When modes are competitive or nearly competitive at a single point (or a finite collection of points) in time, the dynamics observed are non-chaotic.

Non-sufficiency of competitive modes analysis was demonstrated for a specific reduction in (2). In particular, one may have modes which are competitive or nearly competitive, even when planar dynamics are observed. This means that the competitive modes analysis can be used as a diagnostic tool for trying to identify parameter regimes and initial conditions which permit chaotic trajectories in phase space, yet cannot be said to be sufficient conditions for the existence of such chaotic trajectories. Indeed, the existence of two competitive modes may be necessary (as conjectured elsewhere), although as we show here certainly is not sufficient, for the existence of chaotic trajectories in autonomous, continuous nonlinear systems of dimension three or greater.