Suppose you want to evaluate the following integral: We’d like to do a change of variables to make the range of integration finite, and we’d like the transformed integral to be easy to evaluate numerically. The change of variables t = 1/x2 transforms the range of integration from (30, ∞) to (0, 1/900). I’ll explain where this choice came from and why it results in a nice function to integrate. The
![Numerical integration trick](https://cdn-ak-scissors.b.st-hatena.com/image/square/2f540e5440a706994258c451c842332b696f3be0/height=288;version=1;width=512/https%3A%2F%2Fwww.johndcook.com%2Fblog%2Fwp-content%2Fuploads%2F2022%2F05%2Ftwittercard.png)