# What is the expectation of a normal random variable divided by uniform random variable?

I have two random variables: $x = N(0, \sigma^2)$ and $y =U[0, b]$. I need to compute $E(x/(1+y))$. How does one go about doing this? They are independent so the joint pdf is just the product of the two pdfs but can the integral be computed in closed form or is this something that should just be done numerically?

-

Is this homework? Hint: Try to reason by symmetry… – Neil G May 29 '12 at 17:48
1. No this is not homework. 2. That's true, I should have been more specific: The equation in my model is actually $\frac{1}{1+y}$ so it does not diverge. – Alex May 29 '12 at 17:51

## 2 Answers

From your description (and comments) you're trying to calculate $E \left( \frac{X}{1+Y} \right)$ where $X \sim N(0,\sigma^2)$ and $Y \sim {\rm Uniform}(0,b)$. By independence,

$$E \left( \frac{X}{1+Y} \right) = E(X) \cdot E \left( \frac{1}{1+Y} \right)$$

We know $E(X) = 0$, therefore $$E \left( \frac{X}{1+Y} \right) = 0$$

as long as $E \left( \frac{1}{1+Y} \right)$ is finite. We know that $\frac{1}{1+Y}$ is bounded within $\left(\frac{1}{1+b},1 \right)$ with probability 1, therefore its mean also is.

-

1
Isn't $Y\sim U(0,b)$ and, therefore, $1/(1+Y)$ bounded by $(1/(1+b),1)$ with probability 1? Because $b>0$, the expectation is finite anyways as you said. – Néstor May 29 '12 at 18:01

1
You're right. I was assuming $U(0,1)$. Will fix that. – Macro May 29 '12 at 18:02

Since it's not homework, then the expectation is zero by symmetry. How could there be an argument suggesting the answer is $k>0$ without a similar argument suggesting $-k$?

-
I presume you mean the symmetry under $x \to -x$. But you do need to establish that the expectation even exists before you can apply that ... :-). – whuber♦ May 29 '12 at 17:58

1
@whuber: Yes, you're right. I initially wrote it up as the expectation is either zero or doesn't exist, but then he edited his question and it was clear that it did exist. Macro has a nice explicit answer. – Neil G May 29 '12 at 17:59
The problem would have been more interesting if X had a mean different from 0. Then you would have to calculate E(1/(1+y)) – Michael Chernick May 29 '12 at 19:23
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 19, "mathjax_display_tex": 2, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": false, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9768710732460022, "perplexity_flag": "head"}