Numerical stability and oscillation of the Runge-Kutta methods for the differential equations with piecewise continuous arguments alternately of retarded and advanced type

Abstract

This paper is concerned with the numerical properties of Runge-Kutta methods for the alternately of retarded and advanced equation $\stackrel{˙}{x}\left(t\right)=ax\left(t\right)+{a}_{0}x\left(2\left[\frac{t+1}{2}\right]\right)$. The stability region of Runge-Kutta methods is determined. The conditions that the analytic stability region is contained in the numerical stability region are obtained. A necessary and sufficient condition for the oscillation of the numerical solution is given. And it is proved that the Runge-Kutta methods preserve the oscillations of the analytic solutions. Some numerical experiments are illustrated.

1 Introduction

This paper deals with the numerical solution of the alternately of retarded and advanced equation with piecewise continuous arguments (EPCA)

$\stackrel{˙}{x}\left(t\right)=f\left(x\left(t\right),x\left(2\left[\frac{t+1}{2}\right]\right)\right),$
(1.1)

where $\left[\cdot \right]$ is the greatest integer function. Differential equations of this form have stimulated considerable interest and have been studied by Cooker and Wiener [1], Jayasree and Deo [2], Wiener and Aftabizadeh [3]. In these equations the argument deviation $T\left(t\right)=t-2\left[\frac{t+1}{2}\right]$ is a piecewise linear periodic function with periodic 2. Also, $T\left(t\right)$ is negative for $2n-1\le t<2n$ and positive for $2n\le t<2n+1$. Therefore, (1.1) is of advanced type on $\left[2n-1,2n\right)$ and of retarded type on $\left(2n,2n+1\right)$.

EPCA describe hybrid dynamical systems, combine properties of both differential and difference equations and have applications in certain biomedical models in the work of Busenberg and Cooke [4]. For these equations of mixed type, the change of sign in the argument deviation leads not only to interesting periodic properties, but also to complications in the asymptotic and oscillatory behavior of solutions. Oscillatory, stability and periodic properties of the linear EPCA alternately of retarded and advanced form have been investigated in [1].

There are some papers concerning the stability of numerical solutions of delay differential equations with piecewise continuous arguments, such as [57]. Also, there have been results concerning oscillations of delay differential equations and delay difference equations, even including delay differential equations with piecewise continuous arguments [8]. But there is no paper concerned with the stability and oscillation of the numerical solutions of Eq. (1.1).

In this paper, we investigate the numerical properties, including the stability and oscillation, of Runge-Kutta methods of delay differential equations with piecewise continuous arguments.

We consider the following equation:

