A stiff linear system has A = pmatrix -804 & 796 796 & -804 pmatrix
PHYSICS · Multi-part · Fermi University Physics · Mathematical Methods for Physics · Numerical and computational mathematics · Numerical and computational mathematics
Error, Chance and the Machine, Ch Ordinary differential equations: order, stability and stiffness
Problem
A stiff linear system y˙=Ay has A=(−804796796−804)s−1, whose eigenvalues are −8s−1 and −1600s−1 (check this from the trace and determinant). It is integrated by backward Euler with fixed step h=0.05s for N=1000 steps, so the same matrix M=I−hA appears in Myn+1=yn at every step.
((a)) Using the backward-Euler stability function R(z)=1/(1−z), evaluate the multiplier for the fast eigenvalue and comment on it in the light of L-stability.
((b)) More generally, for a stiff system of size n=50 with a fixed Jacobian integrated by backward Euler for N=2000 steps, recall from Chapter 2 that an LU factorisation of an n×n matrix costs about 32n3 flops and each forward/back solve costs about 2n2 flops. Give the ratio of the flop count for re-factorising M afresh at every step to the flop count for factorising it once and reusing that factorisation for every solve.
((c)) A colloidal bead in the same laboratory follows the overdamped Langevin equation dx=−τxdt+2DdW, with τ=8ms and D=0.6μm2s−1, so that the true stationary variance is Dτ (Chapter 9). Using the Euler-Maruyama stationary variance σ2/(1−h/2τ) of this chapter, find the largest step h for which the simulated variance exceeds the true one by at most 2 per cent, and the number of steps needed to simulate 1s at that step.