Properties of "expected value "¶
Just in case, before getting into properties of expected value we should be on the same page on what the expected value is .
Let's say that we have random variable x, and f(x) as a function of x. Expected value of random variable (continuous) is presented as below.
<f(x)>p(x)=∫f(x)p(x)dx
1. Linearity¶
When it comes linearity, you can derive as below with comparative ease :) <f(x)+g(x)>p(x)=∫{f(x)+g(x)}p(x)dx=∫f(x)p(x)dx+∫g(x)p(x)dx=<f(x)>p(x)+<g(x)>p(x) <cf(x)>p(x)=∫cf(x)p(x)dx=c∫f(x)p(x)dx=c<f(x)> where c∈R2. Multiple random variable 1¶
If there are maultiple random variable (z1,z2,z3), expected value can be calculated as below. <f(z1,z2,z3)>p(z1)p(z2)p(z3)=<∫p(z1)f(z1,z2,z3)dz1>p(z2)p(z3)=<(f of z2 and z3)>p(z2)p(z3)=<∫p(z2)(f of z2 and z3)dz2>p(z3)=<(f of z3)>p(z3)=∫p(z3)(f of z3)dz3=Final expected value
3. Multiple random variable 2¶
This is a pattern where f is a function of only z1, whereas ramdom variables are z1,z2,z3, <f(z1)>p(z1)p(z2)p(z3)=<∫p(z2)f(z1)dz2>p(z1)p(z3)=<f(z1)∫p(z2)dz2>p(z1)p(z3)=<f(z1)>p(z1)p(z3)=<∫p(z3)f(z1)dz3>p(z1)=<f(z1)∫p(z3)dz3>p(z1)=<f(z1)>p(z1)