2.6 A Numerical Method (Euler’s Method): Class Notes
2.6a
Recall the equation of the tangent line of the solution curve for the differential equation is .
Tip: This is the point-slope form , with slope .
Definition
This is known as the linearization of at .

A solution curve of passes through . Its tangent line there has slope . Moving a distance to the right, to , the tangent line reaches the point , while the curve is at ; the vertical gap between them is the error. From , a second line segment with slope leads to .
If we consider with -value (a small distance to the right of ), we have
is an approximation to , which is on the solution curve. Using and the slope given by at that point, we get
and , where .
This process continues, and we can generalize the results:
Example
Use Euler’s method to obtain a four-decimal approximation of the indicated value. Carry out the recursion by hand, first using and then using .
Solution
Here and .
: Each new -value is the previous -value plus times at the previous point.
Answer:
: Start again from .
Answer:
2.6b
Example
Use Euler’s method to obtain a four-decimal approximation of the indicated value. First use and then use . Find an explicit solution for each initial-value problem and then construct a table displaying estimated value, actual value, absolute error, and percentage relative error.
Solution
Analytic solution. The DE is separable:
With : , so and .
The DE is also linear: has , so
With : , so and .
Answer:
Euler’s method. Here , and . The tables list each step with the actual value , the absolute error , and the percentage relative error
For , . For , . The actual value is .
Answer:
When is cut in half, the error is cut roughly in half (at : ). The error is .