How does one integrate for positive beta and real b ?

  • #1
302
0

Main Question or Discussion Point

How does one integrate
[tex]
\int_0^\infty e^{-\beta x^2}\cos{(bx)} dx
[/tex]

for positive beta and real b ?

I was thinking maybe differentiation under the integral sign would do the trick, but I can't get anywhere.
 
Last edited:

Answers and Replies

  • #2
17
0


What are you integrating with respect to?
 
  • #3
279
0


There are several ways to solve this. Perhaps the most simple is to change the cosine function to the following:

[tex]cos(bx)+jsin(bx)=e^{jbx}[/tex]

With j the imaginary unit. This gives the following integral, which you need to find the real part of, after integrating:

[tex]\int_{0}^{\infty} e^{-\beta x^2 +j bx}dx[/tex]

This is fairly easy solved by making the argument of the exponential an exact square and splitting some part of afterwards. Then you can use the following to find the result:

[tex]\int_{0}^{\infty}e^{-t^2}dt=\frac{\sqrt{\pi}}{2}[/tex]

As stated there are other ways, complex contour integration, and certainly other tricks. The result of this integral is real, so the taking of the real part only is obsolete, but you don't know this beforehand.
 
  • #4
302
0


Using your method, I got to this point

[tex]
e^{-\frac{b^2}{4\beta^2}}\int_0^\infty e^{-\beta\left(x-\frac{jb}{2\beta}\right)^2}dx
[/tex]

Now what do I do? I don't want to make the substitution

[tex]
t=x-\frac{jb}{2\beta}
[/tex]

because then I will have an imaginary lower boundary on the integral.
 
  • #5
279
0


Using your method, I got to this point

[tex]
e^{-\frac{b^2}{4\beta^2}}\int_0^\infty e^{-\beta\left(x-\frac{jb}{2\beta}\right)^2}dx
[/tex]

Now what do I do? I don't want to make the substitution

[tex]
t=x-\frac{jb}{2\beta}
[/tex]

because then I will have an imaginary lower boundary on the integral.
Very good so far, but I think you have forgotten a [itex]\beta[/itex] for the split of part. The square should be gone. OK, you can rewrite your result as:

[tex]I=\frac{e^{-\frac{b^2}{4\beta}}}{\sqrt{\beta}} \int_{0}^{\infty}e^{-\left(\sqrt{\beta}x-j\frac{b}{2\sqrt{\beta}} \right)^2}d\left(\sqrt{\beta}x- j\frac{b}{2\sqrt{\beta}} \right)[/tex]

Can you see now the formula I gave earlier? This is actually not a decent method because we assume infinity and complex numbers can be used this way, however the result is here correct and can be applied.
 
  • #6
Cyosis
Homework Helper
1,495
0


Differentiation under the integral sign is definitely a method that works.

[tex]
\begin{align*}
\frac{d I}{db} &= \frac{d}{db} \int_0^\infty e^{-\beta x^2} \cos (bx) dx
\\
& =\int_0^\infty -x \sin (bx) e^{-\beta x^2} dx
\\
&= \sin (bx) \frac{1}{2 \beta} e^{- \beta x^2} |_0^\infty - \int_0^\infty b \cos (bx) \frac{1}{2 \beta} e^{- \beta x^2} dx
\\
&= -\frac{b}{2 \beta} \int_0^\infty e^{-\beta x^2} \cos (bx) dx
\\
&= -\frac{b}{2 \beta} I
\end{align*}
[/tex]

So we get the following differential equation: [tex]\frac{d I}{db}=-\frac{b}{2 \beta} I[/tex].

This differential equation is really easy to solve, just make sure you determine the constant.
 
Last edited:
  • #7
302
0


That is a very nice method, Cyosis. Did you figure that out on our own? Is there any generality to that method of solving integrals by doing differential equations?
 
  • #8
Cyosis
Homework Helper
1,495
0


Nah I didn't figure it out myself, it's a standard method I was taught to evaluate these type of integrals. It's definitely not a method that can be applied to every integral and the differential equation you end up with can be harder to solve than the integral itself. That said it's a nice method to add to your bag of integration tricks.
 

Related Threads for: How does one integrate for positive beta and real b ?

  • Last Post
Replies
4
Views
3K
Replies
4
Views
1K
  • Last Post
Replies
1
Views
2K
Replies
4
Views
556
  • Last Post
Replies
4
Views
528
Replies
5
Views
516
Replies
1
Views
835
Top