Bernstein polynomial
{{Short description|Type of polynomial used in Numerical Analysis}}
{{for|the Bernstein polynomial in D-module theory|Bernstein–Sato polynomial}}
{{more footnotes needed|date=June 2016}}Image:Bernstein Approximation.gif
In the mathematical field of numerical analysis, a Bernstein polynomial is a polynomial expressed as a linear combination 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. With the advent of computer graphics, Bernstein polynomials, restricted to the interval [0, 1], became important in the form of Bézier curves.
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.
So, for example,
The first few Bernstein basis polynomials for blending {{math|1, 2, 3}} or {{math|4}} values together are:
:
\begin{align}
b_{0,0}(x) & = 1\ , \\
b_{0,1}(x) & = 1 - x\ , & b_{1,1}(x) & = x \\
b_{0,2}(x) & = (1 - x)^2\ , & b_{1,2}(x) & = 2x(1 - x)\ , & b_{2,2}(x) & = x^2 \\
b_{0,3}(x) & = (1 - x)^3\ , & b_{1,3}(x) & = 3x(1 - x)^2\ , & b_{2,3}(x) & = 3x^2(1 - x)\ , & b_{3,3}(x) & = x^3 ~.
\end{align}
:
The Bernstein basis polynomials of degree form a basis for the vector space 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 {{harvnb|Lorentz|1953}} The coefficients are called Bernstein coefficients or Bézier coefficients.
The first few Bernstein basis polynomials from above in monomial form are:
:
\begin{align}
b_{0,0}(x) & = 1\ , \\
b_{0,1}(x) & = 1 - 1x\ , & b_{1,1}(x) & = 0 + 1x \\
b_{0,2}(x) & = 1 - 2x + 1x^2, & b_{1,2}(x) & = 0 + 2x - 2x^2\ , & b_{2,2}(x) & = 0 + 0x + 1x^2 \\
b_{0,3}(x) & = 1 - 3x + 3x^2 - 1x^3\ , & b_{1,3}(x) & = 0 + 3x - 6x^2 + 3x^3\ , & b_{2,3}(x) & = 0 + 0x + 3x^2 - 3x^3, & b_{3,3}(x) & = 0 + 0x + 0x^2 + 1x^3 ~.
\end{align}
:
Properties
The Bernstein basis polynomials have the following properties:
- if or if
- for
- and where is the Kronecker delta function:
0 &\text{if } i \neq j\ , \\
1 &\text{if } i=j ~.
\end{cases}
- has a root with multiplicity at point (note: when there is no root at {{math|0}}).
- has a root with multiplicity at point (note: if there is no root at {{math|1}}).
- The derivative can be written as a combination of two polynomials of lower degree:
- The {{mvar|k}}-th derivative at {{math|0}}:
- The {{mvar|k}}-th derivative at 1:
- The transformation of the Bernstein polynomial to monomials is and by the inverse binomial transformation, the reverse transformation is{{cite arXiv |first=R.J. |last=Mathar |year=2018 |title=Orthogonal basis function over the unit circle with the minimax property |at=Appendix B |eprint=1802.09518 |class=math.NA }}
- The indefinite integral is given by
- The definite integral is constant for a given {{mvar|n}}: 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:
- 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{{cite journal |first1=Abedallah |last1=Rababah |year=2003 |title=Transformation of Chebyshev-Bernstein polynomial basis |journal=Computational Methods in Applied Mathematics |volume=3 |number=4 |pages=608–622 |s2cid=120938358 |doi=10.2478/cmam-2003-0038 |doi-access=free}}
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].Natanson (1964) p. 6{{harvnb|Feller|1966}}{{harvnb|Beals|2004}}
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 .Natanson (1964) p. 3
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.
=Probabilistic proof=
This proof follows Bernstein's original proof of 1912.{{harvnb|Bernstein|1912}} See also Feller (1966) or Koralov & Sinai (2007).{{cite book |first1=L. |last1=Koralov |first2=Y. |last2=Sinai |title=Theory of probability and random processes |edition=2nd |publisher=Springer |year=2007 |page=29 |chapter="Probabilistic proof of the Weierstrass theorem"}}
==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 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 and
:
By the weak law of large numbers of probability theory,
:
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 {{frac|1|n}} K, equal to {{frac|1|n}} x(1−x), is bounded from above by {{frac|1|(4n)}} 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 2M, 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 2M 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 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:{{harvnb|Lorentz|1953|pages=5–6}}{{harvnb|Goldberg|1964}}{{harvnb|Akhiezer|1956}}{{harvnb|Burkill|1959}}
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
:
It follows that the polynomials fn tend to f uniformly.
Generalizations to higher dimension
Bernstein polynomials can be generalized to {{math|k}} dimensions – the resulting polynomials have the form {{math| Bi1(x1) Bi2(x2) ... Bik(xk)}}. In the simplest case only products of the unit interval {{math|[0,1]}} are considered; but, using affine transformations of the line, Bernstein polynomials can also be defined for products {{math|[a1, b1] × [a2, b2] × ... × [ak, bk]}}. For a continuous function {{math|f}} on the {{math|k}}-fold product of the unit interval, the proof that {{math|f(x1, x2, ... , xk)}} can be uniformly approximated by
:
f\left({i_1\over n_1}, {i_2\over n_2}, \dots, {i_k\over n_k}\right)
x_1^{i_1} (1-x_1)^{n_1-i_1}
x_2^{i_2} (1-x_2)^{n_2-i_2}
\cdots x_k^{i_k} (1-x_k)^{n_k - i_k}
is a straightforward extension of Bernstein's proof in one dimension.
{{citation|last1=Hildebrandt|first1= T. H.|authorlink=Theophil Henry Hildebrandt|last2=Schoenberg|first2= I. J.|authorlink2= I. J. Schoenberg|title= On linear functional operations and the moment problem for a finite interval in one or several dimensions|journal=Annals of Mathematics|volume= 34|year=1933|issue= 2|page=327|doi= 10.2307/1968205|jstor= 1968205|url=https://www.jstor.org/stable/1968205}}
See also
- Polynomial interpolation
- Newton form
- Lagrange form
- Binomial QMF (also known as Daubechies wavelet)
Notes
References
- {{citation|url=https://www.mn.uio.no/math/english/people/aca/michaelf/translations/bernstein_english.pdf|title=Démonstration du théorème de Weierstrass fondée sur le calcul des probabilités (Proof of the theorem of Weierstrass based on the calculus of probabilities)|first=S.|last= Bernstein|authorlink=S. Bernstein|journal= Comm. Kharkov Math. Soc.|volume=13 |year=1912|pages= 1–2}}, English translation
- {{citation|first=G. G.|last= Lorentz|authorlink= George G. Lorentz| year=1953|title=Bernstein Polynomials|publisher=University of Toronto Press}}
- {{citation|last=Akhiezer|first= N. I.|authorlink=Naum Akhiezer| title=Theory of approximation|translator= Charles J. Hyman| publisher=Frederick Ungar|year= 1956|language=ru|pages=30–31|url=https://archive.org/details/theoryofapproxim00akhi/page/30/mode/2up?q=bernstein}}, Russian edition first published in 1940
- {{citation|title=Lectures On Approximation By Polynomials|first=J. C. |last=Burkill|authorlink=J. C. Burkill| url=http://www.math.tifr.res.in/~publ/ln/tifr16.pdf|year=1959|publisher=Tata Institute of Fundamental Research|location=Bombay|pages=7–8}}
- {{citation|last= Goldberg|first=Richard R.|title= Methods of real analysis|publisher =John Wiley & Sons|year=1964|pages=263–265|url=https://archive.org/details/in.ernet.dli.2015.134296/page/n243/mode/2up?q=bernstein}}
- {{cite journal | last1=Caglar | first1=Hakan | last2=Akansu | first2=Ali N. | title=A generalized parametric PR-QMF design technique based on Bernstein polynomial approximation | zbl=0825.93863 | journal=IEEE Transactions on Signal Processing | volume=41 | number=7 | pages=2314–2321 | date=July 1993 | doi=10.1109/78.224242| bibcode=1993ITSP...41.2314C }}
- {{springer|title=Bernstein polynomials|id=B/b015730|last=Korovkin|first=P.P.}}
- {{cite book | last=Natanson | first=I.P. | authorlink=Isidor Natanson | title=Constructive function theory. Volume I: Uniform approximation | translator=Alexis N. Obolensky | zbl=0133.31101 | mr=0196340 | location=New York | publisher=Frederick Ungar | year=1964 }}
- {{citation|last=Feller|first= William|authorlink=William Feller|title=An introduction to probability theory and its applications, Vol, II|publisher= John Wiley & Sons|year= 1966|pages=149–150, 218–222}}
- {{citation|last=Beals|first= Richard|authorlink=Richard Beals (mathematician)|title=Analysis. An introduction|publisher=Cambridge University Press| year=2004|isbn= 0521600472|pages=95–98}}
External links
- {{cite journal|first1=Mark|last1=Kac| authorlink=Mark Kac|title=Une remarque sur les polynomes de M. S. Bernstein |journal = Studia Mathematica | year =1938| volume =7 | pages=49–51| doi=10.4064/sm-7-1-49-51| doi-access=free}}
- {{cite journal|first1=Richard Paul | last1=Kelisky | first2=Theodore Joseph | last2=Rivlin
|title=Iteratives of Bernstein Polynomials|year=1967 | journal=Pacific Journal of Mathematics | volume=21 | number=3
| page =511|doi=10.2140/pjm.1967.21.511| doi-access=free }}
- {{cite book|first1=E. L. | last1=Stark|chapter = Bernstein Polynome, 1912-1955 | year=1981| doi=10.1007/978-3-0348-9369-5_40|pages=443–461|editor-first=P.L. | editor-last=Butzer
|title=ISNM60|isbn=978-3-0348-9369-5}}
- {{cite journal|first1=Sonia |last1=Petrone |authorlink= Sonia Petrone | title=Random Bernstein polynomials | journal=Scand. J. Stat.
| year=1999|volume=26|number=3|pages=373–393|doi=10.1111/1467-9469.00155|s2cid=122387975 }}
- {{cite journal|first1=Halil |last1=Oruc |first2=Geoerge M. |last2=Phillips|title= A generalization of the Bernstein Polynomials
| year=1999 | journal=Proceedings of the Edinburgh Mathematical Society|volume=42 |issue=2 |pages=403–413 |doi=10.1017/S0013091500020332|doi-access=free }}
- {{cite web |first1=Kenneth I. |last1=Joy |year=2000 |url=http://www.idav.ucdavis.edu/education/CAGDNotes/Bernstein-Polynomials.pdf |title=Bernstein Polynomials |access-date=2009-02-28 |archive-url=https://web.archive.org/web/20120220143625/http://www.idav.ucdavis.edu/education/CAGDNotes/Bernstein-Polynomials.pdf |archive-date=2012-02-20 |url-status=dead }} from University of California, Davis. Note the error in the summation limits in the first formula on page 9.
- {{cite journal|first1=M.|last1=Idrees Bhatti |first2=P. |last2=Bracken | title=Solutions of differential equations in a Bernstein Polynomial basis|
doi=10.1016/j.cam.2006.05.002|year=2007|journal=J. Comput. Appl. Math.|pages=272–280|volume=205|issue=1 |bibcode=2007JCoAM.205..272I |doi-access=free}}
- {{cite web|first1=Bill|last1=Casselman|authorlink=Bill Casselman (mathematician)|url=https://www.ams.org/featurecolumn/archive/bezier.html| title= From Bézier to Bernstein|year=2008}} Feature Column from American Mathematical Society
- {{cite journal|first1=Mehmet | last1=Acikgoz |first2=Serkan |last2=Araci|title=On the generating function for Bernstein Polynomials | year=2010 | journal = AIP Conf. Proc. | series=AIP Conference Proceedings | doi=10.1063/1.3497855|volume=1281 | issue=1 |page=1141| bibcode=2010AIPC.1281.1141A }}
- {{cite journal|first1=E. H. |last1=Doha|first2=A. H.|last2=Bhrawy |first3=M. A. |last3=Saker
|title=Integrals of Bernstein polynomials: An application for the solution of high even-order differential equations
|doi=10.1016/j.aml.2010.11.013| year=2011 | journal=Appl. Math. Lett.|volume=24 |issue=4| pages=559–565|doi-access=free}}
- {{cite journal|first1=Rida T.|last1=Farouki | title=The Bernstein polynomial basis: a centennial retrospective | year=2012|journal= Comp. Aid. Geom. Des.|volume=29|issue=6 |pages=379–419|doi=10.1016/j.cagd.2012.03.001}}
- {{cite journal|first1=Xiaoyan|last1=Chen|first2=Jieqing|last2=Tan|first3=Zhi|last3=Liu|first4=Jin|last4=Xie|
title=Approximations of functions by a new family of generalized Bernstein operators|journal=J. Math. Ann. Applic. | year=2017 | volume=450 | pages=244–261 | doi=10.1016/j.jmaa.2016.12.075|doi-access=free}}
- {{mathworld|urlname=BernsteinPolynomial|title=Bernstein Polynomial}}
- {{PlanetMath attribution|urlname=BernsteinPolynomial|title=properties of Bernstein polynomial}}
{{DEFAULTSORT:Bernstein Polynomial}}