3.4: Change of Variables
( \newcommand{\kernel}{\mathrm{null}\,}\)
Another useful technique for solving integrals is to change variables. Consider the integral ∫∞0dxx2+1.
We can solve this by making a change of variables x=tan(u). This involves (i) replacing all occurrences of x in the integrand with tan(u), (ii) replacing the integral limits, and (iii) replacing dx with (dx/du)du=1/[cos(u)]2du: ∫∞0dxx2+1=∫π/201[tan(u)]2+1⋅1[cos(u)]2du=∫π/201[sin(u)]2+[cos(u)]2du.
Due to the Pythagorean theorem, the integrand reduces to 1, so ∫∞0dxx2+1=∫π/20du=π2.
Clearly, this technique often requires some cleverness and/or trial-and-error in choosing the right change of variables.