This is a copy of the following question on the Computer Science Stack Exchange: https://cs.stackexchange.com/questions/11655/how-come-the-bernstein-operator-creates-a-polynomial-of-the-same-degree-as-its-i
The original answer left me a bit puzzled, so I tried finding a way myself.
I read that the Bernstein operator
$$ \mathfrak{B}_f(t) = \sum_{i=0}^n f\left(\frac{i}{n}\right) \; B^n_i(t) $$
applied to a polynomial $f(x)$ of degree $m \leq n$ with the Bernstein polynomial
$$ B^n_i(t) = \binom{n}{i} \; t^i \; (1-t)^{n-i} $$
returns a new polynomial also of degree $m$. In other words, the Bernstein operator does not increase its degree when applied to $f$.
How is this possible? Since we're only sampling $f$ at a certain interval, wouldn't the original degree of $f$ become irrelevant? How can the degree of the result be smaller than $n$, since we will have at least one $t^n$ in the expression resulting from one of the Bernstein polynomials?
I've done some more research, and I've been able to change the expression as such:
$$ f(x) = \sum_{j=0}^m c_j \cdot x^j $$ $$ \mathfrak{B}_f(t) = \sum_{j=0}^m c_j \left[ \sum_{i=0}^m \left( \frac{i}{n} \right)^j \binom{n}{i} t^i (1-t)^{n-i} + \sum_{i=0}^{n-m} \left( \frac{i}{n} \right)^j \binom{n}{i} t^i (1-t)^{n-i} \right] $$
Now all that is left to do is to show that
$$ \sum_{j=0}^m \sum_{i=0}^m \left( \frac{i}{n} \right)^j \binom{n}{i} t^i (1-t)^{n-i} \neq 0 $$
and
$$ \sum_{j=0}^m \sum_{i=0}^{n-m} \left( \frac{i}{n} \right)^j \binom{n}{i} t^i (1-t)^{n-i} = 0 $$
However, I am afraid my math skills end here. I have no idea how to proceed.