2 Attachment(s)

integration by substitution with an absolute value

Hi Guys,

I need help with a problem I cannot get past. The question below gives me the hint to make the substitution to make the integration easier and I understand that I the area under the curve must be one which will help me solve for c. But I can't see how the original equation simplifies to the integral the question provides. Could someone please show me how the original equation simplifies to the given integral once the substitution has been made. Once I understand that I can solve for c.

Attachment 25129

Thanks!

Nappy

Re: integration by substitution with an absolute value

The integral

$\displaystyle \frac{1}{c_n}\int_{-\infty}^{\infty}|\xi|^{2n+1}e^{-\frac{\xi^2}{2}}d\xi$

Can be rewritten as

$\displaystyle \frac{1}{c_n}\int_{-\infty}^{0}-\xi^{2n+1}e^{-\frac{\xi^2}{2}}d\xi + \frac{1}{c_n}\int_{0}^{\infty}\xi^{2n+1}e^{-\frac{\xi^2}{2}}d\xi$

If you replace $\displaystyle -\xi=\zeta$

$\displaystyle \frac{1}{c_n}\int_{0}^{\infty}\zeta^{2n+1}e^{-\frac{\zeta^2}{2}}d\zeta + \frac{1}{c_n}\int_{0}^{\infty}\xi^{2n+1}e^{-\frac{\xi^2}{2}}d\xi$

So both integrals are the same this gives

$\displaystyle \frac{2}{c_n}\int_{0}^{\infty}\xi^{2n+1}e^{-\frac{\xi^2}{2}}d\xi$

let

$\displaystyle u=\frac{\xi^2}{2} \implies du = \xi d\xi$

and we have that $\displaystyle \sqrt{2u}=\xi$

$\displaystyle \frac{2}{c_n}\int_{0}^{\infty}(\sqrt{2u})^{2n}e^{-u}du$

$\displaystyle \frac{2^{n+1}}{c_n}\int_{0}^{\infty}u^ne^{-u}du$

This can be evaluated by integration by parts, but it is also the the gamma function evaluated at n+1

So this gives

$\displaystyle \frac{2^{n+1}}{c_n}n!$

Re: integration by substitution with an absolute value

How would I go about calculating the first moment of the above equation? I tried both ways by first integrating with the multiplication of x to the integral and the other way by tring to calculate the moment generating function and setting t=0 for the first moment. I keep getting to a point where my answer is (n+1/2)! Is it possible to have a (n+1/2)! factorial. The calculator reads error. I'd really appreciate if someone could show me how to calculate the first moment. I need to find all moments. Thanks for the help!

Re: integration by substitution with an absolute value

Your original function, because of the absolute value, is an even function. Multiplying by [itex]\xi[/itex], makes the integrand odd so the integral is 0.

Re: integration by substitution with an absolute value

Re: integration by substitution with an absolute value

Quote:

Originally Posted by

**Nappy** How would I go about calculating the first moment of the above equation? I tried both ways by first integrating with the multiplication of x to the integral and the other way by tring to calculate the moment generating function and setting t=0 for the first moment. I keep getting to a point where my answer is (n+1/2)! Is it possible to have a (n+1/2)! factorial. The calculator reads error. I'd really appreciate if someone could show me how to calculate the first moment. I need to find all moments. Thanks for the help!

To find the kth moment we multiply the integrand by $\displaystyle \xi^k$

Using the integral from post #2

$\displaystyle \frac{2}{c_n}\int_{0}^{\infty}\xi^k \xi^{2n+1}e^{-\frac{\xi^2}{2}}d\xi$

Using the same substitution we get

$\displaystyle \frac{2}{c_n}\int_{0}^{\infty}(\sqrt{2u})^k (\sqrt{2u})^{2n}e^{-u}du$

This gives

$\displaystyle \frac{2^{\frac{k}{2}+n+1}}{c_n}\int_{0}^{\infty}u^ {n+\frac{k}{2}}e^{-u}du$

This integral is the gamma function. This generalizes the factorial function.

Gamma function - Wikipedia, the free encyclopedia

This gives

$\displaystyle \frac{2^{\frac{k}{2}+n+1}}{c_n}\Gamma\left(n+\frac {k}{2}+1\right)$

This values can be calculated for any value of n and k