Final Thoughts — Question 3

PDF ↗

Question 3

Two measurements of an initial value lead to the candidate functions y(x)=e2x,ỹ(x)=(1+ε)e2x,ε=10−3,y(x)=e^{2x},\qquad \widetilde y(x)=(1+\varepsilon)e^{2x}, \qquad \varepsilon=10^{-3}, for the equation y′=2yy'=2y. Define absolute error and relative error by A(x)=|ỹ(x)−y(x)|,R(x)=|ỹ(x)−y(x)||y(x)|.A(x)=|\widetilde y(x)-y(x)|,\qquad R(x)=\frac{|\widetilde y(x)-y(x)|}{|y(x)|}. Tasks

  1. Verify both candidates and identify their different initial values.

  2. Determine A(x)A(x) and R(x)R(x) for x≥0x\ge 0. Find the first time the absolute error reaches 0.10.1.

  3. For the equation z′=−2zz'=-2z, compare the candidates z=e−2xz=e^{-2x} and z̃=(1+ε)e−2x\widetilde z=(1+\varepsilon)e^{-2x} in the same way.

  4. Plot the two absolute errors in your solution. Explain why increasing separation here is not evidence that one IVP has multiple solutions, and why absolute and relative error tell different stories.

Original worksheet page 1: question and worked solution for 1-3-003
Show solutionHide solution

Question 3 – Solution

Strategy. Keep the initial conditions distinct and compute both error measures before interpreting the behavior.

Step 1: Verification. Differentiation gives y′=2yy'=2y and ỹ′=2ỹ\widetilde y'=2\widetilde y. Their initial values are 11 and 1.0011.001, respectively. They solve different IVPs for the same differential equation.

Step 2: Growth case. For x≥0x\ge 0, A(x)=10−3e2x,R(x)=10−3.\boxed{A(x)=10^{-3}e^{2x},\qquad R(x)=10^{-3}.} The absolute error increases strictly. Its first value 0.10.1 occurs when e2x=100e^{2x}=100, giving x=ln⁡10\boxed{x=\ln 10}.

See the diagram in the original worksheet below.

Step 3: Decay case. Both decay candidates satisfy z′=−2zz'=-2z, again with initial values 11 and 1.0011.001. Their errors are |z̃−z|=10−3e−2x,|z̃−z||z|=10−3.\boxed{|\widetilde z-z|=10^{-3}e^{-2x},\qquad \frac{|\widetilde z-z|}{|z|}=10^{-3}.} The absolute error decreases to zero and never reaches 0.10.1 for x≥0x\ge 0. The relative error stays fixed at 0.1%0.1\% in both examples.

Step 4: Interpretation. Uniqueness concerns identical equations and identical initial data. Here the data differ. In the growth case the absolute discrepancy becomes large, yet it remains the same fraction of the growing reference solution. In the decay case both the solution and its discrepancy shrink proportionally.

Original worksheet page 2: question and worked solution for 1-3-003

Original worksheet layout. Use Enlarge or open the PDF for a closer view.