Definite integral: exponential with squared exponent

Click For Summary
The discussion focuses on solving the integral f(x) = ∫ from -∞ to ∞ ce^(yx - y²/2) dy, where c is a constant. The user simplifies the integral by recognizing it as an even function, leading to the expression 2c∫ from 0 to ∞ e^(y(x - 1/2y)) dy but encounters difficulties. A key suggestion is to complete the square for the exponent, transforming it into a more manageable form. This allows the use of the Gaussian integral result, I = ∫ from -∞ to ∞ e^(-x²/2) dx = √(2π). The discussion emphasizes the importance of verifying calculations for accuracy.
jumble0469
Messages
1
Reaction score
0
Hi,

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

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*
y^2 - 2 y x = (y - a)^2 - b
where a and b are independent of y, so you get
f(x) = c e^{-b/2} \int_{-\infty}^{\infty} e^{- (y - a)^2 / 2} \, dy.
Then you can do a variable shift and use the standard result
I = \int_{-\infty}^\infty e^{-x^2 / 2} = \sqrt{2 \pi}
which you can easily prove (if you've never done it, try it: consider I^2 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 :)
 
There are probably loads of proofs of this online, but I do not want to cheat. Here is my attempt: Convexity says that $$f(\lambda a + (1-\lambda)b) \leq \lambda f(a) + (1-\lambda) f(b)$$ $$f(b + \lambda(a-b)) \leq f(b) + \lambda (f(a) - f(b))$$ We know from the intermediate value theorem that there exists a ##c \in (b,a)## such that $$\frac{f(a) - f(b)}{a-b} = f'(c).$$ Hence $$f(b + \lambda(a-b)) \leq f(b) + \lambda (a - b) f'(c))$$ $$\frac{f(b + \lambda(a-b)) - f(b)}{\lambda(a-b)}...

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 21 ·
Replies
21
Views
4K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 16 ·
Replies
16
Views
4K