Consoles

To determine the difference between extrapolation and interpolation, we need to look at the prefix "extra" and "inter". The prefix "extra" literally means "beyond" or in "addition to". The prefix "inter" means "between" or "among." Knowing this you can easily distinguish the methods between themselves.

The use of methods

For both methods assume some initial conditions. You first need to define what is independent and what the dependent variable for our case. With the collection of data is double the number of their values. It is also necessary to formulate a model for the original data. All this can be recorded in a table for better clarity. Then the graph of dependencies. They are often an arbitrary curve, which approximately describes the data. In any case, there is a function that associates an independent variable with the dependent.

The aim of these transformations is not only the model itself. Usually it is used for prediction. In particular, consider the independent variable which is the predicted value for the associated dependent variable. The output value of our independent variable will show whether has been used extrapolation or interpolation.

Interpolation

You can use the function to predict the value of dependent variable for the independent, which is implicitly expressed. In this case, the method of interpolation is used.

Suppose that the value of x between 0 and 10 is used to create functions:

y = 2x + 5;

We can use this function for better evaluation value, corresponding to the value x=6. To do this, simply substitute this value into the original equation. It is easy to see the result:

have = 2 (6) + 5 = 17;

Extrapolation

You can use the original function to predict the value of dependent variable for the independent variable, which is outside the range of values. In this case the extrapolation.

Let, as before, the value of x is between 0 and 10 and there is a function:

y = 2x + 5;

To estimate the value of y using x=20, it is necessary to substitute this value into our equation:

have = 2 (20) + 5 = 45;

If the value x is outside the range of valid values, then the validation method is called extrapolation.