Derivation of Lagrange Family of Interpolation functions

Click For Summary

Discussion Overview

The discussion revolves around the derivation of Lagrange interpolation functions, specifically focusing on the formula for linear interpolation functions and the meaning of the ellipsis in the equation provided. Participants explore the conditions under which these functions are defined and how specific cases, such as the calculation of ψ1(ξ), are derived.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants seek clarification on the meaning of the ellipsis in the Lagrange interpolation formula, suggesting it indicates a continuation of terms based on the indices.
  • There is a discussion about the conditions under which ψi(ξj) equals 1 or 0, depending on whether i equals j.
  • One participant questions how the specific form of ψ1(ξ) is derived, expressing confusion over the calculations presented.
  • Another participant points out that the definition of ψi is dependent on the number of points n, and provides a specific example for n = 2.
  • Some participants reference external sources, such as textbooks and Wikipedia, for further clarification on the topic.

Areas of Agreement / Disagreement

Participants express varying levels of understanding regarding the derivation of the interpolation functions, with some agreeing on the meaning of the ellipsis while others remain confused about specific calculations. The discussion does not reach a consensus on the derivation of ψ1(ξ).

Contextual Notes

There are unresolved questions regarding the assumptions made in the derivation of the interpolation functions, particularly concerning the specific values of ξ1 and ξ2 in the context of n = 2.

bugatti79
Messages
786
Reaction score
4
Folks,

I am puzzled how the linear interpolation functions (see attached) were determined based on the following equation below

##\displaystyle \psi_i=\frac{(\xi-\xi_1)(\xi-\xi_2)...(\xi-\xi_{i-1})(\xi-\xi_{i+1})...(\xi-\xi_n)}{(\xi_i-\xi_1)(\xi_i-\xi_2)...(\xi_i-\xi_{i-1})(\xi_i-\xi_{i+1})...(\xi_i-\xi_n)}##

What do the dots represent above?

and

\psi_i(\xi_j)= 1 if ##i=j## and ##0## if ##i\ne j##

For example how is ##\psi_1(\xi)## determined?

thanks
 

Attachments

  • IMAG0178.jpg
    IMAG0178.jpg
    16 KB · Views: 467
Physics news on Phys.org
bugatti79 said:
Folks,

I am puzzled how the linear interpolation functions (see attached) were determined based on the following equation below

##\displaystyle \psi_i=\frac{(\xi-\xi_1)(\xi-\xi_2)...(\xi-\xi_{i-1})(\xi-\xi_{i+1})...(\xi-\xi_n)}{(\xi_i-\xi_1)(\xi_i-\xi_2)...(\xi_i-\xi_{i-1})(\xi_i-\xi_{i+1})...(\xi_i-\xi_n)}##

What do the dots represent above?

and

\psi_i(\xi_j)= 1 if ##i=j## and ##0## if ##i\ne j##

For example how is ##\psi_1(\xi)## determined?


thanks

The dots mean fill in all the like terms for indices between the given. In this case, 3 to i-2 and i+2 to n-1.

For the second question, when j = i, the numerator and denominator are the same. When j ≠ i, one term of the numerator product = 0.
 
mathman said:
The dots mean fill in all the like terms for indices between the given. In this case, 3 to i-2 and i+2 to n-1.

For the second question, when j = i, the numerator and denominator are the same. When j ≠ i, one term of the numerator product = 0.

Sorry, I still don't follow...

I don't see how ##\psi_1(\xi)=\frac{1}{2}(1-\xi)## is obtained...?
 
bugatti79 said:
Folks,

I am puzzled how the linear interpolation functions (see attached) were determined based on the following equation below

##\displaystyle \psi_i=\frac{(\xi-\xi_1)(\xi-\xi_2)...(\xi-\xi_{i-1})(\xi-\xi_{i+1})...(\xi-\xi_n)}{(\xi_i-\xi_1)(\xi_i-\xi_2)...(\xi_i-\xi_{i-1})(\xi_i-\xi_{i+1})...(\xi_i-\xi_n)}##

What do the dots represent above?
The dots (...) are called an ellipsis, and appear as three periods. The ellipsis means "continuing in the same fashion." The first missing factor in both the numerator and denominator would be (x - x3) and the next would be (x - x4), and so on. (I don't see any purpose in writing ##\xi## when plain old x will do just fine.)
 
bugatti79 said:
I am puzzled how the linear interpolation functions (see attached) were determined based on the following equation below

##\displaystyle \psi_i=\frac{(\xi-\xi_1)(\xi-\xi_2)...(\xi-\xi_{i-1})(\xi-\xi_{i+1})...(\xi-\xi_n)}{(\xi_i-\xi_1)(\xi_i-\xi_2)...(\xi_i-\xi_{i-1})(\xi_i-\xi_{i+1})...(\xi_i-\xi_n)}##

What do the dots represent above?

like any other dots like that which you see in a mathematical expression. it means "fill in the blank" with the continuing pattern.

it's not as good as my Applied Engineering Mathematics book from Kreyszig, but the wikipedia article on Lagrange polynomials should have the answers to your question.
 
bugatti79 said:
Folks,



##\displaystyle \psi_i=\frac{(\xi-\xi_1)(\xi-\xi_2)...(\xi-\xi_{i-1})(\xi-\xi_{i+1})...(\xi-\xi_n)}{(\xi_i-\xi_1)(\xi_i-\xi_2)...(\xi_i-\xi_{i-1})(\xi_i-\xi_{i+1})...(\xi_i-\xi_n)}##



##\psi_1(\xi)=\frac{1}{2}(1-\xi)## is obtained...?

##\displaystyle \psi_1=\frac{(\xi-\xi_1)(\xi-\xi_2)(\xi-\xi_{0})(\xi-\xi_{2})(\xi-\xi_1)}{(\xi_1-\xi_1)(\xi_1-\xi_2)(\xi_1-\xi_{0})(\xi_1-\xi_{2})(\xi_1-\xi_1)}##...?
 
bugatti79 said:
##\displaystyle \psi_1=\frac{(\xi-\xi_1)(\xi-\xi_2)(\xi-\xi_{0})(\xi-\xi_{2})(\xi-\xi_1)}{(\xi_1-\xi_1)(\xi_1-\xi_2)(\xi_1-\xi_{0})(\xi_1-\xi_{2})(\xi_1-\xi_1)}##...?

ξ1 - ξ1 is NOT a term in the denominator. Look at the definition of ψi, the ith term is left out of the numerator and denominator.

Where did you get the expression for ψ1(ξ)?
 
mathman said:
ξ1 - ξ1 is NOT a term in the denominator. Look at the definition of ψi, the ith term is left out of the numerator and denominator.

Where did you get the expression for ψ1(ξ)?

Its the first equation shown in the picture in first post...
 
bugatti79 said:
Its the first equation shown in the picture in first post...

The pictures are slightly criptic. The important thing is that the definition of ψi depends on n. The particular item you ask about is for n = 2.
In that case:
ψ1(ξ) = (ξ-ξ2)/(ξ12), where ξ1= -1 and ξ2=+1.
 
  • #10
mathman said:
The pictures are slightly criptic. The important thing is that the definition of ψi depends on n. The particular item you ask about is for n = 2.
In that case:
ψ1(ξ) = (ξ-ξ2)/(ξ12), where ξ1= -1 and ξ2=+1.

OK, thanks
 

Similar threads

  • · Replies 36 ·
2
Replies
36
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 12 ·
Replies
12
Views
3K