All worksheets topics

Numerical solution of differential equationsEdexcel A-Level Further Maths: Subtopic test

10 questions, 27 marks

Edexcel A-Level Further Maths

Numerical solution of differential equations

Total 27 marks

Name

Class

Date

  1. 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.
    (a)
    Find the approximation y1y_1 to y(0.2)y(0.2).
    [1 mark]
    • A1.241.24
    • B1.21.2
    • C1.11.1
    • D22
    (b)
    Find the approximation y2y_2 to y(0.4)y(0.4).
    [1 mark]
    • A1.441.44
    • B1.521.52
    • C1.41.4
    • D1.481.48
    (c)
    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]

    Total for question 1: 4 marks

  2. 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}.
    (a)
    Which formula gives yn+1y_{n+1} in terms of earlier values?
    [1 mark]
    • Ayn+1=yn−1+2h(xn−yn)y_{n+1}=y_{n-1}+2h(x_n-y_n)
    • Byn+1=yn+2h(xn−yn)y_{n+1}=y_n+2h(x_n-y_n)
    • Cyn+1=yn−1+h(xn−yn)y_{n+1}=y_{n-1}+h(x_n-y_n)
    • Dyn+1=yn+h(xn+1−yn+1)y_{n+1}=y_n+h(x_{n+1}-y_{n+1})
    (b)
    Find y2y_2.
    [1 mark]
    • A0.820.82
    • B0.860.86
    • C0.840.84
    • D1.21.2
    (c)
    Find y3y_3.
    [2 marks]

    Total for question 2: 4 marks

  3. 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}.
    (a)
    Show that yn+1=1.99yn−yn−1y_{n+1}=1.99y_n-y_{n-1}.
    [3 marks]
    (b)
    Use the formula in part (a) with n=0n=0, together with the approximation for dydx\frac{dy}{dx}, to find y1y_1. Hence find y2y_2.
    [4 marks]

    Total for question 3: 7 marks

  4. 4
    The function yy satisfies d2ydx2+2dydx+y=0\frac{d^2y}{dx^2}+2\frac{dy}{dx}+y=0, with y=1y=1 and dydx=0\frac{dy}{dx}=0 when x=0x=0. It is solved numerically with h=0.5h=0.5, where xn=0.5nx_n=0.5n 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}.
    (a)
    (i) Show that 6yn+1−7yn+2yn−1=06y_{n+1}-7y_n+2y_{n-1}=0.
    (ii) Find
    y1y_1.
    [6 marks]
    (b)
    (i) Find y2y_2, an approximation to y(1)y(1).
    (ii) The exact solution is
    y=(1+x)e−xy=(1+x)e^{-x}. Calculate the percentage error in y2y_2.
    (iii) State, with a reason, how the approximation could be improved.
    [6 marks]

    Total for question 4: 12 marks

End of questions

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).