Lagrange interpolation (Examples and Proof) (2024)

table of contents
- Lagrange interpolation
- Example 1: Linear interporation
- Example 2: Quadratic interpolation
- Example 3: Cubic interpolation
- Uniqueness

Lagrange interpolation

Let $f(x)$ be an arbitrary real function.

The nth degree polynomial passing through $n + 1$ points

Lagrange interpolation (Examples and Proof) (1)

is

Lagrange interpolation (Examples and Proof) (2)

, where $L_{j}(x)$ is the nth degree polynomial defined as

Lagrange interpolation (Examples and Proof) (3)

. $p(x)$ is called Langrange interporation.

Proof
Let

Lagrange interpolation (Examples and Proof) (4)

$$\tag{1}$$be $n+1$ points on a real function $f(x)$, where

Lagrange interpolation (Examples and Proof) (5)

Let $p(x)$ be the nth degree polynomial passing through $(1)$. $p(x)$ satisfies

Lagrange interpolation (Examples and Proof) (6)

$$\tag{2}$$(See fig. below).

Lagrange interpolation (Examples and Proof) (7)

We put $p(x)$ as

Lagrange interpolation (Examples and Proof) (8)

$$\tag{3}$$, where $L_{i}(x)$ $(i=0,1, \cdots,n)$ are nth degree polynomials.(The specific form of $L_{i}(x)$ has not been determined at this point.)
If $L_{i}(x)$ satisfy

Lagrange interpolation (Examples and Proof) (9)

, $p(x_{0}) = f(x_{0}) $.

If $L_{i}(x)$ satisfy

Lagrange interpolation (Examples and Proof) (10)

$p(x_{1}) = f(x_{1}) $.In the same way, we see thatif $L_{i}(x)$ satisfy,

Lagrange interpolation (Examples and Proof) (11)

$$\tag{4}$$, $p(x_{j}) = f(x_{j})$ $(j=0,1,\cdots,n)$.
In $(4)$, $L_{0}(x_{i}) = 0$ for $i =1, 2, \cdots, n$.By the factor theorem, $L_{0} (x)$ can be expressed as

Lagrange interpolation (Examples and Proof) (12)

, where $\alpha_{0} $ is a constant.By $L_{0}(x_{0}) = 1$, it is derived as

Lagrange interpolation (Examples and Proof) (13)

Therefore we obtain

Lagrange interpolation (Examples and Proof) (14)

In a similar way, since $L_{1}(x_{i}) = 0$ for $i =0,2,3\cdots,n$, by the factor theorem, we obtain$L_{1}(x)$ can be written as

Lagrange interpolation (Examples and Proof) (15)

, where $\alpha_{1} $ is a constant.By $L_{1}(x_{1}) = 1$, it is derived as

Lagrange interpolation (Examples and Proof) (16)

. Therefore we obtain

Lagrange interpolation (Examples and Proof) (17)

By repeating the same discussion,we can derive $L_{j}(x)$ for $j = 0,1,\cdots, n$ as

Lagrange interpolation (Examples and Proof) (18)

. This expression can be written by the symbol $\prod$ as

Lagrange interpolation (Examples and Proof) (19)

$$\tag{5}$$
Substituing $(5)$ into $(3)$, we have

Lagrange interpolation (Examples and Proof) (20)

It is clear that this function passes through points $(1)$ (that is, it satisfies $(2)$), since $L_{j}(x)$ satisfies $(4)$.
Approximating the original function $f (x)$ with the polynomial function $p (x)$ defined in this way, that is,

Lagrange interpolation (Examples and Proof) (21)

is called Lagrange interpolation.

Lagrange's interpolation is a formula for finding a polynomial that approximates the function $f(x)$, but it simply derives a nth degree function passing through $n + 1$ given points.

Example 1: Linear interpolation

Let $f (x)$ be a function that passes through two points

Lagrange interpolation (Examples and Proof) (22)

.Find the linear function $p (x)$ that passes through these two points using Lagrange's interpolation formula.

