Questions on interpolation, the estimation of the value of a function from given input, based on the values of the function at known points.

learn more… | top users | synonyms

5
votes
2answers
5k views

Implementation of Monotone Cubic Interpolation

I'm in need to implement Monotone Cubic Interpolation for interpolate a sequence of points. The information I have about the points are x,y and timestamp. I'm much more an IT guy rather than a ...
2
votes
1answer
153 views

There is a unique polynomial interpolating $f$ and its derivatives

I have questions on a similar topic here, here, and here, but this is a different question. It is well-known that a Hermite interpolation polynomial (where we sample the function and its derivatives ...
2
votes
2answers
266 views

Finding a simple spline-like interpolating function

I am looking for a continuous function $y=f(x,\alpha)$ for the interval $0\le x \le 1$ such that $0\le y \le 1$ and $y(0,\alpha)=0$ and $y(1,\alpha) = 1$ and $y(\alpha,\alpha) = 1-\alpha$ and $dy/dx|_{...
1
vote
1answer
132 views

A polynomial agreeing with a function and its derivatives

If we want $$p(x_i)=a_i, \qquad x_1 < \dotsb < x_{n+1},$$ then there is a unique polynomial of degree $\leq n$ that accomplishes this (Lagrange interpolation). If we want $$p(x_i)=a_i, \qquad ...
0
votes
0answers
62 views

Specific Root of Interpolating Polynomial

We define polynomial $P=(x-\beta)\cdot g(x)$, where degree of $P$ is fixed $n-1$, $\beta$ is chosen uniformly at random from the field of $p$ elements. We evaluate $P$ at some $x_i$ values. So we get $...
2
votes
1answer
5k views

How would I create a exponential ramp function from 0,0 to 1,1 with a single value to explain curvature?

I need an exponential function that will take linear input from 0,0 to 1,1 and give me back an exponential shaped curve such that changes in X near the 0 point result in small increases in Y, but each ...
9
votes
1answer
373 views

Interpolating the primorial $p_{n}\#$

The primorial $p_{n}\#$ is given by the product $p_n\# = \prod_{k=1}^n p_k$ (where $p_{k}$ is the $k$th prime) -- is there a natural (a la the gamma function $\Gamma(z)$) way of interpolating it for ...
5
votes
2answers
246 views

Find a smooth function with prescribed moments

In several contexts I’ve encountered variants of the following problem : let $m_0,m_1,m_2$ be real numbers such that $0 < m_1 < m_0$ and $\frac{m_1^2}{m_0} <m_2 < m_1$. Then, show that ...
3
votes
2answers
106 views

Smoothest function which passes through given points?

I am trying to interpolate/extrapolate on the basis of a known collection of (finitely many) points. I'm wondering if there is a way to formalize this intuitive notion: find a 'smoothest' function ...
1
vote
1answer
60 views

Trouble doing polynomial interpolation

I need to do a polynomial interpolation of a set $N$ of experimental points; the functional form I have to use to interpolate is this: $$ f(x) = a + bx^2 + cx^4,$$ as you can see the coefficient that ...
5
votes
2answers
407 views

$f(x)=1/(1+x^2)$. Lagrange polynomials do not always converge. why?

Let $f(x) = \frac{1}{1+x^2}$. Error of Interpolation with Lagrange polynomials for $n+1$ points is given by $$ e(x)=f(x)-P_n(x)=\frac{f^{(n+1)}(\eta_x)}{(n+1)!}\prod_{i=0}^n (x-x_i) $$ Carl Runge ...
1
vote
1answer
37 views

Estimate the difference between $f$ and $p$ interpolating $f$

Suppose $p$ is the unique polynomial of degree $\leq 2$ that agrees with a function $f$ at points $a_1 < a_2 < a_3$. If the third derivative $f^{(3)}$ exists, and $x\in (a_1,a_3)$, then we can ...
1
vote
1answer
3k views

Evaluate derivative of Lagrange polynomials at construction points

Assume, that we have points $x_i$ with $i=1,...,N+1$. We construct the Lagrange basis polynomials as \begin{align} L_j(x) = \prod_{k\not = j} \frac{x-x_k}{x_j-x_k} \end{align} Now according to my ...
0
votes
1answer
113 views

Polynomial Interpolation and Security

Let polynomial $P$ be $P(x)=g(x).(x−β)$, where $g$ is a polynomial and $\beta \leftarrow \mathbb{F}_p$. We evaluate $P$ at some $\textbf{x}=(x_1,..,x_n)$. This gives us $\textbf{y}=(y_1,..,y_n)$. ...
0
votes
1answer
91 views

Overlapping Polynomials

This question is related to this:Interpolating Polynomial & It's Root We have $P_3=P_2\cdot P_1$,for three non-zero polynomials. The degree of each polynomial is at least 1. Question: Does $...
11
votes
4answers
4k views

Polynomial fitting where polynomial must be monotonically increasing

Given a set of monotonically increasing data points (in 2D), I want to fit a polynomial to the data which is monotonically increasing over the domain of the data. If the highest x value is 100, I don'...
4
votes
1answer
103 views

Interpolation between iterated logarithms

I am investigating the family of functions $$\log_{(n)}(x):=\log\circ \cdots \circ \log(x)$$ Is there a known smooth interpolation function $H(\alpha, x)$ such that $H(n,x)=\log_{(n)}(x)$ for $n\in\...
6
votes
1answer
668 views

Cauchy Integral Formula for Matrices

How do I evaluate the Cauchy Integral Formula $f(A)=\frac{1}{2\pi i}\int\limits_Cf(z)(zI-A)^{-1}dz$ for a matrix $A=\left(\begin{array}{ccc}2&2&-5\\3&7&-15\\1&2&-4\end{array}\...
5
votes
1answer
1k views

Remainder term of Lagrange Interpolation Polynomial

Suppose $x_0,x_1,\ldots,x_n$ are $n+1$ distinct numbers in the interval $[a,b]$ and $f\in C^{n+1}[a,b]$. Then for each $x$ in $[a,b]$, there is a number $\xi$ in $(a,b)$ such that $$f(x) = P(x) + \...
4
votes
2answers
11k views

How to calculate interpolating splines in 3D space?

I'm trying to model a smooth path between several control points in three dimensions, the problem is that there doesn't appear to be an explanation on how to use splines to achieve this. Are splines a ...
3
votes
1answer
5k views

Construct / find the simplest function based on data

Let's say I have these 7 natural numbers (all between 0 and 255): 255, 23, 45, 32, 87, 52, 146 How can I find a function F(x) that, once computed, gives me back ...
9
votes
3answers
422 views

A Curious Binomial Sum Identity without Calculus of Finite Differences

Let $f$ be a polynomial of degree $m$ in $t$. The following curious identity holds for $n \geq m$, \begin{align} \binom{t}{n+1} \sum_{j = 0}^{n} (-1)^{j} \binom{n}{j} \frac{f(j)}{t - j} = (-1)^{n} \...
8
votes
0answers
605 views

What is the maximum overshoot of interpolating splines in $d$ dimensions?

Consider cubic splines $s( x, y )$ which interpolate values $y = \{ y_0, y_1, \dots,y_n \}$, on the uniform grid $\{ 0, 1,\dots, n \}$. Fix $s''(0) = s''(n) = 0$ (natural splines). How big can $$\...
6
votes
0answers
152 views

estimating a particular analytic function on a bounded sector.

Let $f(z)$ be an analytic function on $C^+=\{\Re z>0\}$, and we have the following (weaker) estimates $$ |f(re^{i\theta},a)|\leq C (r\cos\theta)^{-n}, ~~~r>0,-\frac{\pi}{2}<\theta<\frac{\...
6
votes
4answers
776 views

Proof of Schur's test via Young's inequality

I am able to prove the following generalization of Schur's test using the Riesz-Thorin interpolation theorem, however I have been stuck for days now trying to prove it using Young's inequality: Let ...
5
votes
1answer
422 views

Determining Coefficients of a Finite Degree Polynomial $f$ from the Sequence $\{f(k)\}_{k \in \mathbb{N}}$

Suppose $f$ is an unknown polynomial of degree $n$ (in one indeterminate) but the sequence $\{ f(k) \}_{k \in \mathbb{N}}$ is given. It is a nice exercise to show that one needs only the first $n+1$ ...
4
votes
1answer
262 views

Integer valued polynomial through some known points

I have 2 questions, but I'll put both of them here since they are closely related: An integer valued polynomials $P(x)$ is a polynomial whose value $P(n)\in\mathbb{N}$ for every $n\in\mathbb{N}$. 1-...
4
votes
3answers
132 views

Symmetry Of Differentiation Matrix

I have a problem computing numerically the eigenvalues of Laplace-Beltrami operator. I use meshfree Radial Basis Functions (RBF) approach to construct differentiation matrix $D$. Testing my code on ...
1
vote
0answers
83 views

Polynomial Interpolation When part of $y_i$'s are Shuffled

Hypothesis: Let $\vec{x}=[x_1,...,x_n]$ be elements of field $\mathbb{Z}_p$, where $p$ is a large prime. $x_i \neq x_j$, $x_i \in \mathbb{Z}_p$. Note $x_i$ values are NOT picked uniformly random and ...
7
votes
2answers
116 views

Modified Hermite interpolation

I asked similar questions here and here, but I tried to formulate this one in a sharper way. Is anyone aware of some literature on polynomial interpolation where we sample the function and its ...
5
votes
1answer
3k views

Natural cubic splines vs. Piecewise Hermite Splines

Recently, I was reading about a "Natural Piecewise Hermite Spline" in Game Programming Gems 5 (under the Spline-Based Time Control for Animation). This particular spline is used for generating a C2 ...
4
votes
2answers
209 views

How to make 3D object smooth?

I want to make the below picture into an egg with smooth surface. For the implementation in Mathematica, please, see this thread here. This thread considers mathematical methods to achieve the goal ...
4
votes
1answer
940 views

What is a cardinal basis spline?

Wikipedia says: the normalized cardinal B-splines tend to the Gaussian function and writes them as "Bk". Meanwhile, cnx.org Signal Reconstruction says: The basis splines Bn are shown ... ...
4
votes
2answers
2k views

Spline interpolation versus polynomial interpolation

What is the difference, if any, between spline interpolation and piecewise polynomial interpolation?
3
votes
2answers
1k views

Is there a cubic spline interpolation with minimal curvature?

I came across the term "cubic spline with minimal curvature". However, I am not able to find any documentations/explaination on its computation method. Can anyone help me by advising how I can go ...
2
votes
3answers
257 views

Lagrange Interpolation Theorem?

The polynomials $p(x) = 5x^3 - 27x^2 + 45x - 21$ and $q(x) = x^4 - 5x^3 + 8x^2 - 5x + 3$ both interpolate the points $(1,2) , (2,1) , (3,6), (4,47)$. Even though these polynomials are of different ...
2
votes
2answers
2k views

Multivariate function interpolation

I have a (nonlinear) function which takes as input 4 parameters and produces a real number as output. It is quite complex to compute the function value given a set of parameters (as it requires a very ...
2
votes
1answer
335 views

Interpolation inequality

Lef $u$ be at least a $C^2$ function on $\mathbb{R}^n$. Let's denote the gradient by $D$. Also, (using the multiindex notation), define the seminorm $$||D^ku|| = \sup_{|\gamma|=k}{\sup_x{|D^{\gamma}...
1
vote
1answer
576 views

How to find B-Spline represenation of an Akima spline?

Given points $t_i$ and values $y_i$, I'd like to use Akima interpolation to interpolate to a different set of locations $x_j$. This means I need to calculate the cubic polynomials $A_{3,t}(x)$. Given ...
1
vote
0answers
19 views

Under what condition given $(x_1, y_1\cdot r_1),…,(x_n, y_n\cdot r_n)$ we can interpolate polynomial $T$ that has specific random root?

We know given $(x_1, y_1),...,(x_n, y_n)$ we can interpolate a polynomial $P$ of of degree at most $n-1$. Let us define polynomial $P=(x-\beta)\cdot g(x)$, where degree of $P$ is at most $n-1$, $\...
4
votes
1answer
557 views

Hermite Interpolation of $e^x$. Strange behaviour when increasing the number of derivatives at interpolating points.

I am trying to understand Hermite Interpolation. Here is my pedagogical example. I want to approximate $f(x)=e^x$ on the domain $[-1,1]$ using Hermite interpolation. I choose the Chebyshev zeros ...
4
votes
1answer
525 views

Fritsch and Carlson is non-linear?

I was reading about this interpolation method and saw that it was mentioned that the algorithm is non-linear. What does that exactly mean? I am confused because I don't get what is "non-linearity" in ...
4
votes
4answers
298 views

Profinite and p-adic interpolation of Fibonacci numbers

On the topic of profinite integers $\hat{\bf Z}$ and Fibonacci numbers $F_n$, Lenstra says (here & here) For each profinite integer $s$, one can in a natural way define the $s$th Fibonacci ...
4
votes
1answer
3k views

2D array downsampling and upsampling using bilinear interpolation

I am trying to understand how exactly the upsampling and downsampling of a 2D image I have, would happen using Bilinear interpolation. Now I am aware of how bilinear interpolation works using a 2x2 ...
3
votes
2answers
313 views

Uniform convergence of Lagrange polynomials

There is a well-known theorem that states that on a closed interval $[a,b]$ any continuous function is the limit of a uniformly convergent sequence of polynomials. Proofs for this theorem usually ...
3
votes
1answer
409 views

Curve through four points — simple algebra??

The motivation for this is Bezier curves. But, if you don't know what these are, you can skip down to the last paragraph, where the problem is described in purely algebraic terms. Suppose I want to ...
3
votes
3answers
656 views

The Weierstrass Approximation Theorem Vs The Runge's Phenomenon

I am learning about different interpolation methods in my internship. Today as I was looking this article on Wikipedia to learn about the Runge's Phenomenon exhibited by Polynomial Interpolation. I ...
2
votes
3answers
127 views

Does a sequence of moments determine the function?

Related questions and answers: Find a smooth function with prescribed moments When do equations represent the same curve? Consider a real valued integrable function $f(x)$ at the interval $a \le x \...
2
votes
0answers
83 views

Why the quadrature formula is exact one not an approximation?

I am reading this material on the algorithm of calculating the centroid of a polyhedron. I am confused by the last step of the deduction: The three coordinates of the centroid can be obtained: ...
2
votes
4answers
196 views

Function generation by input $y$ and $x$ values

I wonder if there are such tools, that can output function formulas that match input conditions. Lets say I will make input like that: $y=0, x=0$ $y=1, x=1$ $y=2, x=4$ and tool should ...