a. Finding K
∑i=04P(Xi)=1
The PMF should be 2xk and not x2k since we cannot divide a number by zero.
∑i=04P(Xi)=k+2k+4k+8k+16k=1631k
1631k=1 Solving for k,
k=3116
b. CDF
CDF=∑0xP(x) Substituting the value of k in ∑i=04P(Xi) above, we get;
∑04P(x)=3116+318+314+312+311
Note that it forms a geometric progression with a=3116 and r=21. Note also that it consist of 5 terms since the value of x starts from 0.
The sum of n terms of a GP when r<1 is
Sn=1−ra(1−rn)
But to allow 0 to 4 values of x, n becomes x+1.
CDF=1−213116(1−2x+11) Simplifying, we have
CDF=3132(1−2x+11)
Comments