Exercise · ZW-GAUSSIAN-QUADRATURE-007 · ★★☆ Intermediate

To map \([a,b]\) onto \([-1,1]\), which change of variable is used?

Choose one option.

Show answer
  • C. \(x=\frac{b-a}{2}t+\frac{a+b}{2}\)

Explanation

You must scale by half the length and shift to the midpoint of the interval. Forgetting either part is a common error.

Study Numerical methods in ZWMath →

Review the concept: Gaussian quadrature

Numerical integration method that chooses optimal nodes \(x_i\) and weights \(w_i\) to approximate an integral with the highest possible accuracy for a fixed number of function evaluations.

\[\int_{a}^{b} f(x)\,dx \approx \sum_{i=1}^{n} w_i\, f(x_i)\]

More practice problems: gaussian quadrature

← ZW-GAUSSIAN-QUADRATURE-006 ZW-GAUSSIAN-QUADRATURE-008 →