Bernstein polynomial
In the mathematical field of numerical analysis, a Bernstein polynomial is a polynomial expressed as a linear combination of Bernstein basis polynomials.[src] The idea is named after mathematician Sergei Natanovich Bernstein.[src] Polynomials in this form were first used by Bernstein in a constructive proof of the Weierstrass approximation theorem.[src] With the advent of computer graphics, Bernstein polynomials, restricted to the interval [0, 1], became important in the form of Bézier curves.[src] A numerically stable way to evaluate polynomials in Bernstein form is de Casteljau's algorithm.[src]
In the mathematical field of numerical analysis, a Bernstein polynomial is a polynomial expressed as a linear combination of Bernstein basis polynomials.[src] The idea is named after mathematician Sergei Natanovich Bernstein.[src] Polynomials in this form were first used by Bernstein in a constructive proof of the Weierstrass approximation theorem.[src] With the advent of computer graphics, Bernstein polynomials, restricted to the interval [0, 1], became important in the form of Bézier curves.[src] A numerically stable way to evaluate polynomials in Bernstein form is de Casteljau's algorithm.[src] ==Definition== b_{\nu,n}(x)\ =\ \binom{n}{\nu}\ x^{\nu} \left( 1 - x \right)^{n - \nu}, ~~ for ~~ \nu = 0\ ,\ \ldots\ , n, where \tbinom{n}{\nu} is a binomial coefficient.[src] So, for example, b_{2,5}(x)\ =\ \tbinom{5}{2}x^2(1-x)^3\ =\ 10x^2(1-x)^3 .[src] The first few Bernstein basis polynomials for blending or 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.[src] \end{align} The Bernstein basis polynomials of degree n form a basis for the vector space \Pi_n of polynomials of degree at most n , all with real coefficients.[src] by Bernstein polynomials B_n(x) of degree n = 5, 20, 100, 1000 on the interval [1, 3].[src] The plot demonstrates smooth bridging of discontinuities and the absence of oscillations (the Gibbs phenomenon) B_n(x)\ =\ \sum_{\nu=0}^{n} \beta_{\nu} b_{\nu,n}(x) is called a Bernstein polynomial or polynomial in Bernstein form of degree n .[src] The coefficients \beta_\nu are called Bernstein coefficients or Bézier coefficients.[src] 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.[src] \end{align} ==Properties== The Bernstein basis polynomials have the following properties: b_{\nu, n}(x) = 0 , if \nu or if \nu > n .[src] b_{\nu, n}(x) \ge 0 for x \in [0,\ 1] .[src] b_{\nu, n}\left( 1 - x \right) = b_{n - \nu, n}(x) .[src] b_{\nu, n}(0) = \delta_{\nu, 0} and b_{\nu, n}(1) = \delta_{\nu, n} where \delta_{i,j} is the Kronecker delta function: \delta_{ij} = \begin{cases} 0 &\text{if } i \neq j, \\ 1 &\text{if } i=j.[src] \end{cases} b_{\nu, n}(x) has a root with multiplicity \nu at point x = 0 (note: when \nu = 0 , there is no root at ).[src] b_{\nu, n}(x) has a root with multiplicity \left( n - \nu \right) at point x = 1 (note: if \nu = n , there is no root at ).[src] The derivative can be written as a combination of two Bernstein polynomials of lower degree: b_{\nu, n}'(x) = n \bigl[\ b_{\nu - 1, n - 1}(x)\ -\ b_{\nu, n - 1}(x)\ \bigr].[src] The -th derivative at : b_{\nu, n}^{(k)}(0)\ =\ \frac{n!}{(n - k)!} \binom{k}{\nu} (-1)^{\nu + k}.[src] The -th derivative at 1: b_{\nu, n}^{(k)}(1)\ =\ (-1)^k b_{n - \nu, n}^{(k)}(0).[src] The transformation of the Bernstein polynomial to monomials is b_{\nu,n}(x)\ =\ \binom{n}{\nu}\sum_{k=0}^{n-\nu} \binom{n-\nu}{k}(-1)^{k} x^{\nu+k}\ =\ \sum_{\ell=\nu}^n \binom{n}{\ell}\binom{\ell}{\nu}(-1)^{\ell-\nu}x^\ell, and by the inverse binomial transformation, the reverse transformation is x^k\ =\ \sum_{i=0}^{n-k} \frac{ \binom{n-k}{i} }{ \binom{n}{i} } b_{n-i,n}(x)\ =\ \frac{1}{\binom{n}{k}} \sum_{j=k}^n \binom{j}{k}b_{j,n}(x).[src] The indefinite integral is given by \int b_{\nu, n}(x)\ \operatorname{d} x = \frac{1}{n+1} \sum_{j=\nu+1}^{n+1} b_{j, n+1}(x).[src] The definite integral is constant for a given : \int_0^1 b_{\nu, n}(x)\ \operatorname{d} x = \frac{1}{n+1} for all \nu = 0, 1,\ \dots\ , n.[src] If n \ne 0 , then b_{\nu, n}(x) has a unique local maximum on the interval [0,\, 1] at x = \frac{\nu}{n} .[src] This maximum takes the value \nu^\nu n^{-n} \left( n - \nu \right)^{n - \nu} {n \choose \nu}.[src] The Bernstein basis polynomials of degree n form a partition of unity: \sum_{\nu = 0}^n b_{\nu, n}(x)\ =\ \sum_{\nu = 0}^n {n \choose \nu} x^\nu \left(1 - x\right)^{n - \nu}\ =\ \left(x + \left( 1 - x \right) \right)^n = 1.[src] By taking the first x -derivative of (x + y)^n , treating y as constant, then substituting the value y = 1-x , it can be shown that \sum_{\nu=0}^{n} \nu\ b_{\nu, n}(x) = n\ x.[src] Similarly the second x -derivative of (x+y)^n , with y then again substituted y = 1-x, shows that \sum_{\nu=1}^{n} \nu \left( \nu-1 \right)\ b_{\nu, n}(x) = n\left( n-1 \right)\ x^2.[src] A Bernstein polynomial can always be written as a linear combination of polynomials of higher degree: b_{\nu, n - 1}(x)\ =\ \left( \frac{n - \nu}{n}\right)\ b_{\nu, n}(x)\ +\ \left( \frac{\nu + 1}{n}\right)\ b_{\nu + 1, n}(x).[src] The expansion of the Chebyshev polynomials of the first kind into the Bernstein basis is T_n(u)\ =\ (2n-1)!!\ \sum_{k=0}^n \frac{~ (-1)^{n-k}\ }{\ (2k-1)!!\ (2n-2k-1)!!\ }\ b_{k,n}(u).[src] ==Approximating continuous functions== Let ƒ be a continuous function on the interval [0, 1].[src] Consider the Bernstein polynomial B_n(f)(x) = \sum_{\nu = 0}^n f\left( \frac{\nu}{n} \right) b_{\nu,n}(x).[src] It can be shown that \lim_{n \to \infty}{ B_n(f) } = f uniformly on the interval [0, 1].[src] 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 \mathbb R .[src] A more general statement for a function with continuous k th derivative is {\left\| B_n(f)^{(k)} \right\|}_\infty \le \frac{ (n)_k }{ n^k } \left\| f^{(k)} \right\|_\infty \quad\ \text{and} \quad\ \left\| f^{(k)}- B_n(f)^{(k)} \right\|_\infty \to 0, where (n)_k is the falling factorial, and additionally \frac{ (n)_k }{ n^k } = \left( 1 - \frac{0}{n} \right) \left( 1 - \frac{1}{n} \right) \cdots \left( 1 - \frac{k - 1}{n} \right) is an eigenvalue of B n ; the corresponding eigenfunction is a polynomial of degree k.[src] ===Probabilistic proof=== This proof follows Bernstein's original proof of 1912.[src] See also Feller (1966) or Koralov & Sinai (2007).[src] ====Motivation==== We will first give intuition for Bernstein's original proof.[src] A continuous function on a compact interval must be uniformly continuous.[src] Thus, the value of any continuous function can be uniformly approximated by its value on some finite net of points in the interval.[src] This consideration renders the approximation theorem intuitive, given that polynomials should be flexible enough to match (or nearly match) a finite number of pairs (x, f(x)) .[src] To do so, we might (1) construct a function close to f on a lattice, and then (2) smooth out the function outside the lattice to make a polynomial.[src] The probabilistic proof below simply provides a constructive method to create a polynomial which is approximately equal to f on such a point lattice, given that "smoothing out" a function is not always trivial.[src] Taking the expectation of a random variable with a simple distribution is a common way to smooth.[src] Here, we take advantage of the fact that Bernstein polynomials look like Binomial expectations.[src] We split the interval into a lattice of n discrete values.[src] 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.[src] The expectation of this approximation technique is polynomial, as it is the expectation of a function of a binomial RV.[src] The proof below illustrates that this achieves a uniform approximation of f.[src] 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 x \approx X to f(x) \approx f(X) by uniform continuity.[src] ====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.[src] Then we have the expected value \operatorname{\mathbb E}\left[\frac{K}{n}\right] = x and p(K) = {n \choose K} x^{K} \left( 1 - x \right)^{n - K} = b_{K,n}(x) By the weak law of large numbers of probability theory, \lim_{n \to \infty}{ P\left( \left| \frac{K}{n} - x \right|>\delta \right) } = 0 for every δ > 0.[src] 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 K, equal to x(1−x), is bounded from above by irrespective of x.[src] Because ƒ, being continuous on a closed bounded interval, must be uniformly continuous on that interval, one infers a statement of the form \lim_{n \to \infty}{ P\left( \left| f\left( \frac{K}{n} \right) - f\left( x \right) \right| > \varepsilon \right) } = 0 uniformly in x for each \epsilon > 0 .[src] Taking into account that ƒ is bounded (on the given interval) one finds that \lim_{n \to \infty}{ \operatorname{\mathbb E}\left( \left| f\left( \frac{K}{n} \right) - f\left( x \right) \right| \right) } = 0 uniformly in x.[src] To justify this statement, we use a common method in probability theory to convert from closeness in probability to closeness in expectation.[src] One splits the expectation of \left| f\left( \frac{K}{n} \right) - f\left( x \right) \right| into two parts split based on whether or not \left| f\left( \frac{K}{n} \right) - f\left( x \right) \right| .[src] In the interval where the difference does not exceed ε, the expectation clearly cannot exceed ε.[src] In the other interval, the difference still cannot exceed 2M, where M is an upper bound for |ƒ(x)| (since uniformly continuous functions are bounded).[src] However, by our 'closeness in probability' statement, this interval cannot have probability greater than ε.[src] Thus, this part of the expectation contributes no more than 2M times ε.[src] Then the total expectation is no more than \epsilon + 2M\epsilon , which can be made arbitrarily small by choosing small ε.[src] 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 Hölder's Inequality.[src] Thus, using the above expectation, we see that (uniformly in x) \lim_{n \to \infty}{ \left| \operatorname{\mathbb E}f\left( \frac{K}{n} \right) - \operatorname{\mathbb E}f\left( x \right) \right| } \leq \lim_{n \to \infty}{ \operatorname{\mathbb E}\left( \left| f\left( \frac{K}{n} \right) - f\left( x \right) \right| \right) } = 0 Noting that our randomness was over K while x is constant, the expectation of f(x) is just equal to f(x).[src] But then we have shown that \operatorname{\mathbb E_x}f\left( \frac{K}{n} \right) converges to f(x).[src] Then we will be done if \operatorname{\mathbb E_x}f\left( \frac{K}{n} \right) is a polynomial in x (the subscript reminding us that x controls the distribution of K).[src] Indeed, it is: \operatorname{\mathbb E_x}\left[f\left(\frac{K}{n}\right)\right] = \sum_{K=0}^n f\left(\frac{K}{n}\right) p(K) = \sum_{K=0}^n f\left(\frac{K}{n}\right) b_{K,n}(x) = B_n(f)(x) ====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 \omega .[src] It also depends on 'M', the absolute bound of the function, although this can be bypassed if one bounds \omega and the interval size.[src] 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.[src] \sum_k {n \choose k} x^k (1-x)^{n-k} = 1 ("probability") \sum_k {k\over n} {n \choose k} x^k (1-x)^{n-k} = x ("mean") \sum_k \left( x -{k\over n}\right)^2 {n \choose k} x^k (1-x)^{n-k} = {x(1-x)\over n}.[src] ("variance") In fact, by the binomial theorem (1+t)^n = \sum_k {n \choose k} t^k, and this equation can be applied twice to t\frac{d}{dt} .[src] The identities (1), (2), and (3) follow easily using the substitution t = x/ (1 - x) .[src] Within these three identities, use the above basis polynomial notation b_{k,n}(x) = {n\choose k} x^k (1-x)^{n-k}, and let f_n(x) = \sum_k f(k/n)\, b_{k,n}(x).[src] Thus, by identity (1) f_n(x) - f(x) = \sum_k [f(k/n) - f(x)] \,b_{k,n}(x), so that |f_n(x) - f(x)| \le \sum_k |f(k/n) - f(x)| \, b_{k,n}(x).[src] Since f is uniformly continuous, given \varepsilon > 0 , there is a \delta > 0 such that |f(a) - f(b)| whenever |a-b| .[src] Moreover, by continuity, M= \sup |f| .[src] But then |f_n(x) - f(x)| \le \sum_{|x -{k\over n}| The first sum is less than ε.[src] On the other hand, by identity (3) above, and since |x - k/n| \ge \delta , the second sum is bounded by 2M times \sum_{|x - k/n|\ge \delta} b_{k,n}(x) \le \sum_k \delta^{-2} \left(x -{k\over n}\right)^2 b_{k,n}(x) = \delta^{-2} {x(1-x)\over n} (Chebyshev's inequality) It follows that the polynomials f n tend to f uniformly.[src] ==See also== Polynomial interpolation Newton form Lagrange form Binomial QMF (also known as Daubechies wavelet) ==Notes== ==References== , English translation , Russian edition first published in 1940 ==External links== from University of California, Davis.[src] Note the error in the summation limits in the first formula on page 9.[src] Feature Column from American Mathematical Society[src]
88 sentences · 88 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Bernstein polynomial." encyclopegia.org, 2026, https://encyclopegia.org/wiki/bernstein-polynomial. Accessed 06 December 2026.
Chicago
"Bernstein polynomial." encyclopegia.org. Accessed December 6, 2026. https://encyclopegia.org/wiki/bernstein-polynomial.
APA
encyclopegia.org. (2026). Bernstein polynomial. Retrieved December 6, 2026, from https://encyclopegia.org/wiki/bernstein-polynomial
Accessed December 6, 2026 · CC BY-SA 4.0 · citation page · JSON
Claims
| Predicate | Value | Source |
|---|---|---|
| publication date | 1940 | Wikipedia |