$\left\{\begin{array}{l}\stackrel{˙}{x}\left(t\right)=ax\left(t\right)+{a}_{0}x\left(2\left[\frac{t+1}{2}\right]\right),\\ x\left(0\right)={x}_{0},\end{array}$
(1.2)

where a, ${a}_{0}$ are constants and $\left[\cdot \right]$ is the greatest integer function.

Definition 1.1 [9]

A solution of (1.2) on $\left[0,\mathrm{\infty }\right)$ is a function $x\left(t\right)$ that satisfies the conditions:

1. 1.

$x\left(t\right)$ is continuous on $\left[0,\mathrm{\infty }\right)$.

2. 2.

The derivative $\stackrel{˙}{x}\left(t\right)$ exists at each point $t\in \left[0,\mathrm{\infty }\right)$, with the possible exception of the points $t=2n-1$ for $n\in \mathbb{N}$, where one-sided derivatives exist.

3. 3.

(1.2) is satisfied on each interval $\left[2n-1,2n+1\right)$ for $n\in \mathbb{N}$.

In the following, we use these notations

$m\left(t\right)={e}^{at}+\left({e}^{at}-1\right){a}^{-1}{a}_{0},\phantom{\rule{2em}{0ex}}{m}_{1}=m\left(1\right),\phantom{\rule{2em}{0ex}}{m}_{-1}=m\left(-1\right).$

The following theorems give existence and uniqueness of solutions and provide necessary and sufficient conditions for the asymptotic stability and the oscillation of all solutions of (1.2).

Theorem 1.2 [9]

Assume that $a,{a}_{0},{x}_{0}\in \mathbb{R}$. Then the initial value problem (1.2) has on $\left[0,\mathrm{\infty }\right)$ a unique solution $x\left(t\right)$ given by

$x\left(t\right)=m\left(T\left(t\right)\right){\left(\frac{{m}_{1}}{{m}_{-1}}\right)}^{\left[\frac{t+1}{2}\right]}{x}_{0},$

where $T\left(t\right)=t-2\left[\frac{t+1}{2}\right]$, $x\left(0\right)={x}_{0}$.

Theorem 1.3 [9]

The solution $x\left(t\right)=0$ of (1.2) is asymptotically stable (${lim}_{t\to \mathrm{\infty }}x\left(t\right)=0$) if and only if any one of the following hypotheses is satisfied:

1. 1.

$a<0$, ${a}_{0}>-\frac{a\left({e}^{2a}+1\right)}{{\left({e}^{a}-1\right)}^{2}}$ or ${a}_{0}<-a$;

2. 2.

$a>0$, $-\frac{a\left({e}^{2a}+1\right)}{{\left({e}^{a}-1\right)}^{2}}<{a}_{0}<-a$;

3. 3.

$a=0$, ${a}_{0}<0$.

In the following, we give the definition of oscillation and non-oscillation.

Definition 1.4 A nontrivial solution of (1.2) is said to be oscillatory if there exists a sequence ${\left\{{t}_{k}\right\}}_{k=1}^{\mathrm{\infty }}$ such that ${t}_{k}\to \mathrm{\infty }$ as $k\to \mathrm{\infty }$ and $x\left({t}_{k}\right)x\left({t}_{k-1}\right)\le 0$. Otherwise, it is called non-oscillatory. We say (1.2) is oscillatory if all nontrivial solutions of (1.2) are oscillatory. We say (1.2) is non-oscillatory if all nontrivial solutions of (1.2) are non-oscillatory.

Consider the difference equation

${a}_{n+k}+{p}_{1}{a}_{n+k-1}+\cdots +{p}_{k}{a}_{n}=0,\phantom{\rule{1em}{0ex}}n=0,1,2,\dots ,$
(1.3)

where $k=1,2,\dots$ , ${p}_{i}\in \mathbb{R}$, $i=1,2,\dots ,k$, and its associated characteristic equation is

${\lambda }^{k}+{p}_{1}{\lambda }^{k-1}+\cdots +{p}_{k-1}\lambda +{p}_{k}=0.$
(1.4)

Definition 1.5 A nontrivial solution $\left\{{a}_{n}\right\}$ of (1.3) is said to be oscillatory if there exists a sequence $\left\{{n}_{k}\right\}$ such that ${n}_{k}\to \mathrm{\infty }$ as $k\to \mathrm{\infty }$ and ${a}_{{n}_{k}}{a}_{{n}_{k}-1}\le 0$. Otherwise, it is called non-oscillatory. Equation (1.3) is said to be oscillatory if all nontrivial solutions of Eq. (1.3) are oscillatory. Equation (1.3) is called non-oscillatory if all nontrivial solutions of Eq. (1.3) are non-oscillatory.

Theorem 1.6 [10]

Eq. (1.3) is oscillatory if and only if the characteristic equation (1.4) has no positive roots.

Theorem 1.7 [9]

A necessary and sufficient condition for all solutions of Eq. (1.2) to be oscillatory is either ${a}_{0}<-\frac{a{e}^{a}}{{e}^{a}-1}$ or ${a}_{0}>\frac{a}{{e}^{a}-1}$.

2 Runge-Kutta methods

In this section we consider the adaptation of the Runge-Kutta methods $\left(A,b,c\right)$. Let $h=\frac{1}{m}$ be a given step-size with an integer $m\ge 1$, and let the grid-points ${t}_{n}$ be defined by ${t}_{n}=nh$ ($n=0,1,2,\dots$).

For the Runge-Kutta methods, we always assume that ${b}_{1}+{b}_{2}+\cdots +{b}_{\nu }=1$ and $0\le {c}_{1}\le {c}_{2}\le \cdots \le {c}_{\nu }\le 1$.

The adaptation of the Runge-Kutta methods to (1.2) leads to a numerical process of the following type:

$\left\{\begin{array}{l}{x}_{n+1}={x}_{n}+h{\sum }_{i=1}^{\nu }{b}_{i}\left(a{y}_{i}^{\left(n\right)}+{a}_{0}{z}_{i}^{\left(n\right)}\right),\\ {y}_{i}^{\left(n\right)}={x}_{n}+h{\sum }_{j=1}^{\nu }{a}_{ij}\left(a{y}_{j}^{\left(n\right)}+{a}_{0}{z}_{j}^{\left(n\right)}\right),\end{array}$
(2.1)

where the matrix $A={\left({a}_{ij}\right)}_{\nu ×\nu }$, vectors $b={\left({b}_{1},{b}_{2},\dots ,{b}_{\nu }\right)}^{T}$, $c={\left({c}_{1},{c}_{2},\dots ,{c}_{\nu }\right)}^{T}$, and ${x}_{n}$ is an approximation to $x\left(t\right)$ at ${t}_{n}$ ($n=1,2,3,\dots$). ${y}_{i}^{\left(n\right)}$ and ${z}_{i}^{\left(n\right)}$ are approximations to $x\left({t}_{n}+{c}_{i}h\right)$ and $x\left(2\left[\frac{{t}_{n}+{c}_{i}h}{2}\right]\right)$ respectively. Let $n=2km+l$, $l=-m,-m+1,\dots ,m-1$ for $k\ge 1$, $l=0,1,\dots ,m-1$ for $k=0$. Then ${z}_{i}^{\left(2km+l\right)}$ can be defined as ${x}_{2km}$ according to Definition 1.1 ($i=1,\dots ,\nu$).

Let ${Y}^{\left(n\right)}={\left({y}_{1}^{\left(n\right)},{y}_{2}^{\left(n\right)},\dots ,{y}_{\nu }^{\left(n\right)}\right)}^{T}$. Then (2.1) reduces to

$\left\{\begin{array}{l}{x}_{2km+l+1}={x}_{2km+l}+ha{b}^{T}{Y}^{2km+l}+h{a}_{0}{x}_{2km},\\ {Y}^{2km+l}={x}_{2km+l}e+haA{Y}^{2km+l}+h{a}_{0}Ae{x}_{2km},\end{array}$
(2.2)

where $e={\left(1,1,\dots ,1\right)}^{T}$. Hence we have

${x}_{2km+l+1}=R\left(x\right){x}_{2km+l}+\frac{{a}_{0}}{a}\left(R\left(x\right)-1\right){x}_{2km},$
(2.3)

where $x=ha$, $R\left(x\right)=1+x{b}^{T}{\left(I-xA\right)}^{-1}e$ is the stability function of the method.

We can obtain from (2.3)

${x}_{2km+l}=\left({R}^{l}\left(x\right)+\frac{{a}_{0}}{a}\left({R}^{l}\left(x\right)-1\right)\right){x}_{2km},$
(2.4)
${x}_{2\left(k+1\right)m}=\frac{{R}^{m}\left(x\right)+\frac{{a}_{0}}{a}\left({R}^{m}\left(x\right)-1\right)}{{R}^{-m}\left(x\right)+\frac{{a}_{0}}{a}\left({R}^{-m}\left(x\right)-1\right)}{x}_{2km},$
(2.5)
${x}_{2\left(k+1\right)m}=\frac{1+{a}_{0}}{1-{a}_{0}}{x}_{2km},\phantom{\rule{1em}{0ex}}a=0.$
(2.6)

3 Stability and oscillation of the Runge-Kutta methods

In this section we discuss stability and oscillation of the Runge-Kutta methods.

3.1 Numerical stability

Definition 3.1 The Runge-Kutta method is called asymptotically stable at $\left(a,{a}_{0}\right)$ if there exists a constant M such that ${x}_{n}$ defined by (2.1) tends to zero as $n\to \mathrm{\infty }$ for all $h=\frac{1}{m}$ ($m>M$) and any given ${x}_{0}$.

Definition 3.2 The set of all points $\left(a,{a}_{0}\right)$ at which the Runge-Kutta method is asymptotically stable is called an asymptotic stability region denoted by S.

For any given Runge-Kutta method, $R\left(x\right)=\frac{P\left(x\right)}{Q\left(x\right)}$, where $P\left(x\right)$ and $Q\left(x\right)$ are polynomials. $R\left(x\right)$ is a continuous function at the neighborhood of zero, and $R\left(0\right)={R}^{\prime }\left(0\right)=1$. So there are ${\delta }_{1}<0<{\delta }_{2}$ such that

(3.1)

which implies

(3.2)

Remark 3.3 It is known from [11] that $R\left(x\right)$ is an increasing function in $\left[-1,1\right]$, and $1 for $0, $0 for $-1\le x<0$. Hence we can take ${\delta }_{1}=-1$, ${\delta }_{2}=1$ for simplicity.

In the following, we always suppose $h<\frac{1}{|a|}$.

It is easy to see from (2.4) and (2.5) that ${x}_{n}\to 0$ as $n\to \mathrm{\infty }$ if and only if ${x}_{2km}\to 0$ as $k\to \mathrm{\infty }$. Hence we have the following theorem.

Theorem 3.4 The Runge-Kutta method is asymptotically stable if any one of the following hypotheses is satisfied:

1. (i)

$-\frac{a\left({R}^{2m}\left(x\right)+1\right)}{{\left({R}^{m}\left(x\right)-1\right)}^{2}}<{a}_{0}<-a$, $a>0$;

2. (ii)

$-\frac{a\left({R}^{2m}\left(x\right)+1\right)}{{\left({R}^{m}\left(x\right)-1\right)}^{2}}<{a}_{0}$ or ${a}_{0}<-a$, $a<0$;

3. (iii)

${a}_{0}<0$, $a=0$.

Proof In view of (2.5), the Runge-Kutta method is asymptotically stable if and only if

$\begin{array}{r}-1<\frac{\left(a+{a}_{0}\right){R}^{2m}\left(x\right)-{a}_{0}{R}^{m}\left(x\right)}{\left(a+{a}_{0}\right)-{a}_{0}{R}^{m}\left(x\right)}<1,\phantom{\rule{1em}{0ex}}a\ne 0,\\ {a}_{0}<0,\phantom{\rule{1em}{0ex}}a=0.\end{array}$
(3.3)

If $\left(a+{a}_{0}\right)-{a}_{0}{R}^{m}\left(x\right)>0$, then (3.3) reduces to

${a}_{0}>-\frac{a\left({R}^{2m}\left(x\right)+1\right)}{{\left({R}^{m}\left(x\right)-1\right)}^{2}}\phantom{\rule{1em}{0ex}}\text{and}\phantom{\rule{1em}{0ex}}\left(a+{a}_{0}\right){R}^{2m}\left(x\right)

which is equivalent to

$\begin{array}{r}{a}_{0}>-\frac{a\left({R}^{2m}\left(x\right)+1\right)}{{\left({R}^{m}\left(x\right)-1\right)}^{2}},\phantom{\rule{1em}{0ex}}a\le 0,\\ -\frac{a\left({R}^{2m}\left(x\right)+1\right)}{{\left({R}^{m}\left(x\right)-1\right)}^{2}}<{a}_{0}<-a,\phantom{\rule{1em}{0ex}}a>0.\end{array}$
(3.4)

If $a+{a}_{0}-{a}_{0}{R}^{m}\left(x\right)<0$, then (3.3) reduces to

${a}_{0}<-\frac{a\left({R}^{2m}\left(x\right)+1\right)}{{\left({R}^{m}\left(x\right)-1\right)}^{2}}\phantom{\rule{1em}{0ex}}\text{and}\phantom{\rule{1em}{0ex}}\left(a+{a}_{0}\right){R}^{2m}\left(x\right)>a+{a}_{0},$

which is equivalent to

${a}_{0}<-a,\phantom{\rule{1em}{0ex}}a<0.$
(3.5)

By virtue of (3.4) and (3.5), the theorem is proved. □

3.2 Numerical oscillations

Theorem 3.5 The following statements are equivalent:

1. 1.

$\left\{{x}_{n}\right\}$ is oscillatory;

2. 2.

$\left\{{x}_{2km}\right\}$ is oscillatory;

3. 3.

${a}_{0}<\frac{-a{R}^{m}\left(x\right)}{{R}^{m}\left(x\right)-1}$, or ${a}_{0}>\frac{a}{{R}^{m}\left(x\right)-1}$.

Proof $\left\{{x}_{2km}\right\}$ is not oscillatory if and only if

$\frac{{R}^{m}\left(x\right)+\frac{{a}_{0}}{a}\left({R}^{m}\left(x\right)-1\right)}{{R}^{-m}\left(x\right)+\frac{{a}_{0}}{a}\left({R}^{-m}\left(x\right)-1\right)}>0,$

i.e.,

$\frac{-a{R}^{m}\left(x\right)}{{R}^{m}\left(x\right)-1}<{a}_{0}<\frac{a}{{R}^{m}\left(x\right)-1}.$

Hence for any $l=1,2,\dots ,m-1$

$\frac{-a{R}^{l}\left(x\right)}{{R}^{l}\left(x\right)-1}<\frac{-a{R}^{m}\left(x\right)}{{R}^{m}\left(x\right)-1}<{a}_{0}<\frac{a}{{R}^{m}\left(x\right)-1}<\frac{a}{{R}^{l}\left(x\right)-1},$

which is equivalent to

$\begin{array}{c}{R}^{l}\left(x\right)+\frac{{a}_{0}}{a}\left({R}^{l}\left(x\right)-1\right)>0,\hfill \\ {R}^{-l}\left(x\right)+\frac{{a}_{0}}{a}\left({R}^{-l}\left(x\right)-1\right)>0.\hfill \end{array}$

We obtain from (2.4) that $\left\{{x}_{n}\right\}$ is not oscillatory.

Moreover, $\left\{{x}_{2km}\right\}$ is oscillatory if and only if

$\frac{{R}^{m}\left(x\right)+\frac{{a}_{0}}{a}\left({R}^{m}\left(x\right)-1\right)}{{R}^{-m}\left(x\right)+\frac{{a}_{0}}{a}\left({R}^{-m}\left(x\right)-1\right)}<0,$

which is equivalent to

${a}_{0}<\frac{-a{R}^{m}\left(x\right)}{{R}^{m}\left(x\right)-1},\phantom{\rule{1em}{0ex}}\text{or}\phantom{\rule{1em}{0ex}}{a}_{0}>\frac{a}{{R}^{m}\left(x\right)-1}.$

□

4 Preservation of stability and oscillations

In this section, we investigate the conditions under which the analytic stability region is contained in the numerical stability region and the conditions under which the numerical solution and the analytic solution are oscillatory simultaneously. We also study the stability and oscillation of the Runge-Kutta method with the stability function which is given by the $\left(r,s\right)$-Padé approximation to ${e}^{z}$.

In order to do this, the following lemmas and corollaries will be useful to determine conditions.

Lemma 4.1 [12, 13]

The $\left(r,s\right)$-Padé approximation to ${e}^{z}$ is given by

$R\left(z\right)=\frac{{P}_{r}\left(z\right)}{{Q}_{s}\left(z\right)},$
(4.1)

where

$\begin{array}{c}{P}_{r}\left(z\right)=1+\frac{r}{r+s}z+\frac{r\left(r-1\right)}{\left(r+s\right)\left(r+s-1\right)}\frac{{z}^{2}}{2!}+\cdots +\frac{r!s!}{\left(r+s\right)!}\frac{{z}^{r}}{r!},\hfill \\ {Q}_{s}\left(z\right)=1-\frac{r}{r+s}z+\frac{s\left(s-1\right)}{\left(r+s\right)\left(r+s-1\right)}\frac{{z}^{2}}{2!}-\cdots +{\left(-1\right)}^{s}\frac{s!r!}{\left(r+s\right)!}\frac{{z}^{s}}{s!},\hfill \end{array}$

with error

${e}^{z}-R\left(z\right)={\left(-1\right)}^{s}\frac{s!r!}{\left(r+s\right)!\left(r+s+1\right)!}{z}^{r+s+1}+O\left({z}^{r+s+2}\right).$
(4.2)

It is the unique rational approximation to ${e}^{z}$ of order $r+s$, such that the degree of a numerator and a denominator are r and s respectively.

Lemma 4.2 [12, 13]

If $R\left(z\right)$ is the $\left(r,s\right)$-Padé approximation to ${e}^{z}$, then

1. (i)

there are s bounded star sectors in the right-half plane, each containing a pole of $R\left(z\right)$;

2. (ii)

there are r bounded white sectors in the left-half plane, each containing a zero of $R\left(z\right)$;

3. (iii)

all sectors are symmetric with respect to the real axis.

Corollary 4.3 [5, 7]

Suppose $R\left(z\right)$ is the $\left(r,s\right)$-Padé approximation to ${e}^{z}$. Then

1. 1.

$x>0$

$R\left(x\right)<{e}^{x}$ for all $x>0$ if and only if s is even.

$R\left(x\right)>{e}^{x}$ for all $0 if and only if s is odd.

1. 2.

$x<0$

$R\left(x\right)>{e}^{x}$ for all $x<0$ if and only if r is even.

$R\left(x\right)<{e}^{x}$ for all $\eta if and only if r is odd.

Where $\xi >1$ is a real zero of ${Q}_{s}\left(z\right)$ and $\eta <-1$ is a real zero of ${P}_{r}\left(z\right)$.

4.1 Preservation of stability

We introduce the set H consisting of all pairs $\left(a,{a}_{0}\right)\in {\mathbb{R}}^{2}$ at which the Runge-Kutta method is asymptotically stable. In the following we investigate the conditions which lead to $H\subseteq S$. For convenience, we divide the region H into three parts

$\begin{array}{c}{H}_{0}=\left\{\left(a,{a}_{0}\right)\in H:a=0\right\},\hfill \\ {H}_{1}=\left\{\left(a,{a}_{0}\right)\in H\setminus {H}_{0}:a<0\right\},\hfill \\ {H}_{2}=\left\{\left(a,{a}_{0}\right)\in H\setminus {H}_{0}:a>0\right\},\hfill \end{array}$

and in the similar way we denote

$\begin{array}{c}{S}_{0}=\left\{\left(a,{a}_{0}\right)\in S:a=0\right\},\hfill \\ {S}_{1}=\left\{\left(a,{a}_{0}\right)\in S\setminus {S}_{0}:a<0\right\},\hfill \\ {S}_{2}=\left\{\left(a,{a}_{0}\right)\in S\setminus {S}_{0}:a>0\right\}.\hfill \end{array}$

It is easy to see that $H={H}_{0}\cup {H}_{1}\cup {H}_{2}$, $S={S}_{0}\cup {S}_{1}\cup {S}_{2}$ and

${H}_{i}\cap {H}_{j}=\mathrm{\varnothing },\phantom{\rule{2em}{0ex}}{S}_{i}\cap {S}_{j}=\mathrm{\varnothing },\phantom{\rule{2em}{0ex}}{H}_{i}\cap {S}_{j}=\mathrm{\varnothing },\phantom{\rule{1em}{0ex}}i\ne j,i,j=0,1,2.$

Therefore, we can conclude that $H\subseteq S$ is equivalent to ${H}_{i}\subseteq {S}_{i}$, $i=0,1,2$.

Theorem 4.4 Suppose that the stability function $R\left(x\right)$ of the Runge-Kutta method is given by the $\left(r,s\right)$-Padé approximation to ${e}^{x}$. Then ${H}_{1}\subseteq {S}_{1}$ if and only if r is odd and ${H}_{2}\subseteq {S}_{2}$ if and only if s is even.

Proof In view of Theorem 1.3 and Theorem 3.4, we have that $H\subseteq S$ if and only if

$-\frac{a\left({R}^{2m}\left(x\right)+1\right)}{{\left({R}^{m}\left(x\right)-1\right)}^{2}}\le -\frac{a\left({e}^{2a}+1\right)}{{\left({e}^{a}-1\right)}^{2}},$

which is equivalent to

$R\left(x\right)\le {e}^{x}$

since $f\left(x\right)=\frac{{x}^{2}+1}{{\left(x-1\right)}^{2}}$ is increasing in $\left[0,1\right)$ and decreasing in $\left(1,\mathrm{\infty }\right)$.

According to Corollary 4.3, the proof is complete. □

Theorem 4.5 For all Runge-Kutta methods, we have ${H}_{0}={S}_{0}$.

Corollary 4.6 For the A-stable higher order Runge-Kutta methods, it is easy to see from Theorem  4.4 that

1. 1.

For the ν-stage Radau IA and IIA methods, $H\subseteq S$ if and only if ν is even;

2. 2.

For the ν-stage Lobatto IIIA and IIIB methods, ${H}_{1}\subseteq {S}_{1}$ if and only if ν is even and ${H}_{2}\subseteq {S}_{2}$ if and only if ν is odd;

3. 3.

For the ν-stage Gauss-Legerdre and Lobatto IIIC methods, ${H}_{1}\subseteq {S}_{1}$ if and only if ν is odd and ${H}_{2}\subseteq {S}_{2}$ if and only if ν is even.

It is known that all ν-stage explicit Runge-Kutta methods with $p=\nu =1,2,3,4$ possess the stability function (see [12])

$R\left(x\right)=1+x+\frac{{x}^{2}}{2!}+\cdots +\frac{{x}^{p}}{p!},$

which is the $\left(\nu ,0\right)$-Padé approximation to ${e}^{x}$.

Theorem 4.7 For the ν-stage explicit Runge-Kutta methods with $p=\nu =1,2,3,4$, $H\subseteq S$ if and only if ν is odd.

4.2 Preservation of oscillations

Definition 4.8 We call that the Runge-Kutta methods preserve oscillations of Eq. (1.2) if (1.2) oscillates, which implies that there is an ${h}_{0}$ such that (2.4) oscillates for $h<{h}_{0}$.

Owing to Theorem 1.7 and Theorem 3.5, the Runge-Kutta method preserves the oscillation of (1.2) if and only if

$\frac{-a{e}^{a}}{{e}^{a}-1}\le \frac{-a{R}^{m}\left(x\right)}{{R}^{m}\left(x\right)-1}\phantom{\rule{1em}{0ex}}\text{or}\phantom{\rule{1em}{0ex}}\frac{a}{{e}^{a}-1}>\frac{a}{{R}^{m}\left(x\right)-1}.$
(4.3)

Theorem 4.9 Suppose that the stability function $R\left(x\right)$ is given by the $\left(r,s\right)$-Padé approximation to ${e}^{x}$, then the Runge-Kutta method preserves the oscillation of (1.2) if and only if

and

Proof The proof is completed by (4.3) and noting that $\frac{x}{x-1}$ is decreasing in $\left[0,1\right)$. □

Corollary 4.10

1. 1.

The ν-stage Gauss-Legendre and Lobatto IIIC methods preserve the oscillation of Eq. (1.2) if and only if ν is odd.

2. 2.

The ν-stage Lobatto IIIA and IIIB methods preserve the oscillation of Eq. (1.2) if and only if ν is even.

3. 3.

The ν-stage Radau IA and IIA methods preserve the oscillation of Eq. (1.2) if ν is odd for $a>0$ and if ν is even for $a<0$.

Theorem 4.11 The ν-stage explicit Runge-Kutta methods with $p=\nu =1,2,3,4$ preserve the oscillation of Eq. (1.2) with $a<0$ if ν is odd.

Remark 4.12 We consider

$\begin{array}{r}{x}^{\prime }\left(t\right)=ax\left(t\right)+{a}_{0}x\left(M\left[\frac{t+N}{M}\right]\right),\\ x\left(0\right)={x}_{0},\end{array}$
(4.4)

where M, N are positive integers and $M=2N$.

We can obtain the same results about the stability and oscillation as Eq. (1.2), i.e.,

1. (i)

The Runge-Kutta method preserves the asymptotic stability of Eq. (4.4) if $R\left(x\right)\le {e}^{x}$.

2. (ii)

The Runge-Kutta method preserves the oscillation of Eq. (4.4) if

Hence the Corollary 4.6, 4.10 and Theorem 4.7, 4.11 hold.

5 Numerical experiments

In this section, we give some examples to illustrate the conclusions in the paper. To illustrate the stability, we consider the following two problems:

$\left\{\begin{array}{l}\stackrel{˙}{x}\left(t\right)=x\left(t\right)-1.9207x\left(2\left[\frac{t+1}{2}\right]\right),\phantom{\rule{1em}{0ex}}t>0,\\ x\left(0\right)=1,\end{array}$
(5.1)
$\left\{\begin{array}{l}\stackrel{˙}{x}\left(t\right)=-x\left(t\right)-x\left(2\left[\frac{t+1}{2}\right]\right),\phantom{\rule{1em}{0ex}}t>0,\\ x\left(0\right)=1.\end{array}$
(5.2)

In Figure 1 to Figure 4, we draw the numerical solutions for Eq. (5.1) and Eq. (5.2) respectively. It is easy to see that the numerical solutions are asymptotically stable.

To illustrate the oscillation, we consider the following two problems:

$\left\{\begin{array}{l}\stackrel{˙}{x}\left(t\right)=x\left(t\right)-2.2117x\left(2\left[\frac{t+1}{2}\right]\right),\phantom{\rule{1em}{0ex}}t>0,\\ x\left(0\right)=1,\end{array}$
(5.3)
$\left\{\begin{array}{l}\stackrel{˙}{x}\left(t\right)=-x\left(t\right)+2.5820x\left(2\left[\frac{t+1}{2}\right]\right),\phantom{\rule{1em}{0ex}}t>0,\\ x\left(0\right)=1.\end{array}$
(5.4)

In Figure 5 to Figure 7, we draw the numerical solutions for Eq. (5.3) and Eq. (5.4) respectively. It is easy to see that the numerical solutions are oscillatory.

References

1. Cooke KL, Wiener J: An equation alternately of retarded and advanced type. Proc. Am. Math. Soc. 1987, 99: 726–732. 10.1090/S0002-9939-1987-0877047-8

2. Jayasree KN, Deo SG: Variation of parameters formula for the equation of Cooke and Wiener. Proc. Am. Math. Soc. 1991, 112: 75–80. 10.1090/S0002-9939-1991-1057744-5

3. Wiener J, Aftabizadeh AR: Differential equations alternately of retarded and advanced type. J. Math. Anal. Appl. 1988, 129: 243–255. 10.1016/0022-247X(88)90246-6

4. Busenberg S, Cooke KL: Models of vertically transmitted diseases with sequential-continuous dynamics. In Nonlinear Phenomena in Mathematical Sciences. Edited by: Lakshmikantham V. Academic Press, New York; 1982.

5. Liu MZ, Song MH, Yang ZW:Stability of Runge-Kutta methods in the numerical solution of equation ${u}^{\prime }\left(t\right)=au\left(t\right)+{a}_{0}u\left(\left[t\right]\right)$. J. Comput. Appl. Math. 2004, 166: 361–370. 10.1016/j.cam.2003.04.002

6. Song MH, Yang ZW, Liu MZ: Stability of θ -methods advanced differential equations with piecewise continuous argument. Comput. Math. Appl. 2005, 49: 1295–1301. 10.1016/j.camwa.2005.02.002

7. Yang ZW, Liu MZ, Song MH:Stability of Runge-Kutta methods in the numerical solution of equation ${u}^{\prime }\left(t\right)=au\left(t\right)+{a}_{0}u\left(\left[t\right]\right)+{a}_{1}u\left(\left[t-1\right]\right)$. Appl. Math. Comput. 2005, 162: 37–50. 10.1016/j.amc.2003.12.081

8. Liu MZ, Gao JF, Yang ZW: Oscillation analysis of numerical solution in the θ -methods for equation ${x}^{\prime }\left(t\right)+ax\left(t\right)+{a}_{1}x\left(\left[t-1\right]\right)=0$ . Appl. Math. Comput. 2007, 186(1):566–578. 10.1016/j.amc.2006.07.119

9. Wiener J: Generalized Solutions of Functional Differential Equations. World Scientific, Singapore; 1993.

10. Györi I, Ladas G: Oscillation Theory of Delay Differential Equations. Clarendon Press, Oxford; 1991.

11. Ran XJ, Liu MZ, Zhu QY: Numerical methods for impulsive differential equation. Math. Comput. Model. 2007, 48(1–2):46–55.

12. Hairer E, Wanner G: Solving Ordinary Differential Equations II, Stiff and Differential Algebraic Problems. Springer, New York; 1993.

13. Wanner G, Hairer E, Nøsett SP: Order stars and stability theorems. BIT Numer. Math. 1978, 18: 475–489. 10.1007/BF01932026

Acknowledgements

The financial support from the National Natural Science Foundation of China (No.11071050) is gratefully acknowledged.

Author information

Authors

Corresponding author

Correspondence to Minghui Song.

Competing interests

The authors declare that they have no competing interests.

Authors’ contributions

The authors have equal contributions to each part of this article. All the authors read and approved the final manuscript.

Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

Rights and permissions

Reprints and permissions

Song, M., Liu, M. Numerical stability and oscillation of the Runge-Kutta methods for the differential equations with piecewise continuous arguments alternately of retarded and advanced type. J Inequal Appl 2012, 290 (2012). https://doi.org/10.1186/1029-242X-2012-290