21.12 Cardinal B-splines
In this section polynomials have complex coefficients and are read as functions on \(\mathbb {R}\), and \(r \geq 1\) is the order of the B-spline.
Let \(r \geq 1\). For \(0 \leq j \leq r\) let
The cardinal B-spline of order \(r\) is \(N_r(x) = B_j(x)\) for \(x \in [j, j+1)\), \(0 \leq j {\lt} r\), and \(N_r(x) = 0\) for \(x \notin [0, r)\).
Every \(B_j\) is a polynomial of degree \({\lt} r\).
\(B_{j+1} - B_j\) is a multiple of \((x - j - 1)^{r-1}\) for \(0 \leq j {\lt} r\).
\(B_r = 0\).
The first two statements are immediate. \(B_r(z)\) is \(\pm 1/(r-1)!\) times the \(r\)-th difference with step \(1\) at \(0\) of the polynomial \(t \mapsto (z - t)^{r-1}\) of degree \({\lt} r\), which vanishes (Lemma 21.2, here directly Mathlib’s statement for the step \(1\)).
So consecutive pieces of \(N_r\), including the zero pieces outside \([0, r)\), agree to order \(r - 2\) at the knots: \(N_r\) is a spline of order \(r\).
The \(r\) B-splines \(N_r(\cdot + j)\), \(0 \leq j {\lt} r\), restricted to \([0, 1)\) are the polynomials \(\beta _j(x) = B_j(x + j)\), and these form a basis of the polynomials of degree \({\lt} r\).
The shifted powers \((x + m)^{r-1}\), \(0 \leq m {\lt} r\), are linearly independent: the coefficients of a vanishing combination \(\sum _m g_m (x + m)^{r-1}\) give \(\sum _m g_m m^e = 0\) for \(e {\lt} r\), a Vandermonde system. They form a basis, since there are \(r\) of them. In this basis \(\beta _j = \frac{1}{(r-1)!} (x + j)^{r-1} + \sum _{m {\lt} j} (\ldots ) (x + m)^{r-1}\) is triangular, so the \(\beta _j\) span as well.
Let \(r \geq 1\). For every polynomial \(P\) of degree \({\lt} r\) there are coefficients \(c_n(P) \in \mathbb {C}\), \(n \in \mathbb {Z}\), such that for all \(i \in \mathbb {Z}\) and \(x \in [i, i+1)\)
that is, \(P = \sum _{n \in \mathbb {Z}} c_n(P) N_r(\cdot - n)\) on \(\mathbb {R}\). The coefficients \(c_n(P)\) depend linearly on \(P\).
On \([i, i+1)\) expand \(P(\cdot + i)\) in the basis of Lemma 21.65; let \(c_i(P)\) be the coordinate of \(\beta _0\) there. Since \(\beta _j(x + 1) = \beta _{j+1}(x) - c\, x^{r-1}\) with \(\beta _r = 0\) and \(x^{r-1} = (r-1)! \beta _0\), the coordinate \(j + 1\) of \(P(\cdot + i + 1)\) is the coordinate \(j\) of \(P(\cdot + i)\). By induction the coordinate \(j\) on \([i, i+1)\) is \(c_{i-j}(P)\), and \(\beta _j(x - i) = N_r(x - (i - j))\) there. Coordinates in a basis are linear.
Let \(r \geq 1\) and \(m, n \in \mathbb {Z}\) with \(n {\lt} m {\lt} n + r\). Then \(c_n\bigl((x - m)^{r-1}\bigr) = 0\).
By definition \(c_n(P)\) is the coordinate of \(\beta _0\) in the expansion of \(P(\cdot + n)\), and \((x + n - m)^{r-1} = (x - a)^{r-1}\) with \(a = m - n \in \{ 1, \dots , r - 1\} \). Since \(B_r = 0\) (Lemma 21.64), \(B_j = -\sum _{j {\lt} l \leq r} \frac{(-1)^l}{(r-1)!} \binom {r}{l} (x - l)^{r-1}\), so
By induction on \(a\), \((x - a)^{r-1}\) is a combination of \(\beta _1, \dots , \beta _{r-1}\), so its coordinate at \(\beta _0\) vanishes.