W. W. Hansen's Trick to Evaluating Integrals
- Context: Graduate
- Thread starter marcusl
- Start date
-
- Tags
- Integrals
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 3K views
Discussion
Physics news on Phys.org
Nebuchadnezza
- 78
- 2
I am going out on a limb here, and this is probably wrong. But the one thing that comes to my mind is the fact that
[tex]\int_{0}^{a} f(x) \mathrm{d}x = \int_{0}^{a} f(a-x) \mathrm{d}x[/tex]
For an concerete example, let us evaluate
[tex]\int_{0}^{\pi/2} \frac{\sin x}{\cos x + \sin x} \mathrm{d}x[/tex]
I am sure you can fill in the rest, using the hint above =)
If this is not the trick, I am very interested in it as well!
[tex]\int_{0}^{a} f(x) \mathrm{d}x = \int_{0}^{a} f(a-x) \mathrm{d}x[/tex]
For an concerete example, let us evaluate
[tex]\int_{0}^{\pi/2} \frac{\sin x}{\cos x + \sin x} \mathrm{d}x[/tex]
I am sure you can fill in the rest, using the hint above =)
If this is not the trick, I am very interested in it as well!
Homework Helper
- 1,388
- 12
I'm guessing the trick amounts to replacing a constant in the integrand (or integration limits) with a variable, which allows you to then differentiate (integrate) with respect to that variable to make the integral easier to do. At the end of the calculation you integrate (differentiate) to get the original result you wanted. The classic example is evaluating Gaussian integrals. Consider
[tex]\int_{-\infty}^\infty dx~x^2 \exp\left(-x^2\right)[/tex]
You could try substitution to evaluate this, but if you know the result [itex]\int_{-\infty}^\infty dx~\exp\left(-ax^2\right) = \sqrt{\pi/a}[/itex] you can easily solve the integral as follows: first, insert a variable 'a' into the exponential, then note
[tex]\int_{-\infty}^\infty dx~x^2 \exp\left(-a x^2\right) = -\frac{\partial }{\partial a}\left(\int_{-\infty}^\infty dx~\exp\left(-a x^2\right)\right) = -\frac{\partial }{\partial a}\left(\frac{\pi}{a}\right)^{1/2} = \frac{1}{2}\frac{\sqrt{\pi}}{a^{3/2}}[/tex]
Setting a = 1 gives the result of the original integral.
[tex]\int_{-\infty}^\infty dx~x^2 \exp\left(-x^2\right)[/tex]
You could try substitution to evaluate this, but if you know the result [itex]\int_{-\infty}^\infty dx~\exp\left(-ax^2\right) = \sqrt{\pi/a}[/itex] you can easily solve the integral as follows: first, insert a variable 'a' into the exponential, then note
[tex]\int_{-\infty}^\infty dx~x^2 \exp\left(-a x^2\right) = -\frac{\partial }{\partial a}\left(\int_{-\infty}^\infty dx~\exp\left(-a x^2\right)\right) = -\frac{\partial }{\partial a}\left(\frac{\pi}{a}\right)^{1/2} = \frac{1}{2}\frac{\sqrt{\pi}}{a^{3/2}}[/tex]
Setting a = 1 gives the result of the original integral.
Similar threads
Undergrad Trick for evaluating limits by substituting in 1/n
- cuallito
- · Replies 6 ·
- Calculus
- Replies
- 6
Integrating Symmetric Definite Integrals: A Trick for Evaluating $U_n-U_{n-1}$
- Saitama
- · Replies 6 ·
- Calculus
- Replies
- 6
Graduate What Conditions Allow the Derivative Trick for Evaluating Fermionic Commutators?
- thetafilippo
- · Replies 4 ·
- Quantum Physics
- Replies
- 4