- #1
shinkansenfan
- 9
- 0
How to integrate (x^3)(e^2x) ?
Thanks.
Thanks.
Last edited by a moderator:
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
[tex]
\int_{-\infty}^{\infty} x^2 e^{-2 x^2} dx
[/tex]
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.
[tex]
u = x^2 -> du = 2xdx
\;
dv = e^{2x^2} -> v = \sqrt{\pi/2}
\int ... = x^2\sqrt{\pi/2}|_{-\infty}^\infty -\int_{-\infty}^\infty \sqrt{\pi/2} 2 x dx[/tex]
I am not sure what you're doing here, but it is definitely wrong.
[tex]
\begin{align*}
\int_{-\infty}^{\infty} x^2 e^{-2 x^2} dx& =\int_{-\infty}^{\infty} x \left(x e^{-2 x^2}\right) dx
\\
&= -\frac{1}{4}x e^{-2 x^2}|_{-\infty}^\infty+\frac{1}{4} \int_{-\infty}^\infty e^{-2x^2}dx
\end{align*}
[/tex]
Cyosis said:Why would v be zero? The primitive of an odd function is not zero. Example: according to you [itex]\int xdx=0[/itex], yet [itex]\int x dx= 1/2 x^2[/itex], 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
[tex]v = \int_{-\infty}^{\infty} x e^{-2 x^2} d x = 0[/tex]
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
The general method for integrating (x^3)(e^2x) is to use integration by parts, where one part of the integral is differentiated and the other part is integrated. This is represented by the formula ∫u dv = uv - ∫v du.
When using integration by parts, it is important to choose u and dv in a way that simplifies the integral or makes it easier to solve. Generally, we want to choose u as the part that becomes simpler when differentiated, and dv as the part that becomes easier to integrate.
Yes, it is possible to use substitution to integrate (x^3)(e^2x), but it will result in a more complicated integral than using integration by parts. If you are comfortable with substitution and can find a suitable substitution, then it is a valid method to use.
The final result of integrating (x^3)(e^2x) will be in the form of a constant times x^3e^2x plus an additional term that involves integrating e^2x. The exact form of the result will depend on the method used and the specific choices made during the integration process.
Yes, there are a few special cases when integrating (x^3)(e^2x). For example, if the integration limits are from 0 to infinity, then the final result will be 0. Additionally, if the integration limits are from -infinity to infinity, then the result will involve an exponential function and cannot be simplified further.