The mathematical foundation of linear interpolation is based on Similar Triangles or the concept of a constant slope ().
It assumes that the ratio of the distance from the lower boundary to the target value is proportional to the ratio of the frequency covered to the total frequency of that interval.
This proportionality can be expressed as: where is the lower boundary, is the class width, is the cumulative frequency before the interval, and is the frequency of the interval.
The General Formula:
| Feature | Linear Interpolation | Midpoint Method |
|---|---|---|
| Purpose | Estimating specific positions (Median, Quartiles) | Estimating averages (Mean) |
| Assumption | Data is spread evenly across the interval | All data points are at the center of the interval |
| Accuracy | Generally more precise for positional statistics | Simplistic; ignores distribution within the class |
| Data Type | Grouped continuous or large discrete data | Grouped data for mean calculation |
Check Boundaries: Always use the exact boundaries of the class interval. If data is given as and , the boundary between them is .
Sanity Check: Ensure your final answer actually falls within the class interval you identified in Step 1. If your estimate is but the interval is , a calculation error has occurred.
Units: Always include the units of measurement (e.g., kg, cm, seconds) in your final answer to avoid losing marks.
Formula vs. Logic: While the formula is useful, understanding the 'fraction of the way through' logic is safer for exams as it is harder to misremember than a complex algebraic string.
Wrong Target Position: For the median in interpolation, use . Do not use , which is reserved for small, discrete data sets.
Cumulative Frequency Errors: Students often use the cumulative frequency of the current interval instead of the previous interval () when calculating how far 'into' the class the value is.
Class Width Confusion: Ensure you use the width of the specific interval containing the median, not the width of the first interval or an average width.