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 of, change and/or interval:

    The change of Philomel, by the barbarous king
    So rudely forced: yet there the nightingale
    Filled all the desert with inviolable voice
    And still she cried, and still the world pursues,
    “Jug Jug” to dirty ears.
    —T.S. (Thomas Stearns)

    All of childhood’s unanswered questions must finally be passed back to the town and answered there. Heroes and bogey men, values and dislikes, are first encountered and labeled in that early environment. In later years they change faces, places and maybe races, tactics, intensities and goals, but beneath those penetrable masks they wear forever the stocking-capped faces of childhood.
    Maya Angelou (b. 1928)

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