1
$\begingroup$

How do you compute expected value? I need help for not word problems, but a question similar to this:

Two numbers, $x$ and $y$, are randomly chosen from the interval $[0,1]$. What is the expected value of $(x+y)$?

Note that this is NOT the exact question. Mine has a different interval.

$\endgroup$

2 Answers 2

2
$\begingroup$

By the linearity of expectation, we have

$$E(x+y)=E(x)+E(y) = 0.5 + 0.5 = 1$$

$\endgroup$
2
  • $\begingroup$ @Tyler Thanks, I've removed the final line (the first bit of the answer works regardless, I think?) $\endgroup$ Dec 28, 2014 at 20:54
  • $\begingroup$ yep, that part is fine! i removed my comments to avoid confusing people $\endgroup$
    – Tyler
    Dec 28, 2014 at 21:31
1
$\begingroup$

There is already a good answer here. To offer a bit more info -

In general, we can find the expected value of g(x,y) - that is, $E[G(X,Y)]$ - by using a double integral:

$$\int^\infty_{-\infty} \int^\infty_{-\infty}g(x,y)F(x,y)dxdy$$

so for E(X+Y) over [0,1] we can find:

E(y) + E(x)

$\int^1_0ydy + \int^1_0xdx$

$\frac{1}{2}y^2\Big|_0^1$ + ...

= $.5+.5$

= 1

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .