All mind maps topics

Numerical solution of differential equationsEdexcel A-Level Further Maths: Mind map

Forward difference
Central difference

Numerical solution of ODEs

difference methods

step length hhxn=x0+nhx_n=x_0+nh
Second order
Starting values
Accuracy

Exam questions on Numerical solution of differential equations

  1. The differential equation dydx=x+y\frac{dy}{dx}=x+y, with y=1y=1 when x=0x=0, is solved numerically using the approximation (dydx)n=yn+1−ynh\left(\frac{dy}{dx}\right)_n=\frac{y_{n+1}-y_n}{h} with h=0.2h=0.2. Here xn=0.2nx_n=0.2n and yny_n is the approximation to yy at xnx_n.
    Given that y3=1.856y_3=1.856, and that the exact solution is y=2ex−x−1y=2e^x-x-1, calculate the percentage error in y3y_3 as an approximation to y(0.6)y(0.6).2 marks
  2. The differential equation dydx=x−y\frac{dy}{dx}=x-y, with y=1y=1 when x=0x=0, is solved numerically using the approximation (dydx)n=yn+1−yn−12h\left(\frac{dy}{dx}\right)_n=\frac{y_{n+1}-y_{n-1}}{2h} with h=0.1h=0.1. Here xn=0.1nx_n=0.1n, y0=1y_0=1, and the value y1=0.9y_1=0.9 is found from the approximation (dydx)n=yn+1−ynh\left(\frac{dy}{dx}\right)_n=\frac{y_{n+1}-y_n}{h}.
    Find y3y_3.2 marks
  3. The function yy satisfies d2ydx2=−y\frac{d^2y}{dx^2}=-y, with y=0y=0 and dydx=1\frac{dy}{dx}=1 when x=0x=0. It is solved numerically with step length h=0.1h=0.1, where xn=0.1nx_n=0.1n and yny_n approximates yy at xnx_n, using (d2ydx2)n=yn+1−2yn+yn−1h2\left(\frac{d^2y}{dx^2}\right)_n=\frac{y_{n+1}-2y_n+y_{n-1}}{h^2} and (dydx)n=yn+1−yn−12h\left(\frac{dy}{dx}\right)_n=\frac{y_{n+1}-y_{n-1}}{2h}.
    Show that yn+1=1.99yn−yn−1y_{n+1}=1.99y_n-y_{n-1}.3 marks
See the full worksheet

Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).