\[w_{k}=\int_{a}^{b}\frac{p_{n}(x)}{(x-x_{k})p^{\mspace{1.0mu}\prime}_{n}(x_{k})%
}\,w(x)\,\mathrm{d}x.\]