SpudsMcGinty
- 3
- 0
Homework Statement
I'm working through Mahajan's Street-fighting Mathematics for fun, and am a bit puzzled about the following problem:
Use a change of variable to show that
\int^{∞}_{0}\frac{dx}{1+x^{2}} = 2 \int^{1}_{0}\frac{dx}{1+x^{2}}
The second integral has a finite integration range, so it is easier than the first integral to evaluate numerically. Estimate the second integral using the trapezoidal approximation. Then guess a closed form for the first integral.
The Attempt at a Solution
It's mostly the first part that's tripping me up. I could use the substitution
tan\theta=x
and solve both integrals, resulting in
\frac{\pi}{2} = 2(\frac{\pi}{4})
but surely that defeats the purpose here, as I'm solving an integral so I can go back and re-solve it using the result...
The substitution
x = \frac{-2u}{u^2-1}
results in
\int^{∞}_{0}\frac{dx}{1+x^{2}} = 2 \int^{1}_{0}\frac{du}{1+u^{2}}
which is what we want I guess. However, after getting frustrated with trial and error, I figured out that substitution by solving a nonlinear differential equation in Mathematica, which was more work than just solving the integral.
My calculus is a bit rusty - is there some trick for figuring out substitutions that I've forgotten? Is there some easy substitution here that I've missed?
Regarding the rest of the question, when he asks for a closed form does he mean the following? I find the language in US textbooks confusing at times...
\int\frac{dx}{1+x^{2}} = arctan(x) + C
Thanks in advance!