Method of the trapezoids

In numerical Analysis, the method of the trapezoids is a method making it possible to carry out the numerical Calcul of an integral

\ int_ {has} ^ {B} F (X) dx

Single interval

The principle is to approach the area under the curve representative of the function f by a Trapèze and to calculate the surface of it:

T= (Ba) \ frac {F (a) + F (b)} {2}.

For a function with actual values, twice continuously differentiable on the segment , the made error is form

\ int_a^b F (X) \, dx - (Ba) \ frac {F (a) + F (b)} {2} = - \ frac {(Ba) ^3} {12} F (\ xi)
for some \ xi \ in \, .

In particular, in the case of a convex Function, the surface of the trapezoid is a value approached by excess of the integral.

Multiple intervals

To obtain better results, one cuts out the interval b in N smaller intervals and one applies the method to each one of them:

\ int_a^b F (X) \, dx = \ frac {Ba} {N} \ left ({F (a) + F (b) \ over 2} + \ sum_ {k=1} ^ {n-1} F \ left (a+k \ frac {Ba} {N} \ right) \ right) + R_n (F)


R_n (F) \, is the error of squaring and is worth: - \ frac {(Ba) ^3} {12n^2} F (\ xi) for a \ xi \ in \,

The method of the trapezoids thus consists in replacing the function by a function continuous and closely connected per pieces (operation of linear Interpolation) and regarding the surface of the latter as approximate value of the surface of the initial function.

Example of approximation of a function by trapezoids

Here the cutting of a function F which one wants to integrate on the interval f (X) =1.1 + \ ln (E \ frac {X} {100} + \ frac {3} {5} \ operatorname {tanh} (\ ln (x+10^ {- 7}) +1))\ cos \, X + \ frac {2} {5} (X \ frac {\ cos (3x)}{5}) ^2 \, \! \ cdot \ cdot \ cdot + \ frac {11} {100} \ sqrt {2+2x} \ sin (\ frac {44} {25} (4+3 \ sqrt {X}) X \ frac {19} {20} x^5) - e^ {\ frac {X} {3}} \, \!


Découpage for various values of N (2,8 and 16).

Various theorems

Theorem : If F is 2 times continuously differentiable on , the method of the trapezoids is convergent on C^2 () .
Theorem : The method of the trapezoids is stable.

Bond with the other methods of integration

The method of the trapezoids is an application of the Formules of Newton-Dimensions, the Méthode of Simpson in is another, the more precise.

The Méthode of Romberg is a process of acceleration of the convergence of the method of the trapezoids.

See too

  • Integral calculus (elementary mathematics)
  • Formula of Euler-Maclaurin
  • Formulas of Newton-Cotessur Math-Linux.com

Random links:List cities of Brazil | Giuseppe Velati Bellini | Siaugues-Holy-Marie | Zena Keefe | Jean Mueller | Caecilius_de_Calacte