Originally Posted by

**surjective** Hello,

I'm trying to show that the centered B-spline $\displaystyle B_{2}$ is given as:

$\displaystyle B_{2}(x)= \left\lbrace \begin{matrix}1+x, \hspace{0,3cm} x\in[-1,0]\\ 1-x , \hspace{0,3cm} x\in[0,1]\\0, \hspace{0,3cm} otherwise \end{matrix} \right.$

I know that the centered B-spline is given as:

$\displaystyle B_{m}(x)=N_{m}\left(x+\frac{m}{2}\right)$

The spline $\displaystyle N_{m}$ is given as:

$\displaystyle N_{m}(x)=\frac{1}{(m-1)!} \sum_{j=0}^{m}(-1)^{j} \left(\begin{matrix} m \\ j \end{matrix} \right) (x-j)_{+}^{(m-1)}$

Furthermore by definition:

$\displaystyle f(x)_{+}=\max(0,f(x))$

So far I have computed the centered B-spline $\displaystyle (m=2)$:

$\displaystyle B_{2}(x)=N_{1}(x+1)=(x+1)_{+}-2(x)_{+}+(x-1)_{+}$

Could someone assist me getting from here to the function mentioned at the beginning?

Thanks very much indeed.