Differential-Equations Β· Unit 2 Β· Video 5 Β· Interactive Practice
| Formula | Name | Role in one step |
|---|---|---|
| First slope | The field where you stand | |
| Temporary point | Predict: take the old Euler step | |
| Second slope | Poll the field at that temporary point | |
| Improved Euler step | Correct: step with the average |
Key Insight: The step in is untouched, ; only the slope changes. Euler's error runs like , this one like β so halving the step quarters the error.
Two readings of the field, one temporary point, and an average that lands near the curve.
π‘ One method, four names: Heun's method, improved Euler, modified Euler, and RK2 β RungeβKutta with two slope readings per step.
Start anywhere in the field of : how far apart do the two slopes land?
Errors against step size, on a logarithmic scale: the steeper line is the second-order method.
π‘ "Second order" describes the method, not the equation: the exponent belongs to , and the order of the differential equation itself plays no part in it.
Problem 1 Β· One Improved Euler Step
Given: with and β find by the improved Euler method.
Line 1 β the slope where you stand:
Line 2 β the temporary Euler point:
Line 3 β poll the field there (at , not at ):
Lines 4 and 5 β advance and correct:
The exact solution is , giving . Improved Euler misses by ; Euler's misses by .
Problem 2 Β· Where Is the Second Slope Measured?
Given: the improved Euler step for β identify the correct definition of the second slope .
The strut is the plain Euler step. It starts at and ends at
The second slope is simply the direction field evaluated there:
The tilde matters. is a temporary value used to make one more evaluation of ; the real new point is the one the averaged slope produces,
and it is generally different from . Writing would define in terms of a number that does not exist yet.
Problem 3 Β· Second Order in Practice
Given: on , , improved Euler's error at is about when β estimate its error when .
Improved Euler is second order, so its error behaves like
Replacing by replaces by :
From to is two halvings, so the error is divided by :
Measured values on this equation: at , then , then β ratios of about each time.
Euler's method on the same problem goes , , : ratios of about , because .
Problem 4 Β· The Whole Step, Start to Finish
Given: with and , so that and β find the second slope and then the improved value of .
What is the second slope ?
What is ?
Here , , , .
Lines 1 and 2 (given): , so .
Line 3 β the second slope, at the strut's endpoint :
Lines 4 and 5 β advance and correct:
Check against the exact solution. satisfies and , so
Euler's is low by ; improved Euler's is low by β about six times closer for one extra evaluation of . Both fall short because makes the solution convex.
Solved: 0 / 4