Answer
Lagrange's interpolation formula that gives the linear function passing through two points

Lagrange interpolation (Examples and Proof) (23)

is

Lagrange interpolation (Examples and Proof) (24)

In this example,

Lagrange interpolation (Examples and Proof) (25)

We obtain

Lagrange interpolation (Examples and Proof) (26)

Lagrange interpolation (Examples and Proof) (27)

Example 2: Quadratic interpolation

Let $f (x)$ be a function that passes through three points

Lagrange interpolation (Examples and Proof) (28)

.Find the quadratic function $p (x)$ that passes through these three points using Lagrange's interpolation formula.

Answer
Lagrange's interpolation formula that gives the quadratic function passing through three points

Lagrange interpolation (Examples and Proof) (29)

is

Lagrange interpolation (Examples and Proof) (30)

In this example,

Lagrange interpolation (Examples and Proof) (31)

We obtain

Lagrange interpolation (Examples and Proof) (32)

Lagrange interpolation (Examples and Proof) (33)

Example 3: Cubic interpolation

Let $f (x)$ be a function that passes through four points

Lagrange interpolation (Examples and Proof) (34)

.Find the qubic function $p (x)$ that passes through these four points using Lagrange's interpolation formula.

Answer
Lagrange's interpolation formula that gives the qubic function passing through four points

Lagrange interpolation (Examples and Proof) (35)

is

Lagrange interpolation (Examples and Proof) (36)

In this example,

Lagrange interpolation (Examples and Proof) (37)

We obtain

Lagrange interpolation (Examples and Proof) (38)

Lagrange interpolation (Examples and Proof) (39)

Uniqueness

A polynomial of degree $n$

Lagrange interpolation (Examples and Proof) (40)

that passes through $n+1$ different points

Lagrange interpolation (Examples and Proof) (41)

$$\tag{1}$$is unique.There is no polynomial that passes though the different $n+1$ points and that is different from the Lagrange's interporation formula.

Proof

Problems solving a system of linear equations
Let $f(x)$ be a polynomial of degree $n$ defined as

Lagrange interpolation (Examples and Proof) (42)

, and that passes through $n+1$ different points,

Lagrange interpolation (Examples and Proof) (43)

. We have

Lagrange interpolation (Examples and Proof) (44)

$$ \tag{2}$$
Let $X$ be an $(n+1) \times (n+1)$ matrix, and $\mathbf{a}$ and $\mathbf{y}$ be $n$ dimensional vectors defined as

Lagrange interpolation (Examples and Proof) (45)

. Equations $(2)$ can be written as

Lagrange interpolation (Examples and Proof) (46)

$$\tag{3}$$
Equation $(3)$ ( or $(2)$) isa system of $n+1$ linear equations with $n+1$ unknowns.

$X$ is non-singular

In order for the function $f (x)$ to be unique, each coefficient $a_{0}, a_{1}, \cdots, a_{n}$ must be unique.To be so, the solution of system of linear equations $(2)$, that is $\mathbf{a}$, must be unique.

A necessary and sufficient condition for the system of linear equations whose coefficient matrix is a square matrix to have a single solution is that the coefficient matrix is a non-singular matrix (a matrix having and inverse matrix).Therefore, if it is shown that the coefficient matrix of $(3)$ is a non-singular matrix, it means that the solution of $(3)$ is unique.
Let us focus on the coefficient matrix $X$.The transpose matrix of $X$ is a Vandermonde matrix

Lagrange interpolation (Examples and Proof) (47)

It is known that the determinant of the Vandermonde matrix is given as

Lagrange interpolation (Examples and Proof) (48)

, where $\prod_{1 \leq i < j \leq n}$ means thatall $( x_{j}- x_{i} )$ are multiplied if $1 \leq i < j \leq n$.Specifically,

Lagrange interpolation (Examples and Proof) (49)

In our discussion,every $x_{i}$ is different.If $i \neq j$, $x_{i} \neq x_{j}$.We have

Lagrange interpolation (Examples and Proof) (50)

