Hermite interpolation

Hermite interpolation : cubic curve interpolating points and derivatives at extremities

Consider the following constraints
\(\left\{\begin{array}{l} p(s) = c_3 s^3 + c_2 s^2 +c_1 s +c_0 \\ p(0)=p_0, \; p(1)=p_1, \;p'(0)=d_0, \;p'(1)=d_1\end{array}\right.\)

\(\Rightarrow\) System of equations
\(\left\{\begin{array}{rrrr} &&&c_0& = p_0 \\ c_3\,+&c_2\,+&c_1\,+&c_0& = p_1 \\ &&c_1\;\;\;\,&& = d_0 \\ 3\, c_3\, +& 2\, c_2\, + &c_1\,\;\;\;&& = d_1 \\ \end{array} \right.\)
\(\Rightarrow\)
\(\left\{\begin{array}{llll} c_0=p_0 \\ c_1=d_0 \\ c_2 = -3 p_0 +3 p_1 -2 d_0 - d_1 \\ c_3 = 2 p_0 -2 p_1 + d_0 + d_1 \end{array}\right.\)



pictures/hermite_no_curve.svg
pictures/hermite.svg
9/47