Errors in Polynomial Interpolation

Introduction

Interpolation का मुख्य उद्देश्य दिए गए data points के बीच किसी unknown value का approximation निकालना होता है।
इसके लिए हम एक polynomial बनाते हैं जो known data points को satisfy करे।

लेकिन practical situation में interpolated value हमेशा exact नहीं होती।
Known values से polynomial बनाकर जो estimated value निकाली जाती है, और actual value के बीच जो अंतर आता है, उसी को error in polynomial interpolation कहा जाता है।

दूसरे शब्दों में, interpolation हमें exact value नहीं, बल्कि उसका approximation देता है।
यह approximation जितना actual value के करीब होगा, interpolation उतनी अच्छी मानी जाएगी।

Polynomial Interpolation का Basic Idea

मान लें कि किसी function f(x)f(x) के कुछ values दिए गए हैं:

(x0,y0),(x1,y1),(x2,y2),,(xn,yn)(x_0, y_0), (x_1, y_1), (x_2, y_2), \dots, (x_n, y_n)

जहाँyi=f(xi)y_i = f(x_i)

अब इन points के आधार पर एक polynomial Pn(x)P_n(x) बनाया जाता है ताकि:

Pn(xi)=f(xi),i=0,1,2,,nP_n(x_i) = f(x_i), \quad i = 0,1,2,\dots,n

यह polynomial दिए गए सभी points से होकर गुजरता है।
अब किसी बीच के point xx पर Pn(x)P_n(x) को interpolate value माना जाता है।

लेकिन generally,Pn(x)f(x)P_n(x) \neq f(x)

इसलिए error उत्पन्न होता है।

Definition of Interpolation Error

यदि actual function f(x)f(x) है और interpolating polynomial Pn(x)P_n(x) है, तो interpolation error होगा:

En(x)=f(x)Pn(x)E_n(x) = f(x) – P_n(x)

यह formula बताता है कि actual value और interpolated value के बीच का अंतर ही error है।

General Formula for Error

यदि f(x)f(x) sufficiently differentiable है, तो interpolation error का general form होता है:

En(x)=f(n+1)(ξ)(n+1)!(xx0)(xx1)(xx2)(xxn)E_n(x) = \frac{f^{(n+1)}(\xi)}{(n+1)!}(x-x_0)(x-x_1)(x-x_2)\cdots(x-x_n)

जहाँ ξ\xiξ interval के अंदर कोई एक value है।

Explanation of the Formula

अब इस formula को ध्यान से समझो, क्योंकि यही इस topic का सबसे important mathematical part है।

इसमें:

  • f(n+1)(ξ)f^{(n+1)}(\xi) function का (n+1)(n+1)th derivative है
  • (n+1)!(n+1)! factorial term है
  • (xx0)(xx1)(xxn)(x-x_0)(x-x_1)\cdots(x-x_n) interpolation nodes का product है

इसका अर्थ यह है कि error तीन चीजों पर depend करता है:

  1. Function की smoothness पर
  2. Polynomial की degree पर
  3. जिस point पर value चाहिए, उस point की data points से दूरी पर

Important Observation

यदि function स्वयं degree nn का polynomial है, तो f(n+1)(x)=0f^{(n+1)}(x)=0 होगा।
इस स्थिति में:En(x)=0E_n(x)=0

अर्थात interpolation exact होगा।

यह बहुत important result है।

Example 1

मान लें:f(x)=x2f(x)=x^2

और points लिए गए हैं:x0=1,x1=2,x2=3x_0=1,\quad x_1=2,\quad x_2=3

अब यदि हम degree 2 polynomial interpolation करें, तो P2(x)P_2(x) exactly x2x^2 ही होगा।

इसलिए:E2(x)=f(x)P2(x)=0E_2(x)=f(x)-P_2(x)=0

Explanation

क्योंकि original function पहले से ही degree 2 का polynomial है, इसलिए degree 2 का interpolation polynomial उसे exactly represent करेगा।
इस case में कोई interpolation error नहीं होगा।

