Expectation operator - linearity

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 3K views
Pietair
Messages
57
Reaction score
0

Homework Statement


Show that the expectation operator E() is a linear operator, or, implying:
[tex]E(a\bar{x}+b\bar{y})=aE(\bar{x})+bE(\bar{y})[/tex]

Homework Equations


[tex]E(\bar{x})=\int_{-\infty}^{+\infty}xf_{\bar{x}}(x)dx[/tex]

With [tex]f_{\bar{x}}[/tex] the probability density function of random variable x.

The Attempt at a Solution


[tex]aE(\bar{x})=a\int_{-\infty}^{+\infty}xf_{\bar{x}}(x)dx[/tex] and:
[tex]bE(\bar{y})=b\int_{-\infty}^{+\infty}yf_{\bar{y}}(y)dy[/tex]

Introducing a new random variable:
[tex]\bar{v}=a\bar{x}+b\bar{y}[/tex]

Then:

[tex]E(\bar{v})=E(a\bar{x}+b\bar{y})=\int_{-\infty}^{+\infty}vf_{\bar{v}}(v)dv=\int_{-\infty}^{+\infty}(ax+by)f_{\bar{v}}(v)dv[/tex]

And accordingly:
[tex]E(a\bar{x}+b\bar{y})=\int_{-\infty}^{+\infty}(ax+by)f_{\bar{v}}(v)dv=a\int_{-\infty}^{+\infty}xf_{\bar{v}}(v)dv+b\int_{-\infty}^{+\infty}yf_{\bar{v}}(v)dv[/tex]

So what remains to proof is that:

[tex]a\int_{-\infty}^{+\infty}xf_{\bar{v}}(v)dv+b\int_{-\infty}^{+\infty}yf_{\bar{v}}(v)dv=a\int_{-\infty}^{+\infty}xf_{\bar{x}}(x)dx+b\int_{-\infty}^{+\infty}yf_{\bar{y}}(y)dy[/tex]

And now I am stuck... I don't know how I can relate the p.d.f. of random variable v to the p.d.f.'s of random variables x and y.

Thank you in advance!
 
Physics news on Phys.org
Pietair said:

Homework Statement


Show that the expectation operator E() is a linear operator, or, implying:
[tex]E(a\bar{x}+b\bar{y})=aE(\bar{x})+bE(\bar{y})[/tex]

Homework Equations


[tex]E(\bar{x})=\int_{-\infty}^{+\infty}xf_{\bar{x}}(x)dx[/tex]

With [tex]f_{\bar{x}}[/tex] the probability density function of random variable x.

The Attempt at a Solution


[tex]aE(\bar{x})=a\int_{-\infty}^{+\infty}xf_{\bar{x}}(x)dx[/tex] and:
[tex]bE(\bar{y})=b\int_{-\infty}^{+\infty}yf_{\bar{y}}(y)dy[/tex]

Introducing a new random variable:
[tex]\bar{v}=a\bar{x}+b\bar{y}[/tex]

Then:

[tex]E(\bar{v})=E(a\bar{x}+b\bar{y})=\int_{-\infty}^{+\infty}vf_{\bar{v}}(v)dv=\int_{-\infty}^{+\infty}(ax+by)f_{\bar{v}}(v)dv[/tex]

And accordingly:
[tex]E(a\bar{x}+b\bar{y})=\int_{-\infty}^{+\infty}(ax+by)f_{\bar{v}}(v)dv=a\int_{-\infty}^{+\infty}xf_{\bar{v}}(v)dv+b\int_{-\infty}^{+\infty}yf_{\bar{v}}(v)dv[/tex]

So what remains to proof is that:

[tex]a\int_{-\infty}^{+\infty}xf_{\bar{v}}(v)dv+b\int_{-\infty}^{+\infty}yf_{\bar{v}}(v)dv=a\int_{-\infty}^{+\infty}xf_{\bar{x}}(x)dx+b\int_{-\infty}^{+\infty}yf_{\bar{y}}(y)dy[/tex]

