| |||||||||
In the mathematical subfield of numerical analysis, a Bernstein polynomial, named after Sergei Natanovich Bernstein, is a polynomial in the Bernstein form, that is a linear combination of Bernstein basis polynomials.
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.
Polynomials in Bernstein form can be efficiently evaluated using De Casteljau's algorithm.
The n Bernstein basis polynomials of degree n are defined as
The Bernstein basis polynomials of degree n form a basis for the vector space <math>\Pi_n<math> of polynomials of degree n.
A linear combination of Bernstein basis polynomials
is called Bernstein polynomial or polynomial in Bernstein form of degree n. The coefficients βν are called Bernstein coefficients or Bézier coefficients.
The Bernstein basis polynomials have the following properties
The Bernstein basis polynomials of degree n form a partition of unity
The first few Bernstein basis polynomials are
It can be shown that
uniformly on the interval [0, 1]. This is a stronger statement than the proposition that the limit holds for each value of x separately; that would be pointwise convergence rather than uniform convergence. specifically, the word uniformly signifies that
Bernstein polynomials thus afford one way to prove the Stone-Weierstrass approximation theorem that every continuous function on a closed bounded interval can be uniformly approximated by polynomial functions.
Suppose K is a random variable distributed as the number of successes in n independent Bernoulli trials with probability x of success on each trial; in other words, K has a binomial distribution with parameters n and x. Then we have the expected value E(K/n) = x.
Then the weak law of large numbers of probability theory tells us that
Because f, being continuous on a closed bounded interval, must be uniformly continuous on that interval, we can infer a statement of the form
Consequently
P(\left|f(K/n)-E(f(K/n))\right|+\left|E(f(K/n))-f(x)\right|>\varepsilon)=0.<math>
P(\left|f(K/n)-E(f(K/n))\right|>\varepsilon/2)+P( \left|E(f(K/n))-f(x)\right|>\varepsilon/2)=0.<math>
And so the second probability above approaches 0 as n grows. But the second probability is either 0 or 1, since the only thing that is random is K, and that appears within the scope of the expectation operator E. Finally, observe that E(f(K/n)) is just the Bernstein polynomial Bn(f,x).