74 problems found
If \[ \mathrm{I}_{n}=\int_{0}^{a}x^{n+\frac{1}{2}}(a-x)^{\frac{1}{2}}\,\mathrm{d}x, \] show that \(\mathrm{I}_{0}=\pi a^{2}/8.\) Show that \((2n+4)\mathrm{I}_{n}=(2n+1)a\mathrm{I}_{n-1}\) and hence evaluate \(\mathrm{I}_{n}\).
Solution: \begin{align*} && I_n &= \int_{0}^{a}x^{n+\frac{1}{2}}(a-x)^{\frac{1}{2}}\,\mathrm{d}x\\ && I_0 &= \int_0^a x^{\frac12}(a-x)^{\frac12} \d x \\ x = a \sin^2 \theta, \d x = 2a \sin \theta \cos \theta \d \theta &&&= \int_{\theta =0}^{\theta = \pi/2} \sqrt{a}\sin \theta\sqrt{a} \cos \theta 2a \sin \theta \cos \theta \d \theta \\ &&&= \frac{a^2}{2} \int_0^{\pi/2} \sin^2 2 \theta \d \theta \\ &&&= \frac{a^2}{4} \int_0^{\pi/2}(1- \underbrace{\cos 4\theta}_{\text{runs round the whole unit circle}}) \d \theta \\ &&&= \frac{\pi a^2}{8} \\ \\ && I_n &= \int_0^a x^{n+\frac12}(a-x)^{\frac12} \d x \\ &&&=\underbrace{\left [-\frac23x^{n+\frac12}(a-x)^\frac32 \right]_0^a}_{=0} + \frac23 \left(n+\frac12\right) \int_0^ax^{n-1+\frac12}(a-x)^\frac32 \d x \\ &&&= \frac23 \left(n+\frac12\right) \int_0^ax^{n-1+\frac12}(a-x)(a-x)^\frac12 \d x \\ &&&= \frac23 \left(n+\frac12\right)aI_{n-1}-\frac23 \left(n+\frac12\right)I_{n} \\ \Rightarrow && \left(n+\frac12+\frac32\right)I_{n} &= \left(n+\frac12\right)aI_{n-1}\\ \Rightarrow && (2n+4)I_n &= (2n+1)aI_{n-1} \\ \\ \Rightarrow && I_n &= \frac{2n+1}{2n+4}a I_{n-1} \\ &&&=\frac{2n+1}{2n+4}\frac{2n-1}{2n+2}a^2 I_{n-2} \\ &&&= \frac{(2n+1)!!}{(2n+4)!!} \pi a^{n+2} \end{align*}
Show that
Solution:
By means of the change of variable \(\theta=\frac{1}{4}\pi-\phi,\) or otherwise, show that \[ \int_{0}^{\frac{1}{4}\pi}\ln(1+\tan\theta)\,\mathrm{d}\theta=\tfrac{1}{8}\pi\ln2. \] Evaluate \[ {\displaystyle \int_{0}^{1}\frac{\ln(1+x)}{1+x^{2}}\,\mathrm{d}x}\qquad\mbox{ and }\qquad{\displaystyle \int_{0}^{\frac{1}{2}\pi}\ln\left(\frac{1+\sin x}{1+\cos x}\right)\,\mathrm{d}x}. \]
Solution: \begin{align*} && I &= \int_0^{\frac14\pi} \ln (1 + \tan \theta) \d \theta \\ \theta = \tfrac14\pi - \phi, \d \theta = -\d\phi: &&&= \int_0^{\frac14 \pi} \ln ( 1 + \tan (\tfrac14\pi - \phi)) \d \phi \\ &&&= \int_0^{\frac14 \pi} \ln \left ( 1 + \frac{1 - \tan \phi}{1+\tan \phi} \right) \d \phi \\ &&&= \int_0^{\frac14 \pi} \ln \left ( \frac{2}{1+\tan \phi} \right) \d \phi \\ &&&= \tfrac14 \pi \ln 2 - I \\ \Rightarrow && I &= \tfrac18\pi \ln 2 \end{align*} \begin{align*} && J &= \int_0^1 \frac{\ln(1+x)}{1+x^2} \d x \\ x= \tan \theta \d \theta, \d \theta = \frac{\d x}{1+x^2} &&&= \int_0^{\frac14 \pi} \ln(1 + \tan \theta) \d \theta \\ &&&= \tfrac18 \pi \ln 2 \end{align*} \begin{align*} && K &= \int_0^{\frac12 \pi} \ln \left ( \frac{1 + \sin x}{1 + \cos x} \right) \d x \\ y = \tfrac12\pi - x, \d y = -\d x: &&&= \int_0^{\frac12\pi} \ln \left ( \frac{1+\cos y}{1+\sin y}\right) \d y \\ &&&= -K \\ \Rightarrow && K &= 0 \end{align*}
Calculate \[ \int_{0}^{x}\mathrm{sech}\, t\,\mathrm{d}t. \] Find the reduction formula involving \(I_{n}\) and \(I_{n-2}\), where \[ I_{n}=\int_{0}^{x}\mathrm{sech}^{n}t\,\mathrm{d}t \] and, hence or otherwise, find \(I_{5}\) and \(I_{6}.\)
Solution: \begin{align*} && \int_0^x \mathrm{sech}\, t \d t &= \int_0^x \frac{2}{e^t+e^{-t}} \d t \\ &&&= \int_0^x \frac{2e^t}{e^{2t}+1} \d t \\ &&&= \left [2 \arctan e^t \right ]_0^x \\ &&&= 2\tan^{-1}e^x- \frac{\pi}{2} \end{align*} \begin{align*} && I_n &= \int_0^x \mathrm{sech}^n\, t \d t \\ &&&= \int_0^x \mathrm{sech}^{n-2}\, t \mathrm{sech}^2\, t \d t \\ &&&= \left [ \mathrm{sech}^{n-2}\, t \cdot \tanh t\right ]_0^x - \int_0^x (n-2) \mathrm{sech}^{n-3} \, t \cdot (- \tanh t \mathrm{sech}\, t) \tanh t \d t \\ &&&= \mathrm{sech}^{n-2}\, x \cdot \tanh x+(n-2)\int_0^x \mathrm{sech}^{n-2} t \tanh^2 t \d t \\ &&&= \mathrm{sech}^{n-2}\, x \cdot \tanh x+(n-2)\int_0^x \mathrm{sech}^{n-2} t (1-\mathrm{sech}^2 \, t) \d t \\ &&&= \mathrm{sech}^{n-2}\, x \cdot \tanh x+(n-2)I_{n-2}-(n-2)I_n \\ \Rightarrow && (n-1)I_n &= \mathrm{sech}^{n-2}\, x \cdot \tanh x+(n-2)I_{n-2} \\ \Rightarrow && I_n &= \frac{1}{n-1} \left ( \mathrm{sech}^{n-2}\, x \cdot \tanh x+(n-2)I_{n-2} \right) \\ \end{align*} \begin{align*} I_1 &= 2\tan^{-1}e^x- \frac{\pi}{2} \\ I_3 &= \frac12 \left ( \mathrm{sech}\, x \cdot \tanh x+ 2\tan^{-1}e^x- \frac{\pi}{2}\right) \\ &= \frac12 \mathrm{sech}\, x \cdot \tanh x+ \tan^{-1}e^x- \frac{\pi}{4} \\ I_5 &= \frac14 \left (\mathrm{sech}^3\, x \cdot \tanh x + 3 \left ( \frac12 \mathrm{sech}\, x \cdot \tanh x+ \tan^{-1}e^x- \frac{\pi}{4} \right) \right) \\ &= \frac14 \mathrm{sech}^3\, x \cdot \tanh x +\frac38 \mathrm{sech}\, x \cdot \tanh x+\frac34 \tan^{-1}e^x- \frac{3\pi}{16} \\ \\ I_2 &= \tanh x \\ I_4 &= \frac13 \left ( \mathrm{sech}^2 x\tanh x +2\tanh x\right) \\ &= \frac13 \mathrm{sech}^2 x\tanh x +\frac23 \tanh x \\ I_6 &= \frac15 \left ( \mathrm{sech}^4 x \tanh x+4\left ( \frac13 \mathrm{sech}^2 x\tanh x +\frac23 \tanh x \right) \right) \\ &= \frac15 \mathrm{sech}^4 x \tanh x + \frac4{15}\mathrm{sech}^2 x\tanh x + \frac{8}{15} \tanh x \end{align*}
By making the change of variable \(t=\pi-x\) in the integral \[ \int_{0}^{\pi}x\mathrm{f}(\sin x)\,\mathrm{d}x, \] or otherwise, show that, for any function \(\mathrm{f},\) \[ \int_{0}^{\pi}x\mathrm{f}(\sin x)\,\mathrm{d}x=\frac{\pi}{2}\int_{0}^{\pi}\mathrm{f}(\sin x)\,\mathrm{d}x\,. \] Evaluate \[ \int_{0}^{\pi}\frac{x\sin x}{1+\cos^{2}x}\,\mathrm{d}x\quad\mbox{ and }\quad\int_{0}^{2\pi}\frac{x\sin x}{1+\cos^{2}x}\,\mathrm{d}x\,. \]
Solution: \begin{align*} && I &= \int_0^{\pi} x f(\sin x) \d x \\ t = \pi - x, \d t = -\d t : &&&= \int_{t = \pi}^{t = 0} (\pi - t) f(\sin (\pi - t)) -\d t \\ &&&= \int_0^{\pi} (\pi - t) f(\sin t) \d t \\ \Rightarrow && 2 I &= \pi \int_0^\pi f(\sin t) \d t \\ \Rightarrow && I &= \frac{\pi}{2} \int_0^{\pi} f(\sin x) \d x \end{align*} \begin{align*} && I &= \int_{0}^{\pi}\frac{x\sin x}{1+\cos^{2}x}\,\mathrm{d}x \\ &&&= \frac{\pi}{2}\int_0^\pi \frac{\sin x}{1 + \cos^2 x} \d x \\ &&&= \frac{\pi}{2}\left [ -\tan^{-1} \cos x\right]_0^{\pi} \\ &&&= \tan 1 - \tan (-1) = \frac{\pi^2}{4} \\ \\ && I &= \int_{0}^{2\pi}\frac{x\sin x}{1+\cos^{2}x}\,\mathrm{d}x \\ &&&= \int_{0}^{\pi}\frac{x\sin x}{1+\cos^{2}x}\,\mathrm{d}x + \int_{\pi}^{2\pi} \frac{x\sin x}{1+\cos^{2}x}\,\mathrm{d}x \\ u = x - \pi, \d u = \d x: &&&= \frac{\pi^2}{4} + \int_{0}^{\pi} \frac{(u+\pi)(-\sin u)}{1 + \cos^2 u}\d u \\ &&&= \frac{\pi^2}{4} -\frac{3\pi}{2} \int_0^{\pi} \frac{\sin u}{1+\cos^2 u} \d u \\ &&&= - \frac{\pi^2}2 \end{align*}
Solution:
Solution:
Find the following integrals:
Solution:
The integral \(I\) is defined by \[ I=\int_{1}^{2}\frac{(2-2x+x^{2})^{k}}{x^{k+1}}\,\mathrm{d}x \] where \(k\) is a constant. Show that \[ I=\int_{0}^{1}\frac{(1+x^{2})^{k}}{(1+x)^{k+1}}\,\mathrm{d}x=\int_{0}^{\frac{1}{4}\pi}\frac{\mathrm{d}\theta}{\left[\sqrt{2}\cos\theta\cos\left(\frac{1}{4}\pi-\theta\right)\right]^{k+1}}=2\int_{0}^{\frac{1}{8}\pi}\frac{\mathrm{d}\theta}{\left[\sqrt{2}\cos\theta\cos\left(\frac{1}{4}\pi-\theta\right)\right]^{k+1}}. \] Hence show that \[ I=2\int_{0}^{\sqrt{2}-1}\frac{(1+x^{2})^{k}}{(1+x)^{k+1}}\,\mathrm{d}x \] Deduce that \[ \int_{1}^{\sqrt{2}}\left(\frac{2-2x^{2}+x^{4}}{x^{2}}\right)^{k}\frac{1}{x}\,\mathrm{d}x=\int_{1}^{\sqrt{2}}\left(\frac{2-2x+x^{2}}{x}\right)^{k}\frac{1}{x}\,\mathrm{d}x \]
Solution: \begin{align*} I &=\int_{1}^{2}\frac{(2-2x+x^{2})^{k}}{x^{k+1}}\,\mathrm{d}x \\ u = x-1 &, \quad \d u = \d x \\ &= \int_{u = 0}^{u=1} \frac{(u^2+1)^k}{(u+1)^{k+1}} \d u \\ &= \boxed{\int_0^1 \frac{(1+x^2)^k}{(1+x)^{k+1}} \d x} \\ x = \tan \theta &, \quad \d x = \sec^2 \theta \d \theta \\ &= \int_{\theta = 0}^{\theta = \pi/4} \frac{\sec^{2k+2} \theta }{(1 + \tan \theta)^{k+1}} \d \theta \\ &= \int_0^{\pi/4} \frac{\d \theta}{\cos^{2k+2} \theta (\frac{\sin \theta + \cos \theta}{\cos \theta})^{k+1}} \\ &= \int_0^{\pi/4} \frac{\d \theta}{\cos^{k+1} \theta ({\sin \theta + \cos \theta})^{k+1}} \\ &= \int_0^{\pi/4} \frac{\d \theta}{\cos^{k+1} \theta (\sqrt{2} \cos (\frac{\pi}{4} - \theta))^{k+1}} \\ I &= \boxed{ \int_0^{\pi/4} \frac{\d \theta}{(\sqrt{2}\cos \theta \cos (\frac{\pi}{4} - \theta))^{k+1}}} \\ \end{align*} Since \(f(\theta) = \cos \theta \cos (\frac{\pi}{4} - \theta)\) is symmetric about \(\frac{\pi}{8}\) this integral is twice the integral to \(\frac{\pi}{8}\). \(\tan 2 \theta = \frac{2\tan \theta}{1 - \tan^2 \theta} \Rightarrow 1 = \frac{2 \tan \frac{\pi}{8}}{1 - \tan^2 \frac{\pi}{8}} \Rightarrow \tan \frac{\pi}{8} = \sqrt{2}-1\). Therefore, using the same substitution we must have: \[ I=2\int_{0}^{\sqrt{2}-1}\frac{(1+x^{2})^{k}}{(1+x)^{k+1}}\,\mathrm{d}x \] Let \(u = x^2\), then \(\d u = 2 x\d x\) \begin{align*} \int_{1}^{\sqrt{2}}\left(\frac{2-2x^{2}+x^{4}}{x^{2}}\right)^{k}\frac{1}{x}\,\mathrm{d}x &= \int_{u = 1}^{u = 2} \l \frac{2-2u+u^2}{u}\r^k \frac{1}{2u} \d u \\ &= \frac12 I \\ &= \int_{0}^{\sqrt{2}-1}\frac{(1+x^{2})^{k}}{(1+x)^{k+1}}\,\mathrm{d}x \\ u = 1+x & \quad \d u = \d x \\ &= \int_1^{\sqrt{2}} \frac{(1+(u-1)^2)^k}{u^{k+1}} \d u \\ &= \int_{1}^{\sqrt{2}}\left(\frac{2-2u+u^{2}}{u}\right)^{k}\frac{1}{u}\,\mathrm{d}x \\ &= \int_{1}^{\sqrt{2}}\left(\frac{2-2x+x^{2}}{x}\right)^{k}\frac{1}{x}\,\mathrm{d}x \end{align*}
Using the substitution \(x=\alpha\cos^{2}\theta+\beta\sin^{2}\theta,\) show that, if \(\alpha<\beta\), \[ \int_{\alpha}^{\beta}\frac{1}{\sqrt{(x-\alpha)(\beta-x)}}\,\mathrm{d}x=\pi. \] What is the value of the above integral if \(\alpha>\beta\)? Show also that, if \(0<\alpha<\beta\), \[ \int_{\alpha}^{\beta}\frac{1}{x\sqrt{(x-\alpha)(\beta-x)}}\,\mathrm{d}x=\frac{\pi}{\sqrt{\alpha\beta}}. \]
Solution: Using the suggested substitution, we can find. \begin{align*} && x &=\alpha\cos^{2}\theta+\beta\sin^{2}\theta \\ && x-\alpha &=\alpha(\cos^{2}\theta-1)+\beta\sin^{2}\theta \\ &&& = (\beta - \alpha) \sin^2 \theta \\ && \beta - x &= -\alpha\cos^{2}\theta+\beta(1-\sin^{2}\theta) \\ &&&= (\beta-\alpha)\cos^2 \theta \\ && x &=\alpha\cos^{2}\theta+\beta\sin^{2}\theta \\ \Rightarrow && \frac{dx}{d\theta} &= (\beta - \alpha) 2 \cos \theta \sin\theta \\ \\ &&\int_{\alpha}^{\beta}\frac{1}{\sqrt{(x-\alpha)(\beta-x)}}\,\mathrm{d}x &= \int_0^{\pi/2} \frac{1}{(\beta - \alpha)\sin\theta \cos \theta} (\beta - \alpha) 2 \cos \theta \sin \theta \, d \theta \\ &&&= \int_0^{\pi/2} \frac{1}{\bcancel{(\beta - \alpha)}\bcancel{\sin\theta \cos \theta}} \bcancel{(\beta - \alpha)} 2 \bcancel{\cos \theta \sin \theta} \, d \theta \\ &&&= \int_0^{\pi/2} 2 d \theta \\ && &= 2 \frac{\pi}{2} = \boxed{\pi} \end{align*} If \(\alpha > \beta\) we can rewrite the integral as: \begin{align*} \int_{\alpha}^{\beta}\frac{1}{\sqrt{(x-\alpha)(\beta-x)}}\,\mathrm{d}x &= \int_{\alpha}^{\beta}\frac{1}{\sqrt{(x-\beta)(\alpha-x)}}\,\mathrm{d}x \\ &= -\int_{\beta}^{\alpha}\frac{1}{\sqrt{(x-\beta)(\alpha-x)}}\,\mathrm{d}x \\ &= -\pi \end{align*} Where the last step we are directly using the first integral with the use of \(\alpha\) and \(\beta\) reversed. Finally, using the substitution \(xt = 1\), we fortunately lose the \(\frac1{x}\) term: \begin{align*} && x &= \frac{1}{t} \\ && \frac{dx}{dt} &= -\frac1{t^2} \\ \\ && \int_{\alpha}^{\beta}\frac{1}{x\sqrt{(x-\alpha)(\beta-x)}}\,\mathrm{d}x &= \int_{\alpha}^{\beta}\frac{t}{\sqrt{(\frac{1}{t}-\alpha)(\beta-\frac{1}{t})}} \frac{-1}{t^2}\,\mathrm{d}t \\ && &= \int_{\frac1{\alpha}}^{\frac1\beta}\frac{-1}{\sqrt{(1-t\alpha)(t\beta-1)}}\,\mathrm{d}t \\ && &= \int_{\frac1{\alpha}}^{\frac1\beta}\frac{-1}{\sqrt{\alpha\beta}\sqrt{(\frac1{\alpha}-t)(t-\frac1{\beta})}}\,\mathrm{d}t \\ && &= \frac1{\sqrt{\alpha\beta}}\int_{\frac1{\alpha}}^{\frac1\beta}\frac{-1}{\sqrt{(\frac1{\alpha}-t)(t-\frac1{\beta})}}\,\mathrm{d}t \\ &&&= \boxed{\frac{\pi}{\sqrt{\alpha\beta}}} \end{align*} Where again the last step we are using the intermediate integral, with the roles of \(\alpha\) and \(\beta\) replaced with \(\frac{1}{\beta}\) and \(\frac1{\alpha}\)
Explain why the use of the substitution \(x=\dfrac{1}{t}\) does not demonstrate that the integrals \[ \int_{-1}^{1}\frac{1}{(1+x^{2})^{2}}\,\mathrm{d}x\quad\mbox{ and }\quad\int_{-1}^{1}\frac{-t^{2}}{(1+t^{2})^{2}}\,\mathrm{d}t \] are equal. Evaluate both integrals correctly.
Solution: When we apply the substitution \(x = \frac1{t}\), \(t\) runs from \(-1 \to -\infty\) as \(x\) goes from \(-1 \to 0\). Then it runs from \(\infty \to 1\) as \(x\) runs from \(0 \to 1\). So we would be able to show that: \[ \int_{-1}^{1}\frac{1}{(1+x^{2})^{2}}\,\mathrm{d}x = \int_{-1}^{-\infty}\frac{-t^{2}}{(1+t^{2})^{2}}\,\mathrm{d}t + \int_{\infty}^1 \frac{-t^{2}}{(1+t^{2})^{2}}\,\mathrm{d}t \] Let \(x = \tan u, \d x = \sec^2 u \d u\) \begin{align*} \int_{-1}^1 \frac1{(1+x^2)^2} \d x &= \int_{u = -\pi/4}^{u = \pi/4} \frac{\sec^2 u}{(1+\tan^2 u)^2} \d u \\ &= \int_{u = -\pi/4}^{u = \pi/4} \frac{1}{\sec^2 u} \d u \\ &= \int_{-\pi/4}^{\pi/4} \cos^2 u \d u \\ &= \int_{-\pi/4}^{\pi/4} \frac{1 + \cos 2 u}{2} \d u \\ &= \left [ \frac{2u + \sin 2u}{4} \right]_{-\pi/4}^{\pi/4} \\ &= \frac{\pi}{4} + \frac{1}{2} \end{align*} Let \(t = \tan u, \d t = \sec^2 u \d u\) \begin{align*} \int_{-1}^1 \frac{-t^2}{(1+t^2)^2} \d x &= \int_{u = -\pi/4}^{u = \pi/4} \frac{-\tan^2 u \sec^2 u}{(1+\tan^2 u)^2} \d u \\ &= -\int_{u = -\pi/4}^{u = \pi/4} \frac{\tan^2 u}{\sec^2 u} \d u \\ &= -\int_{-\pi/4}^{\pi/4} \sin^2 u \d u \\ &= -\int_{-\pi/4}^{\pi/4} \frac{1 - \cos 2 u}{2} \d u \\ &= -\left [ \frac{2u - \sin 2u}{4} \right]_{-\pi/4}^{\pi/4} \\ &= \frac{1}{2}-\frac{\pi}{4} \end{align*}
Let \[ I=\int_{-\frac{1}{2}\pi}^{\frac{1}{2}\pi}\frac{\cos^{2}\theta}{1-\sin\theta\sin2\alpha}\,\mathrm{d}\theta\, , \] where \(0<\alpha<\frac{1}{4}\pi\). Show that \[ I=\int_{-\frac{1}{2}\pi}^{\frac{1}{2}\pi}\frac{\cos^{2}\theta}{1+\sin\theta\sin2\alpha}\,\mathrm{d}\theta\, , \] and hence that \[ I=\frac{\pi}{\sin^{2}2\alpha}-\cot^{2}2\alpha\int_{-\frac{1}{2}\pi}^{\frac{1}{2}\pi}\frac{\sec^{2}\theta}{1+\cos^{2}2\alpha\tan^{2}\theta}\,\mathrm{d}\theta. \] Show that \(I=\frac{1}{2}\pi\sec^{2}\alpha\), and state the value of \(I\) if \(\frac{1}{4}\pi<\alpha<\frac{1}{2}\pi\).
Solution: \begin{align*} \int_{-\frac{1}{2}\pi}^{\frac{1}{2}\pi}\frac{\cos^{2}\theta}{1-\sin\theta\sin2\alpha}\,\mathrm{d}\theta &= \int_{u = \frac12 \pi}^{u = -\frac12 \pi} \frac{\cos^2 (-u)}{1-\sin(-u) \sin 2 \alpha} -\d u \tag{\(u = -\theta\)} \\ &= \int_{\frac12 \pi}^{-\frac12 \pi} \frac{\cos^2 u}{1+\sin u \sin 2 \alpha} -\d u \\ &= \int_{-\frac12 \pi}^{\frac12 \pi} \frac{\cos^2 u}{1+\sin u \sin 2 \alpha} \d u \\ &= \int_{-\frac12 \pi}^{\frac12 \pi} \frac{\cos^2 \theta}{1+\sin \theta \sin 2 \alpha} \d \theta \\ \end{align*} Since \(\displaystyle \frac{1}{(1-a^2u^2)} = \frac12 \l \frac{1}{1+au} + \frac1{1-au} \r\) \begin{align*} \int_{-\frac12 \pi}^{\frac12 \pi} \frac{\cos^2 \theta}{1+\sin \theta \sin 2 \alpha} \d \theta &= \int_{-\frac12 \pi}^{\frac12 \pi} \frac{\cos^2 \theta}{1-\sin ^2\theta \sin^2 2 \alpha} \d \theta \\ &= \int_{-\frac12 \pi}^{\frac12 \pi} \frac{1-\sin^2 \theta}{1-\sin ^2\theta \sin^2 2 \alpha} \d \theta \\ &= \int_{-\frac12 \pi}^{\frac12 \pi} \frac{(1-\sin ^2\theta \sin^2 2 \alpha) \frac{1}{\sin^2 2\alpha} + 1 - \cosec^2 2\alpha}{1-\sin ^2\theta \sin^2 2 \alpha} \d \theta \\ &= \frac{\pi}{\sin^2 2\alpha} -\cot^2 2\alpha \int_{-\frac{\pi}2}^{\frac{\pi}2} \frac{1}{1 - \sin^2 \theta \sin^2 2 \alpha} \d \theta \\ &= \frac{\pi}{\sin^2 2\alpha} -\cot^2 2\alpha \int_{-\frac{\pi}2}^{\frac{\pi}2} \frac{1}{1 - \sin^2 \theta (1-\cos^2 2 \alpha)} \d \theta \\ &= \frac{\pi}{\sin^2 2\alpha} -\cot^2 2\alpha \int_{-\frac{\pi}2}^{\frac{\pi}2} \frac{1}{\cos^2 \theta +\sin^2 \theta \cos^2 2 \alpha} \d \theta \\ &= \frac{\pi}{\sin^2 2\alpha} -\cot^2 2\alpha \int_{-\frac{\pi}2}^{\frac{\pi}2} \frac{\sec^2 \theta}{1 +\tan^2 \theta \cos^2 2 \alpha} \d \theta \\ \end{align*} Finally, using the substitution \(u =|\cos 2 \alpha | \tan \theta, \d u = |\cos 2 \alpha |\sec^2 \theta \d \theta\) \begin{align*} \int_{-\frac{\pi}2}^{\frac{\pi}2} \frac{\sec^2 \theta}{1 +\tan^2 \theta \cos^2 2 \alpha} \d \theta &= |\sec 2\alpha|\int_{u = -\infty}^{u = \infty} \frac{1}{1 + u^2} \d u \\ &= |\sec 2 \alpha|\pi \end{align*} and so \begin{align*} I &= \frac{\pi}{\sin^2 2\alpha} -\cot^2 2\alpha |\sec 2 \alpha|\pi \\ &= \frac{\pi}{\sin^2 2\alpha} \l 1-\cos 2\alpha \r \\ &= \frac{\pi}{4\sin^2 \alpha\cos^2 \alpha} \l 2 \sin^2 \alpha \r \\ &= \frac{\pi}{2 \cos^2 \alpha} = \frac{\pi}{2} \sec^2 \alpha \end{align*} When \(\alpha\) small enough that the modulus doesn't flip the sign. When if \(\frac{1}{4}\pi<\alpha<\frac{1}{2}\pi\) we have: \begin{align*} I &= \frac{\pi}{\sin^2 2\alpha} -\cot^2 2\alpha |\sec 2 \alpha|\pi \\ &= \frac{\pi}{\sin^2 2\alpha} \l 1+\cos 2\alpha \r \\ &= \frac{\pi}{4\sin^2 \alpha\cos^2 \alpha} \l 2 \cos^2 \alpha \r \\ &= \frac{\pi}{2 \sin^2 \alpha} = \frac{\pi}{2} \cosec^2 \alpha \end{align*}
Let \({\displaystyle I_{m,n}=\int\cos^{m}x\sin nx\,\mathrm{d}x,}\) where \(m\) and \(n\) are non-negative integers. Prove that for \(m,n\geqslant1,\) \[ (m+n)I_{m,n}=-\cos^{m}x\cos nx+mI_{m-1,n-1}. \]
Solution: Let \({\displaystyle I_{m,n}=\int\cos^{m}x\sin nx\,\mathrm{d}x,}\) Then \begin{align*} && I_{m,n} &= \int\cos^{m}x\sin nx\,\mathrm{d}x \\ &&&= \left [ -\frac1n \cos^m x \cos n x \right] - \frac{m}{n} \int \sin^{m-1} x \cos x \cos n x \d x \\ &&&= \left [ -\frac1n \cos^m x \cos n x \right] + \frac{m}{n} \int \sin^{m-1} x (\cos (n-1)x -\sin x \sin nx) \d x\\ &&&= \left [ -\frac1n \cos^m x \cos n x \right] + \frac{m}{n} \int \sin^{m-1} x \cos (n-1)x \d x-\frac{m}{n} I_{m,n} \\ &&&= \left [ -\frac1n \cos^m x \cos n x \right] + \frac{m}{n} I_{m-1,n-1} -\frac{m}{n} I_{m,n} \\ \Rightarrow && nI_{m,n} &= -\cos^m x \cos n x + mI_{m-1,n-1} -mI_{m,n}\\ \Rightarrow && (m+n)I_{m,n} &= -\cos^m x \cos n x + mI_{m-1,n-1} \end{align*}