Efficiently Solve Gaussian Integration with Expert Homework Help

Click For Summary

Homework Help Overview

The original poster is working on Gaussian integration, specifically focusing on integrals involving exponential functions and polynomial terms. The first integral involves the expression Int( x^2 * exp (-(x-w)^2), x= -infinity.. infinity), while a subsequent integral introduces a new challenge with the term "-j*x".

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss substitution methods, particularly the transformation u = x - w, and how it affects the integral. There is also a mention of completing the square for a different integral involving the term "-j*x". Questions arise about the implications of the coefficient j and its interpretation.

Discussion Status

Some participants have provided guidance on substitution and completing the square, indicating a productive exchange of ideas. The original poster has acknowledged the suggestions and attempted to apply them, while others are exploring the implications of the coefficient j.

Contextual Notes

There is a mention of potential confusion regarding the nature of the coefficient j, with clarification sought on whether it represents an imaginary number or simply a constant. This indicates a need for clarity in the problem setup.

TheMightyJ
Messages
8
Reaction score
0

Homework Statement



Basically, i have to find the solution to:

Int( x2 * exp (-(x-w)^2) , x= -infinity.. infinity)


Homework Equations



I realize this is connected to Gaussian Integration. So that if i have Int (exp(-x2), x=-infinity ... infinity) the answer is sqrt(Pi)

Also, i have read that there is a trick to solving such an integral.

you would consider F(a) = Int exp( - a * x^2) ( = sqrt(pi/a) ).

and then int dx x^2 exp(-x^2) = - F'(a) for a=1.

i understand this.


The Attempt at a Solution



Basically, the above is how i have attempted to work a way towards the solution, the trouble i am having is with a substitution i realize i must make at some point. at some point i must have x = x - w

But how do i implement this substitution??


This is my first post here, so hopefully that was somewhat clear and the relevant info is there. Thanks for any help.
 
Physics news on Phys.org
I don't know if this is the easiest solution, but you can try u = x - w. The integral splits into three integrals, which can be solved easily.

u = x-w
du = dx

Then, x = u+w, so x^2 = (u+w)^2, and the integral becomes:
\int (u+w)^2 e^{-u^2}\,du
 
Will give that a try! thank you very much!
 
Yep, tried it and it worked, brilliant, thank you!
 
Okay, so there is another question, similar in some ways to the previous one, but i am also having trouble. Mainly I am stuck on where to start!

The integral this time is

Int ( e-(x-w)2 - j*x dx

the limits of integration are again, -infinity to infinity.

obviously there is some sort of gaussian integral stuff going on, but that "-j*x" has thrown me off, how should i deal with this?

just an idea to help me get started would be muchly appreciated, thanks!
 
You need to complete the square in this case. That is write (x-w)^2+jx as (...)^2+constant.
 
Obviously. Thank you! really not spotting obvious techniques today. Thanks for the help!
 
j is not the imaginary number j (or i) right? If it is, that makes matters a little different.
 
no no, j is just the coefficient of x. Thanks.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 47 ·
2
Replies
47
Views
5K
  • · Replies 105 ·
4
Replies
105
Views
11K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 22 ·
Replies
22
Views
3K
Replies
20
Views
2K