Polynomials in Bernstein form were first used by Bernstein in a constructive proof for the Stone–Weierstrass approximation theorem. With the advent of computer graphics, Bernstein polynomials, restricted to the interval [0, 1], became important in the form of Bézier curves.
The first few Bernstein basis polynomials for blending 1, 2, 3 or 4 values together are:
The Bernstein basis polynomials of degree n form a basis for the vector space Πn of polynomials of degree at most n with real coefficients. A linear combination of Bernstein basis polynomials
is called a Bernstein polynomial or polynomial in Bernstein form of degree n.[1] The coefficients are called Bernstein coefficients or Bézier coefficients.
The first few Berntein basis polynomials from above in monomial form are:
Properties
The Bernstein basis polynomials have the following properties:
By taking the first derivative of where , it can be shown that
The second derivative of where can be used to show
A Bernstein polynomial can always be written as a linear combination of polynomials of higher degree:
Approximating continuous functions
Let ƒ be a continuous function on the interval [0, 1]. Consider the Bernstein polynomial
It can be shown that
uniformly on the interval [0, 1].[3] The word uniformly signifies that the polynomial converges on the entire interval [0, 1] at the same rate (or better). This is a more stringent form of convergence than pointwise convergence, which only requires that the limit is achieved at each value of x on [0, 1], with (possibly) separate rates at each point. Specifically, uniform convergence assures that
Bernstein polynomials thus provide one way to prove the Weierstrass approximation theorem that every real-valued continuous function on a real interval [a, b] can be uniformly approximated by polynomial functions over .[4]
A more general statement for a function with continuous kth derivative is
where additionally
is an eigenvalue of Bn; the corresponding eigenfunction is a polynomial of degree k.
for every δ > 0. Moreover, this relation holds uniformly in x, which can be seen from its proof via Chebyshev's inequality, taking into account that the variance of Template:FracK, equal to Template:Fracx(1−x), is bounded from above by Template:Frac irrespective of x.
Because ƒ, being continuous on a closed bounded interval, must be uniformly continuous on that interval, one infers a statement of the form
uniformly in x. Taking into account that ƒ is bounded (on the given interval) one gets for the expectation
uniformly in x. To this end one splits the sum for the expectation in two parts. On one part the difference does not exceed ε; this part cannot contribute more than ε.
On the other part the difference exceeds ε, but does not exceed 2M, where M is an upper bound for |ƒ(x)|; this part cannot contribute more than 2M times the small probability that the difference exceeds ε.
Finally, one observes that the absolute value of the difference between expectations never exceeds the expectation of the absolute value of the difference, and