What is the Expected Value of Rayleigh Distribution?

alman9898
Messages
9
Reaction score
0

Homework Statement


A density function used is:

f(y) = \frac{2y}{\theta}e^{\frac{-y^{2}}{\theta}} y > 0

using method of transformations find:

(a) pdf of U = Y^2
(b) E(Y) and V(Y)

Homework Equations


f(u) = f(h^-1(u))*|dh^-1/du|
h^-1(u) = sqrt(u)

The Attempt at a Solution



The pdf Y^2 ~ exp(theta)

E(Y) = E(U^1/2).

That is:

\int\frac{1}{\theta}u^{1/2}e^{\frac{-u}{\theta}}

So, multiply by sqrt(theta)/sqrt(theta) and group terms...

\frac{\sqrt{\theta}}{\theta}\int\sqrt{\frac{u}{\theta}}e^{\frac{-u}{\theta}}

The integral is the Gamma function with parameter 3/2. So I get...

sqrt(PI/THETA)/2 as the answer...but a little internets research reveals the expected value *should* be sqrt(PI * THETA)/2. I can't find out where my math went wrong, it's something stupid but I've been stuck for a whole day...
 
Physics news on Phys.org
Try changing the variable from u to s by letting s = u/\theta,\ du = \theta ds:

\int_0^\infty\frac 1 \theta e^{-\frac u \theta}\, du=<br /> \int_0^\infty\frac 1 \theta(\theta s)^{\frac 1 2}e^{-s}\theta\, ds =<br /> \int_0^\infty\sqrt{\theta}s^{\frac 1 2}e^{-s}\,ds = \sqrt\theta\ \Gamma(\frac 3 2)
 
That helps alot, but if it wasn't for checking my work I would've been surely wrong. Any idea why my method didn't work; it's a trick my professor uses to solve problems with 'known' solutions.
 
It's because the gamma function is the integral of sqrt(v)*exp(-v)*dv. Or the integral of sqrt(u/theta)*exp(-u/theta)*d(u/theta). Not the integral of sqrt(u/theta)*exp(-u/theta)*du. The last one is what you were putting to be gamma(3/2). That's not right. You are off by a factor of theta because you didn't change the integration variable. Probably happened because you were omitting the d(something) after your integrals.
 
Last edited:
Ok I understand it now. That clears up a lot, and explains the missing term I needed to make things all nice. (I would have another theta term in the numerator to cancel the one out in the denominator).
 
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