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}.
\]