Clear Notion Academy

Statistics and Probability (Beyond Advanced) Practice: Find the minimum value of f(t)= k=1 10 |kt-1| over all real t . Give the answer correct…

Question

Find the minimum value of f(t)=∑k=110∣kt−1∣f(t)=\sum_{k=1}^{10}|kt-1| over all real tt. Give the answer correct to two decimal places.

Answer

Answer: 3.86

Hint

Write ∣kt−1∣=k∣t−1k∣|kt-1|=k\left|t-\frac1k\right|: ff is a weighted sum of distances from tt to the points 1k\frac1k, so it is minimised at a weighted median.

Solution

f(t)=∑k=110k∣t−1k∣f(t)=\sum_{k=1}^{10}k\left|t-\frac1k\right|, i.e. the total absolute deviation of a data set in which the value 1k\frac1k has frequency kk. Such a sum is minimised at a median of that data. Total frequency =55=55. Listing the values from smallest: 110\frac1{10} (frequency 1010), 19\frac19 (99), 18\frac18 (88), 17\frac17 (77), ... The cumulative frequencies are 10,19,27,34,…10,19,27,34,\dots; the 2828th observation is 17\frac17, so the median is t=17t=\frac17. Check with slopes: for tt just below 17\frac17 the slope of ff is −(1+⋯+7)+(8+9+10)=−28+27<0-(1+\dots+7)+(8+9+10)=-28+27<0; just above it is −21+34>0-21+34>0. f(17)=∑k=110∣k−7∣7=6+5+4+3+2+1+0+1+2+37=277≈3.857f\left(\frac17\right)=\sum_{k=1}^{10}\frac{|k-7|}{7}=\frac{6+5+4+3+2+1+0+1+2+3}{7}=\frac{27}{7}\approx 3.857. The unweighted median of the points 1k\frac1k (between 16\frac16 and 15\frac15) gives a larger value, e.g. f(16)=256f\left(\frac16\right)=\frac{25}{6}. Answer: 3.863.86.

More questions from Statistics and Probability (Beyond Advanced) Practice

Practise the full set: Statistics and Probability — Beyond Advanced