Euler's method is a simple numerical procedure to find approximate solutions to differential equations, but it can be improved for better accuracy. The improved Euler method, also known as the Modified Euler or Heun's method, adds an extra step to help refine the approximation.
Instead of just calculating the slope at the initial point, the improved Euler method takes an additional midpoint approximation into consideration. Here’s how it works:
- Step 1: Calculate the first slope estimate, called \(k_1\), at the initial point \((t_n, y_n)\).
- Step 2: Use \(k_1\) to estimate an intermediate point \((t_n + h, y_n + hk_1)\).
- Step 3: Calculate a second slope estimate, \(k_2\), at this intermediate point.
- Step 4: Finally, use both \(k_1\) and \(k_2\) to find the next point \(y_{n+1}\) with the formula \(y_{n+1} = y_n + \frac{1}{2}h(k_1 + k_2)\)
This additional step of averaging the slopes \(k_1\) and \(k_2\) gives the improved Euler method a good balance of accuracy and computational simplicity, making it a better choice when compared to the simple Euler method.