I was running into a strange identity that is
Given ${x_1},{x_1},...,{x_n}$ and ${y_1},{y_1},...,{y_n}$ are all real number.
Denote ${c_k} = {y_1} + {y_2} + {y_3} + ... + {y_k}$ where $1 \le k \le n$
Proof that
${x_1}{y_1} + {x_2}{y_2} + ...{x_n}{y_n} = \left( {{x_1} - {x_2}} \right){c_1} + \left( {{x_2} - {x_3}} \right){c_2} + ... + \left( {{x_{n - 1}} - {x_n}} \right){c_n} + {x_n}{c_n}$
By plug in some number, I was able to come up with some case but I am not sure how to proof this identity for the general case
For $n=2$, we have:
${a_1}{b_1} + {a_2}{b_2} = \left( {{a_1} - {a_2}} \right){b_1} + {a_2}\left( {{b_1} + {b_2}} \right)$
For $n=3$, we have:
${a_1}{b_1} + {a_2}{b_2} + {a_3}{b_3} = \left( {{a_1} - {a_2}} \right){b_1} + \left( {{a_2} - {a_3}} \right)\left( {{b_1} + {b_2}} \right) + {a_3}\left( {{b_1} + {b_2} + {b_3}} \right)$
My country call this identity as Abel's expansion but I was unable to determine whether if this naming is correct or not.
Edit: I have finally found the name, this process is called Abel transformation https://en.wikipedia.org/wiki/Summation_by_parts