ArticleslgStudy

science

Bernstein polynomial

Bernstein polynomial is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Bernstein polynomial rather than just read about it. In short: 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.

Bernstein polynomial — main illustration
Bernstein polynomial — illustration

Key takeaways

  • Bernstein polynomial belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Bernstein polynomial to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Bernstein polynomial from memory before moving on to harder problems.

Reference excerpt

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 this form were first used by Bernstein in a constructive proof of 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 n+1 Bernstein basis polynomials of degree n are defined as

bν,n(x) = (nν) xν(1−x)n−ν, for ν=0 , … ,n, where (nν) is a binomial coefficient. So, for example, b2,5(x) = (52)x2(1−x)3 = 10x2(1−x)3. The first few Bernstein basis polynomials for blending 1, 2, 3 or 4 values together are:

b0,0(x)=1 ,b0,1(x)=1−x ,b1,1(x)=xb0,2(x)=(1−x)2 ,b1,2(x)=2x(1−x) ,b2,2(x)=x2b0,3(x)=(1−x)3 ,b1,3(x)=3x(1−x)2 ,b2,3(x)=3x2(1−x) ,b3,3(x)=x3.

The Bernstein basis polynomials of degree n form a basis for the vector space Πn of polynomials of degree at most n, all with real coefficients.

Bernstein polynomials A linear combination of Bernstein basis polynomials

Bn(x) = ∑ν=0nβνbν,n(x) is called a Bernstein polynomial or polynomial in Bernstein form of degree n. The coefficients βν are called Bernstein coefficients or Bézier coefficients. The first few Bernstein basis polynomials from above in monomial form are:

b0,0(x)=1 ,b0,1(x)=1−1x ,b1,1(x)=0+1xb0,2(x)=1−2x+1x2,b1,2(x)=0+2x−2x2 ,b2,2(x)=0+0x+1x2b0,3(x)=1−3x+3x2−1x3 ,b1,3(x)=0+3x−6x2+3x3 ,b2,3(x)=0+0x+3x2−3x3,b3,3(x)=0+0x+0x2+1x3.

Properties The Bernstein basis polynomials have the following properties:

bν,n(x)=0, if ν<0 or if ν>n. bν,n(x)≥0 for x∈[0, 1]. bν,n(1−x)=bn−ν,n(x). bν,n(0)=δν,0 and bν,n(1)=δν,n where δi,j is the Kronecker delta function: δij={0if i≠j,1if i=j. bν,n(x) has a root with multiplicity ν at point x=0 (note: when ν=0, there is no root at 0). bν,n(x) has a root with multiplicity (n−ν) at point x=1 (note: if ν=n, there is no root at 1). The derivative can be written as a combination of two Bernstein polynomials of lower degree: bν,n′(x)=n[ bν−1,n−1(x) − bν,n−1(x) ]. The k-th derivative at 0: bν,n(k)(0) = n!(n−k)!(kν)(−1)ν+k. The k-th derivative at 1: bν,n(k)(1) = (−1)kbn−ν,n(k)(0). The transformation of the Bernstein polynomial to monomials is bν,n(x) = (nν)∑k=0n−ν(n−νk)(−1)kxν+k = ∑l=νn(nl)(lν)(−1)l−νxl, and by the inverse binomial transformation, the reverse transformation is xk = ∑i=0n−k(n−ki)(ni)bn−i,n(x) = 1(nk)∑j=kn(jk)bj,n(x). The indefinite integral is given by ∫bν,n(x) d⁡x=1n+1∑j=ν+1n+1bj,n+1(x). The definite integral is constant for a given n: ∫01bν,n(x) d⁡x=1n+1 for all ν=0,1, … ,n. If n≠0, then bν,n(x) has a unique local maximum on the interval [0,1] at x=νn. This maximum takes the value ννn−n(n−ν)n−ν(nν). The Bernstein basis polynomials of degree n form a partition of unity: ∑ν=0nbν,n(x) = ∑ν=0n(nν)xν(1−x)n−ν = (x+(1−x))n=1. 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 ∑ν=0nν bν,n(x)=n x. Similarly the second x-derivative of (x+y)n, with y then again substituted y=1−x, shows that ∑ν=1nν(ν−1) bν,n(x)=n(n−1) x2. A Bernstein polynomial can always be written as a linear combination of polynomials of higher degree: bν,n−1(x) = (n−νn) bν,n(x) + (ν+1n) bν+1,n(x). The expansion of the Chebyshev polynomials of the first kind into the Bernstein basis is Tn(u) = (2n−1)!! ∑k=0n (−1)n−k (2k−1)!! (2n−2k−1)!! bk,n(u).

Approximating continuous functions Let ƒ be a continuous function on the interval [0, 1]. Consider the Bernstein polynomial

Bn(f)(x)=∑ν=0nf(νn)bν,n(x). It can be shown that

limn→∞Bn(f)=f uniformly on the interval [0, 1]. 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 ℝ. A more general statement for a function with continuous kth derivative is

‖Bn(f)(k)‖∞≤(n)knk‖f(k)‖∞ and ‖f(k)−Bn(f)(k)‖∞→0, where (n)k is the falling factorial, and additionally

(n)knk=(1−0n)(1−1n)⋯(1−k−1n) 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. 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 (x,f(x)). 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. 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. 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 x≈X to f(x)≈f(X) 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 𝔼⁡[Kn]=x and

p(K)=(nK)xK(1−x)n−K=bK,n(x) By the weak law of large numbers of probability theory,

… excerpt ends here. Continue reading the full article.

Illustrations

Bernstein polynomial: Bernstein polynomials approximating a curve
Bernstein polynomials approximating a curve
Bernstein polynomial: Bernstein basis polynomials for 4th degree curve blending
Bernstein basis polynomials for 4th degree curve blending
Bernstein polynomial: Approximation of a sawtooth function f(x) by Bernstein polynomials Bn(x) of degree n = 5, 20, 100, 1000 on the interval  [1, 3]. The plot demonstrates smooth bridging of discontinuities and the absence of oscillations (the Gibbs phenomenon)
Approximation of a sawtooth function f(x) by Bernstein polynomials Bn(x) of degree n = 5, 20, 100, 1000 on the interval [1, 3]. The plot demonstrates smooth bridging of discontinuities and the absence of oscillations (the Gibbs phenomenon)

Worked examples

Example 1 — a first encounter with Bernstein polynomial

Start with the simplest possible case. Write down what Bernstein polynomial claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Bernstein polynomial before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Bernstein polynomial ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Bernstein polynomial

In research
Bernstein polynomial appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Bernstein polynomial in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Bernstein polynomial is common in secondary-school and first-year university syllabi. It links to neighbouring topics Numerical analysis, Polynomials, so understanding it makes those chapters shorter.
In everyday life
Look for Bernstein polynomial outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Bernstein polynomial” →

How to study Bernstein polynomial in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Bernstein polynomial means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Bernstein polynomial out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Bernstein polynomial in simple terms?

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.

Why does Bernstein polynomial matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Bernstein polynomial?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Bernstein polynomial.

Tags

  • Numerical analysis
  • Polynomials

Keep exploring