Generally, the determinant of the transposed matrix is equal to the determinant of the original matrix.We have

Lagrange interpolation (Examples and Proof) (51)

Since a matrix whose determinant is not $0$ is a non-singular matrix, $X$ is shown to be a non-singular matrix.

Conclusion

As described above, the coefficient matrix $ X $ of the system of linear equations $(3)$ is a non-singular matrix and therefore has the unique solution.Solving $(2)$ gives the unique coeffient $a_{0}, a_{1} \cdots, a_{n}$.The function of $f(x)$ is uniquely determined.Therefore,a function that passes through different $n+1$ points is unique.

Lagrange interpolation (Examples and Proof) (2024)

FAQs

What is the Lagrange interpolation formula? ›

Lagrange Interpolation Formula finds a polynomial called Lagrange Polynomial that takes on certain values at an arbitrary point. It is an nth-degree polynomial expression of the function f(x). The interpolation method is used to find the new data points within the range of a discrete set of known data points.

What are the disadvantages of Lagrange interpolation? ›

In this context the biggest disadvantage with Lagrange Interpolation is that we cannot use the work that has already been done i.e. we cannot make use of while evaluating . With the addition of each new data point, calculations have to be repeated. Newton Interpolation polynomial overcomes this drawback.

What is an example of interpolation method? ›

Interpolation definition says that interpolation is to estimate the value of a point between two given points in a data set. For example, if a child's height was measured at age 5 and age 6, interpolation could be used to estimate the child's height at age 5.5.

What are Lagrange polynomials used for? ›

Uses of Lagrange polynomials include the Newton–Cotes method of numerical integration, Shamir's secret sharing scheme in cryptography, and Reed–Solomon error correction in coding theory. For equispaced nodes, Lagrange interpolation is susceptible to Runge's phenomenon of large oscillation.

What is the general formula for Lagrangian? ›

For many systems, L = T − V, where T and V are the kinetic and potential energy of the system, respectively. The stationary action principle requires that the action functional of the system derived from L must remain at a stationary point (a maximum, minimum, or saddle) throughout the time evolution of the system.

What is the distance formula for Lagrange? ›

Minimum Distance:

The point ( x , y , z ) is attained by using the Lagrange multiplier method that is F ( x , y , z ) = S − λ ( f ( x , y , z ) ) where is the square of the distance of the point and the plane.

What is the easiest method for solving interpolation? ›

One of the simplest methods is linear interpolation (sometimes known as lerp). Consider the above example of estimating f(2.5). Since 2.5 is midway between 2 and 3, it is reasonable to take f(2.5) midway between f(2) = 0.9093 and f(3) = 0.1411, which yields 0.5252.

What is the simplest method of interpolation? ›

One of the simplest methods, linear interpolation, requires knowledge of two points and the constant rate of change between them. With this information, you may interpolate values anywhere between those two points.

What is the best interpolation method? ›

In terms of the ability to fit your data and produce a smooth surface, the Multiquadric method is considered by many to be the best. All of the Radial Basis Function methods are exact interpolators, so they attempt to honor your data.

What is the real world application of Lagrange interpolation? ›

Numerical Analysis: Lagrange Interpolation is widely used in numerical analysis. It helps find approximate values of a function at points within a given range based on known data points. This is crucial for solving real-world problems in various fields, including science, engineering, and computer science.

What is the alternative to Lagrange interpolation? ›

2: Newton interpolation. Newton interpolation is an alternative to the Lagrange polynomial. Though it appears more cryptic, it allows for incremental interpolation and provides an efficient way to find an explicit formula y=a0+a1x+⋯+anxn.

What is the uniqueness of Lagrange interpolation? ›

The polynomials l0,l1,...,ln are called the Lagrange polynomials. The uniqueness of interpolation tells us that different ways of writing the interpolating polyno- mial p(x) are really the same, and must therefore differ on numerical grounds (such as compactness, stabilities, efficiency, . . . ).

What is the formula for Lagrange's theorem? ›

