Use that all the probabilities sum to 1
∑P(X=x)=1 The probability function must give probabilities that total 1.
Substitute the probability function over its range
k(1+8+27+64)=1 Add the value of the function at each value of x.
Add the values inside the bracket
Combine the terms to get a single equation in k.
Solve the equation for k
k=1001 Divide to obtain the unknown constant.
Tabulate the probability P(X=1)
P(X=1)=1001×1=1001 Substitute this value of x into the probability function.
Tabulate the probability P(X=2)
P(X=2)=1001×8=252 Substitute this value of x into the probability function.
Tabulate the probability P(X=3)
P(X=3)=1001×27=10027 Substitute this value of x into the probability function.
Tabulate the probability P(X=4)
P(X=4)=1001×64=2516 Substitute this value of x into the probability function.
Write P(X≤2) as a sum of outcomes
P(X≤2)=P(X=1)+P(X=2) Include every value of X that satisfies the condition.
Substitute the probabilities and add
=1001+252=1009 Add the probabilities of the relevant outcomes.
Write P(X≥3) as a sum of outcomes
P(X≥3)=P(X=3)+P(X=4) Include every value of X that satisfies the condition.
Substitute the probabilities and add
=10027+2516=10091 Add the probabilities of the relevant outcomes.
Write P(2≤X≤4) as a sum of outcomes
P(2≤X≤4)=P(X=2)+P(X=3)+P(X=4) Include every value of X that satisfies the condition.
Substitute the probabilities and add
=252+10027+2516=10099 Add the probabilities of the relevant outcomes.
Confirm the distribution is complete
F(4)=P(X≤4)=1 The cumulative probability reaches 1 at the largest value, as required.