This is a copy of the problem presented here, however, I did not understand the problem due to the manipulations being done without much motivation. I therefore restate the problem here.
Problem:
Given a function $f: [0, 1] \to \mathbb{R}$ of degree $m$ we define the Bernstein approximation of order $n$ to $f$ as the function $$g(x) = \sum_{i=0}^{n} f\left(\frac{i}{n}\right) B_i^n(x).$$
The goal is to show that if $f$ has degree $m \leq n$, then $g$ has degree $m$.
Preliminaries:
The $i$'th Bernstein polynomial of degree $n$ is defined as $$ B_i^n(x) = {n \choose i}x^i(1 - x)^{n-i}. $$
A Bézier curve $p(t)$ is a function on the form $$ p(t) = \sum_{i=0}^n c_i B_i^n(u) $$ where $u = (t - a) / (b - a)$ and $t \in [a, b]$. The $r$'th derivative of p with respect to $t$ is $$ p^{(r)}(t) = \frac{n!}{(n - r)!(b - a)^r}\sum_{i=0}^{n-r}\Delta^{r}c_iB_i^{n-r}(u) $$ where $\Delta^r c_i = \Delta^{r-1}c_{i+1} - \Delta^{r-1}c_i$ denotes the $r$'th forward difference of $c_i$.
What I have tried:
- My initial idea for how to solve this is by looking at the derivatives of $g$ with respect to $t$. If I can show that $g$ differentiated $m$ times is a constant, and that $g$ differentiated $m + 1$ times is zero, then $g$ has degree $m$. This corresponds to showing that the $m$'th forward difference of $c_i$ is non-zero, while the $j$'th forward difference of $c_i$ is zero for $j > m$.
- Notice that the Bernstein approximation is a linear operator. We can therefore just consider the case where $f(x) = x^m$. This is what the linked answer above does, but it does it without motivation for the various manipulations, which leaves me a bit baffled. The trick here is to manipulate the expression to end up with something where you have coefficients $D_i$ in front of the $x^i$ terms, and proving the claim by showing that $D_i$ is zero for $i > m$.
Any nudges in the right direction is appreciated.
Thanks in advance!