Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Let x be real valued random variable taking values on $a_1,\ldots, a_n$. Let $\Pr(x=a_i)=p_i$. Let $f$ be real valued function defined on $a_1, \ldots, a_n$

It is known that $$ E(f(x))=\sum_{i=1}^nf(a_i)p_i. $$

Would be the same formula true for $E(|f(x)|)$, i. e. $$ E(|f(x)|)=\sum_{i=1}^n|f(a_i)|p_i? $$

Thank you.

share|improve this question
1  
Yes. As $|f|$ is "a real valued function, defined on ..." .. just apply your formula to $|f|$. –  martini Jul 10 '12 at 20:24
add comment

1 Answer 1

up vote 1 down vote accepted

Let $ g(x) := |f(x)| $ be defined on $ a_1, \dots, a_n $. The composition of two real valued functions is a real valued function.

Now computing $E(g(x))$...

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.