Let $n \in \Bbb N, x_k \in\Bbb R$ pair wise different grid points for $k = 0, \ ..., \ n$, and define the Lagrange polynomials
$l_k(x) = \prod_{j=0, j \neq k}^n {{x - x_j} \over {x_k - x_j}}$.
For $r = 0, \ ..., \ n$, Show that
$\sum_{k=0}^n x_k^r l_k(x) = x^r$.
How would I prove this statement? I know a proof for $\sum_{k=0}^n l_k(x) = 1$, but I don't know whether this one is similar to this one right here. It confuses me that, in the end, we have $x^r$, while we actually sum up different expressions. Does anyone have a hint for me?