If \(\mathrm{f}(r)\) is a function defined
for \(r=0,1,2,3,\ldots,\) show that
\[
\sum_{r=1}^{n}\left\{ \mathrm{f}(r)-\mathrm{f}(r-1)\right\} =\mathrm{f}(n)-\mathrm{f}(0).
\]
If \(\mathrm{f}(r)=r^{2}(r+1)^{2},\) evaluate \(\mathrm{f}(r)-\mathrm{f}(r-1)\)
and hence determine \({\displaystyle \sum_{r=1}^{n}r^{3}.}\)
Find the sum of the series \(1^{3}-2^{3}+3^{3}-4^{3}+\cdots+(2n+1)^{3}.\)
By considering \((1+x+x^{2}+\cdots+x^{n})(1-x)\) show that, if \(x\neq1\),
\[
1+x+x^{2}+\cdots+x^{n}=\frac{1-x^{n+1}}{1-x}.
\]
By differentiating both sides and setting \(x=-1\) show that
\[
1-2+3-4+\cdots+(-1)^{n-1}n
\]
takes the value \(-n/2\) is \(n\) is even and the value \((n+1)/2\) if
\(n\) is odd.
Show that
\[
1^{2}-2^{2}+3^{2}-4^{2}+\cdots+(-1)^{n-1}n^{2}=(-1)^{n-1}(An^{2}+Bn)
\]
where the constants \(A\) and \(B\) are to be determined.
Give a rough sketch of the function \(\tan^{k}\theta\) for \(0\leqslant\theta\leqslant\frac{1}{4}\pi\)
in the two cases \(k=1\) and \(k\gg1\) (i.e. \(k\) is much greater than
1).
Show that for any positive integer \(n\)
\[
\int_{0}^{\frac{1}{4}\pi}\tan^{2n+1}\theta\,\mathrm{d}\theta=(-1)^{n}\left(\tfrac{1}{2}\ln2+\sum_{m=1}^{n}\frac{(-1)^{m}}{2m}\right),
\]
and deduce that
\[
\sum_{m=1}^{\infty}\frac{(-1)^{m-1}}{2m}=\tfrac{1}{2}\ln2.
\]
Show similarly that
\[
\sum_{m=1}^{\infty}\frac{(-1)^{m-1}}{2m-1}=\frac{\pi}{4}.
\]