Numerical solution of differential equations

Numerical solution of differential equations Flashcards

Spec 6.1 · Edexcel 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.

14 cards

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

See all 14 cards
State the forward difference approximation to dydx\frac{dy}{dx} at xnx_n.
yn+1−ynh\frac{y_{n+1}-y_n}{h}.
State the central difference approximation to dydx\frac{dy}{dx} at xnx_n.
yn+1−yn−12h\frac{y_{n+1}-y_{n-1}}{2h}.
State the approximation to d2ydx2\frac{d^2y}{dx^2} at xnx_n.
yn+1−2yn+yn−1h2\frac{y_{n+1}-2y_n+y_{n-1}}{h^2}.
Give the formula for yn+1y_{n+1} from the forward difference method.
yn+1=yn+hf(xn,yn)y_{n+1}=y_n+hf(x_n,y_n).
Give the formula for yn+1y_{n+1} from the central difference method.
yn+1=yn−1+2hf(xn,yn)y_{n+1}=y_{n-1}+2hf(x_n,y_n).
Give the formula for yn+1y_{n+1} for d2ydx2=f(x,y)\frac{d^2y}{dx^2}=f(x,y).
yn+1=2yn−yn−1+h2f(xn,yn)y_{n+1}=2y_n-y_{n-1}+h^2f(x_n,y_n).
What is the step length hh?
The constant gap between successive xx values, xn=x0+nhx_n=x_0+nh.
Why does the central difference method need two starting values?
Each step uses yn−1y_{n-1}, so both y0y_0 and y1y_1 are needed.
How is y1y_1 found for the central difference method?
By the forward difference method: y1=y0+hf(x0,y0)y_1=y_0+hf(x_0,y_0).
What do the initial conditions give for a second-order equation?
y0y_0 and the gradient at x0x_0.
How do you find y1y_1 for a second-order equation?
Combine the central difference at n=0n=0 with the recurrence formula at n=0n=0, to eliminate y−1y_{-1}.
How is the percentage error calculated?
exact−estimateexact×100\frac{\text{exact}-\text{estimate}}{\text{exact}}\times100.
How can a numerical estimate be improved?
Use a smaller step length, so the difference approximations are more accurate.
What must be done when the equation contains both dydx\frac{dy}{dx} and d2ydx2\frac{d^2y}{dx^2}?
Replace both by their difference approximations and collect the yn+1y_{n+1}, yny_n and yn−1y_{n-1} terms.

Flashcards