Back to Euler's method

Exercise 7

Avg difficulty 2.5

We have seen that the error in approximating the solution to an initial value problem is proportional to Δt\Delta t. That is, if EΔtE_{\Delta t} is the Euler's method approximation to the solution to an initial value problem at t‾\overline{t}, then y(t‾)−EΔt≈KΔt\begin{gathered} y(\overline{t})-E_{\Delta t} \approx K\Delta t \end{gathered} for some constant of proportionality KK.

In this problem, we will see how to use this fact to improve our estimates, using an idea called accelerated convergence.

  1. We will create a new approximation by assuming the error is exactly proportional to Δt\Delta t, according to the formula y(t‾)−EΔt=KΔt\begin{gathered} y(\overline{t})-E_{\Delta t} =K\Delta t \end{gathered}. Using our earlier results from the initial value problem dy/dt=ydy/dt = y and y(0)=1y(0)=1 with Δt=0.2\Delta t = 0.2 and Δt=0.1\Delta t = 0.1, we have y(1)−2.4883=(0.2Ky(1)−2.5937=(0.1K\begin{aligned} y(1) - 2.4883 =\mathstrut & 0.2K \\ y(1) - 2.5937 =\mathstrut & 0.1K \end{aligned}. This is a system of two linear equations in the unknowns y(1)y(1) and KK. Solve this system to find a new approximation for y(1)y(1). (You may remember that the exact value is y(1)=e=2.71828…y(1) = e = 2.71828\ldots.)

  2. Use the other data, E0.05=2.6533E_{0.05} = 2.6533 and E0.025=2.6851E_{0.025} = 2.6851 to do similar work as in (a) to obtain another approximation. Which gives the better approximation? Why do you think this is?

  3. Let's now study the initial value problem dydt=t−y, y(0)=0\begin{gathered} \frac{dy}{dt} = t-y, \ y(0) = 0 \end{gathered}. Approximate y(0.3)y(0.3) by applying Euler's method to find approximations E0.1E_{0.1} and E0.05E_{0.05}. Now use the idea of accelerated convergence to obtain a better approximation. (For the sake of comparison, you want to note that the actual value is y(0.3)=0.0408y(0.3) = 0.0408.)

Boelkins, Active Calculus, §7.3 Euler's method, Exercise 7

AI Tutor

Adapted from Active Calculus © 2012–2025 Matthew Boelkins. Licensed under CC BY-SA 4.0. Source: Active Calculus. Imported at revision dc86ba3.