Let . A natural cubic spline has . The interior spline equation on equal unit intervals isso . The standard second-derivative interpolation formula, or direct integration of the linear second derivative, givesThe two pieces have equal value, first derivative, and second derivative at one, and vanishes at zero and two.
Adding the linear function changes the nodal data by without affecting second derivatives. By uniqueness, the second requested natural cubic spline is , with pieces and respectively.
Articles by others on the same topic
There are currently no matching articles.