Interpolation Practice Questions

Last Updated : 7 Jul, 2026

Interpolation is the process of estimating an unknown value that lies between two known values.

Example 1: Interpolate the value of y at x = 3 if two of the ordered pairs are (−5, 5) and (5, 7).

Solution:

Given

x = 3, x0 = −5, x1 = 5, y0 = 5, y1 = 7 

Since, y = y_0 + (x - x_0) \dfrac{y_1 - y_0}{x_1 - x_0}

y = 5 + (3 − (−5)) \dfrac{7 − 5}{5 − (-5)}

   = 5 + 8(.2)

=5 + 1.6

y = 6.6

Example 2: Interpolate the missing value in the following table:

XY
1990100
1991107
1992?
1993157
1994212

Solution:

Since the known values of Y are 4, the fourth leading difference will be zero. Thus, 

40 = (y − 1)4 = y4 − 4y3 + 6y2 − 4y1 + y0 = 0

Substituting the values of y's we have,

212 − 4(157) + 6y2 − 4y1 + y0 = 0 

6y2 = 628 − 212 + 428 − 100

y2 = 124

Example 3: The table below depicts insurance premiums payable to different age groups. Find the premium payable at 17.

AgePremium Payable
1511.1
2512.6
3514.3
4516.1
5518.3

Solution:

AgePremium(Y)1234
15 = x011.1 = y0    
  +1.5 = △10   
25 = x112.6 = y1 +0.2 = △20  
  +1.7 = △11 −0.1 = △30 
35 = x214.3 = y2 +0.1 = △21 +0.4 = △40
  +1.8 = △13 +0.3 = △31 
45 = x316.1 = y3 +0.4 = △22  
  +2.2 = △14   
55 = x418.3 = y4    

Now, x = 17 - 15/25 - 15 = 2/10 = 0.2

Hence, Y17 = 11.1 + 0.3 − 0.016 − 0.0048 − 0.0134 = 11.4

Thus premium payable at 17 is 11.4

Example 4: Find the value of y when x = 5 from the following data:

xy
21
35
413
661
7125

Solution:

Applying Lagrange Formula, 

f(x) = \dfrac{(x − x_0)(x-x_2)(x-x_3)(x-x_4)}{(x_1 − x_0)(x_1-x_2)(x_1-x_3)(x_1-x_4)} + \dfrac{(x − x_0)(x − x_1)(x − x_3)(x − x_4)}{(x_2 − x_0)(x_2 − x_1)(x_2 − x_3)(x_2 − x_4)}+\dfrac{(x − x_0)(x − x_1)(x − x_2)(x − x_4)}{(x_3 − x_0)(x_3 − x_1)(x_3 − x_2)(x_3 − x_4)}+....

f(x) = 1.\dfrac{(5−3)(5-4)(5-6)(5-7)}{(2−3)(4-3)(4-6)(4-7)}+5.\dfrac{(5−2)(5−4)(5−6)(5−7)}{(3−2)(3−4)(3−6)(3−7)}+13.\dfrac{(5−2)(5−3)(5−6)(5−7)}{(4−2)(4−3)(4−6)(4−7)}+....

       = 0.1 − 2.5 + 1.3 + 30.5 − 12.5

      = 28.6

Example 5: Reconstruct the following data with the class intervals halved using interpolation:

MarksNumber of Students
0 - 1050
10 - 2065
20 - 3085

Solution:

For estimating the marks in the class interval 0-5, 10-15, and 20-25, we will have to interpolate the values of less than 5, less than 15 and less than 25 respectively. 

Interpolation of less than 5

x = 5−10/10 = −0.5

y5 = y0 + x.△10 + [x(x−1).△2]/2 = 25

Similarly, 

Interpolation of less than 15 = 80

Interpolation of less than 25 = 155

Thus, the reconstructed table is as follows:

MarksCumulative FrequencyMarksNumber of Students
Less than 5250 - 522
Less than 10505 - 1025 
Less than 158010 - 1530
Less than 2011515 - 2035
Less than 2515520 - 2540
Less than 3020025 - 3045
Comment

Explore