Spline functions are formed by joining polynomials together….  [T]he two polynomials are required to join smoothly. In the most common case, this means that the derivatives match up to the order one less than the degree.

image