Lagrange's Mean Value Theorem Statement: It states that if f(x) is a function such that: f(x) is continuous on [a, b] f(x) is differentiable on the open interval (a, b) Then there exists at least one real number c ∈ (a, b) such that: f′(c)=f(b)−f(a)b−a.

What is the Lagrange equation statement? ›

A Lagrange Equation is defined as an equation of motion in physics that relates the time derivative of the partial derivative of the Lagrangian function with respect to a generalized coordinate to the partial derivative of the Lagrangian function with respect to that coordinate.

What is Lagrange equation with its expression? ›

The Lagrange equation is derived by applying variational calculus and the first law of thermodynamics, or the conservation of energy. Since the energy of a particle, or a system of particles, is a function of its position, velocity and the time, it can be expressed as: [I.32] F = F q 1 , … , q n , q ¨ 1 … , q ¨ n , t.

Top Articles
Advanced Stock Pattern Prediction using LSTM with the Attention Mechanism in TensorFlow: A step by…
A Step-by-Step Guide to Applying for Training Programs in the U.K. – Training Express
Worcester Weather Underground
7 Verification of Employment Letter Templates - HR University
Busted Newspaper Zapata Tx
Valley Fair Tickets Costco
Get train & bus departures - Android
Insidious 5 Showtimes Near Cinemark Tinseltown 290 And Xd
Mylaheychart Login
Jonathan Freeman : "Double homicide in Rowan County leads to arrest" - Bgrnd Search
Nikki Catsouras Head Cut In Half
Urban Dictionary Fov
Shemal Cartoon
Huge Boobs Images
charleston cars & trucks - by owner - craigslist
Pricelinerewardsvisa Com Activate
Soccer Zone Discount Code
Transfer and Pay with Wells Fargo Online®
E22 Ultipro Desktop Version
White Pages Corpus Christi
Bing Chilling Words Romanized
Uta Kinesiology Advising
Craigslist Lewes Delaware
Japanese Mushrooms: 10 Popular Varieties and Simple Recipes - Japan Travel Guide MATCHA
California Online Traffic School
Craigslist Lake Charles
Criterion Dryer Review
Blackboard Login Pjc
Ticket To Paradise Showtimes Near Cinemark Mall Del Norte
Danielle Moodie-Mills Net Worth
Our 10 Best Selfcleaningcatlitterbox in the US - September 2024
Core Relief Texas
Purdue Timeforge
Wega Kit Filtros Fiat Cronos Argo 1.8 E-torq + Aceite 5w30 5l
Grandstand 13 Fenway
Sun-Tattler from Hollywood, Florida
Unlock The Secrets Of "Skip The Game" Greensboro North Carolina
Back to the Future Part III | Rotten Tomatoes
Pitchfork's Top 200 of the 2010s: 50-1 (clips)
Craigslist Boats Eugene Oregon
World History Kazwire
Philadelphia Inquirer Obituaries This Week
Rage Of Harrogath Bugged
Japanese Big Natural Boobs
Verizon Outage Cuyahoga Falls Ohio
Craigslist Pets Plattsburgh Ny
How Much Is 10000 Nickels
Sky Dental Cartersville
8 4 Study Guide And Intervention Trigonometry
Walmart Listings Near Me
March 2023 Wincalendar
The Love Life Of Kelsey Asbille: A Comprehensive Guide To Her Relationships
Latest Posts
Article information

Author: Rev. Porsche Oberbrunner

Last Updated:

Views: 6011

Rating: 4.2 / 5 (73 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Rev. Porsche Oberbrunner

Birthday: 1994-06-25

Address: Suite 153 582 Lubowitz Walks, Port Alfredoborough, IN 72879-2838

Phone: +128413562823324

Job: IT Strategist

Hobby: Video gaming, Basketball, Web surfing, Book restoration, Jogging, Shooting, Fishing

Introduction: My name is Rev. Porsche Oberbrunner, I am a zany, graceful, talented, witty, determined, shiny, enchanting person who loves writing and wants to share my knowledge and understanding with you.