A Bézier curve turns a small set of control points into a smooth parametric path. The curve begins at the first control point and ends at the last. The control points in between pull on its shape without usually lying on the curve.
This is useful in computer-aided design because moving a control point changes the curve predictably while keeping the formula polynomial.
Linear interpolation
Let P0 and P1 be points with position vectors p0 and p1. The linear interpolation between them is
rP0P1(t)=(1−t)p0+tp1,0≤t≤1.
At the endpoints,
rP0P1(0)=p0,rP0P1(1)=p1.
The derivative is constant:
rP0P1′(t)=p1−p0.
So this curve is exactly the line segment from P0 to P1, traversed in that direction as t increases.
Quadratic Bézier curves
Now take three control points P0,P1,P2. For each value of t, first interpolate along the two adjacent control-polygon edges:
q0(t)q1(t)=(1−t)p0+tp1,=(1−t)p1+tp2.
Then interpolate between those two moving points:
rP0P1P2(t)=(1−t)q0(t)+tq1(t).
This repeated interpolation is the quadratic case of de Casteljau's construction. Expanding the formula gives
The coefficients are nonnegative on [0,1] and add to 1. Each curve point is therefore a weighted average of the control points.
The curve passes through its endpoints:
r(0)=p0,r(1)=p2.
Differentiate the expanded formula:
r′(t)=2(1−t)(p1−p0)+2t(p2−p1).
At the start and end,
r′(0)=2(p1−p0),r′(1)=2(p2−p1).
So the curve leaves P0 in the direction of P1 and reaches P2 in the direction from P1 to P2. It generally does not pass through P1; that point guides the curve's tangent directions and shape.
Cubic Bézier curves
Four control points P0,P1,P2,P3 produce two overlapping quadratic Bézier curves:
The cubic also begins at the first control point and ends at the last:
r(0)=p0,r(1)=p3.
Its endpoint derivatives are
r′(0)=3(p1−p0),r′(1)=3(p3−p2).
Thus P1 controls the initial tangent direction and P2 controls the final tangent direction. The curve normally passes through neither one.
Linear, quadratic, and cubic Bézier curves
What the control polygon tells us
Joining consecutive control points makes the control polygon. It is not the curve, but it gives a quick geometric reading:
The first and last control points are endpoints of the curve.
The first polygon edge gives the starting tangent direction.
The last polygon edge gives the ending tangent direction.
Interior control points pull the curve toward themselves but are not interpolation points in general.
Repeated interpolation keeps the whole curve inside the convex hull of its control points.
The same recursive construction works for higher degrees. Cubics are especially common because four control points already provide useful control over position and endpoint tangents without making the polynomial too complicated.