Integration

Showing 51-75 of 112 problems
2007 Paper 1 Q3
D: 1500.0 B: 1500.0

Prove the identities \(\cos^4\theta -\sin^4\theta \equiv \cos 2\theta\) and $\cos^4 \theta + \sin^4 \theta \equiv 1 - {\frac12} \sin^2 2 \theta$. Hence or otherwise evaluate \[ \int_0^{\frac{1}{2}\pi} \cos^4 \theta \; \d \theta \;\;\;\; \mbox{and}\;\;\;\; \int_0^{\frac{1}{2}\pi} \sin^4 \theta \; \d \theta \,. \] Evaluate also \[ \int_0^{\frac{1}{2}\pi} \cos^6 \theta \; \d \theta \;\;\;\; \mbox{and}\;\;\;\; \int_0^{\frac{1}{2}\pi} \sin^6 \theta \; \d \theta \,. \]

Show Solution
\begin{align*} && \cos^4 \theta - \sin^4 \theta &= (\cos^2 \theta - \sin^2 \theta)(\cos^2 \theta + \sin^2 \theta) \\ &&&= \cos^2 \theta - \sin^2 \theta \\ &&&= \cos 2 \theta \\ \\ && 1&= (\cos^2 \theta + \sin^2 \theta)^2 \\ &&&= \cos^4 \theta + \sin^4 \theta + 2 \sin^2 \theta \cos^2 \theta \\ &&&= \cos^4 \theta + \sin^4 \theta + \frac12 ( \sin^2 2 \theta) \\ \Rightarrow && \cos^4 \theta + \sin^4 \theta &= 1 - \tfrac12 \sin^2 2 \theta \end{align*} \begin{align*} && I &= \int_{0}^{\pi/2} \cos^4 \theta \d \theta \\ && J &= \int_0^{\pi/2} \sin^4 \theta \d \theta \\ && I-J &= \int_0^{\pi/2} \cos 2 \theta \d \theta = 0 \\ && I+J &= \int_0^{\pi/2} (1- \frac12 \sin^2 2 \theta) \d \theta \\ &&&= \frac{\pi}{2} - \frac14 \int_0^{\pi} \sin^2 \theta \d \theta \\ &&&= \frac{\pi}{2} - \frac{\pi}{8} \\ &&&= \frac{3\pi}{8} \\ \Rightarrow && I=J &= \frac{3\pi}{16} \end{align*} \begin{align*} && \cos^6 \theta + \sin^6 \theta &= (\cos^2 \theta + \sin^2 \theta)(\cos^4 \theta - \cos^2 \theta \sin^2 \theta + \sin^4 \theta) \\ &&&= 1-\tfrac12 \sin^2 2\theta - \tfrac14 \sin^2 2 \theta \\ &&&= 1 - \tfrac34 \sin^2 2 \theta \\ %&& \cos^6 \theta - \sin^6 \theta &= (\cos^2 \theta - \sin^2 \theta)(\cos^4 \theta + \cos^2 \theta \sin^2 \theta + \sin^4 \theta) \\ %&&&= \cos 2 \theta (1 - \tfrac12 \sin^2 2 \theta + \tfrac14 \sin^2 2 \theta) \\ %&&&= \cos 2 \theta (1 - \tfrac14 \sin^2 2 \theta) \\ \end{align*} \begin{align*} && I &= \int_{0}^{\pi/2} \cos^6 \theta \d \theta \\ && J &= \int_0^{\pi/2} \sin^6 \theta \d \theta \\ && I-J &= 0 \\ && I+J &= \int_0^{\pi/2} (1 - \tfrac34 \sin^2 2 \theta) \d \theta \\ &&&= \frac{\pi}{2} - \frac{3\pi}{16} = \frac{5\pi}{16} \\ \Rightarrow && I = J &= \frac{5\pi}{32} \end{align*}
2007 Paper 2 Q3
D: 1600.0 B: 1575.2

By writing \(x=a\tan\theta\), show that, for \(a\ne0\), $\displaystyle \int \frac 1 {a^2+x^2}\, \d x =\frac 1 a \arctan \frac x a + \text{constant}\,$.

  1. Let $\displaystyle I=\int_0^{\frac{1}{2}\pi} \frac {\cos x}{1+\sin^2 x} \, \d x\,$.
    1. Evaluate \(I\).
    2. Use the substitution \(t=\tan \frac12 x\) to show that \(\displaystyle \int_0^1 \frac {1-t^2}{1+6t^2+t^4} \, \d t = \tfrac12 I\,\).
  2. Evaluate \(\displaystyle \int_0^1 \frac {1-t^2}{1+14t^2+t^4} \, \d t \,\).

Show Solution
\begin{align*} && I &= \int \frac{1}{a^2+x^2} \d x\\ x = a \tan \theta, \d x =a \sec^2 \theta \d \theta &&&= \int \frac{1}{a^2+a^2\tan^2 x} a \sec^2 \theta \d \theta \\ &&&=\int \frac{\sec^2 \theta}{a \sec^2 \theta} \d \theta \\ &&&= \frac1a \theta + C \\ &&&= \frac1a \arctan \frac{x}{a} + C \end{align*}
    1. \(\,\) \begin{align*} && I &= \int_0^{\frac{1}{2}\pi} \frac {\cos x}{1+\sin^2 x} \d x \\ &&&= \left [ \arctan (\sin x) \right]_0^{\pi/2} \\ &&&= \arctan(1) - \arctan(0) = \frac{\pi}{4} \end{align*}
    2. \(\,\) \begin{align*} && t &= \tan \frac{x}{2} \\ \Rightarrow && \sin x &= \frac{2t}{1+t^2} \\ && \cos x &= \frac{1-t^2}{1+t^2} \\ && \d x &= \frac{2}{1+t^2} \d t \\ \Rightarrow && I &= \int_0^{\pi/2} \frac{\cos x}{1 + \sin^2 x } \d x \\ &&&= \int_{t=0}^{t = 1} \frac{\frac{1-t^2}{1+t^2}}{1 + \left (\frac{2t}{1+t^2} \right)^2} \frac{2}{1+t^2} \d t \\ &&&= 2 \int_0^1 \frac{1-t^2}{(1+t^2)^2+(2t)^2} \d t\\ &&&= 2 \int_0^1 \frac{1-t^2}{1+6t^2+t^4} \d t\\ \end{align*} From which the conclusion follows
  1. \(\,\) \begin{align*} && J &= \int_0^1 \frac {1-t^2}{1+14t^2+t^4} \, \d t \\ &&&= \int_0^1 \frac {\frac{1-t^2}{1+t^2}}{\frac{1+14t^2+t^4}{(1+t^2)^2}} \frac{1}{1+t^2} \, \d t \\ &&&= \int_0^1 \frac {\frac{1-t^2}{1+t^2}}{\frac{(t^2+1)^2+3(2t)^2}{(1+t^2)^2}} \frac{1}{1+t^2} \, \d t \\ &&&= \frac12\int_{x=0}^{x=\pi/2} \frac {\cos x}{1+3 \sin^2 x} \d x \\ &&&= \frac{1}{6}\left[ \sqrt{3} \arctan(\sin \sqrt{3}x)\right]_0^{\pi/2} \\ &&&= \frac16 \sqrt{3} \frac{\pi}{3} \\ &&&= \frac{\sqrt{3}\pi}{18} \end{align*}
2007 Paper 3 Q7
D: 1700.0 B: 1516.0

The functions \(\s(x)\) (\(0\le x<1\)) and \(t(x)\) (\(x\ge0\)), and the real number \(p\), are defined by \[ \s(x) = \int_0^x \frac 1 {\sqrt{1-u^2}}\, \d u\;, \ \ \ \ t(x) = \int_0^x \frac 1 {1+u^2}\, \d u\;, \ \ \ \ p= 2 \int_0^\infty \frac 1 {1+u^2}\, \d u \;. \] For this question, do not evaluate any of the above integrals explicitly in terms of inverse trigonometric functions or the number \(\pi\).

  1. Use the substitution \(u=v^{-1}\) to show that \(\displaystyle t(x) =\int_{1/x}^\infty\frac 1 {1+v^2}\, \d v \, \). Hence evaluate \(t(1/x) + t(x)\) in terms of \(p\) and deduce that \(2t(1)= \frac12 p\,\).
  2. Let \(y=\dfrac{u}{\sqrt{1+u^2}}\). Express \(u\) in terms of \(y\), and show that \(\displaystyle \frac{\d u}{\d y} = \frac 1 {\sqrt{(1-y^2)^3}}\). By making a substitution in the integral for \(t(x)\), show that \[ t(x) = \s\left(\frac{x}{\sqrt{1+x^2}}\right)\!. \] Deduce that \(\s\big(\frac1{\sqrt2}\big) =\frac1 4 p\,\).
  3. Let \(z= \dfrac{u+ \frac1{\sqrt3}}{1-\frac 1{\sqrt3}u}\,\). Show that \(\displaystyle t(\tfrac1{\sqrt3}) = \int_{\frac1{\sqrt3}}^{\sqrt3} \frac1 {1+z^2} \,\d z\;, \) and hence that \(3t(\frac1{\sqrt3}) = \frac12 p\,\).

