Lagrange interpolating polynomial through n+1 points (x_0,y_0),...,(x_n,y_n): the polynomial L(x) of degree <= n with L(x_i)=y_i is:
n+1 புள்ளிகள் (x_0,y_0),...,(x_n,y_n): L(x_i) =y_i உடன் <= n இன் பல்லுறுப்புக்கோவை L(x):
- aL(x) = (y_n-y_0)/(x_n-x_0)*(x-x_0)+y_0
- bL(x) = y_0 + y_1*x + ... + y_n*x^n — L(x) = y_0 + y_1*x + ... + y_n* x^n
- cL(x) = sum y_i — L(x) = கூட்டுத்தொகை y_i
- dL(x) = sum_{i=0}^{n} y_i * l_i(x) where l_i(x) = product_{j!=i} (x-x_j)/(x_i-x_j) — L(x) = sum_{i=0}^{n} y_i * l_i(x) இங்கு l_i(x) = தயாரிப்பு_{j!=i} (x-x_j)/(x_i-x_j)✓ Correct
Explanation
Lagrange basis: l_i(x_j) = delta_{ij} (1 if i=j, 0 otherwise). The interpolating polynomial is the unique polynomial of degree <= n agreeing with y_i at x_i. Cost: O(n^2) to evaluate at a single point. Newton's form is more efficient for adding points.
லேகிரேஞ்ச் அடிப்படையில்: l_i(x_j) = டெல்டா_{ij} (1 என்றால் i=j, 0 இல்லையெனில்). இடைக்கணிப்பு பல்லுறுப்புக்கோவை என்பது x_i இல் y_i உடன் ஒத்துப் போகும் <= n பட்டத்தின் தனித்துவமான பல்லுறுப்புக்கோவை ஆகும். விலை: ஒரே புள்ளியில் மதிப்பிட L(x_i)0. புள்ளிகளைச் சேர்ப்பதற்கு நியூட்டனின் வடிவம் மிகவும் திறமையானது.