Chapter 6 Exercise

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.

  1. \(y_{j+1} ~=~ y_j + \frac{h}{2}(3f_j - f_{j-1})\)

  2. \(y_{j+1} + 9y_j - 9y_{j-1} - y_{j-2} ~=~ 6h\,(f_j + f_{j-1})\)

  3. \(y_{j+1} ~=~ 4y_j - 3y_{j-1} - 2hf_{j-1}\)

  4. \(y_{j+1} ~=~ 2y_{j-1} - y_j + \frac{h}{2}(5f_j + f_{j-1})\)

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.

Exercise 6.3

Investigate the stability of the following explicit 2-step method (i.e. mid-point rule):

\[\begin{aligned} y_{j+1} ~=~ y_{j-1}+2hf_{j} \end{aligned}\]

Use this method to approximate the solution to the following initial value problem:

\[\begin{aligned} && y'(x) \,&=\, \lambda y & y(0)\,&=\,1 & 0 &\leq \,x\, \leq 5 && \end{aligned}\]

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.

Exercise 6.4

Assess the zero-stability of the multi-step method given in Example 6.1

\[ y_n = -4 y_{n-1} + 5 y_{n-2} + 4 h f_{n-1} + 2h f_{n-2}. \]