How Do You Integrate ln(x) * exp(-(x-μ)² / (2σ²)) from -∞ to +∞?

  • Thread starter Thread starter mahtabhossain
  • Start date Start date
  • Tags Tags
    Integration
mahtabhossain
Messages
2
Reaction score
0
Integration of following (limit -∞ to +∞):

1/√(2πσ^2) ∫ln(x) * exp{-(x-μ)^2 / (2σ^2)} dx

After one-step (integration by parts) it looks like the following:
lnx + ∫ σ/(√2π) * exp[{-(x-μ)^2 / (2σ^2)} / {x (x-μ)}] dx

After another-step (by parts), it looks like the following:
lnx + ∫ 1/(√2πσ^2) * exp[{-(x-μ)^2 / (2σ^2)} / {x^2}] dx

I don't think I am doing it right. Could anybody please throw some lights or may be alternative ways to achieve it?
 
Physics news on Phys.org
mahtabhossain said:
Integration of following (limit -∞ to +∞):

1/√(2πσ^2) ∫ln(x) * exp{-(x-μ)^2 / (2σ^2)} dx

After one-step (integration by parts) it looks like the following:
lnx + ∫ σ/(√2π) * exp[{-(x-μ)^2 / (2σ^2)} / {x (x-μ)}] dx

After another-step (by parts), it looks like the following:
lnx + ∫ 1/(√2πσ^2) * exp[{-(x-μ)^2 / (2σ^2)} / {x^2}] dx

I don't think I am doing it right. Could anybody please throw some lights or may be alternative ways to achieve it?

The question does not make sense: ln(x) is not defined for x < 0 (or, at least, is not unique). Are you sure the integration does not go from x = 0 to +∞?

RGV
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top