MHB Sequence of Interpolating Values

  • Thread starter Thread starter Hero1
  • Start date Start date
  • Tags Tags
    Sequence
AI Thread Summary
The discussion focuses on constructing a sequence of interpolating values \(y_n\) for the function \(f(x) = \frac{1}{1+x^2}\) at the point \(1+\sqrt{10}\) using equidistant nodes. Participants highlight that using equidistant points can lead to Runge's phenomenon, where the interpolating polynomial diverges, especially at the edges of the interval. The error function associated with this divergence is discussed, emphasizing the behavior of the error at the interval's boundaries. A suggested solution to mitigate this issue is to use Chebyshev-Gauss-Lobatto points instead of equidistant points for better convergence. Overall, the conversation underscores the challenges and solutions related to polynomial interpolation in numerical analysis.
Hero1
Messages
9
Reaction score
0
Construct a sequence of interpolating values \(y_n\) to \(f(1 +\sqrt{10})\), where \(f(x)= \frac{1}{1+x^2 }\) for \(−5≤x≤5\), as follows: For each \(n = 1,2,…,10\), let \(h =\frac{10}{n}\) and \(y_n= P_n (1+\sqrt{10})\), where \(P_n(x)\) is the interpolating polynomial for \(f(x)\) at nodes \(x_0^n,x_1^n,…,x_n^n=−5+jh\), for each \(j=0,1,2,…,n\). Does the sequence \({y_n }\) appear to converge to \(f(1+\sqrt{10} )\)?
 
Last edited:
Mathematics news on Phys.org
Hero said:
Construct a sequence of interpolating values \(y_n\) to \(f(1 +\sqrt{10})\), where \(f(x)= \frac{1}{1+x^2 }\) for \(−5≤x≤5\), as follows: For each \(n = 1,2,…,10\), let \(h =\frac{10}{n}\) and \(y_n= P_n (1+\sqrt{10})\), where \(P_n(x)\) is the interpolating polynomial for \(f(x)\) at nodes \(x_0^n,x_1^n,…,x_n^n=−5+jh\), for each \(j=0,1,2,…,n\). Does the sequence \({y_n }\) appear to converge to \(f(1+\sqrt{10} )\)?

Hi Hero, :)

I am not very clear about your question. Do you have to construct interpolating polynomials for each, \(\frac{10}{n}\) where \(n=1,2,\cdots,10\) separately?

Kind Regards,
Sudharaka.
 
Hero said:
Construct a sequence of interpolating values \(y_n\) to \(f(1 +\sqrt{10})\), where \(f(x)= \frac{1}{1+x^2 }\) for \(−5≤x≤5\), as follows: For each \(n = 1,2,…,10\), let \(h =\frac{10}{n}\) and \(y_n= P_n (1+\sqrt{10})\), where \(P_n(x)\) is the interpolating polynomial for \(f(x)\) at nodes \(x_0^n,x_1^n,…,x_n^n=−5+jh\), for each \(j=0,1,2,…,n\). Does the sequence \({y_n }\) appear to converge to \(f(1+\sqrt{10} )\)?

That is a classical 'example' of 'divergence' of a interpolating polynomial with equidistant points that was 'discovered' by the German Mathematician C.D.T. Runge. See...

Runge's phenomenon - Wikipedia, the free encyclopedia

The 'error function' is given by...

$\displaystyle f(x)-p(x)= \frac{f^{(n+1)}(\xi)}{(n+1)!}\ \prod_{k=1}^{n+1} (x-x_{k})$ (1)

... where $\xi$ is in the definition interval of f(*). In general is the behavior of the error at the edges of interval that causes divergence...

Kind regards

$\chi$ $\sigma$
 
chisigma said:
That is a classical 'example' of 'divergence' of a interpolating polynomial with equidistant points that was 'discovered' by the German Mathematician C.D.T. Runge. See...

Runge's phenomenon - Wikipedia, the free encyclopedia

The 'error function' is given by...

$\displaystyle f(x)-p(x)= \frac{f^{(n+1)}(\xi)}{(n+1)!}\ \prod_{k=1}^{n+1} (x-x_{k})$ (1)

... where $\xi$ is in the definition interval of f(*). In general is the behavior of the error at the edges of interval that causes divergence...

Kind regards

$\chi$ $\sigma$

A good method to avoid the ‘Runde’s phenomenon’is to avoid to use equidistant point and to interpolate in the so called ‘Chebysheff-Gauss-Lobatto’ points given by …

$\displaystyle x_{k}= - \cos \frac{k\ \pi}{n}\,\ k=0,1,…,n$ (1)


For the details see…

http://mathdl.maa.org/images/upload_library/4/vol6/Sarra/Chebyshev.html

... where a very interesting 'animation' at the end of section 5.1 shows the better performance of the CGL points approach respect to the 'spontaneous' equidistant points approach...

Kind regards

$\chi$ $\sigma$
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top