Problem 3
Question
We solve the scalar linear system \(y^{\prime}=a y, y(0)=1\). a Show that the 'continuous output' method $$ u(t)=\frac{1+\frac{1}{2} a(t-n h)}{1-\frac{1}{2} a(t-n h)} y_{n}, \quad n h \leq t \leq(n+1) h, \quad n=0,1, \ldots, $$ is consistent with the values of \(y_{n}\) and \(y_{n+1}\) which are obtained by the trapezoidal rule. b Demonstrate that \(u\) obeys the perturbed ODE $$ u^{\prime}(t)=a u(t)+\frac{\frac{1}{4} a^{3}(t-n h)^{2}}{\left[1-\frac{1}{2} a(t-n h)\right]^{2}} y_{n}, \quad t \in[n h,(n+1) h], $$ with initial condition \(u(n h)=y_{n}\). Thus, prove that $$ u((n+1) h)=\mathrm{e}^{h a}\left[1+\frac{1}{4} a^{3} \int_{0}^{h} \frac{\mathrm{e}^{-\tau a} \tau^{2} \mathrm{~d} \tau}{\left(1-\frac{1}{2} a \tau\right)^{2}}\right] y_{n} . $$ c Let \(e_{n}=y_{n}-y(n h), n=0,1, \ldots\) Show that $$ e_{n+1}=\mathrm{e}^{h a}\left[1+\frac{1}{4} a^{3} \int_{0}^{h} \frac{\mathrm{e}^{-\tau a} \tau^{2} \mathrm{~d} \tau}{\left(1-\frac{1}{2} a \tau\right)^{2}}\right] e_{n}+\frac{1}{4} a^{3} \mathrm{e}^{(n+1) h a} \int_{0}^{h} \frac{\mathrm{e}^{-\tau a} \tau^{2} \mathrm{~d} \tau}{\left(1-\frac{1}{2} a \tau\right)^{2}} $$ In particular, deduce that \(a<0\) implies that the error propagates subject to the inequality $$ \left|e_{n+1}\right| \leq e^{h a}\left(1+\frac{1}{4}|a|^{3} \int_{0}^{h} \mathrm{e}^{-\tau a} \tau^{2} \mathrm{~d} \tau\right)\left|e_{n}\right|+\frac{1}{4}|a|^{3} \mathrm{e}^{(n+1) h a} \int_{0}^{h} \mathrm{e}^{-\tau a} \tau^{2} \mathrm{~d} \tau $$
Step-by-Step Solution
VerifiedKey Concepts
Trapezoidal Rule
- The basic form for the rule is:
- Update the value of \( y_{n+1} \) as \( y_{n+1} = y_n + \frac{h}{2} [a y_n + a y_{n+1}] \).
- Solve for \( y_{n+1} \) to get \( y_{n+1} = \frac{1 + \frac{1}{2} h a}{1 - \frac{1}{2} h a} y_n \).
Continuous Output Method
- This formula is designed to interpolate within the step using the starting point \( y_n \), adjusting continuously to account for the slope changes governed by the parameter \( a \).
- It allows evaluating the function's behavior more plainly across its interval without waiting for step completions, thus offering better modeling for dynamic systems.
Error Propagation
- The formula assesses how the previous error propagates and transforms into the next step.
- Key is understanding that when \( a < 0 \), it results in \( e^{ha} < 1 \), which inherently helps in minimizing error escalation through dampened exponential factors.
- This insight provides a mathematical basis for maintaining stability in the solution as further iterations are computed.
- Compared with scenarios where \( a > 0 \), this condition makes the outcomes of differential equations better contained and potentially more truthful to simulated scenarios.