Math 2.0

Numerical analysis Definition

Local truncation error

Builds on Numerical methods for ordinary differential equationsInitial value problemLipschitz conditionBig O notation

Definition

Let yy be the exact solution of an initial value problem y′=f(t,y)y' = f(t, y), y(t0)=y0y(t_0) = y_0, and let tn=t0+nht_n = t_0 + nh. Consider a one-step method yn+1=yn+h Φ(tn,yn,h)y_{n+1} = y_n + h \, \Phi(t_n, y_n, h) with increment function Φ\Phi. The local truncation error at step n+1n + 1 is τn+1=y(tn+1)−y(tn)−h Φ(tn,y(tn),h),\tau_{n+1} = y(t_{n+1}) - y(t_n) - h \, \Phi\big(t_n, y(t_n), h\big), the error of one step started from the exact value y(tn)y(t_n). The method is consistent of order pp if τn+1=O(hp+1)\tau_{n+1} = O(h^{p+1}) as h→0h \to 0, uniformly in nn, for every sufficiently smooth ff.

Remarks

For an implicit method or a linear multistep method ∑j=0kαjyn+j=h∑j=0kβjf(tn+j,yn+j)\sum_{j=0}^{k} \alpha_j y_{n+j} = h \sum_{j=0}^{k} \beta_j f(t_{n+j}, y_{n+j}), one inserts the exact solution in the same way: τn+k=∑jαjy(tn+j)−h∑jβjy′(tn+j)\tau_{n+k} = \sum_j \alpha_j y(t_{n+j}) - h \sum_j \beta_j y'(t_{n+j}). Some books divide by hh and call τn+1/h\tau_{n+1}/h the truncation error; then order pp means O(hp)O(h^p). Example: for the Euler method, Φ(t,y,h)=f(t,y)\Phi(t, y, h) = f(t, y), and Taylor's theorem gives τn+1=y(tn+h)−y(tn)−hy′(tn)=h22y′′(ξn)\tau_{n+1} = y(t_n + h) - y(t_n) - h y'(t_n) = \frac{h^2}{2} y''(\xi_n), so the method is consistent of order 11. Non-example: Φ(t,y,h)=2f(t,y)\Phi(t, y, h) = 2 f(t, y) is not consistent, since τn+1=−hy′(tn)+O(h2)\tau_{n+1} = -h y'(t_n) + O(h^2) is not even O(h2)O(h^2). If Φ\Phi is Lipschitz in yy with constant L>0L > 0 and ∣τn∣≤Chp+1\abs{\tau_n} \le C h^{p+1} for all nn, and if the method starts from y0=y(t0)y_0 = y(t_0), then the global error satisfies ∣y(tn)−yn∣≤ChpL(eL(tn−t0)−1)\abs{y(t_n) - y_n} \le \frac{C h^p}{L}\big(e^{L(t_n - t_0)} - 1\big).

Reading path

To understand this page from the ground up, read these 5 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Big O notation concept
  2. Initial value problem concept
  3. Lipschitz condition concept
  4. Numerical methods for ordinary differential equations concept
  5. Local truncation error definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Truncation_error_(numerical_integration)
About this page
TagYY6P3RSDWC
URIm2://YY6P3RSDWC
Kinddefinition
WritingW0 stub
MSC65L70, 65L05, 65L06
DefinesLocal truncation error
UsesNumerical methods for ordinary differential equations, Initial value problem, Lipschitz condition, Big O notation

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.