- #1
Mr Davis 97
- 1,462
- 44
I have the integral ##\int_{-\infty}^{\infty} x^2 e^{-x^2} ~dx##. Is there any simple way to integrate this, given that that I already know that the value of the Gaussian integral is ##\sqrt{\pi}##?
What I found was that ##\int_{-\infty}^{\infty}e^{-x^2} ~dx = 2\int_{-\infty}^{\infty}x^2 e^{-x^2} ~dx##, so by original integral is ##\sqrt{\pi} / 2##. To do this though I had to start from the original Gaussian integral and integrate by parts to get the integral that I have. Is that trick of integrating by parts the original Gaussian integral to get what I want what you had in mind?Stephen Tashi said:Try integration by parts.
Mr Davis 97 said:Is that trick of integrating by parts the original Gaussian integral to get what I want what you had in mind?
The general formula for the integral of polynomial times exp(-x^2) is given by:
∫ (P(x) * e^(-x^2)) dx = (C + ∑ (a_n * x^n * e^(-x^2)))
where P(x) is a polynomial, C is a constant, and a_n is a coefficient of the nth term in the polynomial.
The term exp(-x^2) is significant as it is the Gaussian function, which is commonly used in probability and statistics. It also has important applications in physics, engineering, and other fields.
To solve the integral of polynomial times exp(-x^2), you can use integration by parts or substitution methods. You can also use the general formula for the integral and simplify the expression by expanding the polynomial and integrating each term separately.
Yes, the integral of polynomial times exp(-x^2) can be evaluated using numerical methods such as the trapezoidal rule or Simpson's rule. These methods are useful when the integral cannot be solved analytically or when the polynomial is of a high degree.
The integral of polynomial times exp(-x^2) is related to the error function, erf(x), by the following equation:
∫ (P(x) * e^(-x^2)) dx = √π/2 * ∫ (P(x) * erf(x)) dx
This relationship is useful in solving integrals involving the Gaussian function and in calculating probabilities and error margins in statistical analysis.