Example 2

मान लें:f(x)=exf(x)=e^x

और हमने linear interpolation (degree 1) का उपयोग किया।
अब exe^x polynomial नहीं है, इसलिए interpolation value exact नहीं होगी।

यदि interpolating polynomial P1(x)P_1(x) है, तो error होगा:

E1(x)=f(x)P1(x)E_1(x)=f(x)-P_1(x)

और theory के अनुसार:E1(x)=f(ξ)2!(xx0)(xx1)E_1(x)=\frac{f”(\xi)}{2!}(x-x_0)(x-x_1)

क्योंकिf(x)=exf(x)=exf(x)=e^x \Rightarrow f”(x)=e^x

इसलिए:E1(x)=eξ2(xx0)(xx1)E_1(x)=\frac{e^\xi}{2}(x-x_0)(x-x_1)

Explanation

यहाँ error zero नहीं है क्योंकि exe^x polynomial function नहीं है।
इसलिए interpolation केवल approximation देगा।

Factors Affecting Interpolation Error

Interpolation error कई factors पर depend करता है:

1. Degree of Polynomial

यदि polynomial degree बढ़ाई जाए, तो कई बार approximation improve होता है।
लेकिन बहुत high degree होने पर oscillation भी आ सकती है।

2. Nature of Function

यदि function smooth है, तो interpolation better होता है।
यदि function rapidly change करता है, तो error बढ़ सकता है।

3. Choice of Data Points

यदि data points उचित रूप से चुने जाएँ, तो error कम होता है।
बहुत दूर-दूर points होने पर error बढ़ सकता है।

4. Position of Required Value

यदि required xx data points के बीच center के पास है, तो error कम होता है।
Boundary के पास error अधिक हो सकता है।

Graphical Meaning of Error

Graphically, interpolation error वह vertical distance है जो actual curve y=f(x)y=f(x) और interpolation polynomial y=Pn(x)y=P_n(x) के बीच किसी point पर होती है।

यदि दोनों curves लगभग एक-दूसरे के पास हैं, तो error छोटा होगा।
यदि दोनों के बीच gap ज्यादा है, तो error बड़ा होगा।

Graphical Representation of Interpolation Error

Explanation

Graph में दो curves होते हैं:

  • y=f(x)y = f(x) → actual function
  • y=Pn(x)y = P_n(x) → interpolation polynomial

अब किसी point xx पर:Error=f(x)Pn(x)\text{Error} = f(x) – P_n(x)

यह error graph में दोनों curves के बीच का vertical distance होता है।

Table Representation

मान लो:f(x)=exf(x) = e^x

और हम linear interpolation use कर रहे हैं।

Data Table

xActual Value f(x)f(x)Interpolated Value P(x)P(x)Error E(x)E(x)
1.02.7182.7000.018
1.23.3203.2800.040
1.54.4814.4000.081

Explanation

  • Actual Value → real function से
  • Interpolated Value → polynomial से
  • Error → difference

E(x)=f(x)P(x)E(x) = f(x) – P(x)

Important समझो:

  • अगर curves पास-पास हैं → error छोटा
  • अगर curves दूर हैं → error बड़ा

Practical Importance

Errors in polynomial interpolation को समझना बहुत जरूरी है क्योंकि:

  • इससे approximation की reliability पता चलती है
  • data analysis में estimated values की accuracy पता चलती है
  • computer applications में interpolation method choose करने में help मिलती है
  • engineering calculations में correct method selection possible होता है

Final Understanding

Interpolation polynomial द्वारा निकाली गई value हमेशा exact नहीं होती
Actual value और interpolated value के बीच का अंतर interpolation error कहलाता है
इसका general formula higher derivative पर आधारित होता है
यदि original function polynomial of degree nnn हो, तो degree nnn interpolation exact होता है
Error function की nature, degree और data points की choice पर depend करता है

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top