In the
mathematical
Mathematics is a field of study that discovers and organizes methods, Mathematical theory, theories and theorems that are developed and Mathematical proof, proved for the needs of empirical sciences and mathematics itself. There are many ar ...
field of
numerical analysis
Numerical analysis is the study of algorithms that use numerical approximation (as opposed to symbolic computation, symbolic manipulations) for the problems of mathematical analysis (as distinguished from discrete mathematics). It is the study of ...
, a Bernstein polynomial is a
polynomial
In mathematics, a polynomial is a Expression (mathematics), mathematical expression consisting of indeterminate (variable), indeterminates (also called variable (mathematics), variables) and coefficients, that involves only the operations of addit ...
expressed as a
linear combination
In mathematics, a linear combination or superposition is an Expression (mathematics), expression constructed from a Set (mathematics), set of terms by multiplying each term by a constant and adding the results (e.g. a linear combination of ''x'' a ...
of
Bernstein basis polynomials. The idea is named after mathematician
Sergei Natanovich Bernstein.
Polynomials in Bernstein form were first used by Bernstein in a constructive proof for the
Weierstrass approximation theorem
Karl Theodor Wilhelm Weierstrass (; ; 31 October 1815 – 19 February 1897) was a German mathematician often cited as the " father of modern analysis". Despite leaving university without a degree, he studied mathematics and trained as a school t ...
. With the advent of computer graphics, Bernstein polynomials, restricted to the interval
, 1 became important in the form of
Bézier curve
A Bézier curve ( , ) is a parametric equation, parametric curve used in computer graphics and related fields. A set of discrete "control points" defines a smooth, continuous curve by means of a formula. Usually the curve is intended to approxima ...
s.
A
numerically stable way to evaluate polynomials in Bernstein form is
de Casteljau's algorithm.
Definition
Bernstein basis polynomials
The
Bernstein basis polynomials of degree
are defined as
:
for
where
is a
binomial coefficient
In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the t ...
.
So, for example,
The first few Bernstein basis polynomials for blending or values together are:
:
:
The Bernstein basis polynomials of degree
form a
basis for the
vector space
In mathematics and physics, a vector space (also called a linear space) is a set (mathematics), set whose elements, often called vector (mathematics and physics), ''vectors'', can be added together and multiplied ("scaled") by numbers called sc ...
of polynomials of degree at most
all with real coefficients.
Bernstein polynomials
A linear combination of Bernstein basis polynomials
:
is called a Bernstein polynomial or polynomial in Bernstein form of degree
The coefficients
are called Bernstein coefficients or Bézier coefficients.
The first few Bernstein basis polynomials from above in
monomial
In mathematics, a monomial is, roughly speaking, a polynomial which has only one term. Two definitions of a monomial may be encountered:
# A monomial, also called a power product or primitive monomial, is a product of powers of variables with n ...
form are:
:
:
Properties
The Bernstein basis polynomials have the following properties:
*
if
or if
*
for
*
*
and
where
is the
Kronecker delta
In mathematics, the Kronecker delta (named after Leopold Kronecker) is a function of two variables, usually just non-negative integers. The function is 1 if the variables are equal, and 0 otherwise:
\delta_ = \begin
0 &\text i \neq j, \\
1 &\ ...
function:
*
has a root with multiplicity
at point
(note: when
there is no root at ).
*
has a root with multiplicity
at point
(note: if
there is no root at ).
* The
derivative
In mathematics, the derivative is a fundamental tool that quantifies the sensitivity to change of a function's output with respect to its input. The derivative of a function of a single variable at a chosen input value, when it exists, is t ...
can be written as a combination of two polynomials of lower degree:
* The -th derivative at :
* The -th derivative at 1:
* The transformation of the Bernstein polynomial to monomials is
and by the
inverse binomial transformation, the reverse transformation is
* The indefinite
integral
In mathematics, an integral is the continuous analog of a Summation, sum, which is used to calculate area, areas, volume, volumes, and their generalizations. Integration, the process of computing an integral, is one of the two fundamental oper ...
is given by
* The definite integral is constant for a given :
for all
* If
then
has a unique local maximum on the interval
at
This maximum takes the value
* The Bernstein basis polynomials of degree
form a
partition of unity
In mathematics, a partition of unity on a topological space is a Set (mathematics), set of continuous function (topology), continuous functions from to the unit interval ,1such that for every point x\in X:
* there is a neighbourhood (mathem ...
:
* By taking the first
-derivative of
treating
as constant, then substituting the value
it can be shown that
* Similarly the second
-derivative of
with
then again substituted
shows that
* A Bernstein polynomial can always be written as a linear combination of polynomials of higher degree:
* The expansion of the
Chebyshev Polynomials of the First Kind into the Bernstein basis is
Approximating continuous functions
Let ''ƒ'' be a
continuous function
In mathematics, a continuous function is a function such that a small variation of the argument induces a small variation of the value of the function. This implies there are no abrupt changes in value, known as '' discontinuities''. More preci ...
on the interval
, 1 Consider the Bernstein polynomial
:
It can be shown that
:
uniformly on the interval
, 1[Natanson (1964) p. 6]
Bernstein polynomials thus provide one way to prove the
Weierstrass approximation theorem
Karl Theodor Wilhelm Weierstrass (; ; 31 October 1815 – 19 February 1897) was a German mathematician often cited as the " father of modern analysis". Despite leaving university without a degree, he studied mathematics and trained as a school t ...
that every real-valued continuous function on a real interval
'a'', ''b''can be uniformly approximated by polynomial functions over
.
[Natanson (1964) p. 3]
A more general statement for a function with continuous ''k''
th derivative is
:
where additionally
:
is an
eigenvalue
In linear algebra, an eigenvector ( ) or characteristic vector is a vector that has its direction unchanged (or reversed) by a given linear transformation. More precisely, an eigenvector \mathbf v of a linear transformation T is scaled by a ...
of ''B''
''n''; the corresponding eigenfunction is a polynomial of degree ''k''.
Probabilistic proof
This proof follows Bernstein's original proof of 1912. See also Feller (1966) or Koralov & Sinai (2007).
Motivation
We will first give intuition for Bernstein's original proof. A continuous function on a compact interval must be uniformly continuous. Thus, the value of any continuous function can be uniformly approximated by its value on some finite net of points in the interval. This consideration renders the approximation theorem intuitive, given that polynomials should be flexible enough to match (or nearly match) a finite number of pairs
. To do so, we might (1) construct a function close to
on a lattice, and then (2) smooth out the function outside the lattice to make a polynomial.
The probabilistic proof below simply provides a constructive method to create a polynomial which is approximately equal to
on such a point lattice, given that "smoothing out" a function is not always trivial. Taking the expectation of a random variable with a simple distribution is a common way to smooth. Here, we take advantage of the fact that Bernstein polynomials look like Binomial expectations. We split the interval into a lattice of ''n'' discrete values. Then, to evaluate any ''f(x)'', we evaluate ''f'' at one of the ''n'' lattice points close to ''x'', randomly chosen by the Binomial distribution. The expectation of this approximation technique is polynomial, as it is the expectation of a function of a binomial RV. The proof below illustrates that this achieves a uniform approximation of ''f''. The crux of the proof is to (1) justify replacing an arbitrary point with a binomially chosen lattice point by concentration properties of a Binomial distribution, and (2) justify the inference from
to
by uniform continuity.
Bernstein's proof
Suppose ''K'' is a
random variable
A random variable (also called random quantity, aleatory variable, or stochastic variable) is a Mathematics, mathematical formalization of a quantity or object which depends on randomness, random events. The term 'random variable' in its mathema ...
distributed as the number of successes in ''n'' independent
Bernoulli trial
In the theory of probability and statistics, a Bernoulli trial (or binomial trial) is a random experiment with exactly two possible outcomes, "success" and "failure", in which the probability of success is the same every time the experiment is ...
s with probability ''x'' of success on each trial; in other words, ''K'' has a
binomial distribution
In probability theory and statistics, the binomial distribution with parameters and is the discrete probability distribution of the number of successes in a sequence of statistical independence, independent experiment (probability theory) ...
with parameters ''n'' and ''x''. Then we have the
expected value
In probability theory, the expected value (also called expectation, expectancy, expectation operator, mathematical expectation, mean, expectation value, or first Moment (mathematics), moment) is a generalization of the weighted average. Informa ...
and
:
By the
weak law of large numbers of
probability theory
Probability theory or probability calculus is the branch of mathematics concerned with probability. Although there are several different probability interpretations, probability theory treats the concept in a rigorous mathematical manner by expre ...
,
:
for every ''δ'' > 0. Moreover, this relation holds uniformly in ''x'', which can be seen from its proof via
Chebyshev's inequality
In probability theory, Chebyshev's inequality (also called the Bienaymé–Chebyshev inequality) provides an upper bound on the probability of deviation of a random variable (with finite variance) from its mean. More specifically, the probability ...
, taking into account that the variance of ''K'', equal to ''x''(1−''x''), is bounded from above by 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'' for each
. Taking into account that ''ƒ'' is bounded (on the given interval) one finds that
:
uniformly in ''x''. To justify this statement, we use a common method in probability theory to convert from closeness in probability to closeness in expectation. One splits the expectation of
into two parts split based on whether or not
. In the interval where the difference does not exceed ''ε'', the expectation clearly cannot exceed ''ε''.
In the other interval, the difference still cannot exceed 2''M'', where ''M'' is an upper bound for , ''ƒ''(x), (since uniformly continuous functions are bounded). However, by our 'closeness in probability' statement, this interval cannot have probability greater than ''ε''. Thus, this part of the expectation contributes no more than 2''M'' times ''ε''. Then the total expectation is no more than
, which can be made arbitrarily small by choosing small ''ε''.
Finally, one observes that the absolute value of the difference between expectations never exceeds the expectation of the absolute value of the difference, a consequence of Holder's Inequality. Thus, using the above expectation, we see that (uniformly in ''x'')
:
Noting that our randomness was over ''K'' while ''x'' is constant, the expectation of ''f(x)'' is just equal to ''f(x)''. But then we have shown that
converges to ''f(x)''. Then we will be done if
is a polynomial in ''x'' (the subscript reminding us that ''x'' controls the distribution of ''K''). Indeed it is:
:
Uniform convergence rates between functions
In the above proof, recall that convergence in each limit involving ''f'' depends on the uniform continuity of ''f'', which implies a rate of convergence dependent on ''f'' 's
modulus of continuity
In mathematical analysis, a modulus of continuity is a function ω : , ∞→ , ∞used to measure quantitatively the uniform continuity of functions. So, a function ''f'' : ''I'' → R admits ω as a modulus of continuity if
:, f(x)-f(y), \leq\ ...
It also depends on 'M', the absolute bound of the function, although this can be bypassed if one bounds
and the interval size. Thus, the approximation only holds uniformly across ''x'' for a fixed ''f'', but one can readily extend the proof to uniformly approximate a set of functions with a set of Bernstein polynomials in the context of
equicontinuity.
Elementary proof
The probabilistic proof can also be rephrased in an elementary way, using the underlying probabilistic ideas but proceeding by direct verification:
The following identities can be verified:
#
("probability")
#
("mean")
#
("variance")
In fact, by the binomial theorem
and this equation can be applied twice to
. The identities (1), (2), and (3) follow easily using the substitution
.
Within these three identities, use the above basis polynomial notation
:
and let
:
Thus, by identity (1)
:
so that
:
Since ''f'' is uniformly continuous, given
, there is a
such that
whenever
. Moreover, by continuity,
. But then
:
The first sum is less than ε. On the other hand, by identity (3) above, and since
, the second sum is bounded by
times
:
:(
Chebyshev's inequality
In probability theory, Chebyshev's inequality (also called the Bienaymé–Chebyshev inequality) provides an upper bound on the probability of deviation of a random variable (with finite variance) from its mean. More specifically, the probability ...
)
It follows that the polynomials ''f''
''n'' tend to ''f'' uniformly.
Generalizations to higher dimension
Bernstein polynomials can be generalized to dimensions – the resulting polynomials have the form .
In the simplest case only products of the unit interval are considered; but, using
affine transformation
In Euclidean geometry, an affine transformation or affinity (from the Latin, '' affinis'', "connected with") is a geometric transformation that preserves lines and parallelism, but not necessarily Euclidean distances and angles.
More general ...
s of the line, Bernstein polynomials can also be defined for products . For a continuous function on the -fold product of the unit interval, the proof that can be uniformly approximated by
:
is a straightforward extension of Bernstein's proof in one dimension.
See also
*
Polynomial interpolation
In numerical analysis, polynomial interpolation is the interpolation of a given data set by the polynomial of lowest possible degree that passes through the points in the dataset.
Given a set of data points (x_0,y_0), \ldots, (x_n,y_n), with no ...
*
Newton form
*
Lagrange form
*
Binomial QMF A binomial QMF – properly an orthonormal binomial quadrature mirror filter – is an orthogonal wavelet developed in 1990.
The binomial QMF bank with perfect reconstruction (PR) was designed by Ali Akansu, and published in 1990, using the famil ...
(also known as
Daubechies wavelet)
Notes
References
*, English translation
*
*, Russian edition first published in 1940
*
*
*
*
*
*
*
External links
*
*
*
*
*
* from
University of California, Davis
The University of California, Davis (UC Davis, UCD, or Davis) is a Public university, public Land-grant university, land-grant research university in Davis, California, United States. It is the northernmost of the ten campuses of the University ...
. Note the error in the summation limits in the first formula on page 9.
*
* Feature Column from
American Mathematical Society
The American Mathematical Society (AMS) is an association of professional mathematicians dedicated to the interests of mathematical research and scholarship, and serves the national and international community through its publications, meetings, ...
*
*
*
*
*
*
{{DEFAULTSORT:Bernstein Polynomial
Numerical analysis
Polynomials
Articles containing proofs