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:

    You can’t change what happened between you and your ex-spouse, but you can change your attitude about it. Forgiveness doesn’t mean that what your ex did was right or that you condone what he or she did; it simply means that you no longer want to hold a grudge. Forgiveness is not a gift for the other person; it is a purely selfish act that allows you to put the past behind you.
    Stephanie Marston (20th century)

    The yearning for an afterlife is the opposite of selfish: it is love and praise for the world that we are privileged, in this complex interval of light, to witness and experience.
    John Updike (b. 1932)