shinkansenfan
- 9
- 0
How to integrate (x^3)(e^2x) ?
Thanks.
Thanks.
Last edited by a moderator:
The integration of the function (x^3)(e^2x) can be effectively performed using integration by parts or by utilizing the third-order Taylor expansion of the exponential function. Tools such as Mathematica and Maple are recommended for complex integrals, allowing users to automate calculations while focusing on the conceptual understanding of integration techniques. The discussion highlights the importance of correctly applying limits in integration by parts, particularly when evaluating improper integrals like ∫_{-∞}^{∞} x^2 e^{-2x^2} dx, which converges despite initial misconceptions about divergence.
PREREQUISITESMathematics students, educators, and professionals involved in calculus, particularly those focusing on integration techniques and computational methods for solving complex integrals.
g_edgar said:Or: get a computer to do it for you. Maple, Mathematica, etc,
(Is that a lot different that getting Physics Forums to do it for you?)
Dickfore said:by parts.
Cyosis said:The integral
<br /> \int_{-\infty}^{\infty} x^2 e^{-2 x^2} dx<br />
does converge.
Show the steps you've made so we can see where it went wrong.
Cyosis said:You need to put [.tex][./tex] tags around your latex code (without the dots).
Fixing your tex so I can read it.
<br /> u = x^2 -> du = 2xdx<br /> \;<br /> dv = e^{2x^2} -> v = \sqrt{\pi/2}<br /> <br /> \int ... = x^2\sqrt{\pi/2}|_{-\infty}^\infty -\int_{-\infty}^\infty \sqrt{\pi/2} 2 x dx
I am not sure what you're doing here, but it is definitely wrong.
<br /> \begin{align*}<br /> \int_{-\infty}^{\infty} x^2 e^{-2 x^2} dx& =\int_{-\infty}^{\infty} x \left(x e^{-2 x^2}\right) dx<br /> \\<br /> &= -\frac{1}{4}x e^{-2 x^2}|_{-\infty}^\infty+\frac{1}{4} \int_{-\infty}^\infty e^{-2x^2}dx<br /> \end{align*}<br />
Cyosis said:Why would v be zero? The primitive of an odd function is not zero. Example: according to you \int xdx=0, yet \int x dx= 1/2 x^2, which I am sure you know.
ibmichuco said:So I did this three times and I got something like e^2x[x^3/2-3x^2/4+6x/8-16/6] + C
which sounds reasonable, but then when I tried
\int_{-\infty}^{\infty} x^2 e^{-2 x^2} dx
with integration by parts, I ended up with something like infinity ..?
Michuco
I am thinking of
v = \int_{-\infty}^{\infty} x e^{-2 x^2} d x = 0
Don't I need the definite integral in this step also?
Cyosis said:Sure that integral is zero. However that integral never enters in the solution so I am not sure why you're trying to calculate. It has become clear to me now what you did wrong in post #9 as well. You're using the boundary values to determine v. This is wrong, do not plug in the boundary values until you're done integrating. I really suggest you review integration by parts since it seems you don't understand how it works when limits are involved.
My bad. Most of what I have read indicate that you use the boundary in the integration and I thought that also includes the evaluation of v. Thanks for clearing that out. Can you suggest any particular book that helps in evaluating tough(er) integrals. I am trying eventually integrate
LaTeX Code: <BR>\\int_{-\\infty}^\\infty(x-a)^n(x-b)^m e^{\\alpha(x-c)^2} dx<BR>
where LaTeX Code: n and LaTeX Code: m are integers. I know the result from Mathematica but would like how to work it out. I tried the simplest one and encountered gamma function.
Again, thanks for you patient explanations