Show Solution
  1. \begin{align*} && t(x) &= \int_0^x \frac{1}{1+u^2} \d u \\ u = v^{-1}, \d u = -v^{-2} \d v&&&= \int_{v = \infty}^{v = 1/x} \frac{1}{1+v^{-2}} \frac{-1}{v^2} \d v \\ &&&= \int_{1/x}^\infty \frac{1}{1+v^2} \d v \\ \\ \Rightarrow && t(x) + t(1/x) &= \int_0^x \frac{1}{1+u^2} \d u + \int_0^{1/x} \frac{1}{1+u^2} \d u \\ &&&= \int_{1/x}^{\infty} \frac{1}{1+u^2} \d u + \int_0^{1/x} \frac{1}{1+u^2} \d u \\ &&&= \int_0^{\infty} \frac{1}{1+u^2} \d u \\ &&&= \frac12 p \\ \\ \Rightarrow && t(1) +t(1/1) = 2t(1) &= \frac12 p \end{align*}
  2. \(\,\) \begin{align*} && y &= \frac{u}{\sqrt{1+u^2}} \\ \Rightarrow && y^2 &= \frac{u^2}{1+u^2} \\ &&&= 1-\frac{1}{1+u^2} \\ \Rightarrow && 1+u^2 &= \frac{1}{1-y^2} \\ \Rightarrow && u &= \frac{y}{\sqrt{1-y^2}} \\ \\ && \frac{\d u}{\d y} &= \frac{\sqrt{1-y^2} + y^2(1-y^2)^{-1/2}}{1-y^2} \\ &&&= \frac{1}{(1-y^2)^{3/2}} \\ \\ && t(x) &= \int_0^x \frac{1}{1+u^2} \d u \\ &&&= \int_0^{y = x/\sqrt{1+x^2}} \frac{1}{1 + \frac{y^2}{1-y^2}} \frac{1}{(1-y^2)^{3/2}} \d y \\ &&&= \int_0^{x/\sqrt{1+x^2}} \frac{1-y^2}{(1-y^2)^{3/2}} \d y \\ &&&= \int_0^{x/\sqrt{1+x^2}} \frac{1}{(1-y^2)^{1/2}} \d y \\ &&&= s\left ( \frac{x}{\sqrt{1+x^2}} \right) \\ \\ \Rightarrow && s\left ( \frac{1}{\sqrt{2}} \right) &= t(1) = \frac14p \end{align*}
  3. \(\,\) \begin{align*} && z &= \frac{u + \frac1{\sqrt{3}}}{1- \frac{1}{\sqrt{3}} u}\\ \Rightarrow && z - \frac{z}{\sqrt{3}}u &= u + \frac{1}{\sqrt{3}} \\ \Rightarrow && u &= \frac{z-\frac{1}{\sqrt{3}}}{1 + \frac{z}{\sqrt{3}}} \\ \\ \Rightarrow && \frac{\d u}{\d z} &= \frac{\sqrt{3}(\sqrt{3}+z ) -(\sqrt{3}z-1)}{\left (\sqrt{3}+z \right)^2} \\ &&&= \frac{4}{(\sqrt{3}+z)^2} \\ \\ \Rightarrow && t \left ( \frac{1}{\sqrt{3}} \right) &= \int_0^{1/\sqrt{3}} \frac{1}{1+u^2} \d u \\ &&&= \int_{z=1/\sqrt{3}}^{z=\sqrt{3}} \frac{1}{1 + \left ( \frac{\sqrt{3}z-1}{\sqrt{3}+z}\right)^2} \frac{4}{(\sqrt{3}+z)^2} \d z\\ &&&= \int_{1/\sqrt{3}}^{\sqrt{3}} \frac{4}{(\sqrt{3}+z)^2+(\sqrt{3}z-1)^2} \d z \\ &&&= \int_{1/\sqrt{3}}^{\sqrt{3}} \frac{4}{4+4z^2} \d z \\ &&&= \int_{1/\sqrt{3}}^{\sqrt{3}} \frac{1}{1+z^2} \d z \end{align*} Notice that \(t(1/\sqrt{3})+t(\sqrt{3}) = \frac12p\) and also notice that \(t(1/\sqrt{3}) + t(1/\sqrt{3}) =t(\sqrt{3})\) so \(3t(1/\sqrt{3}) = \frac12p\)
2006 Paper 1 Q5
D: 1500.0 B: 1500.0

  1. Use the substitution \(u^2=2x+1\) to show that, for \(x>4\), \[ \int \frac{3} { ( x-4 ) \sqrt {2x+1}} \; \d x = \ln \l \frac{\sqrt{2x+1}-3} {\sqrt{2x+1}+3} \r + K\,, \] where \(K\) is a constant.
  2. Show that $ \displaystyle \int_{\ln 3}^{\ln 8} \frac{2} { \e^x \sqrt{ \e^x + 1}}\; \mathrm{d}x\, = \frac 7{12} + \ln \frac23 $ .

Show Solution
  1. \begin{align*} && I &= \int \frac{3}{(x-4)\sqrt{2x+1}}\, \d x \\ u^2 =2x+1, 2u \frac{\d u}{\d x}=2: && &= \int \frac{3}{\left(\frac{u^2-1}{2}-4\right)u} u \d u \\ &&&= \int \frac{6}{u^2-9} \d u \\ &&&= \int \frac{6}{(u-3)(u+3)} \d u\\ &&&= \int \left ( \frac{1}{u-3} - \frac{1}{u+3} \right )\d u \\ &&&= \ln (u-3) - \ln (u+3) + C \\ &&&= \ln \frac{u-3}{u+3} + C \\ &&&= \ln \left (\frac{\sqrt{2x+1}-3}{\sqrt{2x+1}+3} \right) + C \end{align*}
  2. \begin{align*} && I &= \int_{\ln 3}^{\ln 8} \frac{2}{e^x\sqrt{e^x+1}} \d x \\ u = e^x, \frac{\d u}{\d x} = e^x: &&&= \int_{u=3}^{u=8} \frac{2}{u\sqrt{u+1}} \frac{1}{u} \d u \\ v^2=u+1, 2v \frac{\d v}{\d u} = 1: &&&= \int_{v=2}^{v=3} \frac{2}{v(v^2-1)^2} \d v \\ &&&= \int_2^3 \left ( \frac{2}{v} - \frac{}{v-1} - \frac{1}{2(v-1)^2} - \frac{1}{v+1} - \frac{1}{2(v+1)^2}\right) \d v \\ &&&= \left [2\ln v - \ln(v^2-1)+\frac12(v-1)^{-1}+\frac12(v+1)^{-1} \right]_2^3 \\ &&&= \left ( 2\ln3-\ln 8+\frac14+\frac18\right)-\left ( 2\ln2-\ln 3+\frac12+\frac16\right) \\ &&&= \end{align*}
2006 Paper 1 Q7
D: 1516.0 B: 1503.2

  1. Sketch on the same axes the functions \({\rm cosec}\, x\) and \(2x/ \pi\), for \(0 < x < \pi\,\). Deduce that the equation \(x\sin x = \pi/2 \) has exactly two roots in the interval \(0 < x < \pi\,\). Show that \[ \displaystyle \int_{\pi/2}^{\pi} \left \vert x\sin x - \frac{\pi} { 2} \right \vert \; \mathrm{d}x = 2\sin\alpha +\frac{3\pi^2} 4 - \alpha \pi -\pi -2\alpha \cos\alpha -1 \] where \(\alpha\) is the larger of the roots referred to above.
  2. Show that the region bounded by the positive \(x\)-axis, the \(y\)-axis and the curve \[y = \Bigl| \vert \e^x - 1 \vert - 1 \Bigr|\] has area \(\ln 4-1\).

Show Solution
  1. \(\,\)
    TikZ diagram
    Notice that they are equal at \(1\) when \(x = \pi/2\), but this is a local minimum for \(\csc x\) whereas \(2x/\pi\) is increasing so there is a second intersection. Notice that \(\csc x = \frac{2x}{\pi} \Leftrightarrow x \sin x = \frac{\pi}{2}\) therefore our intersections are also the roots of \(x \sin x = \frac{\pi}{2}\) and the larger one is greater than \(\pi/2\) \begin{align*} && I &= \int_{\pi/2}^{\pi} \Bigl| x \sin x - \frac{\pi}{2} \Bigr| \d x \\ &&&= \int_{\pi/2}^{\alpha} \left ( x \sin x - \frac{\pi}{2} \right )\d x +\int_{\alpha}^{\pi} \left ( \frac{\pi}{2} -x \sin x \right) \d x \\ &&&= \left ( \pi - 2\alpha + \frac{\pi}{2}\right) \frac{\pi}{2} + \int_{\pi/2}^{\alpha} x \sin x\d x -\int_{\alpha}^{\pi} x \sin x \d x \\ &&&= \frac{3\pi^2}{4} - \alpha \pi + \left [-x \cos x \right]_{\pi/2}^{\alpha}+\left[x \cos x \right]_{\alpha}^{\pi} + \int_{\pi/2}^{\alpha} \cos x \d x - \int_{\alpha}^{\pi} \cos x \d x \\ &&&= \frac{3\pi^2}{4} - \alpha \pi -\alpha \cos \alpha -\pi -\alpha \cos \alpha+ \sin \alpha - 1+\sin \alpha \\ &&&= 2\sin \alpha + \frac{3\pi^2}{4} - \alpha \pi - 2\alpha \cos \alpha - 1 \end{align*}
  2. \(\,\)
    TikZ diagram
    \begin{align*} && A &= \int_0^{\ln 2} ||e^x-1|-1| \d x \\ &&&= \int_0^{\ln 2} |e^x-2| \d x \\ &&&=\int_0^{\ln 2} (2-e^x) \d x \\ &&&= 2 \ln 2 - \left [e^x \right]_0^{\ln 2} \\ &&&= \ln 4 - (2-1) = \ln 4 - 1 \end{align*}
2006 Paper 2 Q4
D: 1600.0 B: 1530.0

