Euler's methods for differential equations

Euler's methods for differential equations Flashcards

Spec J2–J3 · AQA A-Level Further Maths: Flashcards

Studying this course? Keep your progress in one place.

Flip each card. Be honest: the ones you mark Not yet come back first.

12 cards

Tap a card to flip it. Swipe right if you knew it, left if not.

See all 12 cards
State Euler's method.
yr+1=yr+hf(xr,yr)y_{r+1}=y_r+hf(x_r,y_r), xr+1=xr+hx_{r+1}=x_r+h
What does Euler's method do geometrically?
Follows the tangent at the start of each step
What is hh?
The step length in xx
State the improved Euler method.
yr+1=yr−1+2hf(xr,yr)y_{r+1}=y_{r-1}+2hf(x_r,y_r), xr+1=xr+hx_{r+1}=x_r+h
How do you get y1y_1 in the improved method?
Use ordinary Euler for the first step
Why is the improved method better?
It uses the gradient at the midpoint of the interval.
What does a smaller hh do?
Gives a more accurate answer but needs more steps.
When does Euler's method underestimate?
When the solution curve is convex, y′′>0y''>0
Euler step for y′=x+yy'=x+y, (0,1)(0,1), h=0.1h=0.1?
y1=1+0.1(0+1)=1.1y_1=1+0.1(0+1)=1.1
Improved step: y′=x+yy'=x+y, y0=1y_0=1, y1=1.1y_1=1.1, h=0.1h=0.1?
y2=1+0.2(1.2)=1.24y_2=1+0.2(1.2)=1.24
Percentage error formula?
∣estimate−exact∣exact×100\frac{|\text{estimate}-\text{exact}|}{\text{exact}}\times100
Common Euler mistake with xx and yy?
Using xr+1x_{r+1} or yr+1y_{r+1} in the gradient instead of xr,yrx_r,y_r

Flashcards