In Problems from the book by Andreescu, there's the following problem :
Let $x_0,\ldots,x_n$ be distinct complex numbers.
Prove $\displaystyle \sum_{k=0}^n\dfrac{x_k^{n+1}}{\prod_{j\neq k}(x_k-x_j)}=\sum_{k=0}^nx_k$
Evaluate $\displaystyle \sum_{k=0}^n\dfrac{x_k^{n+2}}{\prod_{j\neq k}(x_k-x_j)}$
My try:
Set $\Pi= \prod_{i=0}^nx_i$ and $f:x\to \dfrac{(-1)^n}{\Pi}x^{n+2}$
- Setting $P$ as the Lagrange polynomial for the function $f$ and points $x_0,\ldots,x_n$ yields $$P(X)=\sum_{k=0}^n \dfrac{(-1)^n}{\Pi}x_k^{n+2} \prod_{j\neq k }\frac{X-x_j}{x_k-x_j}$$ and $$P(0)= \sum_{k=0}^n\dfrac{x_k^{n+1}}{\prod_{j\neq k}(x_k-x_j)} $$
It remains to prove that $P(0)=\sum_{k=0}^nx_k$, which would be true if hypothetically $P=\sum_{0}^nx_kX^k$
I don't know if indeed $P=\sum_{0}^nx_kX^k$ ...
- Besides, noting that $f$ is a polynomial with degree $n+2$, which matches with $P$ at $n+1$ points, there exists some $z$ such that $$f(X)-P(X)= \dfrac{(-1)^n}{\Pi}(X-x_0)\ldots(X-x_n)(X-z)$$
Hence $-P(0)=f(0)-P(0)=z$.
How to prove that $-z=\sum_{k=0}^nx_k$ ?
EDIT: Surprisingly (at least for me), this sum amounts to this one
$2.$ I haven't thought much about it, but I don't see any trivial connection with $1.$