令 F(x)=xsinx+2cosx+πx。在 0<x<π 内,
令 G(x)=sinx−xcosx,则 G′(x)=xsinx>0;且 G(π)=π。所以对 0<x<π,有 G(x)<π,从而 F′(x)>0。
因此 F 在 (0,π) 上严格递增。由 a<b,得 F(b)>F(a),即