The formula for the standard deviation of n observations x1,x2,…,xn is
σ=n1∑i=1n(xi−xˉ)2,
where xˉ is the arithmetic mean of the observations.
Here the four numbers are −1,0,1,k with k>0, so n=4 and the given standard deviation is σ=5.
First, we calculate the mean:
xˉ=4(−1)+0+1+k=40+k=4k.
Next, we write each squared deviation from the mean:
(−1−xˉ)2(0−xˉ)2(1−xˉ)2(k−xˉ)2=(−1−4k)2,=(0−4k)2,=(1−4k)2,=(k−4k)2.$
We expand each expression completely:
(−1−4k)2(0−4k)2(1−4k)2(k−4k)2=(−1)2+2(−1)(−4k)+(−4k)2=1+2k+16k2,=16k2,=1−2k+16k2,=(43k)2=169k2.$
Now we add these four squared deviations:
S=(1+2k+16k2)+(16k2)+(1−2k+16k2)+(169k2)=(1+1)+(2k−2k)+(16k2+16k2+16k2+169k2)=2+0+1612k2=2+43k2.$
By the standard deviation formula, we must have
σ=nS⟹5=42+43k2.
Squaring both sides removes the square roots:
5=42+43k2.$
Multiplying by 4 on both sides gives
20=2+43k2.$
Subtracting 2 from each side, we get
18=43k2.$
Multiplying by 4 gives
72=3k2.$
Dividing by 3, we obtain
k2=24.$
Finally, taking the positive square root (because k>0) yields
k=24=26.$
Hence, the correct answer is Option D.