6.4. Chapter 6 Exercise#
You should try the following exercise questions first, then check with the answers.
Exercise 6.1
Find the first and second characteristic polynomials and investigate the stability of the following multistep methods.
\(y_{j+1} ~=~ y_j + \frac{h}{2}(3f_j - f_{j-1})\)
\(y_{j+1} + 9y_j - 9y_{j-1} - y_{j-2} ~=~ 6h\,(f_j + f_{j-1})\)
\(y_{j+1} ~=~ 4y_j - 3y_{j-1} - 2hf_{j-1}\)
\(y_{j+1} ~=~ 2y_{j-1} - y_j + \frac{h}{2}(5f_j + f_{j-1})\)
Solution to
Roots are 0 and 1
Roots are 1, -0.1, -9.9
Roots are 1 and 3
Roots are 1 and -2
Exercise 6.2
Consider the multistep methods in Exercise 6.1, determine their order of accuracy and error constants using the techniques covered in Order and Error Constants.
Solution to
\(2^\text{nd}\) order, \(\frac{5}{12}\),
\(4^\text{th}\) order, \(\frac{1}{10}\)
\(2^\text{nd}\) order, \(\frac{2}{3}\),
\(2^\text{nd}\) order, \(\frac{1}{4}\)
Exercise 6.3
Investigate the stability of the following explicit 2-step method (i.e. mid-point rule):
Use this method to approximate the solution to the following initial value problem:
using \(\lambda = -2\), with \(h = 0.02\) and \(h = 0.05\). Use the analytic solution \(y_{ex} = e^{-2x}\) to find the starting values, and plot the solution curves. Next, solve the same problem with the same parameters using the two-step AB method. By considering the stability of the methods and the errors in the calculations, compare the two solution methods and comment on your results.
Solution to
Re-arranging the equation gives
so the coefficients are
then the first characteristic polynomial is
with two distinct real roots
Thus the method satisfies the root condition, so it is zero-stable.
Exercise 6.4
Assess the zero-stability of the multi-step method given in Example 6.1
Solution to
Re-arranging the equation gives
so the first characteristic polynomial is
and it has two roots
The method doesn’t satisfy the root condition, so it is not zero-stable.