\[\int_{a}^{b}f(x)\,\mathrm{d}\alpha(x)=\int_{a}^{b}w(x)f(x)\,\mathrm{d}x+\sum_{%
n=1}^{N}w_{n}f(x_{n}).\]