Linear Interpolation
Chemistry: IB Diploma Higher Level, topic 7.2.2
Linear Interpolation
Linear interpolation can be used to estimate different values in a set of data such as the median, quartiles and inter-quartile range.

Median piece of data
- The median occurs at the position given by this equation:
- We can then find the class interval that contains the median, which is one that has the lowest cumulative frequency that is greater than this number.

Median piece of data

Linear interpolation
- To find the median within the class, we assume that the cumulative frequency graph is a straight line between the lower and upper limits of the class.
- First, calculate the gradient of the straight line within the class interval using the equation:
- Where is the class interval.

Linear interpolation 2
- Then, equate this to the gradient of the straight line between the median and the lower limit of the class interval:
- So the median is 32.7 kg.

Linear interpolation 2

Percentiles
- The same method of linear interpolation works to find any percentile.
- To find out the 30th percentile, we first find the position:
- 127×0.3=38.1
- Then we use the equation:
- So the 30th percentile is 20.1 kg.
