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:

    I admire people who are suited to the contemplative life.... They can sit inside themselves like honey in a jar and just be. It’s wonderful to have someone like that around, you always feel you can count on them. You can go away and come back, you can change your mind and your hairdo and your politics, and when you get through doing all these upsetting things, you look around and there they are, just the way they were, just being.
    Elizabeth Janeway (b. 1913)

    [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)