Why Does My Calculation of the Gaussian Integral for x^4 Differ?

Click For Summary

Discussion Overview

The discussion revolves around the calculation of the Gaussian integral for the function \( x^4 \) multiplied by an exponential decay term. Participants explore different approaches to derive the integral and identify discrepancies in their results.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant, Adrian, attempts to derive the integral \( \int_{-\infty}^{\infty} dx.x^4.e^{-\frac{1}{2}ax^2} \) using differentiation but arrives at a result that includes an unexpected \( a^{-3} \) term instead of \( a^{-4} \).
  • Another participant presents a different method, starting from the known result of the Gaussian integral and applying double differentiation, leading to a consistent result of \( 3a^{-2} \) for the integral of \( x^4 \).
  • Adrian later realizes that the initial relation he used was incorrect and corrects it, leading to a consistent result of \( 3a^{-2} \) as well.
  • A suggestion is made to substitute \( y^2 = ax^2 \) to simplify the calculations and potentially avoid errors in handling the powers of \( a \).

Areas of Agreement / Disagreement

Participants initially disagree on the correct approach to derive the integral, with different methods yielding conflicting results. However, there is a resolution when Adrian corrects his initial relation, aligning with the results of others.

Contextual Notes

The discussion highlights the importance of starting with the correct relations in mathematical derivations. There are unresolved aspects regarding the handling of derivatives and substitutions that could affect the outcomes.

AdrianMay
Messages
121
Reaction score
4
Hi folks,

I'm trying to get from the established relation:

$$ \int_{-\infty}^{\infty} dx.x^2.e^{-\frac{1}{2}ax^2} = a^{-2}\int_{-\infty}^{\infty} dx.e^{-\frac{1}{2}ax^2} $$

to the similarly derived:

$$ \int_{-\infty}^{\infty} dx.x^4.e^{-\frac{1}{2}ax^2} = 3a^{-4} \int_{-\infty}^{\infty} dx.e^{-\frac{1}{2}ax^2} $$

but instead I'm winding up with:

$$ \int_{-\infty}^{\infty} dx.x^4.e^{-\frac{1}{2}ax^2} = (4a^{-3} - a^{-4}) \int_{-\infty}^{\infty} dx.e^{-\frac{1}{2}ax^2} $$.

Evidently the difference is that I have ##a^{-3}## where I should have ##a^{-4}## but I can't seem to fault my own logic. First I differentiate the thing I started with:

$$ -2\frac{\partial}{\partial a} [ \int_{-\infty}^{\infty} dx.x^2.e^{-\frac{1}{2}ax^2} ] = -2\frac{\partial}{\partial a} [ a^{-2}\int_{-\infty}^{\infty} dx.e^{-\frac{1}{2}ax^2} ] $$

apply the chain rule:

$$ \int_{-\infty}^{\infty} dx.x^4.e^{-\frac{1}{2}ax^2} = -2 \{ \frac{\partial a^{-2}}{\partial a}.\int_{-\infty}^{\infty} dx.e^{-\frac{1}{2}ax^2} + a^{-2}.\frac{\partial}{\partial a}\int_{-\infty}^{\infty} dx.e^{-\frac{1}{2}ax^2} \} $$

and hit the problem in what looks like the easy bit:

$$ \int_{-\infty}^{\infty} dx.x^4.e^{-\frac{1}{2}ax^2} = 4a^{-3}.\int_{-\infty}^{\infty} dx.e^{-\frac{1}{2}ax^2} - a^{-4}.\int_{-\infty}^{\infty} dx.e^{-\frac{1}{2}ax^2} $$

(where the last term follows from the relation I started with.)

So where's the bug?

Thanks in advance,
Adrian.
 
Last edited:
Physics news on Phys.org
I can get the correct result as well. Start with:

$$ \int_{-\infty}^{\infty} dx.e^{-\frac{1}{2}ax^2} = \sqrt{2\pi}a^{-\frac{1}{2}} $$

double diff right away:

$$ 4\frac{\partial^2}{\partial a^2} \int_{-\infty}^{\infty} dx.e^{-\frac{1}{2}ax^2} = 4\frac{\partial^2}{\partial a^2} \sqrt{2\pi}a^{-\frac{1}{2}} $$

$$ \int_{-\infty}^{\infty} dx. 4\frac{\partial^2}{\partial a^2} e^{-\frac{1}{2}ax^2} = 4\sqrt{2\pi}.\frac{-1}{2}.\frac{-3}{2}.a^{-\frac{5}{2}} $$

$$ \int_{-\infty}^{\infty} dx. x^4. e^{-\frac{1}{2}ax^2} = 3a^{-2}\sqrt{2\pi}.a^{-\frac{1}{2}} = 3a^{-2}\int_{-\infty}^{\infty} dx.e^{-\frac{1}{2}ax^2} $$

But now I'm looking at a contradiction.What was wrong with the first approach?
 
Last edited:
OK, I figured it out. The starting point was supposed to be:

$$ \int_{-\infty}^{\infty} dx.x^2.e^{-\frac{1}{2}ax^2} = a^{-1}\int_{-\infty}^{\infty} dx.e^{-\frac{1}{2}ax^2} $$

so I'd get to:

$$ \int_{-\infty}^{\infty} dx.x^4.e^{-\frac{1}{2}ax^2} = -2 \{ \frac{\partial a^{-1}}{\partial a}.\int_{-\infty}^{\infty} dx.e^{-\frac{1}{2}ax^2} + a^{-1}.\frac{\partial}{\partial a}\int_{-\infty}^{\infty} dx.e^{-\frac{1}{2}ax^2} \} $$

$$ \int_{-\infty}^{\infty} dx.x^4.e^{-\frac{1}{2}ax^2} = -2 \{ -a^{-2}.\int_{-\infty}^{\infty} dx.e^{-\frac{1}{2}ax^2} + a^{-1}.\int_{-\infty}^{\infty} dx.\frac{\partial}{\partial a}e^{-\frac{1}{2}ax^2} \} $$

$$ \int_{-\infty}^{\infty} dx.x^4.e^{-\frac{1}{2}ax^2} = -2 \{ -a^{-2}.\int_{-\infty}^{\infty} dx.e^{-\frac{1}{2}ax^2} + a^{-1}.-\frac{1}{2}.\int_{-\infty}^{\infty} dx.x^2.e^{-\frac{1}{2}ax^2} \} $$

$$ \int_{-\infty}^{\infty} dx.x^4.e^{-\frac{1}{2}ax^2} = -2 \{ -a^{-2}.\int_{-\infty}^{\infty} dx.e^{-\frac{1}{2}ax^2} + a^{-1}.-\frac{1}{2}.a^{-1}\int_{-\infty}^{\infty} dx.e^{-\frac{1}{2}ax^2} \} $$

$$ = 3a^{-2} \int_{-\infty}^{\infty} dx.e^{-\frac{1}{2}ax^2} $$

as expected. Now for that funky matrix stuff, which will doubtless lead me back here.
 
One way to avoid some of the trouble would be to substitute
y2 = ax2

Then the power of a could be taken outside the integral.
 

Similar threads

  • · Replies 27 ·
Replies
27
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 19 ·
Replies
19
Views
5K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K