1 / 49

Chapter 4 Interpolation and Approximation

Chapter 4 Interpolation and Approximation. 4.1 Lagrange Interpolation. The basic interpolation problem can be posed in one of two ways:. Example 4.1. e -1/2. Discussion. The construction presented in this section is called Lagrange interpolation.

Download Presentation

Chapter 4 Interpolation and Approximation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 4 Interpolation and Approximation

  2. 4.1 Lagrange Interpolation • The basic interpolation problem can be posed in one of two ways:

  3. Example 4.1 e-1/2

  4. Discussion • The construction presented in this section is called Lagrange interpolation. • How good is interpolation at approximating a function? (Sections 4.3, 4.11) • Consider another example: • If we use a fourth-degree interpolating polynomial to approximate this function, the results are as shown in Figure 4.3 (a).

  5. Error for n=8

  6. Discussion • There are circumstances in which polynomial interpolation as approximation will work very well, and other circumstances in which it will not. • The Lagrange form of the interpolating polynomial is not well suited for actual computations, and there is an alternative construction that is far superior to it.

  7. 4.2 Newton Interpolation and Divided Differences • The disadvantage of the Lagrange form • If we decide to add a point to the set of nodes, we have to completely recompute all of the functions. • Here we introduce an alternative form of the polynomial: the Newton form. • It can allow us to easily write in terms of

  8. =0

  9. Example 4.2

  10. Discussion • The coefficients are called divided differences. • We can use divided-difference table to find them.

  11. Example 4.3

  12. Example 4.3 (Con.)

  13. Table 4.5

  14. 4.3 Interpolation Error

  15. Norms • The infinity norm of pointwise norm: • The 2-norm:

  16. The interpolation error of linear interpolation

  17. Example 4.5

  18. Example 4.5 (Con.)

  19. 4.4 Application: Muller’s Method and Inverse Quadratic Interpolation • We can use the idea of interpolation to develop more sophisticated root-finding methods. • For example: Muller’s Method • Given three points we find the quadratic polynomial such that 0,1,2; and then define as the root of that is closest to .

  20. compare

  21. An Alternative to Muller’s Method • Inverse quadratic interpolation:

  22. Discussion • One great utility of Muller’s method is that it is able to find complex roots of real-valued functions, because of the square root in the computation. • Inverse quadratic interpolation is used as part of Brent-Dekker root-finding algorithm, which is a commonly implemented automatic root-finding program.

  23. 4.5 Application: More Approximations to the Derivative depends on x

  24. 4.5 Application: More Approximations to the Derivative • The interpolating polynomial in Lagrange form is • The error is given as in (4.20), thus • We get

  25. We can use above equations to get:

  26. 4.6 Hermite Interpolation • Hermite interpolation problem: • Can we do this? Yes.

  27. Divided-Difference Table

  28. An example

  29. error

  30. Hermite Interpolation Error Theorem

  31. 4.7 Piecewise Polynomial Interpolation • If we keep the order of the polynomial fixed and use different polynomials over different intervals, with the length of the intervals getting smaller and smaller, then interpolation can be a very accurate and powerful approximation tool. • For example:

  32. Example 4.6

More Related