Integrate exp(-(x^2)) using the substitution u=tanh(x)

  • Context: Graduate 
  • Thread starter Thread starter sai2020
  • Start date Start date
  • Tags Tags
    Integrate Substitution
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
8 replies · 8K views
sai2020
Messages
26
Reaction score
0
The question is to convert the infinity limits of the integral [tex]\int^\infty_{-\infty} e^{{-x}^2} dx[/tex] to finite limits [tex]\int^{u_a}_{u_b} g(u) du[/tex] using the substitution [tex]u = tanh(x)[/tex].

How do I go about it?
 
Last edited:
Physics news on Phys.org
sai2020 said:
The question is to convert the infinity limits of the integral [tex]\int^\infty_{-\infty} e^{{-x}^2} dx[/tex] to finite limits [tex]\int^{u_a}_{u_b} g(u) du[/tex] using the substitution [tex]u = tanh(x)[/tex].

How do I go about it?

Hi sai2020! :smile:

Hint: tanhx = sinhx/coshx = (ex - e-x)/(ex + e-x) :smile:
 
tiny-tim said:
Hi sai2020! :smile:

Hint: tanhx = sinhx/coshx = (ex - e-x)/(ex + e-x) :smile:

I did that and I ended up with [tex]\int^1_{-1} log_e(\frac{1+u}{1-u})[/tex].

Is that correct?
 
sai2020 said:
I did that and I ended up with [tex]\int^1_{-1} log_e(\frac{1+u}{1-u})[/tex].

Hi sai2020! :smile:

[tex]\int^1_{-1}[/tex] is correct …

but log((1+u)/(1-u)) = log((coshx + sinhx)/(coshx - sinhx)) = 2x,

and you haven't converted dx into du. :frown:

… but didn't the question only ask for the limits? :confused:
 
Hi Tim! :)

Well this is a part of a bigger problem and I need to find g(u) as well. Here's what I did

Sorry I made a mistake. Is it

[tex]exp(\frac{-1}{2} (log_e \frac{1+u}{1-u})^2)[/tex]

How do I simplify further?

Thanks a lot :)
 
tiny-tim said:
and you haven't converted dx into du. :frown:

yeah that would be [tex]dx = (1-u^2) du[/tex]
 
sai2020 said:
yeah that would be [tex]dx = (1-u^2) du[/tex]

No … [tex]dx = \frac{du}{1-u^2}[/tex] :smile:
sai2020 said:
[tex]exp(\frac{-1}{2} (log_e \frac{1+u}{1-u})^2)[/tex]

How do I simplify further?

i suppose … [tex]\left(\frac{1\,+\,u}{1\,-\,u}\right)^{\frac{1}{2}\,log\frac{1\,+\,u}{1\,-\,u}}[/tex]

but I don't see where you go from there … :confused:

This isn't the usual way of solving [tex]\int^\infty_{-\infty} e^{{-x}^2} dx[/tex] :frown:
 
Also wondering why on Earth do we want to use the substitution u=tanh(x) ?

If I could recall correctly, we evaluate the expression using either
i) gamma function
ii) normal distribution pdf
iii) polar coordinates.
 
matematikawan said:
Also wondering why on Earth do we want to use the substitution u=tanh(x) ?

Hi matematikawan! :smile:

I think it's just an exercise in converting limits :smile:

which is, after all, what most people on this forum seem to find the difficult part of calculating an integral by substitution! :wink: