Gaussian Quadrature - Change of Interval

Change of Interval

An integral over must be changed into an integral over before applying the Gaussian quadrature rule. This change of interval can be done in the following way:


\int_a^b f(x)\,dx = \frac{b-a}{2} \int_{-1}^1 f\left(\frac{b-a}{2}z
+ \frac{a+b}{2}\right)\,dz.

After applying the Gaussian quadrature rule, the following approximation is:


\int_a^b f(x)\,dx \approx \frac{b-a}{2} \sum_{i=1}^n w_i f\left(\frac{b-a}{2}z_i + \frac{a+b}{2}\right).

Read more about this topic:  Gaussian Quadrature

Famous quotes containing the words change and/or interval:

    No one can doubt the purpose for which the Nation now seeks to use the Democratic Party. It seeks to use it to interpret a change in its own plans and point of view.
    Woodrow Wilson (1856–1924)

    [I have] been in love with one princess or another almost all my life, and I hope I shall go on so, till I die, being firmly persuaded, that if ever I do a mean action, it must be in some interval betwixt one passion and another.
    Laurence Sterne (1713–1768)