A Parasitic Solution refers to a term whose magnitude grows and whose sign changes as the method progresses. It’s useful to imagine a sequence an=2−n+(−2)n that does not converge due to (−2)n. The term ‘parasitic’ is quite intuitive and appropriate in describing these terms as they hinder convergence.
Example: Dahlquist Problem
Consider, for example, {y′=λyy(0)=1, which is precisely solved by Y=eλx. However, if we need concrete values, numerical methods must be considered. Let’s use the midpoint method for calculation.
Midpoint Method: For a given initial value problem {y′=f(x,y)(y(x0),y(x1))=(Y0,Y1) of a continuous function f defined by D⊂R2. Let’s assume the interval (a,b) is divided into nodes like a≤x0<x1<⋯<xn<⋯xN≤b. Especially for a sufficiently small h>0, if we say xj=x0+jh, then for the initial value y0=Y0:
yn+1=yn−1+2hf(xn,yn)
Applying the midpoint method to the problem looks like this:
yn+1=yn−1+2hλyn
Approaching through the solution methods for 2nd order linear homogeneous differential equations, assuming yn=rn we get:
rn+1=rn−1+2hλrn
Eliminating rn−1 from both sides and arranging into a quadratic equation yields:
r2−2hλr−1=0
Solving via quadratic formula results in:
r0=hλ+1+h2λ2
r1=hλ−1+h2λ2
The general solution for some β0,β1 is:
yn=β0r0n+β1r1n
Substituting n=0,1 gives:
{y0=β0+β1y1=β0r0+β1r1
Meanwhile, since we already know Y=eλx as the exact solution,
{y0=1=β0+β1y1=eλh=β0r0+β1r1
we can derive:
⎩⎨⎧β0=21+h2λ2eλh−r1β1=21+h2λ2r0−eλh
Expanding eλh with Maclaurin’s expansion, since eλh=1+λh+2λ2h2+O(h3λ3):
β0====21+h2λ2eλh−r121+h2λ21+λh+2λ2h2+O(h3λ3)−hλ+1+h2λ221+h2λ21+2λ2h2−1+h2λ2+21+h2λ2+O(h3λ3)1+21+h2λ21+2λ2h2−1+h2λ2+O(h3λ3)
Likewise, expanding 1+h2λ2 with Maclaurin results in 1+h2λ2=1+2λ2h2+O(h4λ4):
β0==1+21+h2λ21+2λ2h2−1+h2λ2+O(h3λ3)1+21+h2λ21+2λ2h2+O(h3λ3)−1−2λ2h2+O(h4λ4)
Similarly for β1:
β1===21+h2λ2r0−eλh21+h2λ2hλ+1+h2λ2−ehλ21+h2λ2hλ+1+2λ2h2+O(h4λ4)−1−hλ−2λ2h2−O(h3λ3)
In summary, we get:
β0=β1=1+O(h3λ3)O(h3λ3)
That is, when h→0, then β0→1 and because of β1→0:
yn=β0r0n+β1r1n→r0n
Now, the problem is what happens to this general solution when n is fixed, and λ>0 increases. If λ>0, there’s no need to worry because r0>∣r1∣>0 makes β0r0b grow much faster than β1r1n. However, if λ<0, the story changes. If 0<r0<1 and r1<−1, then β1r1n will overpower β0r0n in magnitude while changing its sign as n increases.
At this point, we call β1r1n a Parasitic Solution, and because of this danger, it’s said that the midpoint method has Weak Stability. Thus, it’s crucial to mathematically verify whether there’s no issue when the sign of ∂y∂f(x,Y(x)) is negative.
For example, solving an initial value problem similar to {y′=x−y2y(0)=0 with the midpoint method, initially, it seems to work fine, but from the third line onwards, the solution starts to fluctuate significantly.
Similarly, the Milne’s Method
yn+1=yn−1+3h[f(xn−1,yn−1)+f(xn,yn)]+f(xn+1,yn+1)
can also be shown to have weak stability. The commonly used problem like {y′=λyy(0)=1 is referred to as Dahlquist Problem.
Atkinson. (1989). An Introduction to Numerical Analysis(2nd Edition): p364~365. ↩︎