In quadratic spline interpolation, a formula is given and all we really need to do is calculate the values $$S_i'(t_i) = z_i$$ In quadratic spline interpolation specifically, one has a single degree of freedom. Can we have 'zero' degrees of freedom by imposing the new condition: $$ \sum_{i=0}^n z_i^2 \ \text{is a minimum.}\ $$ If so, how would one impose this condition in practice, theoretically or algorithmically? Would one pick $z_0 = 0$, calculate the others, then $z_1 = 0$, calculate the others, ...., then $z_n = 0$, calculate the others, and then pick the solution that give the smallest sum of squares?
Or would one solve for the general, infinite solutions, and then somehow pick the list of possible $z_i$ with the smallest sum of squares? If so, how would this work, exactly, solving for the infinite solutions with $n+1$ unknowns, $n$ equations?
You can set this up as an underdetermined linear system for $z_0,\dots,z_n$, and then pick the solution with the smallest norm. Here's how:
Software like Matlab or Scilab offers built-in functions for least square solutions, saving you some of the above steps.