\[\sum_{j=1}^{n-1}u_{j}v_{j}=U_{n-1}v_{n}+\sum_{j=1}^{n-1}U_{j}(v_{j}-v_{j+1}),\]