The ebook Elementary Calculus is based on material originally written by H.J. Keisler. For more information please read the copyright pages.


Example 1 - Euler approximation

Compute the Euler approximation to the initial value problem

y' = t - y2, y(0) = 0

for 0 ≤ t ≤ 1, with Δt = 0.2.

Notice that the differential equation is not linear because of the y2, and the variables are not separable, so we cannot solve the equation by the methods of the preceding sections. Given Y(t), the next value Y(t + Δt) is computed by the rule

14_differential_equations-103.gif

We record the values in a table. The third column gives the change in Y(t). The graph of Y(t), shown in Figure 14.4.2, is obtained by connecting the points (t, Y(t)) in the table by straight lines.

Δt = 0.2

t

Y(t)

Y(t + Δt) - Y(t) = (t - Y(t)2) Δt

0.0

0.0

0.0

0.2

0.0

0.04

0.4

0.04

0.0797

0.6

0.1197

0.1171

0.8

0.2368

0.1488

1.0

0.3856

14_differential_equations-104.gif

Figure 14.4.2 Example 1

Work the same problem with Δt = 0.1.

Δt = 0.1

t

Y(t)

Y(t + Δt) - Y(t) = (t - Y(t)2) Δt

0.0

0.0

0.0

0.1

0.0

0.01

0.2

0.01

0.02

0.3

0.03

0.0299

0.4

0.0599

0.0396

0.5

0.0995

0.0490

0.6

0.1486

0.0578

0.7

0.2063

0.0657

0.8

0.2721

0.0726

0.9

0.3447

0.0781

1.0

0.4228

We now consider Euler approximations with infinitesimal Δt. These approximations cannot be computed directly but are useful in showing that a differential equation has a solution.

The Euler approximation Y(t) depends on both t and the increment size Δt. Now let Δt be positive infinitesimal. By the Transfer Principle, Y(t + Δt) is still given by the rule

Y(t + Δt)- Y(t) = f(t,Y(t))Δt.

Intuitively, the graph of Y(t) as a function of t is formed from infinitesimal line segments, and the segment from t to t + Δt has slope f(t, Y(t)), as in Figure 14.4.3. The next theorem shows that the Euler approximation for infinitesimal Δt is infinitely close to a solution of the initial value problem.


Last Update: 2010-11-25