Cubic Spline for a function

416 Views Asked by At

I have the function $f(x)=x^3$ and I need to find the cubic spline. The given points are: $\{-1, 0, 1\}$. What is the cubic spline for this function and what would a demonstration to this be?
I would say that the cubic spline is $g(x) = x$, but I don't know if it is true or how to prove it is right (demonstrate it).
So that is my question, which is the cubic spline for $f(x)$ and how can I prove that that is the cubic spline?

1

There are 1 best solutions below

8
On

This function already is a cubic, so the cubic spline which approximates it is the function itself.

If this is not what you want, please try to explain your question more clearly.