The five probabilities are P(X=0),P(X=1),P(X=2),P(X=3),P(X=4).
Because the points (x,P(X=x)) for x=0,1,2,3,4 lie on a straight line, the probability is an affine (linear) function of x:
P(X=x)=a+bx,x=0,1,2,3,4
Here a and b are constants to be determined.
Outside these five values the probability is zero, so the total probability is
∑x=04P(X=x)=1
⇒∑x=04(a+bx)=1
The useful sums are
∑x=041=5,∑x=04x=0+1+2+3+4=10
Therefore
5a+10b=1−(1)
Next use the given mean E[X]=25=2.5:
E[X]=∑x=04xP(X=x)=∑x=04x(a+bx)
Break the sum into two parts:
∑x=04xa=a∑x=04x=a⋅10
∑x=04bx2=b∑x=04x2
Since ∑x=04x2=02+12+22+32+42=30,
E[X]=10a+30b=2.5−(2)
Solve the simultaneous equations.
Divide (1) by 5: a+2b=0.2
Divide (2) by 10: a+3b=0.25
Subtract the first from the second:
b=0.25−0.2=0.05=201
Back-substitute into a+2b=0.2:
a=0.2−2(0.05)=0.2−0.1=0.1
Compute E[X2] to obtain the variance.
First, E[X2]=∑x=04x2P(X=x)=∑x=04x2(a+bx)
Break it again:
∑x=04x2a=a∑x=04x2=a⋅30
∑x=04x3b=b∑x=04x3
Here ∑x=04x3=03+13+23+33+43=100
Thus
E[X2]=30a+100b=30(0.1)+100(0.05)=3+5=8
The variance is
α=Var(X)=E[X2]−(E[X])2=8−(2.5)2=8−6.25=1.75=47
Finally,
24α=24×47=6×7=42
Therefore, the required value is 42.