Find the smooth quadratic spline that interpolates the data
and has slope 1 at the origin.
Find the smooth quadratic spline that interpolates the data
and has slope 1 at the origin.
We are asked to find a smooth quadratic spline interpolating the three points above, along with the given that f_1'(0)=f_2'(0)=1. Since we wish to find splines going between three points, we will have two quadratic equations, which we denote
Note that we have a total of six unknown constants to solve for. Fortunately, using the three points and the restriction, we have the following six equations:
Looking at the second and third equations, we see immediately that c_1=c_2=0. Furthermore, looking at the fifth and sixth equations, we see that b_1=b_2=1. Turning now to the first equation, if we substitute our now known values for b_1 and c_1, we have
Similarly, looking at the fourth equation and substituting the known values of b_2 and c_2, we have
Thus, our solution is f_1(x)=x^2+x on the interval [-1,0] and f_2(x)=x on the interval [0,1].