Presentation on theme: "Looking for insight in the special case of antiderivatives."— Presentation transcript:
Looking for insight in the special case of antiderivatives
Turning Corners (or Not!!!) Euler’s method is very bad at turning corners. Think about a solution curve like this one...
Turning Corners (or Not!!!) Euler’s method is very bad at turning corners. When the curve nears a maximum, Euler’s method “overshoots.” Likewise, when the curve nears a minimum, Euler’s method drops too far.
Point of View tt tt When our differential equation is of the form Euler’s method is a generalization of the left end-point Riemann sum! y = slope t = f’(t) tArea = f’(t) t
Midpoint Approximations tt The midpoint Riemann sum is much more accurate. tt tt We use this insight to improve on Euler’s method.
Improved Euler’s Method The idea obviously has merit. There’s only one problem... We don’t know the value of the function at the midpoint. We only know the value of the function at the left endpoint. But we can approximate the value of the function at the midpoint using the ordinary Euler approximation! tt tt
Here it is! Old t and Old y temp t = Old t + 0.5( t) Temp y = Old y + 0.5( t) y’(Old t, Old y) New t = Old t + t New y = Old y + y’(Temp t, Temp y) t