Math 2.0

Approximations and expansions Definition

Lagrange polynomial

Builds on Polynomial ringDegree of a polynomialPolynomial interpolation

Definition

Let n≥0n \ge 0, let x0,x1,…,xnx_0, x_1, \dots, x_n be pairwise distinct real numbers, and let y0,y1,…,yny_0, y_1, \dots, y_n be real numbers. For j=0,…,nj = 0, \dots, n, the Lagrange basis polynomial is ℓj(x)=∏0≤m≤nm≠jx−xmxj−xm.\ell_j(x) = \prod_{\substack{0 \le m \le n \\ m \ne j}} \frac{x - x_m}{x_j - x_m}. The Lagrange polynomial of the data (xj,yj)(x_j, y_j) is L(x)=∑j=0nyj ℓj(x).L(x) = \sum_{j=0}^{n} y_j \, \ell_j(x).

Remarks

Each ℓj\ell_j has degree nn, with ℓj(xj)=1\ell_j(x_j) = 1 and ℓj(xk)=0\ell_j(x_k) = 0 for k≠jk \ne j. So LL lies in the polynomial ring ℝ[x]\R[x], has degree at most nn, and satisfies L(xk)=ykL(x_k) = y_k for all kk. It is the unique polynomial with these properties: the difference of two of them has degree at most nn and n+1n + 1 roots, so it is 00. The same formula works over any field; this solves polynomial interpolation.

Example: nodes 0,1,20, 1, 2 with values 1,3,71, 3, 7. Here ℓ0=(x−1)(x−2)2\ell_0 = \frac{(x - 1)(x - 2)}{2}, ℓ1=−x(x−2)\ell_1 = -x(x - 2) and ℓ2=x(x−1)2\ell_2 = \frac{x(x - 1)}{2}. Then L=ℓ0+3ℓ1+7ℓ2=x2+x+1L = \ell_0 + 3 \ell_1 + 7 \ell_2 = x^2 + x + 1, and indeed L(0)=1L(0) = 1, L(1)=3L(1) = 3, L(2)=7L(2) = 7.

Non-example: if two nodes coincide, say x0=x1x_0 = x_1, the factor x−x1x0−x1\frac{x - x_1}{x_0 - x_1} in ℓ0\ell_0 has denominator 00, so the formula is not defined.

Reading path

To understand this page from the ground up, read these 6 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Group concept
  2. Polynomial interpolation concept
  3. Ring definition
  4. Polynomial ring definition
  5. Degree of a polynomial definition
  6. Lagrange polynomial definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Lagrange_polynomial
About this page
TagTEQNAME853
URIm2://TEQNAME853
Kinddefinition
WritingW0 stub
MSC41A05, 65D05, 26C05
DefinesLagrange polynomial
UsesPolynomial ring, Degree of a polynomial, Polynomial interpolation
Changed2 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.