Euler's Method — Definition, Formula & Examples
Euler's Method is a numerical technique that approximates the solution to a differential equation by taking small steps along the tangent line at each point. You start from a known initial value and repeatedly use the slope to estimate the next y-value.
Given an initial value problem with , Euler's Method generates a sequence of approximations , where is a fixed step size and . The method is a first-order numerical scheme whose accuracy improves as .
Key Formula
Where:
- = Approximate y-value at the next step
- = Current approximate y-value
- = Step size (the increment in x)
- = Slope given by the differential equation at the current point
How It Works
You begin with a point where the solution is known. At that point, the differential equation gives you the slope . Multiply the slope by the step size to find the change in , then add it to the current -value. Move to the new point and repeat. Each step follows the tangent line for a short distance, so smaller step sizes generally produce more accurate results.
Worked Example
Problem: Use Euler's Method with step size h = 0.5 to approximate y(1) given dy/dx = 2x and y(0) = 1.
Step 1: Start at (x₀, y₀) = (0, 1). Compute the slope: f(0, 1) = 2(0) = 0.
Step 2: Move to x₁ = 0.5 with y₁ = 1. Compute the slope: f(0.5, 1) = 2(0.5) = 1.
Answer: The Euler's Method approximation gives y(1) ≈ 1.5. (The exact solution is y = x² + 1, so y(1) = 2. The error shrinks with smaller step sizes.)
Why It Matters
Euler's Method appears on the AP Calculus BC exam (Unit 7) and is tested in free-response questions where you must approximate a solution from a given slope field or differential equation. Engineers and scientists use refined versions of this technique to simulate systems—from projectile trajectories to population models—when exact solutions are impossible to find.
Common Mistakes
Mistake: Using f(x_{n+1}, y_n) instead of f(x_n, y_n) for the slope
Correction: Always evaluate the slope at the current point (xₙ, yₙ), not at the next x-value. The whole idea is to use the slope where you are now to step forward.
