Numerical method
{{Short description|Mathematical tool to algorithmically solve equations}}
{{more footnotes needed|date=September 2016}}In numerical analysis, a numerical method is a mathematical tool designed to solve numerical problems. The implementation of a numerical method with an appropriate convergence check in a programming language is called a numerical algorithm.
Mathematical definition
Let be a well-posed problem, i.e. is a real or complex functional relationship, defined on the Cartesian product of an input data set and an output data set , such that exists a locally lipschitz function called resolvent, which has the property that for every root of , . We define numerical method for the approximation of , the sequence of problems
:
with , and for every . The problems of which the method consists need not be well-posed. If they are, the method is said to be stable or well-posed.{{cite book
| last = Quarteroni, Sacco, Saleri
| title = Numerical Mathematics
| publisher = Springer
| location = Milano
| year = 2000
| page = 33
| url = http://www.techmat.vgtu.lt/~inga/Files/Quarteroni-SkaitMetod.pdf
| access-date = 2016-09-27
| archive-url = https://web.archive.org/web/20171114040621/http://www.techmat.vgtu.lt/~inga/Files/Quarteroni-SkaitMetod.pdf
| archive-date = 2017-11-14
| url-status = dead
}}
Consistency
Necessary conditions for a numerical method to effectively approximate are that and that behaves like when . So, a numerical method is called consistent if and only if the sequence of functions pointwise converges to on the set of its solutions:
:
\lim F_n(x,y+t) = F(x,y,t) = 0, \quad \quad \forall (x,y,t) \in S.
Convergence
Denote by a sequence of admissible perturbations of for some numerical method (i.e. ) and with the value such that . A condition which the method has to satisfy to be a meaningful tool for solving the problem is convergence:
:
\begin{align}
&\forall \varepsilon > 0, \exist n_0(\varepsilon) > 0, \exist \delta_{\varepsilon, n_0} \text{ such that} \\
&\forall n > n_0, \forall \ell_n : \| \ell_n \| < \delta_{\varepsilon,n_0} \Rightarrow \| y_n(x+\ell_n) - y \| \leq \varepsilon.
\end{align}
One can easily prove that the point-wise convergence of to implies the convergence of the associated method.