Squaring uniform/normal distribution and expectation

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 29K views
rukawakaede
Messages
58
Reaction score
0
Suppose [tex]X[/tex] is a uniformly distributed random variable on an interval [tex][-a,a][/tex] for some real [tex]a[/tex].
Let [tex]Y=X^2[/tex]. Then what could you say about this distribution of [tex]Y[/tex]? I have no idea how to think about this distribution.
Also how could we compute the expectation of [tex]Y[/tex]? I know that [tex]E[X]=0[/tex] but what could I conclude about [tex]E[Y]=E[X^2][/tex] and [tex]E[XY]=E[X^3][/tex]?
Is E[Y]=Var[X] since E[X]=0?

Similarly suppose X~N(0,1) be a standard normal random variable. What could we say about distribution of [tex]Y=X^2[/tex]?

Hope someone could help solving my confusion.
 
Physics news on Phys.org
Hi rukawakaede, :smile:

The distribution of a square can easily be calculated as follows:

[tex]F_Y(y)=P\{Y\leq y\}=P\{X^2\leq y\}=P\{-\sqrt{y}\leq X\leq \sqrt{y}\}=P\{X\leq \sqrt{y}\}-P\{X<-\sqrt{y}\}=F_X(\sqrt{y})-F_X(-\sqrt{y})[/tex]

where in the last step we've used that the distribution is continuous. Now, to obtain the pdf, just differentiate both sides.

Now, to obtain the expectation, you can calculate this with the distribution function obtained above. But there's a simpler way. The so-called "law of the lazy statistician" gives us that

[tex]E(g(X))=\int_{-\infty}^{+\infty}{g(x)f_X(x)dx}[/tex]

So, in particular

[tex]E(X^2)=\int_{-\infty}^{+\infty}{x^2f_X(x)dx}[/tex]

So, to obtain the expactation of X2, there is no need to know the distribution of X2. Only know the distribution of X is enough!