Differential-Equations ยท Unit 2 ยท Video 1 ยท Interactive Practice
| Formula | Name | What you need |
|---|---|---|
| Initial value problem (IVP) | An equation and a starting point | |
| Slope of the line element where you stand | The right-hand side, evaluated at | |
| Advance | One step size , the same at every step | |
| Advance along the line element | The current and the current slope |
Key Insight: The three equations are one right triangle. Its run is , its hypotenuse lies along the line element and so has slope , and therefore its rise must be . Read backwards, that is the difference quotient : a slope computed from two points standing in for the derivative.
Run , hypotenuse of slope โ so the rise can only be .
Every slope after the first is measured at a point the true solution never visits.
๐ก A program stores only these six points; the smooth curve a screen shows you is drawn through them afterwards, for display alone.
The step size is yours to choose, and the gap at is what the choice buys.
๐ก Each step starts where the previous one ended, so its error is inherited: the gap at is the accumulation of all steps, not the error of the last one.
Problem 1 ยท One Step of the Recursion
Given: the IVP with , and step size โ find the point produced by the first Euler step.
Take the three equations in the order the computer takes them โ slope first, because the line for uses it:
The new point is . Geometrically this is the step triangle: run , hypotenuse of slope , so the rise is .
Problem 2 ยท Where the Next Slope Is Measured
Given: the same walk โ , โ has reached . Find the next point .
Recompute the slope where the last step landed:
So : the second step is horizontal, because the line element at is horizontal.
Notice what has happened. The exact solution through is , which passes through โ so is not on it. The slope is the field's honest slope, but at a point the true solution never visits.
Problem 3 ยท Reading the Difference Quotient Backwards
Given: one step of Euler's method carried a computation from to โ find the step size and the slope that step used.
The first equation gives the step size directly:
The second equation, written as a difference quotient, gives the slope:
Check it forwards: . The vertical side is , never itself.
Problem 4 ยท Whose Slope Is the Second Slope?
Given: for with , Euler's method steps from to , while the exact solution through has . The second step therefore uses . Which statement about that slope is correct?
The first step is the only one that begins on the true solution. It ends at , while the exact solution is at
so the broken line is already below the curve. The method then does the only thing it can: it reads the line element where it actually is,
That number is not an error in arithmetic โ it is the exact slope of the integral curve through , which is a different solution of the same equation. Euler's method is exact in direction at every corner and correct as a solution only at the very first one.
Solved: 0 / 4