Numerical Differentiation Estimates

A question is this type if and only if it asks to calculate estimates of derivatives using forward, backward, or central difference methods from tabulated data.

9 questions

Edexcel F1 2022 January Q8
8. $$\mathrm { f } ( x ) = 2 x ^ { - \frac { 2 } { 3 } } + \frac { 1 } { 2 } x - \frac { 1 } { 3 x - 5 } - \frac { 5 } { 2 } \quad x \neq \frac { 5 } { 3 }$$ The table below shows values of \(\mathrm { f } ( x )\) for some values of \(x\), with values of \(\mathrm { f } ( x )\) given to 4 decimal places where appropriate.
\(x\)12345
\(\mathrm { f } ( x )\)0.5- 0.28850.5834
  1. Complete the table giving the values to 4 decimal places. The equation \(\mathrm { f } ( x ) = 0\) has exactly one positive root, \(\alpha\). Using the values in the completed table and explaining your reasoning,
  2. determine an interval of width one that contains \(\alpha\).
  3. Hence use interval bisection twice to obtain an interval of width 0.25 that contains \(\alpha\). Given also that the equation \(\mathrm { f } ( x ) = 0\) has a negative root, \(\beta\), in the interval \([ - 1 , - 0.5 ]\)
  4. use linear interpolation once on this interval to find an approximation for \(\beta\). Give your answer to 3 significant figures.
OCR MEI Further Numerical Methods 2023 June Q3
3 The diagram shows the graph of \(y = f ( x )\) for values of \(x\) from 1 to 3.5.
\includegraphics[max width=\textwidth, alt={}, center]{4023e87c-34b1-4abd-9acc-ede5e4d68c7f-03_945_1248_312_244} The table shows some values of \(x\) and the associated values of \(y\).
\(x\)1.522.5
\(y\)1.6821372.0943952.318559
  1. Use the forward difference method to calculate an approximation to \(\frac { \mathrm { dy } } { \mathrm { dx } }\) at \(x = 2\).
  2. Use the central difference method to calculate an approximation to \(\frac { \mathrm { dy } } { \mathrm { dx } }\) at \(x = 2\).
  3. On the copy of the diagram in the Printed Answer Booklet, show how the central difference method gives the approximation to \(\frac { \mathrm { dy } } { \mathrm { dx } }\) at \(x = 2\) which was found in part (b).
  4. Explain whether your answer to part (a) or your answer to part (b) is likely to give a better approximation to \(\frac { \mathrm { dy } } { \mathrm { dx } }\) at \(x = 2\).
OCR MEI Further Numerical Methods 2023 June Q7
7 The value of a function, \(\mathrm { y } = \mathrm { f } ( \mathrm { x } )\), and its gradient function, \(\frac { \mathrm { dy } } { \mathrm { dx } }\), when \(x = 2\), is given in Table 7.1. \begin{table}[h]
\captionsetup{labelformat=empty} \caption{Table 7.1}
\(x\)\(\mathrm { f } ( x )\)\(\frac { \mathrm { dy } } { \mathrm { dx } }\)
26- 2.8
\end{table}
  1. Determine the approximate value of the error when \(f ( 2 )\) is used to estimate \(f ( 2.03 )\). The Newton-Raphson method is used to find a sequence of approximations to a root, \(\alpha\), of the equation \(\mathrm { f } ( x ) = 0\). The spreadsheet output showing the iterates, together with some further analysis, is shown in Table 7.2. \begin{table}[h]
    \captionsetup{labelformat=empty} \caption{Table 7.2}
    ABCD
    1rXrdifferenceratio
    2012
    31-13.1165572-25.1165572
    421.7628327914.87939004-0.5924136
    532.180521570.417688780.02807163
    642.1824190240.0018974540.00454275
    752.182419066\(4.13985 \mathrm { E } - 08\)\(2.1818 \mathrm { E } - 05\)
    \end{table}
    1. Explain what the values in column D tell you about the order of convergence of this sequence of approximations.
    2. Without doing any further calculation, state the value of \(\alpha\) as accurately as you can, justifying the precision quoted.
