Euler Approximation
- Numerical approach for approximating the solution of a DEQ
- We can use local linearity to estimate a value near the point of tangency
- Euler’s method uses repeated tangent line segments to approximate the actual solution curve
Usage
- Given dxdy=f(x,y), y(x0)=y0
- yi+1=yi+hf(xi,yi)
- Where h is step size (how much x increases each iteration)
Error
- The Taylor series for the equation gives:
- hyi+1−yi=y′(xi)+21hy′′(xi)+⋯+n!hn−1y(n)(xi)
- And Euler’r method uses:
- The Euler method is a first-order method because it truncates all terms of O(h)