Sign in to save

Bookmark this page so you can find it later.

Sign in to save

Bookmark this page so you can find it later.

Euler's Method is a numerical way to approximate the solution to a differential equation when an exact formula is hard or impossible to find. It starts from a known point and follows the slope given by the differential equation for a small horizontal step. By repeating this process, the method builds a polygonal path that estimates the true solution curve.

This matters in physics, engineering, biology, and economics because many real systems are modeled by rates of change rather than direct formulas.

For a differential equation dy/dx = f(x, y), Euler's Method uses the local slope f(x_n, y_n) to predict the next value of y. The update rule is x_{n+1} = x_n + h and y_{n+1} = y_n + h f(x_n, y_n), where h is the step size. Smaller step sizes usually give better approximations, but they require more calculations.

Error builds up because each straight step follows the tangent line instead of the curved solution.

Understanding Calculus: Euler's Method

The key idea is that a differential equation gives local information, not a full map of the future. At one point, it tells how steep the solution is at that instant. Euler's method assumes that this slope stays nearly constant over the next short interval.

That assumption produces a straight-line estimate. If the real curve bends only a little during the interval, the estimate is close.

If the curve bends sharply, the straight step can miss by much more. This is why the method works best when changes are smooth and the chosen steps are sufficiently short.

A useful way to picture the calculation is as repeated motion along tiny tangent lines. Begin with the given starting value, often called an initial condition. Read the rate from the differential equation at that location.

Multiply that rate by the horizontal step length to find the estimated vertical change. Add this change to the current vertical value, then move to the next horizontal location.

The new estimated point becomes the starting point for the following calculation. Each result depends on the earlier estimate, so a small early mistake can affect every later point.

Error has two important forms. Local error is the difference made in one individual step because a curve is replaced by a line. Global error is the total difference after many steps.

Global error can grow as the calculation continues. It may grow slowly for stable systems, such as a cooling object approaching room temperature.

It can grow rapidly for unstable systems, such as a population model near a sensitive threshold or a falling object with a poorly handled drag force. A smaller step often helps, though it does not guarantee a good answer if the model itself is wrong or changes very quickly.

Students meet this kind of numerical thinking whenever a process is known through its rate. In physics, velocity gives the rate of change of position, while acceleration gives the rate of change of velocity. A computer can use small time intervals to estimate a moving object's position.

In biology, a growth rate can estimate a population over successive days. In engineering, numerical steps can track temperature, electrical charge, or fluid flow. When working problems, keep units consistent.

If the step is measured in seconds, the rate must produce the correct change over seconds. Make a table of each horizontal value, vertical estimate, slope, and change.

Finally, compare results from two different step sizes. If halving the step changes the answer a lot, the original estimate was not yet reliable.

Key Facts

  • Euler update for x: x_{n+1} = x_n + h
  • Euler update for y: y_{n+1} = y_n + h f(x_n, y_n)
  • The differential equation dy/dx = f(x, y) gives the slope at each point.
  • A step size h controls how far each tangent-line move goes.
  • Smaller h usually reduces error but increases the number of steps.
  • Example: If dy/dx = x + y, (x_0, y_0) = (0, 1), and h = 0.5, then y_1 = 1 + 0.5(0 + 1) = 1.5.

Vocabulary

Differential equation
An equation that relates a function to one or more of its derivatives.
Slope field
A diagram showing short line segments whose slopes represent dy/dx at many points.
Step size
The horizontal distance h used for each Euler Method move.
Initial condition
A known starting value such as y(x_0) = y_0 that fixes one solution curve.
Numerical approximation
An estimated value found by calculation rather than by an exact symbolic formula.

Common Mistakes to Avoid

  • Using the next point's slope too early is wrong because basic Euler's Method uses f(x_n, y_n), the slope at the current point.
  • Forgetting to multiply the slope by h is wrong because the change in y is rise = slope times horizontal step.
  • Treating h as the new x-value is wrong because h is the step size, while x_{n+1} = x_n + h.
  • Assuming the approximation is exact is wrong because Euler's Method follows short tangent lines while the true solution usually curves.

Practice Questions

  1. 1 Use Euler's Method for dy/dx = x + y with y(0) = 1 and h = 0.25 to approximate y(0.5).
  2. 2 Use Euler's Method for dy/dx = y - x with y(1) = 2 and h = 0.5 to approximate y(2).
  3. 3 A student uses h = 1 instead of h = 0.1 for the same differential equation and interval. Explain how this choice is likely to affect accuracy and calculation time.