A spline usually refers to a curve that passes through specified points. A B-spline, however, usually does not pass through its control points. A single segment has the parametric form
x(t) = \frac{1}{6}[(1 - t)^{3}p_{0} + (3t^{3} - 6t^{2} + 4)p_{1} + (-3t^{3} + 3t^{2} + 3t + 1)p_{2} + t^{3}p_{3}] (14)
for 0 ≤ t ≤ 1, where p_{0} , p_{1} , p_{2} , and p_{3} are the control points. When t varies from 0 to 1, x(t) creates a short curve that lies close to \overline{p_{1}p_{2}} . Basic algebra shows that the B-spline formula can also be written as
x(t) = \frac{1}{6}[(1 - t)^{3}p_{0} + (3t(1 - t)^{2} - 3t + 4)p_{1} + (3t^{2}(1 - t) + 3t + 1)p_{2} + t^{3}p_{3}] (15)
This shows the similarity with the Bézier curve. Except for the 1/6 factor at the front, the p_{0} and p_{3} terms are the same. The p_{1} component has been increased by -3t + 4 and the p_{2} component has been increased by 3t + 1. These components move the curve closer to \overline{p_{1}p_{2}} than the Bézier curve. The 1/6 factor is necessary to keep the sum of the coefficients equal to 1. Figure 10 compares a B-spline with a Bézier curve that has the same control points.
1. Show that the B-spline does not begin at p_{0} , but x{0} is in conv { p_{0} , p_{1} , p_{2} }. Assuming that p_{0} , p_{1} , and p_{2} are affinely independent, find the affine coordinates of x(0) with respect to { p_{0} , p_{1} , p_{2} }.
2. Show that the B-spline does not end at p_{3} , but x(1) is in conv { p_{1} , p_{2} , p_{3} }. Assuming that p_{1} , p_{2} , and p_{3} are affinely independent, find the affine coordinates of x(1) with respect to { p_{1} , p_{2} , p_{3} }.