Interpolation

Interpolation sounds a bit like one of those words marketing departments make up like ideation, story-scaping or advertainment, but it is actually a useful tool for finding the right numbers.

Interpolation is the way of estimating an unknown number by calculation. The calculation is based on what we know. We can see what we are trying to do in the figure below. We are calculating the value of the blue dot based on the value of the red dots.

Figure: Interpolation

What we will discuss here only works for linear relationships. If we try to do it for nonlinear relationships, we won’t get the correct figure. A rather extreme example of this is shown below, but you can see our blue dot is miles out.

Figure: Linear interpolation for nonlinear relationship

Let’s look at an example. The table below shows cans per minute (cpm) produced by a filler through its range of speeds. It’s a very fast filler!

Table: Cans per minute at a range of speeds

Rating

Cans per minute

0

0

10

3,240

20

6,480

30

9,720

40

12,960

50

16,200

60

19,440

70

22,680

80

25,920

90

29,160

100

32,400

110

35,640

 

And here’s a graph of the same data showing that it is linear.

dqw

Figure: Graph of cans per minute versus filler rate

Now let’s use an example. There is a problem with the transport of finished goods so we can’t produce more than 15,500 cans per minute (cpm) without the warehouse filling up and the line needing to stop. We need to work out what rate this equates to so we can set our filler speed. This is where interpolation comes in.

We know that at a rating of 40 we get 12,960 cans per minute, and at 50 we get 16,200 cans per minute, so the required speed is going to be somewhere in between. Interpolation is based on the difference between the rating that is equal to the difference in the rate.

The difference in cans per minute for a difference in rate between 40 and 50 is:

16 comma 200 space c p m space minus space 12 comma 960 space c p m space equals space 3 comma 240 space c p m

The difference between 40 and 50 is:

50 space r a t e space minus space 40 space r a t e space equals space 10 space r a t e

So the difference in cans per minute for each single unit change in rate is:

fraction numerator 3 comma 240 space c p m over denominator 10 end fraction space equals space 324 space fraction numerator c p m over denominator r a t e end fraction

The difference between 12,960 cans per minute at a filler rate of 40 and our maximum allowable run rate of 15,500 cans per hour is:

15 comma 500 space c p m space minus space 12 comma 960 space c p m space equals space 2 comma 540 space c p m

So if we find out what proportion the difference between 12,960 and 15,500 is of the difference in cans per minute between for each unit of the filler rate, that will tell us how many units faster than 40 we need to go to achieve 15,500. To do this, we divide the difference by the output per unit rate:

fraction numerator 2 comma 540 space c p m over denominator 234 begin display style fraction numerator c p m over denominator r a t e end fraction end style end fraction equals space 7.84 space r a t e

We now need to add this to 40 to get the target rating:

40 space r a t e space plus space 7.839 space r a t e space equals space 47.84 space r a t e

We can check that we are indeed expert mathematicians by plotting the new data point on our graph below, and as it’s bang on the line, we are looking good!

ag

Figure: Verifying our interpolation

As by now, we have developed a serious passion for equations, we can also employ one to achieve this. Here’s the algebraic representation of what we have just done.

x equals x subscript 1 space plus space open square brackets open parentheses fraction numerator y space minus space y subscript 1 over denominator y subscript 2 space minus space y subscript 1 end fraction close parentheses space left parenthesis space x subscript 2 minus space x subscript 1 right parenthesis close square brackets

So in our example:

x = The required filler rating

x subscript 1 = The filler rating corresponding to the nearest known output below the required output (40)

x subscript 2 = The filler rating corresponding to the nearest known output above the required output (50)

y = The required output (15,500 cans per minute or cpm)

y subscript 1 = The output corresponding to the nearest known rating below the required rating (12,960 cpm)

y subscript 2= The output corresponding to the nearest known rating below the required rating (16,200 cpm)

Let’s input our figures

x equals space 40 space r a t e space plus space open square brackets open parentheses fraction numerator 15 comma 500 space c p m space minus 12 comma 960 space c p m over denominator 16 comma 200 space c p m space minus space 12 comma 960 space c p m end fraction close parentheses space left parenthesis 50 space r a t e space minus space 40 space r a t e right parenthesis close square brackets

x equals space 40 space r a t e space plus space open square brackets open parentheses fraction numerator 2 comma 540 space c p m over denominator 3 comma 240 space c p m end fraction close parentheses space left parenthesis space 10 space r a t e right parenthesis close square brackets

x equals space 40 space r a t e space plus space space left square bracket space left parenthesis 0.784 right parenthesis space left parenthesis 10 space r a t e right parenthesis space right square bracket

x equals space 40 space r a t e space plus space 7.84 space r a t e equals 47.84 space r a t e

The power of equations! If we know the relationship of the data (for example, logarithmic or exponential), we can also produce an interpolation equation to allow us to interpolate an unknown data point from nonlinear data. You’ll be delighted to know that you won’t need these for your CIBD studies.

You have completed 0% of the lesson
0%