W. W. Hansen's Trick to Evaluating Integrals

  • Context: Graduate 
  • Thread starter Thread starter marcusl
  • Start date Start date
  • Tags Tags
    Integrals
Click For Summary

Discussion Overview

The discussion revolves around W. W. Hansen's method for evaluating integrals by treating constants as variables. Participants explore the implications of this technique, share examples, and seek clarification on its application.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant references E. T. Jaynes' mention of Hansen's method but seeks further details on its implementation.
  • Another participant suggests a symmetry property of integrals, providing a specific example to illustrate their point, while expressing uncertainty about its relevance to Hansen's trick.
  • A different participant proposes that the trick involves substituting a constant with a variable to facilitate differentiation or integration, using Gaussian integrals as a classic example to demonstrate this approach.
  • A later reply critiques the usefulness of the previous participant's contribution while expressing appreciation for the Gaussian integral example as clever.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the exact nature of Hansen's trick, with multiple interpretations and examples presented, indicating ongoing uncertainty and exploration of the topic.

Contextual Notes

Some assumptions about the applicability of the discussed methods remain unaddressed, and the discussion does not resolve the specifics of Hansen's technique or its broader implications.

marcusl
Science Advisor
Messages
2,968
Reaction score
687
In "Probability Theory: The Logic of Science", the author E. T. Jaynes relates that Prof. Hansen at Stanford evaluated integrals by treating constants like pi in an integrand as a variable. Sounds fantastic! Does anyone know how this is done?
 
Physics news on Phys.org
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!
 
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.
 
Neb, I don't see how what you wrote is at all useful...

Mute, now that's another story! This is very clever.

thx
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
408
Replies
2
Views
3K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K