In the field of the numerical Analysis, one can have to seek the solution of a partial derivative equation. Among the methods of usually practiced resolutions, the method the finite differences is easiest of access, since it rests on two concepts: discretization of the operators of derivation/differentiation (enough intuitive) on the one hand, and the convergence of the numerical diagram thus obtained on the other hand.
Thanks to the formulas of Taylor, one defines the discretization of the differential operators (derivative first, seconds, etc, partial or not).
The formulation of Taylor-Young is preferable in his simple use, the formulation of Taylor with integral remainder of Laplace makes it possible to measure the errors (lower cf)
A grid is a whole of points of the field of definition to which one will apply the method the finite differences. For an application defined on a segment of , one will in general add the two ends of the segment; for a grid in higher dimension, one will be brought to choose, possibly, of the points of contours of the field of definition.
One calls the step of the grid the distance between two successive points of the grid neighbors. In dimension 1, that is simplified of difference of the X-coordinates. This step is not necessarily constant, it can even be judicious not to fix it as tel. the step (total) of the approximation can be defined like the greatest step of the grid. Thus, if this total step tends towards 0, that wants to say that the distribution of the points of the grid in the selected interval tends to be done on all the field of study by density.
For an interval of validity one will use points, for example for a constant step .
For reasons at the same time of algebraic writing and study of convergence/stability a priori it is important to be replaced as much as possible in problems with orders of derivation weakest possible, even if it means to increase the dimension of the space of study. One will call upon intermediate variables thus: the derivative or derivative partial of the initially studied functions.
To write a numerical diagram of resolution of the initial differential equation means:
to reorganize the equations to reveal an explicit diagram (ex: values at the date t+1 given according to the values of dates 0 to T) or implicit (an equation binds the values passed, present and future without one managing to express these last alone).
Within a traditional framework of modeling linear operators in linear differential equations, one leads to a system of linear equations of size equal to the number of nodes of the grid (in fact a little less, because of the initial data, for example).
To solve the numerical diagram simply means to find the values discrete of the function in each nodes.
a system resulting from a linear equation can often be algebraically simple to solve. To simplify, one can say that the explicit diagrams generate systems of equation to triangular matrix or trigonalisables, which is not the case of the implicit schemes.
The methods of resolution of the diagrams can call upon methods of optimization as to traditional algebraic methods.
Let us leave the following equation:
Then, one chooses to write the diagram of order 1 of the derived first in all the points of a grid with constant step . One seeks exactly unknown, the values which one will write . The diagram is then called explicit diagram of Euler of order 1:
Rather let us choose to leave the diagram of order 2 of the derived first, except for the point for which one takes again the diagram of order 1:
The second concept supplements the first. It treats convergence of a numerical diagram. Indeed, modeling by differences finished is couple (conditions (initial, final, etc), diagram numerical) which one does not know a priori not if its possible solution near or not to a real solution is hoped of the initial system (conditions (initial, final, etc), differential equations). To speak about convergence, it is necessary to include/understand that one according to a criterion similar to those, if one studies a function on an interval :
- simple convergence: in any point the evaluated approximation tightens towards the true value of the solution when the step tends towards 0
- convergence normalizes 2 of them : this standard tends towards 0 with the step
- absolute convergence or in absolute standard : this standard tends towards 0 with the step
One must then study the quality of the convergence of this numerical diagram according to criteria such as stability, the robustness and well-sure various standards (2 or most of the time). That can as well depend on the method of discretization, of the nature of the equations that initial conditions (according to the nature of the problem arising).
- Stability, the robustness of the diagram: to add
For a given grid, the error between the approximate solution and the real solution are determined by the truncation error, as in particular definite in the theorem of Taylor with integral remainder or within the meaning of the restriction on a finished part of a Série of Taylor which has an infinite number of terms.
There still, the error depends on what one intends to measure. The error can indeed be measured point by point (simple convergence) or according to a standard 2 or infinite.
In the last example presented, one knows the exact solution of the equation, which is an exponential function.
Here, there is an exact measurement of the error point by point. Note that one can as to show as if the grid is refined infinitely (i.e. the number of points tends towards the infinite one), then simple convergence is assured. Let us take an example: the point . Let us distinguish the even case . The case where is odd is identical by framing, even if it is a little more complicated.
If M is even, then the point . The difference in image is then
It is in fact possible, by using the character archimédien and the continuity of the solutions, to show that simple convergence is everywhere assured…
| Random links: | Quesnoy-sur-Deûle | Chyme | Saeul | Legong | Rio Curapi |