Differential equations: Direction field
Euler's method
If an explicit first-order dynamic system has no exact solution (in terms of known functions), or if a first orientation of the behavior of the system is desired, the geometric approach with the direction comes into the picture. By following the line elements of the direction field, we find an approximation of the solution curve with given initial condition by means of line segments.
Euler's method
Consider the dynamic system of the form
Let be a small positive number. A numerical approach to the solution curve of the dynamic system with initial condition is given by the iterative formula
This approach is called Euler's method and the number is called the step size.
We begin with at time and determine the approximation of by using the tangent at the point as an approximation to the graph of the solution the segment :
Numerous algorithms for the numerical solution of differential equations exist; these are beyond the scope of this course. The most important message is that there are such numerical solution methods and these are useful for gaining insight into solutions of the ODE.
Enlarge the number of steps in order to see a version with smaller step size, and enter different right hand sides of the differential equation in the input field behind "". Press the update button to see the result.
Or visit omptest.org if jou are taking an OMPT exam.