Find the exact value of \(\int_{0}^{6} \frac{x(x+1)}{x^2+4} \, dx\).
(i) Using the expansions of \(\cos(3x + x)\) and \(\cos(3x - x)\), show that \(\frac{1}{2}(\cos 4x + \cos 2x) = \cos 3x \cos x\).
(ii) Hence show that \(\int_{-\frac{1}{6}\pi}^{\frac{1}{6}\pi} \cos 3x \cos x \, dx = \frac{3}{8}\sqrt{3}\).
It is given that \(x = \ln(1-y) - \ln y\), where \(0 < y < 1\).
(i) Show that \(y = \frac{e^{-x}}{1 + e^{-x}}\).
(ii) Hence show that \(\int_0^1 y \, dx = \ln \left( \frac{2e}{e+1} \right)\).
(i) Prove the identity \(\tan 2\theta - \tan \theta \equiv \tan \theta \sec 2\theta\).
(ii) Hence show that \(\int_{0}^{\frac{1}{6}\pi} \tan \theta \sec 2\theta \, d\theta = \frac{1}{2} \ln \frac{3}{2}\).
(a) Find \(\int (4 + \tan^2 2x) \, dx\).
(b) Find the exact value of \(\int_{\frac{1}{4}\pi}^{\frac{1}{2}\pi} \frac{\sin(x + \frac{1}{6}\pi)}{\sin x} \, dx\).