I(f)=∫0bf(x)log(x)dx Let fn be piecewise linear approximation on a uniform partition
xj=jh,j=0,1,…,nwhereh=nb and
fn(x)=h1[(xj−x)fj−1+(x−xj−1)fj],xj−1≤x≤xj for which we know the error estimate from Section 6.9.1
∥f−fn∥∞≤8h2∥f′′∥∞ Then, with In(f)=I(fn)
∣I(f)−In(f)∣≤8h2∥f′′∥∞∫0b∣log(x)∣dx→0 In(f) can be computed analytically. In particular, in the first sub-interval [x0,x1]=[0,h]
fn(x)=hh−xf0+hxf1 we have
∫x0x1log(x)fn(x)dx=hf0∫0h(h−x)log(x)dx+hf1∫0hxlog(x)dx and these are finite since
∫0hlog(x)dx=h[log(h)−1],∫0hxlog(x)dx=4h2[2log(h)−1] The integrals in other intervals can also be computed analytically.