Integration by Parts: Solving for the Error in a Tricky Integral

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
Science Advisor
Homework Helper
Gold Member
Messages
4,796
Reaction score
32
[SOLVED] Integration by parts

Homework Statement


I've been staring at this for 30 minutes and can't figure out what's wrong. I end up with 1/xi instead of xi. The book says,

[tex]\int_{-\infty}^{+\infty}te^{-t^2/2}\sin(\xi t)dt=\int_{-\infty}^{+\infty}e^{-t^2/2}\xi \cos(\xi t)dt[/tex]


The Attempt at a Solution



I set [itex]u=te^{-t^2/2}[/itex] and [itex]dv = \sin(\xi t)[/itex]. So I get [itex]du=e^{-t^2/2}-t^2e^{-t^2/2}[/itex] and unless I'm completely crazy, [itex]v=-\xi^{-1}\cos(\xi t)[/tex], so that<br /> <br /> [tex]\int_{-\infty}^{+\infty}te^{-t^2/2}\sin(\xi t)dt=te^{-t^2/2}\xi^{-1}\cos(\xi t)|_{-\infty}^{+\infty} + \int_{-\infty}^{+\infty}e^{-t^2/2}\xi^{-1}\cos(\xi t)dt - \int_{-\infty}^{+\infty}t^2e^{-t^2/2}\xi^{-1}\cos(\xi t)dt = \int_{-\infty}^{+\infty}e^{-t^2/2}\xi^{-1}\cos(\xi t)dt[/tex]<br /> <br /> HELP![/itex]
 
Physics news on Phys.org
What is [itex]v[/itex]?

[tex]I=-\int_{-\infty}^{+\infty}(e^{-t^2/2})'\sin(\xi t)dt=-te^{-t^2/2}\sin(\xi t)|_{-\infty}^{+\infty} + \int_{-\infty}^{+\infty}e^{-t^2/2}(\sin(\xi t))'dt = \int_{-\infty}^{+\infty}e^{-t^2/2}\xi\cos(\xi t)dt[/tex]
 
I can't entirely follow what you're doing with the u and dv. I learned partial integration as
[tex]\int_a^b f'(x) g(x) dx = - \left. f(x) g(x) \right|_a^b + \int_a^b f(x) g'(x) dx[/tex]
Applying this to
[tex]f'(t) = t e^{-t^2/2}, \qquad \implies \qquad f(t) = - e^{-t^2/2}[/tex]
and
[tex]g(t) = \sin(\xi t), \qquad \implies \qquad g'(t) = \xi \cos(\xi t)[/tex]
then gives me
[tex]\int_{-\infty}^{+\infty}te^{-t^2/2}\sin(\xi t)dt =<br /> \left. e^{-t^2/2} \sin(\xi t) \right|_{-\infty}^{+\infty} +<br /> \int_{-\infty}^{+\infty} -e^{-t^2/2}\xi \cos(\xi t)dt.[/tex]
The boundary term vanishes so that gives exactly minus the result you'd like (probably a minus error on my side) but definitely a [itex]\xi[/itex] and not [itex]\xi^{-1}[/itex]. As it should be (otherwise you'd get strange results for [itex]\xi = 0[/itex]).

[edit]I should learn to type LaTeX even faster, Rainbow Child beat me by 5 whole minutes :smile:[/edit]
 
Last edited:
I see my mistake: the last term does not vanish. Thx!