Median of the dataset given below is 10.
2,5,8,x,15,20
Find the value of x if the data is already sorted.
Median refers to the value which lies in the middle of the data (when arranged in an increasing or decreasing order).
Given that the data is already sorted.
The number of terms in it is 6 - even.
Hence, the median will be the average of the (62)th and the (62+1)th terms.
Median will be the average of the 3rd and 4th terms, which are 8 and x respectively.
⇒8+x2=10
⇒8+x=20
⇒x=20−8=12