ΘρϵηΠατπ

Expected Value
Suppose that X is a discrete random variable then we define E(X):=xP(X=x)
Squared Expection
Suppose X is a random variable such that P(X=2)=0.2,P(X=1)=0.5,P(X=2)=0.3 and P(X=a)=0 for all other values. Compute E(X2) and show it's not equal to E(X)2

Recall that X2 is simply the composition of the function X and the function 2, denote Y:=X2 so that Y may only take on values 1 and 4 and also P(Y=4)=P((X=2)(X=2))=P(X=2)+P(X=2)=0.2+0.3=0.5 and for all other values P(Y=a)=0 E(X2)=E(Y)=40.5+10.5=2+.5=2.5 on the other hand E(X)=20.2+10.5+20.3=0.7 so that E(X)2=0.49 so E(X)2E(X2)

Expectation is Linear
Suppose that X is a random variable and that a,b then aX+b is also a random varaible and we have that E(aX+b)=aE(X)+b
Variance
Let X be a random varaible and define μ:=E(X) then we define Var(X):=E((Xμ)2)
Variance as Squares of Expection
Var(X)=E(X2)E(X)2
Variance is Not Linear
Var(aX+b)=a2X
Standard Deviation
Given a random varaible X we define the standard deviation of that random variable to be σ(X):=Var(X)