OCR MEI Further Numerical Methods 2024 June Q1
1 The table shows some values of \(x\), together with the associated values of a function, \(\mathrm { f } ( x )\).
\(x\)1.922.1
\(\mathrm { f } ( x )\)0.58420.63090.6753
  1. Use the information in the table to calculate the most accurate estimate of \(f ^ { \prime } ( 2 )\) possible.
  2. Calculate an estimate of the error when \(f ( 2 )\) is used as an estimate of \(f ( 2.05 )\).
OCR MEI Further Numerical Methods 2024 June Q6
6 Table 6.1 shows some values of \(x\) and the associated values of a function, \(y = f ( x )\). \begin{table}[h]
\captionsetup{labelformat=empty} \caption{Table 6.1}
\(x\)1.512
\(\mathrm { f } ( x )\)0.8408911.18921
\end{table}
  1. Explain why it is not possible to use the central difference method to calculate an estimate of \(\frac { \mathrm { dy } } { \mathrm { dx } }\) when \(x = 1\).
  2. Use the forward difference method to calculate an estimate of \(\frac { \mathrm { dy } } { \mathrm { dx } }\) when \(x = 1\). A student uses the forward difference method to calculate a series of approximations to \(\frac { \mathrm { dy } } { \mathrm { dx } }\) when \(x = 2\) with different values of the step length, \(h\). These approximations are shown in Table 6.2, together with some further analysis. \begin{table}[h]
    \captionsetup{labelformat=empty} \caption{Table 6.2}
    \(h\)0.80.40.20.10.050.0250.01250.00625
    approximation0.1304520.1386470.1433810.1459420.1472770.1479590.1483040.148477
    difference0.0081950.0047340.0025610.0013350.0006820.0003450.000173
    ratio0.5776330.5410990.5211860.5107620.5054240.502723
    \end{table}
    1. Explain what the ratios of differences tell you about the order of the method in this case.
    2. Comment on whether this is unusual.
  3. Determine the value of \(\frac { \mathrm { dy } } { \mathrm { dx } }\) when \(x = 2\) as accurately as possible. You must justify the precision quoted.
OCR MEI Further Numerical Methods 2020 November Q5
5 You are given that
\(g ( x ) = \frac { \sqrt [ 3 ] { x ^ { x } + 25 } } { 2 }\). Fig. 5.1 shows two values of \(x\) and the associated values of \(\mathrm { g } ( x )\). \begin{table}[h]
\(x\)1.451.55
\(g ( x )\)1.494681.49949
\captionsetup{labelformat=empty} \caption{Fig. 5.1}
\end{table}
  1. Use the central difference method to calculate an estimate of \(\mathrm { g } ^ { \prime } ( 1.5 )\), giving your answer correct to 3 decimal places. The equation \(x ^ { x } - 8 x ^ { 3 } + 25 = 0\) has two roots, \(\alpha\) and \(\beta\), such that \(\alpha \approx 1.5\) and \(\beta \approx 4.4\).
  2. Obtain the iterative formula \(x _ { n + 1 } = g \left( x _ { n } \right) = \frac { \sqrt [ 3 ] { x _ { n } ^ { X _ { n } } + 25 } } { 2 }\).
  3. Use your answer to part (a) to explain why it is possible that the iterative formula \(x _ { n + 1 } = g \left( x _ { n } \right) = \frac { \sqrt [ 3 ] { x _ { n } ^ { X _ { n } } + 25 } } { 2 }\) may be used to find \(\alpha\).
  4. Starting with \(x _ { 0 } = 1.5\), use the iterative formula to find \(x _ { 1 } , x _ { 2 } , x _ { 3 } , x _ { 4 } , x _ { 5 }\), and \(x _ { 6 }\).
  5. Use your answer to part (d) to state the value of \(\alpha\) correct to 8 decimal places. Starting with \(x _ { 0 } = 4.5\) the same iterative formula is used in an attempt to find \(\beta\). The results are shown in Fig. 5.2. \begin{table}[h]
    \(n\)\(x _ { n }\)
    04.5
    14.81826433
    26.27473453
    323.2937196
    4\(2.0654 \mathrm { E } + 10\)
    5\#NUM!
    \captionsetup{labelformat=empty} \caption{Fig. 5.2}
    \end{table}
  6. Explain why \#NUM! is displayed in the cell for \(x _ { 5 }\).
  7. On the diagram in the Printed Answer Booklet, starting with \(x _ { 0 } = 4.5\), illustrate how the iterative formula works to find \(x _ { 1 }\) and \(x _ { 2 }\).
  8. Determine what happens when the relaxed iteration \(x _ { n + 1 } = ( 1 - \lambda ) x _ { n } + \lambda g \left( x _ { n } \right)\) is used to try to find \(\beta\) with \(x _ { 0 } = 4.5\), in each of the following cases.
    • \(\lambda = 0.5\)
    • \(\lambda = - 0.4\)
