, 19 min read

Stability Mountain for Explicit-Implicit Euler Cycle

If you combine the explicit Euler method with the implicit Euler method into a two-stage cycle:

$$ \begin{array}{l} -1 y_{2n} + 1 y_{2n+1} &= h \dot y_{2n} ,\\ \quad\qquad -1 y_{2n+1} + 1 y_{2n+2} &= \qquad h \dot y_{2n+2} . \end{array} $$

This method is A-stable but not L-stable. For the notation see Tendler-like Formulas for Stiff ODEs. Furthermore, it is of order two! For a proof of this see either Albrecht (1976), example for theorem 5.1, or Tischer's dissertation, example 4.3.1.

References.

  1. Peter Albrecht: “Numerische Behandlung gewöhnlicher Differentialgleichungen”, Jül-1274, Februar 1976, Berichte der Kernforschungsanlage Jülich GmbH, Institut für Festkörperforschung, PDF
  2. “Tendler-like Formulas for Stiff ODEs”
  3. Peter E. Tischer: “The Cyclic Use of Linear Multistep Formulas for the Solution of Stiff Differential Equations”, Ph.D. thesis, August 1983, Monash University, Australia

Its generating matrix polynomial $Q(\mu,H)$ is:

$$ Q(\mu,H) = (A_1\mu+A_0) -H(B_1\mu+B_0), $$

with

$$ A_1 = \begin{pmatrix} 1 & 0 \\ -1 & 1 \end{pmatrix}, \quad A_0 = \begin{pmatrix} 0 & -1 \\ 0 & 0 \end{pmatrix}, \quad B_1 = \begin{pmatrix} 0 & 0 \\ 0 & 1 \end{pmatrix}, \quad B_0 = \begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix}. $$

The determinant of $\det(B_1\lambda+B_0)$ vanishes identically, for every $\lambda$. Consequently, this is a singlar matrix pencil, and the generalized eigenvalue problem is degenerate.

The program stabregion5 can print information regarding error constants and stability properties.

Error constants.

ExplImplEuler, p=2, k=1, l=2
                -1.0000         0.0000
                 1.0000        -1.0000
                 0.0000         1.0000
                 1.0000         0.0000
                 0.0000         0.0000
                 0.0000         1.0000
rho_0              0.000000000           0.000000000
rho_1               0.000000000            0.000000000
rho_2               0.500000000           -0.500000000  <-----
rho_3               0.166666667           -0.833333333  <-----

The C source code for stabregion5 is here stabregion5.c.

The parasitic roots and roots at infinity.

ExplImplEuler
A1
              1.00000      0.00000
             -1.00000      1.00000
A0
              0.00000     -1.00000
              0.00000      0.00000
B1
              0.00000      0.00000
              0.00000      1.00000
B0
              0.00000      1.00000
              0.00000      0.00000

parasitic roots of ExplImplEuler
        nr      real                    imag                    abs                     2-th root
            0      1.00000000         0.00000000              1.00000000                1.00000000
            1      0.00000000         0.00000000              0.00000000                0.00000000
radius at infinity of ExplImplEuler
        nr      real                    imag                    abs                     2-th root
            0      0.00000000         0.00000000              0.00000000                0.00000000
            1      0.00000000        -0.00000000              0.00000000                0.00000000

Stability region.

stabregion5 -f ExplImplEuler -oj -r80 -L3:-8:8:8 | grep -v '\[0.00000000, 0.00000000\]'

Stability mountain.

stabregion5 -f ExplImplEuler -o3 -r200 -L4:-8:8:8

You can rotate the graphics around any axis.

Evaluating the spectral radius $\mu$ for $Q(\mu,H)=0$ along $-5000\le H\le 1$ shows that it approaches the value one:

$ stabregion5 -aguptri -f ExplImplEuler -o3 -r100 -L100:-5000:1:0

var data3d_ExplImplEuler = [
    [-5000.00000000, -0.00000000, 0.99960008],
    [-4878.02439024, -0.00000000, 0.99959008],
    [-4756.04878049, -0.00000000, 0.99957957],
    [-4634.07317073, -0.00000000, 0.99956851],
    [-4512.09756098, -0.00000000, 0.99955685],
    [-4390.12195122, -0.00000000, 0.99954454],
    [-4268.14634146, -0.00000000, 0.99953152],
    [-4146.17073171, -0.00000000, 0.99951774],
    [-4024.19512195, -0.00000000, 0.99950313],
    [-3902.21951220, -0.00000000, 0.99948760],
    [-3780.24390244, -0.00000000, 0.99947107],
    [-3658.26829268, -0.00000000, 0.99945344],
    [-3536.29268293, -0.00000000, 0.99943460],
    [-3414.31707317, -0.00000000, 0.99941440],
    [-3292.34146341, -0.00000000, 0.99939271],
    [-3170.36585366, -0.00000000, 0.99936936],
    [-3048.39024390, -0.00000000, 0.99934413],
    [-2926.41463415, -0.00000000, 0.99931680],
    [-2804.43902439, -0.00000000, 0.99928710],
    [-2682.46341463, -0.00000000, 0.99925469],
    [-2560.48780488, -0.00000000, 0.99921920],
    [-2438.51219512, -0.00000000, 0.99918016],
    [-2316.53658537, -0.00000000, 0.99913701],
    [-2194.56097561, -0.00000000, 0.99908907],
    [-2072.58536585, -0.00000000, 0.99903549],
    [-1950.60975610, -0.00000000, 0.99897520],
    [-1828.63414634, -0.00000000, 0.99890689],
    [-1706.65853659, -0.00000000, 0.99882881],
    [-1584.68292683, -0.00000000, 0.99873871],
    [-1462.70731707, -0.00000000, 0.99863361],
    [-1340.73170732, -0.00000000, 0.99850939],
    [-1218.75609756, -0.00000000, 0.99836033],
    [-1096.78048780, -0.00000000, 0.99817814],
    [-974.80487805, -0.00000000, 0.99795041],
    [-852.82926829, -0.00000000, 0.99765761],
    [-730.85365854, -0.00000000, 0.99726721],
    [-608.87804878, -0.00000000, 0.99672066],
    [-486.90243902, -0.00000000, 0.99590082],
    [-364.92682927, -0.00000000, 0.99453443],
    [-242.95121951, -0.00000000, 0.99180164],
    [-120.97560976, -0.00000000, 0.98360328],
];

Solving for the eigenvalues $\mu$ depending on $\varepsilon$

$$ \det( \varepsilon(A_1\mu+A_0) - (B_1\mu+B_0) ) = 0 $$

gives

$$ \varepsilon\mu\left[ (\varepsilon-1)\mu - (\varepsilon+1) \right] = 0. $$

Therefore

$$ \mu=0, \qquad \mu = \frac{1+\varepsilon}{\varepsilon-1}. $$

As $\varepsilon$ approaches zero the eigenvalue $\mu$ approaches $(-1)$. This confirms the above spectral radius of one.