Definite integral: exponential with squared exponent

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 8K views
jumble0469
Messages
1
Reaction score
0
Hi,

I'm trying to solve the following:
[tex]f(x) = \int^\infty_{-\infty}ce^{yx-y^2/2} dy[/tex]
where c is a constant
My only idea thus far was that since it is an even function, the expression can be simplified to:
[tex]= 2c\int^\infty_0 e^{y(x-{1/2}y)} dy[/tex]

but I'm stuck here.

Anyone know how to do this?
 
Physics news on Phys.org
This is a Gaussian integral (which is ubiquitous in theoretical physics, so if you have any aspirations in that direction pay extra attention :smile:)

The trick is to complete the square: write*
[tex]y^2 - 2 y x = (y - a)^2 - b[/tex]
where a and b are independent of y, so you get
[tex]f(x) = c e^{-b/2} \int_{-\infty}^{\infty} e^{- (y - a)^2 / 2} \, dy.[/tex]
Then you can do a variable shift and use the standard result
[tex]I = \int_{-\infty}^\infty e^{-x^2 / 2} = \sqrt{2 \pi}[/tex]
which you can easily prove (if you've never done it, try it: consider [itex]I^2[/itex] and switch to polar coordinates).

* From this line onwards, I take no responsibility for sign errors and wrong factors of 1/2 - please check yourself :)