Bernstein linear programming hierarchy for polynomial minimization Created 2026-10-05 Updated 2026-10-06
For of degree and , compute its degree- Bernstein basis coefficients and solve subject to , . This is a linear program with inequalities. The coefficients form a convex-combination enclosure of the polynomial values, so . Degree elevation of Bernstein coefficients makes the bounds monotone. For every , the polynomial is strictly positive, so positive Bernstein coefficients for a strictly positive polynomial gives an eventual feasible bound . Hence converges to the true minimum. Earlier indices can use a one-inequality program at any common coefficient-based lower bound, preserving the stated constraint count for every positive index.
Bernstein polynomial Created 2026-09-24 Updated 2026-10-14
For a function and an integer , its Bernstein polynomial isThe Bernstein basis supplies nonnegative weights whose sum is one. Equivalently, the weights are the probabilities of a binomial distribution, and the result is an expected value. At a given , this averages the sampled values with weights concentrated near .[ref]
The Weierstrass approximation theorem (Georgia Tech handout). The Weierstrass approximation theorem, Lemmas 0.1–0.2 and Theorem 0.3, printed pp. 1–2: weights, binomial moments and polynomial construction
The endpoints are exact: and . Interior sampled points need not be interpolated. For example, binomial distribution moments give and . Thus every affine function is reproduced exactly, whereas is generally changed. Bernstein polynomial degree preservation is a statement about degree of a polynomial, not equality of the entire polynomial.
For a continuous , the uniform continuity of and the variance explain uniform convergence. Split the expected value of the error into , where uniform continuity makes the change small, and its complement, whose probability is at most by Chebyshev's inequality. The bounded function bounds the remaining error. This proves convergence without assuming differentiability.
For , the tensor-product Bernstein polynomial is the expected value of for independent random variables . The same uniform continuity and coordinatewise variance estimates give uniform convergence for each fixed finite .
Bézier curve 2026-10-14
A Bézier curve is a parametric curve specified by control points in a Euclidean space and the Bernstein basis:Here is a binomial coefficient. Each coordinate is a polynomial of polynomial degree at most ; special choices of control points can lower the polynomial degree. The ordered control points form the control polygon. A cubic Bézier curve uses four control points and has the explicit formThe curve passes through and ; the interior control points steer its shape and need not lie on it.[ref]
https://ocw.mit.edu/courses/6-837-computer-graphics-fall-2012/aba8735cf2cf7c71ca5d29b46873309a_MIT6_837F12_Lec01.pdf. MIT 6.837, Bézier Curves and Splines, slides 23–31 and 45–47, 2012
For a worked example, chooseSubstituting these control points givesHere , so neither interior control point, both at height , lies on the curve. De Casteljau's algorithm computes the same point using only successive linear interpolations.
The endpoint tangent vectors follow from the Bézier derivative control polygon:Thus the curve leaves toward and arrives at from . These nonzero derivatives determine the endpoint tangent lines; if an endpoint derivative vanishes, that formula alone does not determine its tangent direction. Endpoint handles are useful when arranging a parametric first-derivative join of Bézier curves.
The parameter is usually not arc length. For this example,Equal steps in therefore do not generally travel equal distances. Distance along the curve is instead the arc length, given by the integral ; its derivative is the norm of the tangent vector and measures the rate of travel.
Two geometric facts make Bézier curves especially convenient for design. First, the Bernstein basis weights are nonnegative and form a partition of unity, since the binomial theorem gives . Hence is a convex combination of the control points and lies in their convex hull.[ref]
https://groups.csail.mit.edu/graphics/classes/6.838/S98/meetings/m15/. MIT 6.838, Bézier Curve and B-Spline Curve, §1.4.1, 1998
The convex hull is the smallest convex set containing the control points, not their axis-aligned bounding box. Here it is a trapezoid, strictly smaller than : the box corner is outside the convex hull. The curve need not fill or touch every edge of either enclosure. The convex hull guarantee concerns ; outside that interval weights can be negative.Second, applying an affine map to every control point gives exactly the same result as applying it to the entire curve. For ,This is affine equivariance of a geometric basis: a translation, rotation or shear mapping can be performed on a handful of control points. For example, transforms the four control points to and transforms the midpoint to , also obtained from the same weights .
These editable handles explain the usefulness of Bézier curves in computer aided geometric design, vector graphics paths and outline fonts: a small collection of points controls an entire smooth stroke, and resizing the design preserves its mathematical shape. Cambridge's computer-graphics notes describe their use in graphic design, typography and PostScript outlines. The industrial context includes Pierre Bézier's work at Renault and Paul de Casteljau's work at Citroën.[ref]
https://www.cl.cam.ac.uk/teaching/1415/CompGraph/cgip.pdf. Neil A. Dodgson and Peter Robinson, Cambridge Computer Graphics and Image Processing, slides 183 and 226–228, 2014
// Target: analysis.bigb
Bézier derivative control polygon Created 2026-10-14 Updated 2026-10-31
For a degree- Bézier curve, the th derivative has degree at most and control points . The first derivative follows by differentiating the Bernstein basis and shifting one summation index; iteration proves the general formula. A parameter interval of length multiplies these derivative controls by .
Computer aided geometric design Created 2026-10-14 Updated 2026-11-05
Computer aided geometric design develops representations and algorithms for creating, evaluating and modifying curves, parametric surfaces and solid geometry. A representation must support useful questions: where is a point on the shape, what is its tangent vector, do two pieces join smoothly, and can two objects intersect? Bézier curves, splines and subdivision surfaces trade local control, smoothness and computational cost in different ways.
For a simple Bézier curve, choose control points , and . Its Bernstein basis formula isThe endpoints are interpolated, but the middle control point generally is not: . Its position influences the bulge, while Bézier derivative control polygons specify endpoint tangents. This makes shape changes predictable from a small set of geometric inputs.[ref]
Curves and Surfaces in Geometric Modeling: Theory and Algorithms by Jean Gallier. Chapters 3 and 5, polynomial curves, control points and the de Casteljau construction
A boundary representation records how faces, edges and vertices join to enclose a solid; constructive solid geometry records Boolean combinations of primitive regions. These topological and geometric data play different roles. For computational queries, a bounding volume supplies a conservative approximation, while an exact limit representation or a controlled error bound is needed for reliable collision detection and intersection of subdivision limit surfaces.
// Target: geometry-and-topology.bigb
Control point Created 2026-10-14 Updated 2026-10-14
A control point is an editable geometric handle used to specify a curve or surface through a basis or refinement rule. The handle is part of the representation; it need not be a point on the resulting curve. In a Bézier curve, the control points are the geometric coefficients of the Bernstein basis. Joining them in order gives a control polygon, which makes the handles easy to manipulate without drawing the curve as a chain of line segments.[ref]
Curves and Surfaces in Geometric Modeling: Theory and Algorithms by Jean Gallier. §4.3, pp. 132–133: control points and Bernstein representation; §5.1, p. 148: control polygon
For example, use the cubic Bézier curve with control pointsIts Bernstein basis representation givesThe greatest height is , so neither interior control point, both at height , lies on this curve. The endpoint control points do lie on it: and . This separates interpolation, which requires passage through prescribed data, from an approximating representation, which uses handles to shape a curve without requiring passage through every handle. If measured points must be interpolated, choose control points to satisfy those constraints; simply using the measured points as the handles of a Bézier curve does not enforce interpolation.
Original cubic and the curve after moving only the interior control point P1 upward by one unit, with fixed endpoints and a smaller displacement at the same parameter
. Details. Now move only by the vector , giving . With the Bernstein basis and parameter unchanged, the new curve isAt this gives , a displacement despite moving the handle by a full unit. Both endpoints stay fixed because the coefficient vanishes there. Thus dragging a control point shapes a whole range of the curve; it does not generally drag an arbitrary selected point on the curve by the same vector. The control-point influence on a curve tells us exactly how much each parameter value moves.
Control-point influence on a curve 2026-10-14
For a parametric curve represented by fixed scalar functions and control points in Euclidean space, writeThe influence function of this handle is : the resulting displacement vector is , and its norm is . These are exact finite changes, not only a first-order estimate. Where is negative the displacement points opposite to . Where , the curve is unchanged at that parameter.
The influence coefficient 3t(1-t)^2 equals the vertical displacement for a unit upward move of P1, reaches 4/9 at t=1/3, and vanishes at both endpoints
. Details. For the cubic Bézier curve above, the Bernstein basis influence function is . Its derivative isIt increases up to and decreases thereafter on . Consequently the largest displacement at corresponding parameters isFor it is . This is a comparison at the same parameter. A geometric closest-distance comparison, as in a closest-point search on a subdivision curve, instead minimizes over another parameter:The closest parameter can differ from , so is not automatically a maximum closest-distance separation of the two curves. Neither parameter is assumed to be arc length.
The support of a function is the closure of the parameter values where . It bounds where a nonzero handle move can act, but may include boundary points where the actual displacement is zero. Here the support of a function is all of relative to the parameter domain, while the endpoints are unaffected. In contrast, a B-spline of order has support within in its spline knot sequence, so its handle affects only that parameter range; the support and Gram bandwidth of B-splines describes the same locality in another application. Changing the spline knots or the basis along with the handle requires a different comparison.
When the basis functions form a partition of unity, , each evaluation is an affine combination of the control points. Applying an affine map to all handles givesThis is affine equivariance of a geometric basis, also called affine covariance: affine maps preserve affine combinations. In particular, translating every handle by translates the whole curve by , whereas moving just one handle produces . The Bernstein basis has this partition of unity property.[ref]
Curves and Surfaces in Geometric Modeling: Theory and Algorithms by Jean Gallier. §4.3, pp. 132–133: Bernstein weights sum to one
Nonnegative weights further make evaluations convex combinations, giving the convex hull bound illustrated by the control polygon; nonnegativity is not needed for affine covariance.For a proof outline of the influence formula, subtract the two basis representations: every unchanged coefficient cancels, leaving . The same subtraction with several moved handles gives . No claim about interpolation, closest-point search on a subdivision curve or endpoint motion follows until the actual basis values are examined.
Cubic B-spline Bézier extraction Created 2026-10-14 Updated 2026-10-31
For the unit-spaced cubic cardinal B-spline on , the four scalar cubic Bernstein basis coefficient rows are , , and . Each row applies on its interval with local parameter in . They result from the compactly supported truncated-cube combination . Each graph piece is a cubic Bézier curve with abscissa controls .
De Casteljau's algorithm 2026-10-14
De Casteljau's algorithm evaluates a Bézier curve by repeated linear interpolation between neighboring control points. Fix , start with , and computeEach new row has one fewer point. The final point is . Use the same at every stage: it describes the fraction of each line segment traversed from its first endpoint toward its second. A cubic Bézier curve needs three levels containing , , and linear interpolations, respectively.[ref]
https://graphics.stanford.edu/courses/cs164-10-spring/Handouts/handout19.pdf. Stanford CS348a, Handout 19, §2.3, pp. 10–11
For the Bézier curve with control points , , , , evaluation at takes the midpoint of every neighboring pair. The first level givesThe second level givesand the third level givesThe intermediate control polygons shrink toward the evaluated point. Each step is a convex combination, giving a geometric explanation of the convex hull property; every step also commutes with an affine map.
Cubic Bézier curve, its convex hull and bounding box, and the three levels of De Casteljau's algorithm at t = 1/2
. Details. The same construction splits the Bézier curve exactly, with no approximation. The outer edges of the triangular array give the new control points: for a cubic, specify the left piece and specify the right piece.[ref]
https://graphics.stanford.edu/courses/cs164-10-spring/Handouts/handout19.pdf. Stanford CS348a, Handout 19, §2.3, p. 11, subsegment control points
At these two lists areWrite and for the Bézier curves defined by these lists, each with its own parameter . ThenTheir images reproduce the original curve, while their derivatives account for the shorter parameter intervals. At the join,The chain rule gives ; in the original parameter, both pieces have derivative . This is the interval scaling in the parametric first-derivative join of Bézier curves.Exact midpoint subdivision with two smaller control polygons, endpoint tangent directions, and equally spaced parameter samples
. Details. Repeated midpoint splitting is useful for drawing vector graphics paths: each piece has a smaller control polygon and its own convex hull enclosure. A renderer can refine pieces until they are sufficiently close to line segments at the chosen display scale. Evaluating and splitting it are thus two results of the same short algorithm.
For a proof outline, expanding the recursion givesPascal's identity proves this by induction; at , it is precisely the Bernstein basis formula for the Bézier curve. The geometric construction remains useful even when expanding the polynomial by hand would be cumbersome.
// Target: analysis.bigb
Degree elevation of Bernstein coefficients 2026-10-05
Write in the Bernstein basis. Representing the same polynomial at degrees and gives the displayed convex combinations for internal indices; the endpoint coefficients are copied. Therefore the minimum coefficient cannot decrease under degree elevation. In the unnormalized basis , the elevated coefficients are with the corresponding endpoint convention, so nonnegativity certificates are preserved.
For a fixed , De Casteljau's algorithm first takes the same fractional position along both adjacent sides of the control polygon:It then applies another linear interpolation with that same :This is the degree-two Bernstein basis representation of a quadratic Bézier curve. Its coordinate polynomials areThe degree is exactly two, since its second derivative is nonzero. As a check on the construction, at the two intermediate points are and and their midpoint is .
Three useful geometric properties, with their concrete consequences here, are:
- Endpoint interpolation. and . The middle control point is a handle, not an interpolated point: , so the curve never reaches .
- Endpoint tangents. and . Thus the tangent lines are parallel to the first and last sides of the control polygon, respectively; both endpoint derivatives are nonzero.
- Convex-hull containment. The three Bernstein basis weights are nonnegative and sum to one on . Every is therefore a convex combination of , so the entire Bézier curve lies in their filled triangle.
These give the compact answerThe same sum-to-one calculation also explains affine equivariance of a geometric basis: applying an affine map to the handles applies that map to the curve.
Choose a quadratic uniform B-spline segment on a unit spline knot interval. This choice is useful because adjacent pieces can later share de Boor points at simple, equally spaced spline knots. Its three active basis pieces on local areThey follow from the Cox-de Boor recurrence for degree two and consecutive integer spline knots. If the three de Boor points are , then the equivalent Bézier curve handles areOne can verify this conversion simply by substituting these expressions into the Bernstein basis formula and collecting each . Solving givesThe desired matrix representation is thereforeThe left row is again the monomial row, the middle matrix contains the monomial coefficients of , and the right matrix lists the de Boor points. Unlike the Bézier curve basis matrix, the constant row averages two handles. A clamped B-spline with repeated end spline knots could instead reuse directly; the simple uniform convention above specifies which representation is being used and supplies the shared handles required for the extension.
Past exam of the mathematics course of the University of Cambridge 2001 iii Paper 58 2 Solution Created 2026-10-03 Updated 2026-10-14
Write the spline interpolation operator as , where samples at the interpolation sites and synthesizes the normalized B-spline expansion. Sampling has operator norm at most one, and nonnegative B-splines with sum at most one give . HenceHere the matrix norm is the maximum absolute row sum. Existence of the inverse matrix requires the usual ordered distinct interpolation sites and the Schoenberg–Whitney theorem support conditions, with endpoint values interpreted by their one-sided limits. If the displayed diagonal condition is read without the implicit ordering and distinctness, it is insufficient: all three sites equal to in the quadratic example give positive diagonal entries but three identical rows. The estimate applies whenever the interpolating linear map in the question is defined uniquely.
For the quadratic Bernstein basis, , and . Sampling and inverting giveThe three cardinal Lagrange interpolation polynomials areThe Lebesgue constant of interpolation gives the exact operator norm: the upper bound follows from . To attain it at a maximizing point, prescribe at the three sites the signs of the corresponding cardinal polynomials and extend those values by a continuous piecewise linear function of norm one.
On , the first two cardinal polynomials are nonnegative and the last is nonpositive. Since their sum is one, their absolute sum is . Its maximum is at . Reflection gives the same maximum at on the other half. In particular the data produce , attaining . ThusThe coefficient estimate loses cancellation among the B-splines, which explains why it is not sharp for the resulting function norm.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 68 2 Solution Created 2026-10-03 Updated 2026-10-14
The degree- Bernstein basis isFor , every basis function is nonnegative, and the binomial theorem givesTherefore is a convex combination of its control points. By the definition of their convex hull,This includes the endpoints because and . It depends on the specified parameter interval: outside it the weights need not be nonnegative.
For , differentiating the basis and using the elementary binomial identities giveswhere out-of-range basis indices are zero. ThusHence the Bézier derivative control polygon has points , andIn particular the endpoint tangent vectors are and . For the curve is constant and its derivative is zero.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 70 2 iii Solution Created 2026-10-03 Updated 2026-10-14
Scale the equal intervals to unit length. A nonzero compactly supported cubic B-spline with maximum continuity is , so its fourth derivative is a sum of impulses at the knots. Equivalently it is a combination of truncated cubes,To vanish to the right of its support, the polynomial tail must be identically zero. Expanding that tail requires for . Four or fewer distinct knots give a full-rank Vandermonde matrix and only the zero solution. Hence a nonzero function requires at least five knots, or four intervals. At knots , the one-dimensional nullspace has coefficients proportional to . The unscaled combination integrates to six on , so unit-integral cardinal normalization gives:This is the Cardinal cubic B-spline, nonnegative with support . To obtain its cubic B-spline Bézier extraction, use local parameter on interval . The four power-form numerators, with a common divisor six, areFor , the cubic Bernstein basis coefficients are , , , . Applying this conversion givesEach scalar row describes a cubic Bézier curve graph piece with abscissa controls . The truncated-cube construction proves value, first- and second-derivative agreement at all joins, including the zero exterior. Minimum support and maximum continuity determine the basis up to a scalar; the displayed normalization fixes that remaining freedom.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 70 2 i Solution Created 2026-10-03 Updated 2026-10-14
The degree- Bernstein basis on isThe associated Bézier curve is . The basis is nonnegative and has partition of unity, since . Thus the curve is a convex combination of its control points, giving the convex hull enclosure useful for geometric bounds. The same identity makes the construction invariant under application of affine functions.
It interpolates its endpoint controls, , , and its endpoint tangent vectors are and . These follow fromThe control polygon therefore gives direct geometric editing and tangent control. Repeated interpolation by the De Casteljau algorithm evaluates and subdivides the curve without converting to a monomial representation. Together, positive geometric weights, simple endpoint behavior and stable subdivision make this basis useful in computer aided geometric design.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 71 1 a Solution Created 2026-10-03 Updated 2026-10-14
Write the Bernstein polynomial in its partition-normalized Bernstein basis:For , every weight is nonnegative, and the binomial theorem gives their sum as . ConsequentlyTaking the supremum norm proves . The construction yields degree at most , possibly lower for special functions.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 66 1 i Solution Created 2026-10-03 Updated 2026-10-14
Write for the Bernstein basis, and set when is outside its index range. Differentiating and using and givesHence, after shifting the first sum by one index,Thus the derivative is a degree-at-most- Bézier curve whose control points are . They are vectors rather than necessarily positions on the original Bézier curve. This is the Bézier derivative control polygon.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 66 1 iv Solution Created 2026-10-03 Updated 2026-10-14
A cubic polynomial on either half is determined by its endpoint positions and endpoint derivatives. Use normalized parameters on the first half and on the second, so that derivatives with respect to are half the derivatives with respect to . Evaluation of the Bernstein basis at the split givesIf the left control points are , endpoint positions give . The cubic endpoint-derivative formulas give and . On the right, , and . Substitution yieldsThese are exact restricted Bézier curves, since they match all four endpoint Hermite data of the respective cubics.
The construction is also the midpoint case of De Casteljau's algorithm. Form for , then , , and . The two polygons are and . Their common tangent edges satisfy , as required for equal half-intervals. Thus the triangular midpoint construction simultaneously evaluates the split point and supplies the two exact representations.