By making the substitution \(x=\pi-t\,\), show that \[ \! \int_0^\pi x\f(\sin x) \d x = \tfrac12 \pi \! \int_0^\pi \f(\sin x) \d x\,, \] where \(\f(\sin x)\) is a given function of \(\sin x\). Evaluate the following integrals:

  1. \(\displaystyle \int_0^\pi \frac {x \sin x}{3+\sin^2 x}\,\d x\,\);
  2. $\displaystyle \int_0^{2\pi} \frac {x \sin x}{3+\sin^2 x}\,\d x\,\(;
  3. \)\displaystyle \int_{0}^{\pi} \frac {x \big\vert\sin 2x\big\vert}{3+\sin^2 x}\,\d x\,$.

2006 Paper 3 Q2
D: 1700.0 B: 1513.8

Let \[ I = \int_{-\frac12 \pi}^{\frac12\pi} \frac {\cos^2\theta}{1-\sin\theta\sin2\alpha} \, \d\theta \text{ and } J = \int_{-\frac12 \pi}^{\frac12\pi} \frac {\sec^2\theta}{1+\tan^2\theta\cos^22\alpha} \, \d\theta \] where \(0 < \alpha < \frac14\pi\,\).

  1. Show that \[ I = \int_{-\frac12 \pi}^{\frac12\pi} \frac {\cos^2\theta}{1+\sin\theta\sin2\alpha} \d\theta \] and hence that \[ \displaystyle 2I = \int_{-\frac12 \pi}^{\frac12\pi} \frac {2}{1+\tan^2\theta\cos^22\alpha} \, \d\theta \]
  2. Find \(J\).
  3. By considering \(I\sin^2 2\alpha +J\cos^2 2\alpha \), or otherwise, show that \(I =\frac12 \pi \sec^2\alpha\).
  4. Evaluate \(I\) in the case \(\frac14\pi < \alpha < \frac12\pi\).

Show Solution
  1. \(\,\) \begin{align*} && I &= \int_{-\frac12 \pi}^{\frac12\pi} \frac {\cos^2\theta}{1-\sin\theta\sin2\alpha} \, \d\theta \\ \phi = -\theta, \d \phi = - \d \theta: &&&= \int_{\phi=\frac12\pi}^{\phi=-\frac12\pi} \frac{\cos^2(-\phi)}{1-\sin(-\phi)\sin 2 \alpha} (-1) \d \phi \\ &&&= \int_{-\frac12 \pi}^{\frac12\pi} \frac {\cos^2\phi}{1+\sin\phi\sin2\alpha} \d\phi \\ \\ && 2I &= \int_{-\frac12 \pi}^{\frac12\pi} \frac {\cos^2\theta}{1-\sin\theta\sin2\alpha} \, \d\theta +\int_{-\frac12 \pi}^{\frac12\pi} \frac {\cos^2\theta}{1+\sin\theta\sin2\alpha} \, \d\theta \\ &&&= \int_{-\frac12 \pi}^{\frac12\pi} \left ( \frac {\cos^2\theta}{1-\sin\theta\sin2\alpha} +\frac {\cos^2\theta}{1+\sin\theta\sin2\alpha} \right) \, \d\theta \\ &&&= \int_{-\frac12 \pi}^{\frac12\pi} \left ( \frac {2\cos^2\theta}{1-\sin^2\theta\sin^22\alpha} \right) \, \d\theta \\ &&&= \int_{-\frac12 \pi}^{\frac12\pi} \left ( \frac {2\cos^2\theta}{1-(1-\cos^2\theta)(1-\cos^22\alpha)} \right) \, \d\theta \\ &&&= \int_{-\frac12 \pi}^{\frac12\pi} \left ( \frac {2\cos^2\theta}{\cos^2\theta+\cos^22\alpha-\cos^2 \theta \cos^2 2 \alpha)} \right) \, \d\theta \\ &&&= \int_{-\frac12 \pi}^{\frac12\pi} \left ( \frac {2}{1+\cos^22\alpha(\sec^2 \theta - 1))} \right) \, \d\theta \\ &&&= \int_{-\frac12 \pi}^{\frac12\pi} \left ( \frac {2}{1+\tan^2 \theta \cos^22\alpha} \right) \, \d\theta \\ \end{align*}
  2. \(\,\) \begin{align*} && J &= \int_{-\frac12 \pi}^{\frac12\pi} \frac {\sec^2\theta}{1+\tan^2\theta\cos^22\alpha} \, \d\theta \\ &&&= \left [\sec 2 \alpha \tan^{-1} \left ( \cos 2 \alpha \tan \theta \right) \right]_{-\frac12 \pi}^{\frac12\pi} \\ &&&= \sec(2\alpha)\pi = \frac{\pi}{\cos 2 \alpha} \end{align*}
  3. \(\,\) \begin{align*} && I\sin^2 2\alpha +J\cos^2 2\alpha &= \int_{-\frac12\pi}^{\frac12 \pi} \frac{\sin^2 2 \alpha+\cos^2 2 \alpha \sec^2 \theta}{1+\tan^2 \theta \cos^2 2\alpha} \d \theta \\ &&&= \int_{-\frac12\pi}^{\frac12 \pi} \frac{\sin^2 2 \alpha+\cos^2 2 \alpha (1 + \tan^2 \theta)}{1+\tan^2 \theta \cos^2 2\alpha} \d \theta \\ &&&= \pi \\ \\ \Rightarrow && I &= \frac{\pi - \pi \cos 2 \alpha}{\sin^2 2 \alpha} \\ &&&= \pi \frac{2\sin^2 \alpha}{4 \sin^2 \alpha \cos^2 \alpha} \\ &&&= \frac12 \pi \sec^2 \alpha \end{align*}
  4. If \(\frac14 \pi < \alpha < \frac12 \pi\) then our calculation for \(J\) is not correct. \begin{align*} && J &= \int_{-\frac12 \pi}^{\frac12\pi} \frac {\sec^2\theta}{1+\tan^2\theta\cos^22\alpha} \, \d\theta \\ &&&= \left [\sec 2 \alpha \tan^{-1} \left ( \cos 2 \alpha \tan \theta \right) \right]_{-\frac12 \pi}^{\frac12\pi} \\ &&&= \sec(2\alpha) \left ( \lim_{\theta \to \frac{\pi}{2}} \tan^{-1} \left ( \cos 2 \alpha \tan \theta \right) - \lim_{\theta \to -\frac{\pi}{2}} \tan^{-1} \left ( \cos 2 \alpha \tan \theta \right) \right) \\ &&&= \sec(2\alpha) \left ( \tan^{-1} \left ( \lim_{x\to -\infty} x \right) - \tan^{-1} \left ( \lim_{x\to \infty} x \right) \right) \\ &&&= -\pi \sec 2 \alpha \end{align*} Still using the same logic, we can say \begin{align*} && I &= \frac{\pi+\pi\cos 2 \alpha}{\sin^2 2 \alpha} \\ &&&= \pi \frac{2 \cos^2 \alpha}{4 \sin^2 \alpha \cos^2 \alpha}\\ &&&= \frac12 \pi \cosec^2 \alpha \end{align*}
2005 Paper 1 Q5
D: 1484.0 B: 1528.7

  1. Evaluate the integral \[ \int_0^1 \l x + 1 \r ^{k-1} \; \mathrm{d}x \] in the cases \(k\ne0\) and \(k = 0\,\). Deduce that \(\displaystyle \frac{2^k - 1}{k} \approx \ln 2\) when \(k \approx 0\,\).
  2. Evaluate the integral \[ \int_0^1 x \l x + 1 \r ^m \; \mathrm{d}x \; \] in the different cases that arise according to the value of \(m\).

Show Solution
  1. Case \(k \neq 0\): \begin{align*} && \int_0^1 (x+1)^{k-1} \d x &= \left [\frac{1}{k}(x+1)^k \right]_0^1 \\ &&&= \frac{2^k-1}{k} \\ \end{align*} Case \(k = 0\): \begin{align*} && \int_0^1 (x+1)^{k-1} \d x &= \int_0^1 (x+1)^{-1} \d x \\ &&&= \left [\ln(x+1) \right]_0^1 \\ &&&= \ln 2 \end{align*} Therefore for \(k \approx 0\), we must have both integrals being close to each other, since the function is nice on this interval, ie \(\frac{2^k-1}{k} \approx \ln 2\)
  2. Case \(m = 0\). \(I = \frac12\) Case \(m \neq 0, -1, -2\) \begin{align*} u = x+1, \d u = \d x && \int_0^1 x(x+1)^m \d x &= \int_{u=1}^{u=2} (u-1)u^m \d u \\ &&&=\left[ \frac{u^{m+2}}{m+2} - \frac{u^{m+1}}{m+1} \right]_1^2 \\ &&&= 2^{m+1}\left ( \frac{2}{m+2} - \frac1{m+1} \right) - \frac{1}{m+2} + \frac{1}{m+1} \\ &&&= 2^{m+1} \frac{m}{(m+1)(m+2)} + \frac{1}{(m+1)(m+2)} \\ &&&= \frac{m2^{m+1}+1}{(m+1)(m+2)} \\ \end{align*} Case \(m = -1\). \begin{align*} && \int_0^1 \frac{x}{x+1} \d x &= \int_0^1 1 - \frac{1}{x+1} \d x \\ &&&= 1 - \ln2 \\ \end{align*} Case \(m = -2\): \begin{align*} && \int_0^1 \frac{x}{(x+1)^2} \d x &= \int_0^1\frac{x+1-1}{(x+1)^2} \d x \\ &&&= \left [ \ln (x+1) +(1+x)^{-1} \right]_0^1 \\ &&&= \ln 2 + \frac12 - 1 \\ &&&= \ln 2 - \frac12 \end{align*}
