Topic 10. Interpolation. Parabolic interpolation. Spline interpolation
2. Parabolic interpolation
Interpolation by algebraic polynomials is called parabolic interpolation. The construction of a parabolic interpolation has the following form:
- for the given values f (x i ) = y i , i = 0..n to construct the polynomial y = P (x) = a o x n + a 1 x n-1 + .. + a n , where n is the power and which meets the requirements:
- at the points x i , i = 0..n, the value of the polynomial P n (x i ) coincides with the value of the given function f (x i ), that is P n (x i ) = f (x i ) = y i , i = 0 ..n;
- At any other point xÎ] x o ; x n [the equality P n (x) »f (x) is approximated .
The geometric nature of parabolic interpolation is that the graph of one function f (x) is replaced by the graph of the polynomial P of degree n, and these two graphs have (n + 1) a common point.
For parabolic interpolation, the number of interpolation nodes generates a polynomial order per unit smaller.
Linear interpolation
- given the function f (x) at two points: f (x o ) = y o and f (x 1 ) = y 1 ;
- the order of the sought interpolation polynomial n = 1.
The essence of the method. The graph of the linear function P 1 (x) = a o x + a 1 must pass through two points (x o ; y o ) and (x 1 ; y 1 ). Therefore, the desired coefficients a o and a 1 can be determined from the system of linear equations:
The solution of this system relative to a o and a 1 is obtained:
Then the interpolation polynomial can be written as:
Thus, the function f (x) can be rearranged by an approximate polynomial of the form P 1 (x), which is called the linear interpolation formula. From the geometric point of view, the linear interpolation formulas replace the arc of the curve y = f (x) on the interval [x 0 ; x 1 ] segment of a straight line y = P 1 (x), which passes through the point (x o ; y o ) and (x 1 ; y 1 ) type:
where:
Linear interpolation is often used when working with prepared tables when finding the value of a function for intermediate values of arguments.
Quadratic interpolation
Output data:
- given the function f (x) at three points: f (x o ) = y o ; f (x 1 ) = y 1 ; and f (x 2 ) = y 2 ;
- the order of the sought interpolation polynomial n = 2.
The essence of the method. The graph of the quadratic function P 2 (x) = a o x 2 + a 1 x + a 2 must pass through the maple three (x o ; y o ), (x 1 ; y 1 ) and (x 2 ; y 2 ). Therefore, the desired coefficients a o , a 1 and a 2 can be determined from the system of linear equations:
After solving this system, we obtain an interpolation polynomial of the form
Thus, the function f (x) can be rearranged by an approximate polynomial of the form P 2 (x), which is called the quadratic interpolation formula. From a geometrical standpoint, formula quadratic interpolation replace the arc of the curve y = f (x) on the interval [x 0 ; x 1 ; x 2 ] parabolic curve y = P 2 (x), which passes through the point (x o ; y o ) ; (x 1 ; y 1 ) and (x 2 ; y 2 ).
Font Face
Font Size
Text Colour
Background Colour
Font Kerning
Image Visibility
Letter Spacing
Line Height
Link Highlight