<< Chapter < Page | Chapter >> Page > |
Create a direction field for the differential equation and identify any equilibrium solutions. Classify each of the equilibrium solutions as stable, unstable, or semi-stable.
The equilibrium solutions are
and
For this equation,
is an unstable equilibrium solution, and
is a semi-stable equilibrium solution.
Consider the initial-value problem
Integrating both sides of the differential equation gives and solving for yields the particular solution The solution for this initial-value problem appears as the parabola in [link] .
The red graph consists of line segments that approximate the solution to the initial-value problem. The graph starts at the same initial value of Then the slope of the solution at any point is determined by the right-hand side of the differential equation, and the length of the line segment is determined by increasing the value by each time (the step size ). This approach is the basis of Euler’s Method.
Before we state Euler’s Method as a theorem, let’s consider another initial-value problem:
The idea behind direction fields can also be applied to this problem to study the behavior of its solution. For example, at the point the slope of the solution is given by so the slope of the tangent line to the solution at that point is also equal to Now we define and Since the slope of the solution at this point is equal to we can use the method of linear approximation to approximate near
Here and so the linear approximation becomes
Now we choose a step size . The step size is a small value, typically or less, that serves as an increment for it is represented by the variable In our example, let Incrementing by gives our next value:
We can substitute into the linear approximation to calculate
Therefore the approximate value for the solution when is We can then repeat the process, using and to calculate and The new slope is given by First, Using linear approximation gives
Finally, we substitute into the linear approximation to calculate
Therefore the approximate value of the solution to the differential equation is when
What we have just shown is the idea behind Euler’s Method . Repeating these steps gives a list of values for the solution. These values are shown in [link] , rounded off to four decimal places.
Consider the initial-value problem
To approximate a solution to this problem using Euler’s method, define
Here represents the step size and is an integer, starting with The number of steps taken is counted by the variable
Notification Switch
Would you like to follow the 'Calculus volume 2' conversation and receive update notifications?