Expectation value of continuous random variable

Click For Summary

Homework Help Overview

The discussion revolves around finding the expectation value E[x] of a continuous random variable in the context of Probability Theory, specifically involving the integral of the function 2x^2 * e^(-x^2) from 0 to infinity.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants explore integration techniques, including integration by parts and the use of polar coordinates. Questions arise regarding the integration of e^(-x^2) and its implications for the expectation value. Some participants suggest using symmetry and properties of even and odd functions in integration.

Discussion Status

The discussion is active, with various approaches being suggested, including the use of series expansions and transformations. Some participants express uncertainty about the integral of e^(-x^2) and its relation to the original problem. There is no explicit consensus, but multiple lines of reasoning are being explored.

Contextual Notes

Participants note that the problem originates from a probability theory context, which may impose specific constraints or assumptions on the methods used. The discussion includes references to gamma random variables and the complexity of the integral involved.

rad0786
Messages
187
Reaction score
0
Hi.. i am doing this question for Probability Theory, to find E[x] of a continuous random variable

E[x] = the integral from (0 to infinity) of 2x^2 * e^(-x^2) dx

So I used integration by parts...

u = x^2
du = 2xdx

dv = e^(-x^2) <--- ahh... how do you integrate that. (it dosn't look like it could be)

Anybody have any ideas?
 
Physics news on Phys.org
looks like X~Normal random variable..
why does your EX have x^2?

to integrate exp(-x^2), you need to use a trick. multiply integral by itself to form a double integral... result should have exp(-(x^2 + y^2)) as part of integrand. recall x^2+y^2=r^2 and dx dy = r dr d0

but i don't think probability theory should be an exercise in integration. use symmetry to arrive at EX should be. ie. is the density function even or odd? what do you know about integration over symmetric intervals?

edit: integration by parts should be
u = 2x
dv = x*exp(-x^2) dx <-- you should know how to integrate this, use change of variable
 
Last edited:
sqrt(pi)/2

[tex]\int_{0}^{\infty}e^{-x^{2}}dx=\frac{\sqrt{\pi}}{2}[/tex]

Pf:
Put [tex]I=\int_{0}^{\infty}e^{-x^{2}}dx[/tex] so that [tex]I^2=\int_{x=0}^{\infty}e^{-x^{2}}dx\int_{y=0}^{\infty}e^{-y^{2}}dy=\int_{y=0}^{\infty}\int_{x=0}^{\infty}e^{-(x^{2}+y^{2})}dxdy[/tex].

Now Transform to polar coordinates, and note that the first quadrant (e.g. QI) is one quarter of an infinite plane in rectangluar coordinates, so too is it one quarter of an infinite circle in polar coordinates (you can prove it with using squeeze theorem if your so inclined); you get

[tex]I^2=\int_{\theta=0}^{\frac{\pi}{2}}\int_{r=0}^{\infty}e^{-r^{2}}rdrd\theta=\frac{1}{2}\int_{\theta=0}^{\frac{\pi}{2}}d\theta\int_{u=0}^{\infty}e^{-u}du=\frac{\pi}{4}\lim_{M \rightarrow \infty}(1-e^{-M})=\frac{\pi}{4}[/tex]

Therefore, [tex]I=\frac{\sqrt{\pi}}{2}[/tex].
 
what about if its just e^-(x^2) if its not a definit integral.

I mean.

Simply what would be the integral of e^-(x^2) ?
 
Others have shown you that:
[tex]\int \limits_0 ^ \infty e ^ {-x ^ 2}dx = \frac{\sqrt{\pi}}{2}[/tex]
Now you can use integration by parts:
You can choose u = x, dv = 2xe-x ^ 2 instead of choosing u = 2x2 and dv = e-x ^ 2 dx (the 2nd poster has pointed that out!).
So u = x, dv = 2xe-x ^ 2
du = dx, v = ...
Can you go from here?
 
Ulgy

rad0786 said:
what about if its just e^-(x^2) if its not a definit integral.

I mean.

Simply what would be the integral of e^-(x^2) ?

Ugly. I should define ugly, ugly means incapable of being expressed by a finite number of elementary functions--you know, ugly. Use series: here, like this

[tex]e^{-x^{2}} = \sum_{k=0}^{\infty} (-1)^{k}\frac{x^{2k}}{k!}[/tex]

so that

[tex]\int e^{-x^{2}}dx = \int \sum_{k=0}^{\infty} (-1)^{k}\frac{x^{2k}}{k!}dx= \sum_{k=0}^{\infty} (-1)^{k}\int \frac{x^{2k}}{k!}dx=\sum_{k=0}^{\infty} (-1)^{k}\int \frac{x^{2k}}{k!}dx=\sum_{k=0}^{\infty} (-1)^{k} \frac{x^{2k+1}}{(2k+1)k!} + C[/tex]

where interchanging the order of summation and integration is justified by the uniform convergence of that power series for [itex]e^{-x^{2}}[/itex] (for every bounded interval for x).
 
Last edited:
Yeah.. i understand all the above and how to actually take the integral!

So i asked my calculus prof how to take the integral 2x^2 * e^(-x^2) dx.
He tried it, by parts, and also arrived at the integration of e^(-x^2). He said you cannot do the integral of that. (unless you do what was shown above)

But this this problem comes from probability theory where
E[x] = integral from 0 to infinty of 2x^2 * e^(-x^2) dx

you have to some how use a gamma random variable to solve it. It gets to messy to type it out...
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
4K
Replies
5
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 13 ·
Replies
13
Views
13K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
7
Views
2K
Replies
0
Views
1K
  • · Replies 8 ·
Replies
8
Views
2K