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.

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.