How does one integrate for positive beta and real b ?

In summary, there are several methods for integrating the given expression, such as using complex numbers or differentiation under the integral sign. The latter method involves solving a differential equation and can be useful in certain cases. However, it is not a general method and may not always be the most efficient approach.
  • #1
daudaudaudau
302
0
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:
Physics news on Phys.org
  • #2


What are you integrating with respect to?
 
  • #3


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


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


daudaudaudau said:
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


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


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


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.
 

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

How does one find the integral for positive beta and real b?

To find the integral for positive beta and real b, you can use a variety of methods such as substitution, integration by parts, or trigonometric substitution. The specific method used will depend on the function being integrated and your personal preference.

Can the integral for positive beta and real b be solved using only basic calculus techniques?

Yes, the integral for positive beta and real b can be solved using basic calculus techniques such as the ones mentioned above. However, for more complex functions, advanced techniques may be necessary.

Are there any general rules or formulas for finding the integral for positive beta and real b?

There are some general rules and formulas for finding integrals, but they may not apply to all functions. It is important to familiarize yourself with different integration techniques and practice solving various types of integrals.

Can the integral for positive beta and real b be approximated if an exact solution cannot be found?

Yes, the integral for positive beta and real b can be approximated using numerical methods such as the trapezoidal rule or Simpson's rule. These methods use small intervals to approximate the area under the curve.

How can one check if their solution for the integral of positive beta and real b is correct?

You can check your solution for the integral of positive beta and real b by taking the derivative of the result and seeing if it matches the original function. You can also use online integration calculators or ask for help from a math tutor or professor.

Similar threads

Back
Top