Legendre-Gauss Quadrature formula: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Dmitrii Kouznetsov
imported>Dmitrii Kouznetsov
(→‎Nodes and weights: work with references)
Line 21: Line 21:
<ref name="irene">{{cite book
<ref name="irene">{{cite book
|first=Milton
|first=Milton
|Last=Abramovitz
|last=Abramovitz
|coauthors=I. Steun
|coauthors=I. Stegun
|title=Handbook on special functions
|title=[[Handbook of mathematical functions]]
|year=1980
|year=1964
|City=NY
|publisher=[[National Bureau of Standards]]
|isbn=0-486-61272-4
|city=NY
|url=http://www.convertit.com/Go/ConvertIt/Reference/AMS55.ASP?Res=200&Page=887
}}</ref>
}}</ref>
<ref name="recipes">{{cite book
<ref name="recipes">{{cite book
|title = Numerical Resipes in C
|author=W.H.Press, S.A.Teukolsky, W.T.Vetterling, B.P.Flannery
|publisher=[[Do not forget to type data of the ref. here!]]
|title = [[Numerical Resipes in C]]
|publisher=[[Cambridge University Press]]
|year=1988
|url=http://www.nrbook.com/a/bookcpdf.php
}}</ref>
}}</ref>



Revision as of 21:25, 27 May 2008

Template:Copyedit

Legendre-Gauss Quadratude formiula is the approximation of the integral

(1)

with special choice of nodes and weights , characterised in that, if the finction is polynomial of order smallet than , then the exact equality takes place in equation (1).

Legendre-Gauss quadratude formula is special case of Gaussian quadratures of more general kind, which allow efficient approximation of a function with known asumptiotic behavior at the edges of the interval of integration.

Nodes and weights

Nodes in equation (1) are zeros of the Polynomial of Legendre :

(2)
(3)

Weight in equaiton (1) can be expressed with

(4)

There is no straightforward espression for the nodes ; they can be approximated with many decimal digits through only few iterations, solving numerically equation (2) with initial approach

(5)

These formulas are described in the books [1] [2]

Precision of the approximation

Example

Fig.1. Example of estimate of precision: Logarithm of residual versus number of terms in the right hand side of equation (1) for various integrands .

Extension to other interval

is straightforward. Should I copypast the obvious formulas here?

References

  1. Abramovitz, Milton; I. Stegun (1964). Handbook of mathematical functions. National Bureau of Standards. ISBN 0-486-61272-4. 
  2. W.H.Press, S.A.Teukolsky, W.T.Vetterling, B.P.Flannery (1988). Numerical Resipes in C. Cambridge University Press.