Find the possible combinations of k and . For a given value of k, there are k possible options for . In total there are 1+2+3+4=10 combinations, so c=110.


(a)

PX(k)={k10k=1,2,3,40otherwise

(b)

(1) Apply the conditional PMF formula:

PY|X(|k)=PX,Y(k,)PX(k)ckc1k

(2) State the conditional PMF:

PY|X(|k)={1k=1,,k0otherwise

(c)

Compute the conditional expectation:

E[Y|X=4]==14452

(d)

Find the general formula for conditional expectation:

E[Y|X]==1xx1x=1x1xx(x+1)2x+12