OCR MEI Further Numerical Methods 2020 November Q7
7 Fig. 7.1 shows two values of \(x\) and the associated values of \(\mathrm { f } ( x )\). \begin{table}[h]
\(x\)33.5
\(\mathrm { f } ( x )\)6.0827634.596194
\captionsetup{labelformat=empty} \caption{Fig. 7.1}
\end{table}
  1. Use the forward difference method to calculate an estimate of the gradient of \(\mathrm { f } ( x )\) at \(x = 3\), giving your answer correct to 4 decimal places. Fig. 7.2 shows some spreadsheet output with additional values of \(x\) and the associated values of \(\mathrm { f } ( x )\). \begin{table}[h]
    \(x\)33.000013.00013.0013.013.1
    \(\mathrm { f } ( x )\)6.0827636.082746.0825416.080546.0604545.848846
    \captionsetup{labelformat=empty} \caption{Fig. 7.2}
    \end{table} These values have been used to produce a sequence of estimates of the gradient of \(\mathrm { f } ( x )\) at \(x = 3\), together with some further analysis. This is shown in the spreadsheet output in Fig. 7.3. \begin{table}[h]
    \(h\)0.10.010.0010.00010.00001
    estimate-2.339165-2.230883-2.220532-2.219501-2.219398
    difference0.10828150.0103520.00103070.000103
    ratio0.0956020.0995670.0999568
    \captionsetup{labelformat=empty} \caption{Fig. 7.3}
    \end{table} Tommy states that the differences between successive estimates is decreasing so rapidly that the order of convergence of this sequence of estimates is much faster than first order.
  2. Explain whether or not Tommy is correct.
  3. Use extrapolation to determine the value of the gradient of \(\mathrm { f } ( x )\) at \(x = 3\) as accurately as possible, justifying the precision quoted.
  4. Calculate an estimate of the absolute error when \(\mathrm { f } ( 3 )\) is used as an approximation to \(\mathrm { f } ( 3.02 )\).
OCR MEI Further Numerical Methods 2021 November Q4
4 The table shows some values of \(x\) and the associated values of \(\mathrm { f } ( x )\).
\(x\)44.00014.0014.014.1
\(\mathrm { f } ( x )\)44.00023864.00238714.02394684.2472072
  1. Calculate four estimates of the derivative of \(\mathrm { f } ( x )\) at \(x = 4\).
  2. Without doing any further calculation, state the value of \(f ^ { \prime } ( 4 )\) as accurately as you can, justifying the precision quoted.
OCR MEI Further Numerical Methods Specimen Q4
4 The table below gives values of a function \(y = \mathrm { f } ( x )\).
\(x\)0.20.30.350.40.450.50.6
\(\mathrm { f } ( x )\)0.7899220.7546280.7491990.7499970.7562570.7675230.804299
  1. Calculate three estimates of \(\frac { \mathrm { d } y } { \mathrm {~d} x }\) at \(x = 0.4\) using the central difference method.
  2. State the value of \(\frac { \mathrm { d } y } { \mathrm {~d} x }\) at \(x = 0.4\) to an appropriate degree of accuracy. Justify your answer.