B3 - multiple random variables and join probabilities

pX,Y(x,y)=P{X=x & Y=y} ∑x∑ypX,Y(x,y)=1 pX(x)=∑ypX,Y(x,y)pY(y)=∑xpX,Y(x,y)
independence

  • it is said discrete random variables X and Y are independent, ie X⊥Y, if:
P{X=x & Y=y}=P{X=x}⋅P{Y=y},∀x,y
  • or, equivalently,
pX,Y(x,y)=pX(x)⋅pY(y)

law of total probability

P(E)=∑yP(E∩Y=y)=∑yP(E∣Y=y)P(Y=y)P(X=k)=∑yP(X=k∩Y=y)=∑yP(X=k∣Y=y)P(Y=y)