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)
 
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
11K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
11K