And now I am stuck... I don't know how I can relate the p.d.f. of random variable v to the p.d.f.'s of random variables x and y.

Thank you in advance!

Haven't you seen some kind of results that gives the pdf of X+Y in terms of the pdf of X and Y?? Hint: it has to do with convolution.
 
Thank you for your reply.

I know that the probability distribution of the sum of two or more random variables is the convolution of their individual pdf's, but as far as I know this is only valid for independent random variables. While ##E(aX+bY)=aE(X)+bE(Y)## is true in general, right?.
 
Pietair said:
I know that the probability distribution of the sum of two or more random variables is the convolution of their individual pdf's, but as far as I know this is only valid for independent random variables. While ##E(aX+bY)=aE(X)+bE(Y)## is true in general, right?.
Yes to both.
 
Pietair said:
Thank you for your reply.

I know that the probability distribution of the sum of two or more random variables is the convolution of their individual pdf's, but as far as I know this is only valid for independent random variables. While ##E(aX+bY)=aE(X)+bE(Y)## is true in general, right?.

Depending on the level of rigor required, you may have to qualify things a bit. For example, if Y = -X, then E(X+Y) = EX + EY is false if EX = EY = ∞, because we would be trying to equate 0 to ∞ - ∞, which is not allowed.

So, the easiest way is to assume that both EX and EY are finite. Now you really have a 2-stage task:
(1) Prove the "theorem of the unconscious statistician", which says that if Z = g(X,Y), then
[tex]EZ \equiv \int z \: dF_Z(z)[/tex]
can be written as
[tex]\int g(x,y) \: d^2F_{XY}(x,y),[/tex]
which becomes
[tex]\sum_{x,y} g(x,y)\: P_{XY}(x,y)[/tex]
in the discrete case where there are no densities, and becomes
[tex]\int g(x,y) f_{XY}(x,y) \, dx \, dy[/tex]
in the continuous case where there are densities. Of course, the result is also true in a mixed continuous-discrete case where there are densities and point-mass probabilities, but then we need to write Stieltjes integrals, etc. Then, you need to do the much easier task of proving that
[tex]\int (ax + by) f_{XY}(x,y) \, dx \, dy<br /> = a \int x f_X(x) \, dx + b \int y f_Y(y) \, dy = a EX + b EY .[/tex]
The last form holds in general, whether the random variables are continuous, discrete or mixed. As you say, it holds even when X and Y are dependent.
 
Last edited:
Ray Vickson said:
Depending on the level of rigor required, you may have to qualify things a bit. For example, if Y = -X, then E(X+Y) = EX + EY is false if EX = EY = ∞, because we would be trying to equate 0 to ∞ - ∞, which is not allowed.

So, the easiest way is to assume that both EX and EY are finite. Now you really have a 2-stage task:
(1) Prove the "theorem of the unconscious statistician", which says that if Z = g(X,Y), then
[tex]EZ \equiv \int z \: dF_Z(z)[/tex]
can be written as
[tex]\int g(x,y) \: d^2F_{XY}(x,y),[/tex]
which becomes
[tex]\sum_{x,y} g(x,y)\: P_{XY}(x,y)[/tex]
in the discrete case where there are no densities, and becomes
[tex]\int g(x,y) f_{XY}(x,y) \, dx \, dy[/tex]
in the continuous case where there are densities. Of course, the result is also true in a mixed continuous-discrete case where there are densities and point-mass probabilities, but then we need to write Stieltjes integrals, etc. Then, you need to do the much easier task of proving that
[tex]\int (ax + by) f_{XY}(x,y) \, dx \, dy<br /> = a \int x f_X(x) \, dx + b \int y f_Y(y) \, dy = a EX + b EY .[/tex]
The last form holds in general, whether the random variables are continuous, discrete or mixed. As you say, it holds even when X and Y are dependent.

Hmm, so there really is no elementary proof?? (I guess it depends on what you call elementary though). This kind of makes me happy that I know measure theory, it makes the proof of this result so much simpler.