Assume the following representation for cubic splines with $T$ interior knots is given. Let
$g(Y)=\sum_{j=0}^3 \alpha_j Y_j+\sum_{t=1}^T \gamma_t (Y-\zeta_t)_{+}^{3}$
where $(Y-\zeta_t)_{+}:= max\{0,Y-\zeta_t\}$
1) How can we show that the natural boundary conditions for natural cubic splines results in the following linear constraints on the coefficients:
$\alpha_2 = 0, \sum_{t=1}^T \gamma_t=0$
$\alpha_3 = 0, \sum_{t=1}^T \zeta_t\gamma_t=0$
2) How can we use result of part (1) to derive the basis
$V_1(Y) = 1, V_2(Y) = Y, V_{t+2}(Y) = g_t(Y) − g_{t-1}(Y), t = \{1, ..., T − 2\}$
where
$g_t(Y)=\frac{(Y-\zeta_t)_{+}^{3}-(Y-\zeta_T)_{+}^{3}}{\zeta_T-\zeta_t}$
Thanks!
I'm going to prove 1) using a slightly different notation. As for 2) it's my first time seeing people use such a basis, I need some time. Could you give the source where this is from?
A natural spline of degree $2m+1$ is a function $s\in C^{2m}(\mathbb{R})$ that reduces to a polynomial of degree $\leq2m+1$ in each inner interval and to a polynomial of degree at most $m$ in $(-\infty,t_{1})$ and $(t_{n},\infty)$.
Theorem Every natural spline can be represented using truncated power functions as follows $$ s(x)=\sum_{k=0}^{m}\alpha_{k}x^{k}+\sum_{i=1}^{n}\beta_{i}(x-x_{i})_{+}^{2m+1} $$ with the coefficient conditions, $$ \sum_{i=1}^{n}\beta_{i}x_{i}^{k}=0,\qquad k=0,1,\ldots m $$
The coefficient conditions follow from the natural spline condition, $$ 0=s^{(m+1)}(x)\bigg|_{x\geq x_{n}}=\sum_{i=1}^{n}\beta_{i}(2m+1)(2m)\dots(m+1)(x-x_{i})^{m}, $$ the Binomial Theorem, $(x-x_{i})^{m}=\sum_{k=0}^{m}\binom{m}{k}x_{i}^{m-k}(-x_{i})^{k}$, and demanding that coefficients for each $k$ of this zero-polynomial vanish.
For cubic spline, $m=1$, note that the front low-degree poly is linear and the conditions are $\sum\beta_{i}=0$ and $\sum\beta_{i}x_{i}=0$.