MHB Is f in the vector space of cubic spline functions?

Click For Summary
The discussion centers on determining if the function f(x) = ||x|^3 - |x + 1/3|^3| belongs to the vector space of cubic spline functions S_{X,3} defined on the interval [-1,1]. It is established that f(x) is piecewise defined and consists of polynomials of degree less than or equal to 3. However, concerns arise regarding the continuity of f, particularly at the point x = -1/3, where the derivative is expected to be discontinuous. Participants suggest expanding the inner expression to eliminate absolute values and better analyze continuity across the defined intervals. The conclusion leans towards the idea that f may not meet the criteria for inclusion in S_{X,3}.
mathmari
Gold Member
MHB
Messages
4,984
Reaction score
7
Hey! :o

Let $S_{X,3}$ be the vector space of cubic spline functions on $[-1,1]$ in respect to the points $$X=\left \{x_0=-1, x_1=-\frac{1}{2}, x_2=0, x_3=\frac{1}{2}, x_4\right \}$$ I want to check if the function $$f(x)=\left ||x|^3-\left |x+\frac{1}{3}\right |^3\right |$$ is in $S_{X,3}$.

We have that \begin{align*}f(x)&=\left ||x|^3-\left |x+\frac{1}{3}\right |^3\right |\\ & =\begin{cases}|x|^3-\left |x+\frac{1}{3}\right |^3 , & |x|^3-\left |x+\frac{1}{3}\right |^3\geq 0 \\-|x|^3+\left |x+\frac{1}{3}\right |^3 , & |x|^3-\left |x+\frac{1}{3}\right |^3<0\end{cases} \\ & =\begin{cases}|x|^3-\left |x+\frac{1}{3}\right |^3 , & |x|^3\geq \left |x+\frac{1}{3}\right |^3 \\-|x|^3+\left |x+\frac{1}{3}\right |^3 , & |x|^3<\left |x+\frac{1}{3}\right |^3\end{cases} \\ & = \begin{cases}|x|^3-\left |x+\frac{1}{3}\right |^3 , & |x|\geq \left |x+\frac{1}{3}\right | \\-|x|^3+\left |x+\frac{1}{3}\right |^3 , & |x|<\left |x+\frac{1}{3}\right |\end{cases}\end{align*}

The function is piecewise a polynomial of degree smaller or equal to $3$, right?

Now we have to check if $f$ is continuous on $[-1,1]$.

How could we continue to get the definition of $f$ ? (Wondering)
 
Mathematics news on Phys.org
Yes. And those pieces should be between those $x_i$.
That is, between each $x_i$ and $x_{i+1}$ we should have a polynomial of degree $\le 3$.
It doesn't look like we will get that, since the derivative at $x=-\frac 13$ will be discontinuous. (Worried)

mathmari said:
Now we have to check if $f$ is continuous on $[-1,1]$.

How could we continue to get the definition of $f$ ?

How about we start with the inner expression $|x|^3-\left |x+\frac{1}{3}\right|$ and expand it for the cases:
\begin{cases} -1 \le x<-\frac 13 \\ -\frac 13\le x < 0 \\ 0 \le x \le 1\end{cases}
Then all the absolute signs should disappear. (Thinking)
 
Seemingly by some mathematical coincidence, a hexagon of sides 2,2,7,7, 11, and 11 can be inscribed in a circle of radius 7. The other day I saw a math problem on line, which they said came from a Polish Olympiad, where you compute the length x of the 3rd side which is the same as the radius, so that the sides of length 2,x, and 11 are inscribed on the arc of a semi-circle. The law of cosines applied twice gives the answer for x of exactly 7, but the arithmetic is so complex that the...

Similar threads

Replies
4
Views
2K
Replies
4
Views
1K
Replies
4
Views
11K
Replies
1
Views
11K