C1 - expectation of a discrete random variable

expectation

  • AKA mean or average, expectation of a RV is a way of summarising the different possible values into a single number, which is the weighted sum of all the values
E[X]=∑xxP(X=x)

E[X]=0⋅(1−p)+1⋅p=p E[X]=∑n=1∞n(1−p)n−1p=1p E[X]=∑i=0∞ie−λλii!=λ
expectation of a function

  • for a function of discrete RV X, g⋅, the expectation is:
E[g(X)]=∑xg(x)⋅pX(x)

expectation of a product

  • let X and Y be RVs, so the expectation of the product XY is:
E[XY]=xy⋅pX,Y(x,y)

theroem

  • if X⊥Y, then:
E[XY]=E[X]⋅E[Y]E[g(X)f(Y)]=E[g(x)]⋅E[f(y)]
  • consequently:
eXY=E[X]⋅E[1Y]

alternative definition of expectation

  • let RV X be non-negative, discrete, and integer-valued, then:
E[X]=∑x=0∞P(X>x)