Solution

ID: past-exam-of-the-probability-statistics-and-options-i-course-of-the-university-of-oxford/2008/p/2/solution

Let . A natural cubic spline has . The interior spline equation on equal unit intervals is
so . The standard second-derivative interpolation formula, or direct integration of the linear second derivative, gives
The 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.

New to topics? Read the docs here!