2005 Paper 2 Q3
D: 1600.0 B: 1469.5

Give a sketch, for \(0 \le x \le \frac{1}{2}\pi\), of the curve $$ y = (\sin x - x\cos x)\;, $$ and show that \(0\le y \le 1\,\). Show that:

  1. \(\displaystyle \int_0^{\frac{1}{2}\pi}\,y\;\d x = 2 -\frac \pi 2 \)
  2. \(\displaystyle \int_0^{\frac{1}{2}\pi}\,y^2\,\d x = \frac{\pi^3}{48}-\frac \pi 8 \)
Deduce that \(\pi^3 +18 \pi< 96\,\).

Show Solution
TikZ diagram
Since \(y' = \cos x - \cos x + x \sin x = x \sin x > 0\) which is positive on \((0, \frac{\pi}{2})\), so \(y\) is increasing, and therefore will achieve it's highest value at \(\frac{\pi}{2}\) which is \(y(\frac{\pi}{2}) = 1\) and it's smallest value at \(y(0) = 0\). Therefore \(0 \leq y \leq 1\)
  1. \(\,\) \begin{align*} \int_0^{\frac{1}{2}\pi}\,y\;\d x &= \int_0^{\frac{1}{2}\pi} (\sin x - x \cos x) \d x \\ &= \left [-\cos x \right]_0^{\frac{1}{2}\pi} +\left [ -x \sin x \right]_0^{\frac{1}{2}\pi} + \int_0^{\frac{1}{2}\pi} \sin x \d x \\ &= 1-\frac{\pi}{2} + 1 = 2 - \frac{\pi}{2} \end{align*}
  2. \(\,\) \begin{align*} \int_0^{\frac{1}{2}\pi}y^2\d x &= \int_0^{\frac{1}{2}\pi} (\sin x - x \cos x)^2 \d x \\ &= \int_0^{\frac{1}{2}\pi} (\sin^2x - 2x\sin x \cos x+x^2\cos^2 x) \d x\\ &= \int_0^{\frac{1}{2}\pi} (\sin^2x -x \sin 2x+\tfrac12x^2(\cos 2 x + 1)) \d x\\ &= \frac{\pi}{4} + \frac{\pi^3}{48} + \int_0^{\frac{1}{2}\pi} (-x \sin 2x+\tfrac12x^2\cos 2 x) \d x \\ &= \frac{\pi}{4} + \frac{\pi^3}{48} + \left [\frac12 x \cos 2x +\frac14 x^2 \sin2x\right]_0^{\frac{1}{2}\pi}-\int_0^{\frac{1}{2}\pi}(\tfrac12 \cos 2x +\tfrac12 x \sin 2x) \d x\\ &= \frac{\pi}{4} + \frac{\pi^3}{48} - \frac{\pi}{4} - \left [ \frac14 \sin 2x \right]_0^{\frac{1}{2}\pi} - \int_0^{\frac{1}{2}\pi} \tfrac12 x \sin 2x \d x\\ &= \frac{\pi^3}{48} - \left( \left[ -\frac14 x \cos 2x \right]_0^{\frac{1}{2}\pi} - \int_0^{\frac{1}{2}\pi} -\frac14 \cos 2x \d x \right)\\ &= \frac{\pi^3}{48} - \left( \frac{\pi}{8} + \left[ \frac18 \sin 2x \right]_0^{\frac{1}{2}\pi} \right)\\ &= \frac{\pi^3}{48} - \frac{\pi}{8} \end{align*}
Since \(y^2 < y\) on this interval, we must have \( \frac{\pi^3}{48} - \frac{\pi}{8} < 2 - \frac{\pi}{2} \Rightarrow \pi^3 +18\pi < 96\) as required.
2004 Paper 1 Q2
D: 1484.0 B: 1499.3

The square bracket notation \(\boldsymbol{[} x\boldsymbol{]}\) means the greatest integer less than or equal to \(x\,\). For example, \(\boldsymbol{[}\pi\boldsymbol{]} = 3\,\), \(\boldsymbol{[}\sqrt{24}\,\boldsymbol{]} = 4\,\) and \(\boldsymbol{[}5\boldsymbol{]}=5\,\).

  1. Sketch the graph of \(y = \sqrt{\boldsymbol{[}x\boldsymbol{]}}\) and show that \[ \displaystyle \int^a_0 \sqrt{\boldsymbol{[}x\boldsymbol{]}} \; \mathrm{d}x = \sum^{a-1}_{r=0} \sqrt{r} \] when \(a\) is a positive integer.
  2. Show that $\displaystyle \int^{a}_0 2_{\vphantom{A}}^{\pmb{\boldsymbol {[} } x \pmb{ \boldsymbol{]}} }\; \mathrm{d}x = 2^{a}-1\( when \)a\( is a positive integer.
  3. Determine an expression for \)\displaystyle \int^{a}_0 2_{\vphantom{\dot A}}^{\pmb{\boldsymbol{[} }x \pmb{ \boldsymbol{]}} } \; \mathrm{d}x\( when \)a$ is positive but not an integer.

Show Solution
  1. \(\,\)
    TikZ diagram
    \begin{align*} && \int_0^a \sqrt{\boldsymbol{[}x\boldsymbol{]}} \d x &= \sum_{r=0}^{a-1} \int_{x=r}^{x=r+1} \sqrt{\boldsymbol{[}x\boldsymbol{]}} \d x \\ &&&= \sum_{r=0}^{a-1} \int_r^{r+1} \sqrt{r} \d x \\ &&&= \sum_{r=0}^{a-1} \sqrt{r} \\ \end{align*}
  2. \(\,\) \begin{align*} && \int^{a}_0 2^{\boldsymbol {[} x \boldsymbol{]}} \d x &= \sum_{r=0}^{a-1} \int_{x=r}^{x=r+1} 2^{\boldsymbol {[} x \boldsymbol{]}} \d x \\ &&&= \sum_{r=0}^{a-1} \int_{x=r}^{x=r+1} 2^{r} \d x \\ &&&= \sum_{r=0}^{a-1} 2^{r}\\ &&&= 2^{a}-1 \end{align*}
  3. \(\,\) \begin{align*} && \int^{a}_0 2^{\boldsymbol {[} x \boldsymbol{]}} \d x &= \int_0^{\boldsymbol {[} a \boldsymbol{]}} 2^{\boldsymbol {[} x \boldsymbol{]}} \d x + \int_{\boldsymbol {[} a \boldsymbol{]}}^a 2^{\boldsymbol {[} x \boldsymbol{]}} \d x \\ &&&= 2^{ \boldsymbol {[} a \boldsymbol{]}}-1 + (a-\boldsymbol {[} a \boldsymbol{]})2^{\boldsymbol {[} a \boldsymbol{]}} \\ &&&= (a-\boldsymbol {[} a \boldsymbol{]}+1)2^{\boldsymbol {[} a \boldsymbol{]}} -1 \end{align*}
2004 Paper 1 Q4
D: 1516.0 B: 1484.0

Differentiate \(\sec {t}\) with respect to \(t\).

  1. Use the substitution \(x=\sec t\) to show that $\displaystyle \int^2_{\sqrt 2} \frac{1}{ x^3\sqrt {x^2-1} } \; \mathrm{d}x =\frac{\sqrt 3 - 2}{8} + \frac {\pi}{24} \;.$
  2. Determine $\displaystyle \int \frac{1} {( x+2) \sqrt {(x+1)(x+3)} } \; \mathrm{d}x \;$.
  3. Determine $\displaystyle \int \frac {1} {(x+2) \sqrt {x^2+4x-5} } \; \mathrm{d}x \;$.

Show Solution
\[\frac{\d}{\d t} \left ( \sec t \right) = \frac{\sin t }{\cos^2 t} = \sec t \tan t \]
  1. \(\,\) \begin{align*} && I_1 &= \int_{\sqrt{2}}^2 \frac{1}{x^3 \sqrt{x^2-1}} \\ x = \sec t, \d x = \sec t \tan t:&&&= \int_{t=\pi/4}^{t=\pi/3} \frac{1}{\sec^3 t \tan t} \sec t \tan t \d t \\ &&&= \int_{t=\pi/4}^{t=\pi/3} \cos^2 t \d t \\ &&&= \int_{t=\pi/4}^{t=\pi/3} \frac{1+\cos 2t}{2} \d t \\ &&&= \frac12 \frac{\pi}{12} + \frac12 \left (\sin \frac{\pi}{3} - \sin \frac{\pi}{4} \right) \\ &&&= \frac{\pi}{24} + \frac{\sqrt{3}-2}{8} \\ \end{align*}
  2. \(\,\) \begin{align*} && I_2 &= \int \frac{1}{(x+2)\sqrt{(x+1)(x+3)}} \d x \\ &&&= \int \frac{1}{(x+2)\sqrt{(x+2)^2-1}} \d x \\ &&&= \int \frac{1}{u\sqrt{u^2-1}} \d u \\ &&&= \sec^{-1} u + C \\ &&&= \sec^{1} (x+2) + C \end{align*}
  3. \(\,\) \begin{align*} && I_3 &= \int \frac{1}{(x+2)\sqrt{(x+2)^2 - 9}} \d x \\ &&&= \int\frac{1}{9(\frac{x+2}{3})\sqrt{(\frac{x+2}3)^2 - 1}} \d x \\ u = \frac{x+2}{3}, 3\d u =\d x &&&= \frac19 \int \frac{1}{u\sqrt{u^2-1}} 3 \d u \\ &&&= \frac13 \sec^{-1} u + C \\ &&&= \frac13 \sec^{-1} \frac{x+2}{3} + C \end{align*}
2003 Paper 1 Q6
D: 1500.0 B: 1484.0

Evaluate the following integrals, in the different cases that arise according to the value of the positive constant \(a\,\):

  1. \[ \displaystyle \int_0^1 \frac 1 {x^2 + (a+2)x +2a} \; \d x \]
  2. \[\displaystyle \int _{1}^2\frac 1 {u^2 +au +a-1} \; \d u\]

Show Solution
  1. \(\,\) \begin{align*} && I &= \int_0^1 \frac 1 {x^2 + (a+2)x +2a} \; \d x \\ &&&= \int_0^1 \frac{1}{(x+a)(x+2)} \d x\\ \end{align*} Case 1: \(a = 2\) \begin{align*} && I &= \int_0^1 \frac{1}{(x+2)^2} \d x \\ &&&= \left [ -(x+2)^{-1}\right]_0^1 = \frac12 - \frac13 = \frac16 \end{align*} Case 2: \(a \neq 2, a \not \in [0,1]\) \begin{align*} && I &=\frac{1}{a-2} \int_0^1 \left ( \frac{1}{x+2} - \frac{1}{x+a} \right) \d x \\ &&&= \frac{1}{a-2} \left [ \ln |x+2| - \ln |x + a|\right]_0^1 \\ &&&= \frac{1}{a-2} \left ( \ln \frac{3}{|1+a|} - \ln \frac{2}{|a|} \right) \\ &&&= \frac{1}{a-2} \ln \frac{3|a|}{2|a+1|} \end{align*} Case 3: \(a \in [0, 1]\), \(I\) does not converge
  2. \(\,\) \begin{align*} && J &= \int _{1}^2\frac 1 {u^2 +au +a-1} \; \d u \\ &&&= \int_1^2 \frac{1}{(u+a-1)(u+1)} \d u \\ x = u-1:&&&= \int_0^1 \frac{1}{(x+a)(x+2)} \d x \end{align*} So it's the same as the previous integral
2003 Paper 2 Q6
D: 1600.0 B: 1500.0

The function \(\f\) is defined by $$ \f(x)= \vert x-1 \vert\;, $$ where the domain is \({\bf R}\,\), the set of all real numbers. The function \(\g_n =\f^n\), with domain \({\bf R}\,\), so for example \(\g_3(x) = \f(\f(\f(x)))\,\). In separate diagrams, sketch graphs of \(\g_1\,\), \(\g_2\,\), \(\g_3\,\) and \(\g_4\,\). The function \(\h\) is defined by \[ \h(x) = |\sin {{{\pi}x} \over 2}|, \] where the domain is \({\bf R}\,\). Show that if \(n\) is even, \[ \int_0^n\,\big( \h(x)-\g_n(x)\big)\,\d x = \frac{2n}{\pi} -\frac{n}2\;. \]

Show Solution
TikZ diagram
TikZ diagram
TikZ diagram
TikZ diagram
If \(n\) is even, and \(0 < x < n\) then \(g_n(x) = \begin{cases} \{x \} & \text{if }\lfloor x \rfloor\text{ is even} \\ 1-\{x \} & \text{if }\lfloor x \rfloor\text{ is odd} \\\end{cases}\), in other words, there are \(\frac{n}{2}\) triangles, with height \(1\) and base \(2\), giving total area of \(\frac{n}{2}\). Each section of \(|\sin (\frac{n \pi}{2})|\) will have area \(\frac{2}{\pi}\) and there will be \(n\) of them, therefore \(\frac{2n}{\pi} - \frac{n}{2}\)
2003 Paper 3 Q3
D: 1700.0 B: 1484.0

If \(m\) is a positive integer, show that \(\l 1+x \r^m + \l 1-x \r^m \ne 0\) for any real \(x\,\). The function \(\f\) is defined by \[ \f (x) = \frac{ (1+x )^m - ( 1-x )^m}{ (1+x )^m + (1-x )^m} \;. \] Find and simplify an expression for \(\f'(x)\). In the case \(m=5\,\), sketch the curves \(y = \f (x)\) and \(\displaystyle y = \frac1 { \f (x )}\;\).

Show Solution
If \(m\) is even, clearly that expression is positive since it's the sum of two (different) squares. If \(m\) is odd, then we can expand it as a sum of powers of \(x^2\) with a leading coefficient of \(1\) so it is also positive. \begin{align*} && f (x) = \frac{ (1+x )^m - ( 1-x )^m}{ (1+x )^m + (1-x )^m} \\ && f'(x) &= \frac{(m(1+x )^{m-1} + m( 1-x )^{m-1})((1+x)^m + (1-x)^m ) - ((1+x )^m - ( 1-x )^m)(m(1+x)^{m-1} - m(1-x)^{m-1} )}{\l (1+x)^m + (1-x)^m \r^2} \\ &&&= \frac{2m(1+x)^m(1-x)^{m-1}+2m(1+x)^{m-1}(1-x)^m}{\l (1+x)^m + (1-x)^m \r^2} \\ &&&= \frac{2m(1+x)^{m-1}(1-x)^{m-1}(1+x+1-x)}{\l (1+x)^m + (1-x)^m \r^2} \\ &&&= \frac{4m(1+x)^{m-1}(1-x)^{m-1}}{\l (1+x)^m + (1-x)^m \r^2} \\ \end{align*}
TikZ diagram
2002 Paper 1 Q4
D: 1500.0 B: 1500.0

Give a sketch of the curve \( \;\displaystyle y= \frac1 {1+x^2}\;\), for \(x\ge0\). Find the equation of the line that intersects the curve at \(x=0\) and is tangent to the curve at some point with \(x>0\,\). Prove that there are no further intersections between the line and the curve. Draw the line on your sketch. By considering the area under the curve for \(0\le x\le1\), show that \(\pi>3\,\). Show also, by considering the volume formed by rotating the curve about the \(y\) axis, that \(\ln 2 >2/3\,\). [Note: \(\displaystyle \int_0^ 1 \frac1 {1+x^2}\, \d x = \frac\pi 4\,.\;\)]

Show Solution
TikZ diagram
\begin{align*} && y &= (1+ x^2)^{-1} \\ \Rightarrow && y' &= -2x(1+x^2)^{-2} \\ \text{eqn of tangent}:&& \frac{y - (1+t^2)^{-1}}{x-t} &= -2t(1+t^2)^{-2} \\ \text{passes thru }(0,1): && \frac{1-(1+t^2)^{-1}}{-t} &= -2t(1+t^2)^{-2} \\ \Rightarrow && (1+t^2)^2-(1+t^2) &= 2t^2 \\ \Rightarrow && t^4-t^2 &= 0 \\ \Rightarrow && t &= 0, \pm 1 \\ \Rightarrow && \frac{y - \frac12}{x - 1} &= -\frac12 \\ && y &=1 -\tfrac12 x \end{align*} There can be no further intersections since the equation is equivalent to the cubic \((1-\frac12 x)(1+x^2) = 1\) and we have already found \(3\) roots. \begin{align*} && A &= \int_0^1 \frac{1}{1 + x^2} = \frac{\pi}{4} \\ && A &> \frac12 \cdot 1 \cdot (1 + \tfrac12) = \frac34 \\ \Rightarrow && \pi &> 3 \\ \\ && V &=\pi \int_{\frac12}^1 x^2 \d y \\ &&&= \pi \int_{\frac12}^1 \left ( \frac{1}{y}-1 \right) \d y \\ &&&= \pi \left [\ln y \right]_{1/2}^1-\frac12 \\ &&&= \pi \ln 2 - \frac{\pi}{2} \\ && V &> \frac13 \pi 1^2 \frac{1}{2} \\ &&&= \frac{\pi}{6} \\ \Rightarrow && \ln 2 &> \frac{2}{3} \end{align*}
2002 Paper 1 Q7
D: 1484.0 B: 1500.0

Let \[ I= \int_0^a \frac {\cos x}{\sin x + \cos x} \; \d x \, \quad \mbox{ and } \quad J= \int_0^a \frac {\sin x}{\sin x + \cos x} \; \d x \;, \] where \(0\le a < \frac{3}{4}\pi\,\). By considering \(I+J\) and \(I-J\), show that $ 2I= a + \ln (\sin a +\cos a)\;. $ Find also:

  1. \(\displaystyle \int_0^{\frac{1}{2}\pi} \frac {\cos x}{p\sin x + q\cos x} \; \d x \,\), where \(p\) and \(q\) are positive numbers; %
  2. [(ii)] %\(\displaystyle \int_0^{\frac{1}{2}\pi/2} \frac {\cos x}{\sin (x+k)} \; \d x \,\), where \(0 < k < \pi/2\,\);
  3. \(\displaystyle \int_0^{\frac{1}{2}\pi} \frac {\cos x+4}{3\sin x + 4\cos x+ 25} \; \d x \,\).

Show Solution
\begin{align*} && I + J &= \int_0^a \frac{\sin x + \cos x}{\sin x + \cos x } \d x = a \\ && I - J &= \int_0^a \frac{\cos x - \sin x}{\sin x + \cos x} \d x \\ &&&= \left [\ln ( \sin x + \cos x) \right]_0^a = \ln (\sin a + \cos a) - \ln 1 = \ln(\sin a + \cos a) \\ \\ \Rightarrow && 2I &= a + \ln(\sin a + \cos a) \end{align*}
  1. Let \(\displaystyle I = \int_0^{\frac12 \pi} \frac{\cos x}{p \sin x + q \cos x} \d x, J = \int_0^{\frac12 \pi} \frac{\sin x}{p \sin x + q \cos x} \d x\) so \begin{align*} && qI + pJ &= \frac{\pi}{2} \\ && pI - qJ &= \int_0^{\frac12 \pi} \frac{p \cos x - q \sin x}{p \sin x + q \cos x } \d x \\ &&&= \left [\ln (p \sin x + q \cos x) \right]_0^{\pi/2} \\ &&&= \ln(p) - \ln(q) = \ln \frac{p}{q} \end{align*}
  2. \(\,\) \begin{align*} && \int_0^{\frac{\pi}{2}} \frac{\cos x}{\sin(x + k)} \d x &= \int_0^{\frac{\pi}{2}} \frac{\cos x}{\sin(x) \cos(k) + \cos(x) \sin (k)} \d x \\ &&&= \ln \tan k \end{align*}
  3. Let \(\displaystyle I = \int_0^{\pi/2} \frac{\cos x + 4}{3 \sin x + 4 \cos x + 25} \d x, J = \int_0^{\pi/2} \frac{\sin x + 3}{3 \sin x + 4 \cos x + 25} \d x\), so \begin{align*} && 4I + 3J &= \int_0^{\pi/2} \frac{3 \sin x + 4 \cos x + 25}{3 \sin x + 4 \cos x + 25} \d x \\ &&&= \frac{\pi}{2} \\ && 3I - 4J &= \int_0^{\pi/2} \frac{3\cos x - 4 \sin x}{3 \sin x + 4 \cos x + 25} \d x \\ &&&= \left [\ln(3 \sin x + 4 \cos x + 25) \right]_0^{\pi/2} \\ &&&= \ln (28) - \ln (29) = \ln \frac{28}{29} \\ \Rightarrow && 25I &= 2\pi + 3 \ln \frac{28}{29} \\ \Rightarrow && I &= \frac{2}{25} \pi + \frac{3}{25} \ln \frac{28}{29} \end{align*}
2002 Paper 2 Q1
D: 1600.0 B: 1516.0

Show that \[ \int_{\frac{1}{6}\pi}^{\frac{1}{4}\pi} \frac 1{1-\cos2\theta} \;\d\theta = \frac{\sqrt3}2 - \frac12\;. \] By using the substitution \(x=\sin2\theta\), or otherwise, show that \[ \int_{\sqrt3/2}^1 \frac 1 {1-\sqrt{1-x^2}} \, \d x = \sqrt 3 -1 -\frac\pi 6 \;. \] Hence evaluate the integral \[ \int_1^{2/\sqrt3} \frac 1{y ( y - \sqrt{y^2-1^2})} \, \d y \;. \]

Show Solution
\begin{align*} && I &= \int_{\frac{1}{6}\pi}^{\frac{1}{4}\pi} \frac 1{1-\cos2\theta} \;\d\theta \\ &&&= \int_{\frac{1}{6}\pi}^{\frac{1}{4}\pi} \frac 1{2\sin^2 \theta} \;\d\theta \\ &&&= \frac12\int_{\frac{1}{6}\pi}^{\frac{1}{4}\pi} \cosec^2 \theta \;\d\theta \\ &&&= \frac12\left [-\cot \theta \right]_{\frac{1}{6}\pi}^{\frac{1}{4}\pi} \\ &&&= \frac12 \left (\cot \frac{\pi}{6} - \cot \frac{\pi}{4} \right)\\ &&&= \frac{\sqrt{3} - 1}{2} \end{align*} \begin{align*} && J &= \int_{\sqrt3/2}^1 \frac 1 {1-\sqrt{1-x^2}} \, \d x \\ x = \sin 2 \theta, \d x = 2\cos 2\theta \d \theta &&&=\int_{\pi/6}^{\pi/4} \frac{2 \cos 2 \theta }{1-\cos 2 \theta} \d \theta \\ &&&=\int_{\pi/6}^{\pi/4} \frac{2 \cos 2 \theta -2+2}{1-\cos 2 \theta} \d \theta \\ &&&= -2\left (\frac{\pi}{4} - \frac{\pi}6 \right) + 2I \\ &&&= \sqrt{3}-1-\frac{\pi}{6} \end{align*} \begin{align*} && K &= \int_1^{2/\sqrt{3}} \frac{1}{y(y-\sqrt{y^2-1})} \d y \\ y = 1/x, \d x = -1/y^2 \d y &&&= \int_{x=1}^{x=\sqrt{3}/2} \frac{1}{1-\sqrt{1-x^2}} \d x\\ &&&= \sqrt{3}-1 -\frac{\pi}6 \end{align*}
2002 Paper 2 Q4
D: 1600.0 B: 1484.0

Give a sketch to show that, if \(\f(x) > 0\) for \(p < x < q\,\), then \(\displaystyle \int_p^{q} \f(x) \d x > 0\,\).

  1. By considering \(\f(x) = ax^2-bx+c\,\) show that, if \(a > 0\) and \(b^2 < 4ac\), then \(3b < 2a+6c\,\).
  2. By considering \(\f(x)= a\sin^2x - b\sin x + c\,\) show that, if \(a > 0\) and \(b^2< 4ac\), then \(4b < (a+2c)\pi\)
  3. Show that, if \(a > 0\), \(b^2 < 4ac\) and \(q > p > 0\,\), then $$ b\ln(q/p) < a\left(\frac1p -\frac1q\right) +c(q-p)\;. $$

Show Solution
TikZ diagram
  1. If \(a > 0\) and \(b^2 < 4ac \Rightarrow \Delta < 0\) then \(f(x) = ax^2-bx+c > 0\) for all \(x\). Therefore \begin{align*} && 0 & < \int_0^1 (ax^2-bx+c) \d x\\ &&&= \frac13 a-\frac12b+c \\ \Rightarrow && 3b &< 2a+6c \end{align*}
  2. Similar logic tells us this must also be always positive, therefore \begin{align*} && 0 &< \int_0^{\pi} (a \sin^2 x - b \sin x +c ) \d x\\ &&&= \frac{\pi}{2}a - 2b+\pi c \\ \Rightarrow && 4b &< (a+2c)\pi \end{align*}
  3. Similar logic shows that \(f(x) = \frac{a}{x^2}-\frac{b}{x} +c>0\), therefore \begin{align*} && 0 &< \int_p^q \left (\frac{a}{x^2} - \frac{b}{x} + c\right) \d x \\ &&&=a\left (\frac{1}{p} - \frac{1}{q} \right) - b(\ln q - \ln p)+c(q-p) \\ \Rightarrow && b \ln (q/p) &,< a\left (\frac{1}{p} - \frac{1}{q} \right) +c(q-p) \end{align*}
2002 Paper 3 Q1
D: 1700.0 B: 1500.0

Find the area of the region between the curve \(\displaystyle y = {\ln x \over x}\,\) and the \(x\)-axis, for \(1 \le x \le a\). What happens to this area as \(a\) tends to infinity? Find the volume of the solid obtained when the region between the curve \(\displaystyle y = {\ln x \over x}\,\) and the \(x\)-axis, for \(1 \le x\le a\), is rotated through \(2 \pi\) radians about the \(x\)-axis. What happens to this volume as \(a\) tends to infinity?

Show Solution
\begin{align*} && \int_1^a \frac{\ln x}{x} \d x &= \left [ \ln x \cdot \ln x\right ]_1^a - \int_1^a \frac{\ln x}{x} \d x \\ \Rightarrow && \int_1^a \frac{\ln x}{x} \d x &= \frac12 \left ( \ln a \right) ^2 \\ && \int_1^\infty \frac{\ln x}{x} \d x &= \lim_{a \to \infty} \frac12 (\ln a)^2 \\ &&&= \infty \end{align*} \begin{align*} && \pi \int_1^a \left ( \frac{\ln x}{x} \right)^2 \d x &= \pi \int_{u=0}^{u=\ln a} \left ( \frac{u}{e^u} \right)^2 e^u \d u \\ &&&= \pi \int_0^{\ln a} u^2 e^{-u} \d u \\ &&&= \pi \left [-u^2e^{-u} \right]_0^{\ln a} +\pi \int_0^{\ln a} 2u e^{-u} \d u \\ &&&= -\frac{\pi}{a} (\ln a)^2 + \pi \left [-2u e^{-u} \right]_0^{\ln a} + \pi \int_0^{\ln a} e^{-u} \d u \\ &&&= -\frac{\pi}{a} (\ln a)^2- \frac{2 \pi}{a}\ln a+\pi \left (1 - \frac{1}{a} \right) \\ \\ && \pi \int_1^{\infty} \left ( \frac{\ln x}{x} \right)^2 \d x &= \lim_{a \to \infty} \left ( -\frac{\pi}{a} (\ln a)^2- \frac{2 \pi}{a}\ln a+\pi \left (1 - \frac{1}{a} \right) \right) \\ &&&= \pi \end{align*}
2001 Paper 1 Q5
D: 1500.0 B: 1544.5

Show that (for \(t>0\))

  1. \[ \int_0^1 \frac1{(1+tx)^2} \d x = \frac1{(1+t)} \]
  2. \[ \int_0^1 \frac{-2x}{(1+tx)^3} \d x = -\frac1{(1+t)^2} \]
Noting that the right hand side of (ii) is the derivative of the right hand side of (i), conjecture the value of \[ \int_0^1 \frac{6x^2}{(1+x)^{4}} \d x \;. \] (You need not verify your conjecture.)

Show Solution
  1. For the first one, consider \begin{align*} && \int_0^1 \frac{1}{(1+tx)^2} \d x &= \left [ -\frac{1}{t}(1+tx)^{-1} \right]_0^1 \\ &&&= \frac{1}{t} - \frac{1}{t(1+t)} \\ &&&= \frac{t+1-1}{t(t+1)} = \frac{1}{t+1} \end{align*}
  2. Consider \begin{align*} && \int_0^1 \frac{-2x}{(1+tx)^3} \d x &= \int_0^1 \frac{\frac{2}{t}(1+tx) -\frac{2}{t}}{(1+tx)^3} \d x \\ &&&= -\frac{2}{t} \int_0^1 \left (\frac{1}{(1+tx)^2}- \frac{1}{(1+tx)^3} \right) \d x \\ &&&= -\frac{2}{t} \frac{1}{t+1} + \frac{2}{t} \left [ \frac{1}{-2t}(1+tx)^{-2}\right]_0^1 \\ &&&= -\frac{2}{t(t+1)} + \frac2t\left (\frac{1}{2t} - \frac{1}{2t(1+t)^2} \right) \\ &&&= -\frac{2}{t} \left ( \frac{1}{t+1} + \frac{1}{2t(1+t)^2} - \frac{1}{2t}\right) \\ &&&= -\frac{2}{t} \frac{2t(1+t)+1-(1+t)^2}{2t(1+t)^2} \\ &&&= -\frac{2}{t} \frac{2t^2+2t+1-1-2t-t^2}{2t(1+t)^2} \\ &&&= -\frac{1}{(1+t)^2} \end{align*}
I would expect it to be \(\frac{2}{(1+t)^3}\). This is actually an application of differentiating under the integral sign and is completely valid where functions are well behaved.
2001 Paper 2 Q6
D: 1600.0 B: 1500.0

Show that \[ \int_0^1 \frac{x^4}{1+x^2} \, \d x = \frac \pi {4} - \frac 23 \;. \] Determine the values of

  1. \(\displaystyle \int_0^1 x^3 \; \tan ^{-1} \left(\frac {1-x} {1+x} \right) \,\d x \)
  2. \(\displaystyle \int_0^1 \frac {(1-y)^3} {(1+y)^5} \; {{\tan}^{-1} y}\, \d y\)

Show Solution
\begin{align*} && \int_0^1 \frac{x^4}{1+x^2} \d x &= \int_0^1 \frac{(x^2-1)(1+x^2)+1}{x^2+1} \d x\\ &&&= \int_0^1 \frac{1}{1+x^2} \d x -\int_0^1 (1-x^2) \d x \\ &&&= \left [\tan^{-1}x \right]_0^1 - \left [x - \tfrac13x^3 \right]_0^1 \\ &&&= \frac{\pi}{4} - \frac23 \end{align*}
  1. \(\,\) \begin{align*} && I &= \int_0^1 x^3 \; \tan ^{-1} \left(\frac {1-x} {1+x} \right) \,\d x \\ &&&= \left [ \frac{x^4}{4}\tan ^{-1} \left(\frac {1-x} {1+x} \right) \right]_0^1 -\int_0^1 \frac{x^4}{4} \frac{1}{1 +\left(\frac {1-x} {1+x} \right) ^2 } \cdot \frac{-2}{(1+x)^2} \d x \\ &&&= \frac{1}{2} \int_0^1 \frac{x^4}{(1+x)^2+(1-x)^2} \d x \\ &&&= \frac{1}{4} \int_0^1 \frac{x^4}{1+x^2} \d x \\ &&&= \frac{\pi}{16} - \frac{1}{6} \end{align*}
  2. \(\,\) \begin{align*} && J &= \int_0^1 \frac {(1-y)^3} {(1+y)^5} \; {{\tan}^{-1} y}\, \d y \\ &&&= \left [ \frac {(y(1+y^2)} {(1+y)^4} \tan^{-1}y \right]_0^1 - \int_0^1 \frac {(y(1+y^2)} {(1+y)^4} \frac{1}{1+y^2} \d y \\ &&&= \frac{\pi}{32} - \int_0^1 \frac{y}{(1+y)^4} \d y \\ &&&= \frac{\pi}{32} - \left[ - \frac{3y+1}{6(1+y)^3} \right]_0^1 \\ &&&= \frac{\pi}{32} +\frac{4}{6 \cdot 8} - \frac{1}{6} \\ &&&= \frac{\pi}{32} - \frac{1}{12} \end{align*}
2000 Paper 1 Q4
D: 1500.0 B: 1474.7

  1. Show that, for \(0\le x\le 1\), the largest value of \(\displaystyle \frac{x^6}{(x^2+1)^4}\) is \(\frac1{16}\).
  2. Find constants \(A\), \(B\), \(C\) and \(D\) such that, for all \(x\), \[ \frac{1}{(x^2+1)^4}= \frac{\d \ }{\d x} \left( \frac{Ax^5+Bx^3+Cx}{(x^2+1)^3}\right) +\frac{Dx^6}{(x^2+1)^4}. \]
  3. Hence, or otherwise, prove that \[ \frac{11}{24} \le \int_{0}^{1}\frac{1}{(x^{2}+1)^{4}}\, \d x \le \frac{11}{24} + \frac 1{16} \; . \]

Show Solution
  1. \(x^2 + 1 \geq 2x \Rightarrow \frac{1}{x^2+1} \leq \frac1{2x} \Rightarrow \frac{x^6}{(x^2+1)^4}\leq \frac{x^6}{16x^2} = \frac1{16}x^2 \leq \frac1{16}\) with equality when \(x = 1\)
  2. \(\,\) \begin{align*} && RHS &= \frac{\d \ }{\d x} \left( \frac{Ax^5+Bx^3+Cx}{(x^2+1)^3}\right) +\frac{Dx^6}{(x^2+1)^4} \\ &&&= \frac{(5Ax^4+3Bx^2+C)(x^2+1)^3-6x(x^2+1)^2(Ax^5+Bx^3+Cx)}{(x^2+1)^6}+\frac{Dx^6}{(x^2+1)^4} \\ &&&= \frac{(5Ax^4+3Bx^2+C)(x^2+1)-6x(Ax^5+Bx^3+Cx)+Dx^6}{(x^2+1)^4} \\ &&&= \frac{(D-A) x^6 + (5A-3B) x^4 + (3B-5C)x^2 + C}{(x^2+1)^4} \\ \Rightarrow && C &= 1 \\ && 3B &= 5 \quad\quad\quad\Rightarrow B = \frac53 \\ && 5A &= 3B = 5\Rightarrow A = 1 \\ && D &= A \quad\quad \Rightarrow D = 1 \end{align*}
  3. So \begin{align*} && I &= \int_{0}^{1}\frac{1}{(x^{2}+1)^{4}}\, \d x \\ &&&= \int_{0}^{1}\frac{\d \ }{\d x} \left( \frac{Ax^5+Bx^3+Cx}{(x^2+1)^3}\right) +\frac{Dx^6}{(x^2+1)^4} \, \d x \\ &&&= \left [ \frac{Ax^5+Bx^3+Cx}{(x^2+1)^3} \right]_0^1 + \int_{0}^{1}\frac{Dx^6}{(x^2+1)^4} \, \d x \\ &&& \leq \frac{A+B+C}{8} + \frac1{16} \\ &&&= \frac{2+\frac53}{8} + \frac1{16} = \frac{11}{24} + \frac{1}{16} \\ && I &\geq \left [ \frac{Ax^5+Bx^3+Cx}{(x^2+1)^3} \right]_0^1 = \frac{11}{24} \end{align*}
2000 Paper 1 Q8
D: 1484.0 B: 1484.0

Show that \[ \int_{-1}^1 \vert \, x\e^x \,\vert \d x =- \int_{-1}^0 x\e^x \d x + \int_0^1 x\e^x \d x \] and hence evaluate the integral. Evaluate the following integrals:

  1. \(\displaystyle \int_0^4 \vert\, x^3-2x^2-x+2 \,\vert \, \d x\,;\)
  2. \(\displaystyle \int_{-\pi}^\pi \vert\, \sin x +\cos x \,\vert \; \d x\,.\)

Show Solution
\begin{align*} && \int_{-1}^1 |x e^x |\d x &= \int_{-1}^0 |xe^x| \d x + \int_0^1 |xe^x| \d x \\ &&&= \int_{-1}^0 -xe^x \d x + \int_0^1 x \e^x \d x \\ &&&= -\int_{-1}^0 xe^x \d x + \int_0^1 x \e^x \d x \\ \\ && \int xe^x \d x &= xe^x - \int e^x \d x \\ &&&= xe^x - e^x \\ \\ \Rightarrow && \int_{-1}^1 |x e^x |\d x &= \left [ xe^x - e^x \right]_0^{-1}+ \left [ xe^x - e^x \right]_0^{1} \\ &&&= -e^{-1}-e^{-1} +e^{0} + e^1 - e^1 +e^0 \\ &&&= 2-2e^{-1} \end{align*}
  1. \(\,\) \begin{align*} && I &= \int_0^4 | x^3-2x^2-x+2| \d x \\ &&&= \int_0^4 |(x-2)(x-1)(x+1)| \d x\\ &&&= \int_0^1( x^3-2x^2-x+2) \d x- \int_1^2 ( x^3-2x^2-x+2) \d x + \int_2^4 ( x^3-2x^2-x+2) \d x \\ &&&= \left [\frac14 x^4-\frac23 x^3- \frac12 x^2 +2x \right]_0^1 - \left [\frac14 x^4-\frac23 x^3- \frac12 x^2 +2x \right]_1^2 + \left [\frac14 x^4-\frac23 x^3- \frac12 x^2 +2x \right]_2^4 \\ &&&= 2 \left ( \frac14 - \frac23 -\frac12 + 2\right) - 2 \left ( \frac14 2^4 - \frac23 2^3 -\frac12 2^2 + 2 \cdot 2\right)+ \left ( \frac14 4^4 - \frac23 4^3 -\frac12 4^2 + 2 \cdot 4\right) \\ &&&= \frac{133}{6} \end{align*}
  2. \(\,\) \begin{align*} && J &= \int_{-\pi}^\pi | \sin x + \cos x | \d x \\ &&&= \int_{-\pi}^{\pi} | \sqrt{2} \sin(x + \tfrac{\pi}{4})| \d x \\ &&&= 2\sqrt{2}\int_0^\pi \sin x \d x \\ &&&= 4\sqrt{2} \end{align*}
2000 Paper 2 Q5
D: 1600.0 B: 1470.2

It is required to approximate a given function \(\f(x)\), over the interval \(0 \le x \le 1\), by the linear function \(\lambda x\), where \(\lambda\) is chosen to minimise \[ \int_0^1 \big(\f(x)-\lambda x \big)^{\!2} \,\d x . \] Show that \[ \lambda = 3 \int_0^1 x\f(x)\,\d x. \] The residual error, \(R\), of this approximation process is such that \[ R^2 = \int_0^1 \big(\f(x)-\lambda x \big)^{\!2}\,\d x. \] Show that \[ R^2 = \int_0^1 \big(\f(x)\big)^{\!2}\,\d x -\tfrac{1}{3} \lambda ^2. \] Given now that \(\f(x)= \sin (\pi x/n)\), show that (i) for large \(n\), \(\lambda \approx \pi/n\) and (ii) \(\lim_{n \to \infty}R = 0.\) Explain why, prior to any calculation, these results are to be expected. [You may assume that, when \(\theta\) is small, $\sin \theta \approx \theta-\frac{1}{6}\theta^3$ and \(\cos \theta \approx 1 - \frac{1}{2}\theta^2.\)]

Show Solution
\begin{align*} && g(\lambda) &= \int_0^1 \big(\f(x)-\lambda x \big)^{\!2} \,\d x \\ &&&= \int_0^1 \left ( f(x)^2 -2\lambda xf(x) + \lambda^2 x^2\right) \d x \\ &&&= \frac13\lambda^2 - 2\lambda \int_0^1 x f(x) \d x + \int_0^1 f(x)^2 \d x \\ \end{align*} Differentiating (or completing the square) it is clear the minimum occurs when \(\displaystyle \lambda = 3 \int_0^1 xf(x) \d x\) \begin{align*} && R^2 &= \int_0^1 (f(x) - \lambda x )^2 \d x \\ &&&= \frac13\lambda^2 - 2\lambda \int_0^1 x f(x) \d x + \int_0^1 f(x)^2 \d x \\ &&&= \frac13 \left (\lambda -3\int_0^1 xf(x) \d x \right)^2 -\frac13 \left ( 3\int_0^1 xf(x) \d x \right)^2+\int_0^1 f(x)^2 \d x \\ \end{align*} When \(\lambda = 3\int_0^1 xf(x) \d x \) clearly this is the desired result. \begin{align*} && \lambda &= 3\int_0^1 xf(x) \d x \\ &&&= 3\int_0^1 x \sin(\pi x /n) \d x \\ &&&= 3 \left [-x \frac{n}{\pi} \cos (\pi x /n) \right]_0^1 + \frac{3n}{\pi} \int_0^1 \cos(\pi x /n) \d x \\ &&&= -\frac{3n}{\pi}\cos(\pi/n) + \frac{3n}{\pi} \left [ \frac{n}{\pi} \sin(\pi x /n)\right]_0^1 \\ &&&= -\frac{3n}{\pi} \cos(\pi/n) + \frac{3n^2}{\pi^2} \sin(\pi /n) \\ \text{for large }n: &&&\approx -\frac{3n}{\pi}\left ( 1 - \frac12\frac{\pi^2}{n^2} + o(1/n^4)\right) + \frac{3n^2}{\pi^2} \left (\frac{\pi}{n} - \frac16 \frac{\pi^3}{n^3} +o(1/n^5) \right) \\ &&&= \left (\frac32 -\frac12\right)\frac{\pi}{n} + o(1/n^3) \\ &&&= \frac{\pi}{n} + o(1/n^2) \end{align*} Therefore for large \(n\), \(\lambda \approx \frac{\pi}n\) \begin{align*} && \int_0^1 \sin^2(\pi x/n) \d x &= \frac12\int_0^1(1- \cos(2\pi x/n)) \d x\\ &&&= \frac12\left ( 1 - \frac{n}{2\pi}\left[\sin(2\pi x/n) \right]_0^1 \right) \\ &&&= \frac12 -\frac{n}{4\pi}\sin(2\pi /n) \\ \\ && R^2 &= \frac12 -\frac{n}{4\pi}\sin(2\pi /n) - \frac13 \left ( \frac{\pi}{n}+o(1/n^2)\right)^2 \\ &&&= \frac12 - \left ( \frac{1}{2} -\frac16\frac{\pi}{n}+o(1/n^3) \right) - o(1/n^2) \\ &&& = \frac16 \frac{\pi}{n} + o(1/n^2) \\ &&&\to 0 \text{ as } n \to \infty \end{align*} We should expect these results as for \(n\) very large \(\sin(\pi x/n) \approx \frac{\pi }{n}x\) so the best linear approximation is likely to be \(\lambda = \frac{\pi}{n}\) and we should expect it to improve to the point that we cannot tell the difference, ie \(R^2 \to 0\)
2000 Paper 2 Q6
D: 1600.0 B: 1585.4

Show that \[ \sin\theta = \frac {2t}{1+t^2}, \ \ \ \cos\theta = \frac{1-t^2}{1+t^2}, \ \ \ \frac{1+\cos\theta}{\sin\theta} = \tan (\tfrac{1}{2}\pi-\tfrac{1}{2}\theta), \] where \(t =\tan\frac{1}{2}\theta\). Use the substitution \(t =\tan\frac{1}{2}\theta\) to show that, for \(0<\alpha<\frac{1}{2}\pi\), \[ \int_0^{\frac{1}{2}\pi} {1 \over {1 + \cos\alpha \sin \theta}} \,\d\theta =\frac{\alpha}{\sin\alpha}\,, \] and deduce a similar result for \[ \int_0^{\frac{1}{2}\pi} {1 \over {1 + \sin\alpha \cos \theta}} \,\d\theta \,. \]

Show Solution
\begin{align*} && \frac{2t}{1+t^2} &= \frac{2 \sin \tfrac12 \theta \cos\tfrac12 \theta }{\cos^2 \tfrac12 \theta + \sin^2 \tfrac12 \theta} \\ &&&= \frac{\sin \theta}{1} = \sin \theta \\ \\ && \frac{1-t^2}{1+t^2} &= \frac{\cos^2 \tfrac12 \theta - \sin^2 \tfrac12 \theta}{\cos^2 \tfrac12 \theta + \sin^2 \tfrac12 \theta} \\ &&&= \frac{\cos \theta }{1} = \cos \theta \\ \\ && \tan(\tfrac12 \pi - \tfrac12 \theta) &= \frac{1}{t} \\ && \frac{1+\cos \theta}{\sin \theta} &= \frac{1 + \frac{1-t^2}{1+t^2}}{\frac{2t}{1+t^2}} \\ &&&= \frac{2}{2t} = \frac1t = \tan(\tfrac12\pi - \tfrac12 \theta) \end{align*} Notice also that \(\frac{\d t}{\d \theta} = \tfrac12 \sec^2 \tfrac12 \theta = \tfrac12(1 + t^2)\) so \begin{align*} && I &= \int_0^{\frac12 \pi} \frac{1}{1 + \cos \alpha \sin \theta} \d \theta \\ t = \tan \tfrac12 \theta, \d \theta = \frac{2}{1+t^2} \d t: &&&= \int_{0}^{1} \frac{1}{1 + \cos \alpha \frac{2t}{1+t^2}}\frac{2}{1+t^2} \d t \\ &&&= \int_0^1 \frac{2}{1+t^2 + 2\cos \alpha t} \d t \\ &&&= \int_0^1 \frac{2}{(t + \cos \alpha)^2+\sin^2 \alpha} \d t \\ &&&= \left [ \frac{2}{\sin \alpha} \tan^{-1} \left ( \frac{t+ \cos \alpha}{\sin \alpha} \right) \right]_0^1 \\ &&&= \frac{2}{\sin \alpha} \left ( \tan^{-1} \left ( \frac{1+ \cos \alpha}{\sin \alpha} \right) - \tan^{-1} \left ( \frac{ \cos \alpha}{\sin \alpha} \right) \right) \\ &&&= \frac{2}{\sin \alpha} \left ( \tan^{-1} \left (\tan (\tfrac12 \pi - \tfrac12 \alpha \right) - \tan^{-1} \left (\tan(\tfrac12\pi - \alpha )\right) \right) \\ &&&= \frac{2}{\sin \alpha} \left ( \tfrac12 \pi - \tfrac12 \alpha - \tfrac12 \pi + \alpha \right) \\ &&&= \frac{\alpha}{\sin \alpha} \end{align*} \begin{align*} && J &= \int_0^{\tfrac12 \pi} \frac{1}{1 + \sin \alpha \cos \theta} \d \theta \\ &&&= \int_0^{\tfrac12 \pi} \frac{1}{1 + \cos (\tfrac12 \pi - \alpha) \sin \theta} \d \theta \\ &&&= \frac{\tfrac12 \pi - \alpha}{\cos \alpha} \end{align*}