We have the finite set X={1,2,3,…,17}. Its size is clearly ∣X∣=17, so whenever we speak of the “mean’’ and “variance’’ of the elements of X we are using the uniform distribution in which each element appears with probability 171.
First we calculate the mean of the elements of X.
The sum of the first n natural numbers is given by the well-known formula
∑x=1nx=2n(n+1).
Substituting n=17 we obtain
∑x=117x=217⋅18=153.
Hence the mean of X is
μX=171∑x=117x=17153=9.
Next we need the variance of the numbers 1,2,…,17.
By definition,
σX2=171∑x=117(x−μX)2.
A convenient way to compute this is to use the identity
σX2=171∑x=117x2−μX2.
The sum of squares formula
∑x=1nx2=6n(n+1)(2n+1)
gives, for n=17,
∑x=117x2=617⋅18⋅35.
Evaluating step by step, we see
17⋅18=306,306⋅35=10710,
and finally
610710=1785.
Therefore
171∑x=117x2=171785=105.
Now subtracting the square of the mean,
σX2=105−92=105−81=24.
We are told that every element of Y is obtained from some element of X via the linear transformation
Y=aX+b,
where a,b∈R with a>0. For any random variable, a linear change of scale and origin obeys the following standard formulas:
• Mean transformation: μY=aμX+b.
• Variance transformation: σY2=a2σX2.
The problem states that the mean and variance of the set Y are 17 and 216 respectively. Writing these facts with the above formulas we get the two equations
aμX+b=17,a2σX2=216.
Since we have already found μX=9 and σX2=24, we substitute:
From the mean condition:
a⋅9+b=17⟹9a+b=17.−(1)
From the variance condition:
a2⋅24=216⟹a2=24216=9⟹a=±3.
But the question explicitly requires a>0, therefore
a=3.
Putting a=3 into equation (1):
9(3)+b=17⟹27+b=17⟹b=17−27=−10.
Finally, the quantity we are asked for is
a+b=3+(−10)=−7.
Hence, the correct answer is Option B.