Docsity

Interpolation with Evenly Spaced Points (Numeric Methods), Study notes of Mathematics

Partial preview of the text

Download Interpolation with Evenly Spaced Points (Numeric Methods) and more Study notes Mathematics in PDF only on Docsity!

Easy and Unique Notes of Mathematics (For BSc, BS, MSc, MPhil, and Competitive Exams Preparation) yi | hl 2.3 INTERPOLATION WITH EVENLY SPACED POINTS Let the data (x., f(x,)) be given with uniform spacing, that is, the nodal points are given by x,= xX), + th,i=0, 1, 2, ..., n. In this case, Lagrange and divided difference interpolation polynomials can also be used for interpolation. However, we can derive simpler interpolation formulas for the uniform mesh case. We define finite difference operators and finite differences to derive these formulas. Finite difference operators and finite differences We define the following five difference operators. Shift operator E When the operator ยฃ is applied on f(x,), we obtain Eftx,) = fix, + h) = flx.,,). (2.17) That is, Ef{x,) = fix, + h) = fix,), Eflx,) = Ax, + A) = flx,), ete. Therefore, the operator E when applied on f(x) shifts it to the value at the next nodal point. We have E? flx,) = ElEfx,)] = Elftx, + h)] = flx, + 2h) = flx,,,). In general, we have EP fix,) = fix, + kh) = fix,,,) (2.18) where & is any real number. For example, we define Eโ„ข f(x;)=f [ it 4 =f (xis12). Forward difference operator A When the operator A is applied on /(x,), we obtain A fix,) = fix, + h) โ€”flx;,) = f,,, -F,- (2.19) That is, A fixo) = flxq + h) โ€” fix) = fix,) โ€” fx), A fix,) = flix, + h) โ€” fix.) = fix.) โ€” flx,), ete. These differences are called the first forward differences. The second forward difference is defined by A? fix,) = A[A fix,)] = Alflx, + h) โ€” flx,)] = A flx, + h) โ€” A flx,) = [flx, + 2h) โ€” fix; + h)] โ€” (Ax, + h) โ€” flx,)] = f(x, + 2h) โ€” 2flx, + h) + f\x,) =f.49 โ€” 2.4, + Fi The third forward difference is defined by A? flx,) = A[A? flx,)] = A fx, + 2h) -โ€” 2A flx, + h) + A fix,) = fins โ€” ina + Shia โ€” fi Now, from (2.18) and (2.19), we get A fix,) = fix,+h)-fix) =E f,-f,=(@-1) f..