16 problems found
Note: In this question you may use without proof the result \( \dfrac{\d \ }{\d x}\big(\!\arctan x \big) = \dfrac 1 {1+x^2}\,\). Let \[ I_n = \int_0^1 x^n \arctan x \, \d x \;, \] where \(n=0\), 1, 2, 3, \(\ldots\) .
Solution:
Let \[ \displaystyle I_n= \int_{-\infty}^\infty \frac 1 {(x^2+2ax+b)^n} \, \d x \] where \(a\) and \(b\) are constants with \(b > a^2\), and \(n\) is a positive integer.
Solution:
Solution: \begin{align*} I_n - I_{n+1} &= \int_0^\infty \frac 1 {(1+u^2)^n}\, \d u - \int_0^\infty \frac 1 {(1+u^2)^{n+1}}\, \d u \\ &= \int_0^\infty \l \frac 1 {(1+u^2)^n}- \frac 1 {(1+u^2)^{n+1}} \r\, \d u \\ &= \int_0^\infty \frac {u^2} {(1+u^2)^{n+1}} \, \d u \\ &= \left [ u \frac{u}{(1+u^2)^{n+1}} \right]_0^{\infty} - \frac{-1}{2n}\int_0^{\infty} \frac{1}{(1+u^2)^n} \d u \tag{\(IBP: u = u, v' = \frac{u}{(1+u^2)^{n+1}}\)}\\ &= \frac{1}{2n} I_n \end{align*} \(\displaystyle I_1 = \int_0^{\infty} \frac{1}{1+u^2} \d u = \left [ \tan^{-1} u \right]_0^\infty = \frac{\pi}{2}\) as expected. We also have, \(I_{n+1} = \frac{2n(2n-1)}{2n \cdot 2n} I_n \), by rearranging the recurrence relation. Therefore, when we multiply out the top we will have \(2n!\) and the bottom we will have two factors of \(n!\) and two factors of \(2^n\) combined with the original \(\frac{\pi}{2}\) we get \[ I_{n+1} = \frac{(2n)! \pi}{2^{2n+1} (n!)^2} \] \begin{align*} J = \int_0^\infty f\big( (x- x^{-1})^2\big ) \, \d x &= \int_{u = \infty}^{u = 0} f((u^{-1}-u)^2)(-u^{-2} )\d u \tag{\(u = x^{-1}, \d u = -x^{-2} \d x\)} \\ &= \int^{u = \infty}_{u = 0} f((u^{-1}-u)^2)u^{-2} \d u \\ &= \int^{\infty}_{0} u^{-2}f((u-u^{-1})^2) \d u \\ \end{align*} Therefore adding the two forms for \(J\) we have \begin{align*} 2 J &= \int_0^\infty f\big( (x- x^{-1})^2\big ) \, \d x + \int_0^\infty x^{-2} f\big( (x- x^{-1})^2\big ) \, \d x \\ &= \int_0^\infty (1+x^{-2}) f\big( (x- x^{-1})^2\big ) \, \d x \end{align*} And letting \(u = x - x^{-1}\), we have \(\d u = (1 + x^{-2}) \d x\), and \(u\) runs from \(-\infty\) to \(\infty\) so we have: \begin{align*} \int_0^\infty (1+x^{-2}) f\big( (x- x^{-1})^2\big ) \, \d x &= \int_{-\infty}^\infty f(u^2) \, \d u \\ &=2 \int_{0}^\infty f(u^2) \, \d u \end{align*} Since both of these are \(2J\) we have the result we are after. Finally, \begin{align*} \int_0^\infty \frac {x^{2n-2}}{(x^4-x^2+1)^n} \, \d x &= \int_0^{\infty} \frac{x^{2n-2}}{x^{2n}(x^2-1+x^{-2})^n} \d x \\ &= \int_0^{\infty} \frac{x^{-2}}{((x-x^{-1})^2+1)^n} \d x \\ &= \int_0^{\infty} \frac{1}{(x^2+1)^n} \d x \tag{Where \(f(x) = (1+x^2)^{-n}\) in \(J\) integral} \\ &= I_n = \frac{(2n-2)! \pi}{2^{2n-1} ((n-1)!)^2} \end{align*}
Solution:
For \(n\ge 0\), let \[ I_n = \int_0^1 x^n(1-x)^n\d x\,. \]
Solution:
Given that \(t= \tan \frac12 x\), show that \(\dfrac {\d t}{\d x} = \frac12(1+t^2)\) and \( \sin x = \dfrac {2t}{1+t^2}\,\). Hence show that \[ \int_0^{\frac12\pi} \frac 1{1+a \sin x}\, \d x = \frac2 {\sqrt{1-a^2}} \arctan \frac{\sqrt{1-a}}{\sqrt{1+a}}\, \qquad \quad (0 < a < 1). \] Let \[ I_n = \int_0^{\frac12\pi} \frac{ \sin ^nx}{2+\sin x} \, \d x \qquad \quad (n\ge0). \] By considering \(I_{n+1}+2I_{n}\,\), or otherwise, evaluate \(I_3\).
Solution: Let \(t = \tan \frac12 x\), then \begin{align*} \frac{\d t}{\d x} &= \tfrac12 \sec^2 \tfrac12 t \\ &= \tfrac12 (1 + \tan^2 \tfrac12 ) \\ &= \tfrac12 (1 + t^2) \\ \\ \sin x &= 2 \sin \tfrac12 x \cos \tfrac12 \\ &= \frac{2 \frac{\sin \tfrac12 x}{ \cos \tfrac12x}}{\frac{1}{\cos^2 \tfrac12 x}} \\ &= \frac{2 \tan \tfrac12 x}{\sec^2 \tfrac12 } \\ &= \frac{2t }{1+t^2} \end{align*} Now consider \begin{align*} t = \tan \tfrac12 x: && \int_0^{\frac12\pi} \frac 1{1+a \sin x}\, \d x &= \int_{t=0}^{t = 1} \frac{1}{1 + a \frac{2t}{1+t^2}} \frac{2}{1+t^2} \d t \\ &&&= \int_0^1 \frac{2}{1+2at+t^2} \d t \\ &&&= \int_0^1 \frac{2}{(t+a)^2 + 1-a^2} \d t \\ (1-a^2) > 0: &&&= \left [ \frac{2}{\sqrt{1-a^2}} \arctan \frac{t+a}{\sqrt{1-a^2}} \right]_0^1 \\ &&&= \frac{2}{\sqrt{1-a^2}} \left ( \arctan \frac{1+a}{\sqrt{1-a^2}} - \arctan \frac{a}{\sqrt{1-a^2}} \right) \\ &&&= \frac{2}{\sqrt{1-a^2}} \arctan \left ( \frac{\frac{1+a}{\sqrt{1-a^2}}-\frac{a}{\sqrt{1-a^2}}}{1+\frac{1+a}{\sqrt{1-a^2}}\frac{a}{\sqrt{1-a^2}}} \right) \\ &&&= \frac{2}{\sqrt{1-a^2}} \arctan \left ( \frac{\frac{1}{\sqrt{1-a^2}}}{\frac{1+a}{1-a^2}} \right) \\ &&&= \frac{2}{\sqrt{1-a^2}} \arctan \left ( \frac{\sqrt{1-a}}{\sqrt{1+a}} \right) \end{align*} as required. Let \[ I_n = \int_0^{\frac12\pi} \frac{ \sin ^nx}{2+\sin x} \, \d x \qquad \quad (n\ge0). \] and consider \begin{align*} I_{n+1} + 2I_n &= \int_0^{\frac12\pi} \frac{ \sin ^{n+1}x+2\sin^{n} x}{2+\sin x} \, \d x \\ &= \int_0^{\frac12\pi} \frac{ \sin^n x (2 + \sin x)}{2+\sin x} \, \d x \\ &= \int_0^{\frac12\pi} \sin^n x \d x \end{align*} Therefore we can compute \begin{align*} I_0 &= \int_0^{\pi/2} \frac{1}{2 + \sin x} \d x \\ &= \frac12 \int_0^{\pi/2} \frac{1}{1 + \frac12 \sin x} \d x \\ &= \frac{1}{\sqrt{3/4}} \arctan \frac{\sqrt{1/2}}{\sqrt{3/2}} \\ &= \frac{2}{\sqrt{3}} \arctan \frac{1}{\sqrt{3}} \\ &= \frac{\pi}{3\sqrt{3}} \\ \\ I_1 &= \int_0^{\pi/2} 1 \d x - 2 I_0 \\ &= \frac{\pi}{2} - \frac{2\pi}{3\sqrt{3}} \\ I_2 &= \int_0^{\pi/2} \sin x \d x - 2I_1 \\ &= 1 - \pi + \frac{4\pi}{3\sqrt{3}} \\ I_3 &= \int_0^{\pi/2} \sin^2 x \d x - 2I_2 \\ &= \frac12 \int_0^{\pi/2} \sin^2 + \cos^2 x \d x - 2I_2 \\ &= \frac{\pi}{4} - 2 + 2\pi - \frac{8\pi}{3\sqrt{3}} \\ &= -2 + \frac{9\pi}{4} - \frac{8\pi}{3\sqrt{3}} \end{align*}
For any given function \(\f\), let \[ I = \int [\f'(x)]^2 \,[\f(x)]^n \d x\,, \tag{\(*\)} \] where \(n\) is a positive integer. Show that, if \(\f(x)\) satisfies \(\f''(x) =k \f(x)\f'(x)\) for some constant \(k\), then (\(*\)) can be integrated to obtain an expression for \(I\) in terms of \(\f(x)\), \(\f'(x)\), \(k\) and \(n\).
Solution: If \(f''(x) = kf(x)f'(x)\) then we can see \begin{align*} && I &= \int [\f'(x)]^2 \,[\f(x)]^n \d x \\ &&&= \int f'(x) \cdot f'(x) [f(x)]^n \d x \\ &&&= \left[ f'(x) \cdot \frac{[f(x)]^{n+1}}{n+1} \right] - \int f''(x) \frac{[f(x)]^{n+1}}{n+1} \d x \\ &&&= \frac{1}{n+1} \left (f'(x) [f(x)]^{n+1} - \int kf'(x) [f(x)]^{n+2} \d x \right) \\ &&&= \frac{1}{n+1} \left (f'(x) [f(x)]^{n+1} - k \frac{[f(x)]^{n+3}}{n+3} \right) +C\\ &&&= \frac{[f(x)]^{n+1}}{n+1} \left ( f'(x) - \frac{k[f(x)]^2}{n+3} \right) + C \end{align*}
Let \(m\) be a positive integer and let \(n\) be a non-negative integer.
Solution:
For \(n=1\), \(2\), \(3\), \(\ldots\,\), let \[ I_n = \int_0^1 {t^{n-1} \over \l t+1 \r^n} \, \mathrm{d} t \, . \] By considering the greatest value taken by \(\displaystyle {t \over t+1}\) for \(0 \le t \le 1\) show that \(I_{n+1} < {1 \over 2} I_{n}\,\). Show also that \(\; \displaystyle I_{n+1}= - \frac 1{\; n\, 2^n} + I_{n}\,\). Deduce that \(\; \displaystyle I_n < \frac1 {\; n \, 2^{n-1}}\,\). Prove that \[ \ln 2 = \sum_{r=1}^n {1 \over \; r\, 2^r} + I_{n+1} \] and hence show that \({2 \over 3} < \ln 2 < {17 \over 24}\,\).
Solution: \begin{align*} && \frac{t}{t+1} &= 1 - \frac{1}{t+1} \geq \frac12 \\ \Rightarrow && I_{n+1} &= \int_0^1 \frac{t^{n}}{(t+1)^{n+1}} \d t \\ &&&= \int_0^1\frac{t}{t+1} \frac{t^{n-1}}{(t+1)^{n}} \d t \\ &&&< \int_0^1\frac12\frac{t^{n-1}}{(t+1)^{n}} \d t \\ &&&= \frac12 I_n \\ \\ && I_{n+1} &= \int_0^1 \frac{t^{n}}{(t+1)^{n+1}} \d t \\ &&&= \left [ t^n \frac{(1+t)^{-n}}{-n} \right]_0^1 +\frac1n \int_0^1 n t^{n-1}(1+t)^{-n} \d t \\ &&&= -\frac{1}{n2^n} + I_n \\ \Rightarrow && \frac12 I_n &> -\frac1{n2^n} + I_n \\ \Rightarrow && \frac{1}{n2^{n-1}} &> I_n \end{align*} \begin{align*} && \ln 2 &= \int_0^1 \frac{1}{1+t} \d t \\ &&&= I_1 \\ &&&= \frac1{2} + I_2 \\ &&&= \frac1{2} + \frac{1}{2 \cdot 2^2} + I_3 \\ &&&= \sum_{r=1}^n \frac{1}{r2^r} + I_{n+1} \\ \\ && \ln 2 &= \frac12 + \frac18 + \frac1{24} + I_4 \\ \Rightarrow && \ln 2 &> \frac12 + \frac18 + \frac1{24} = \frac{12+3+1}{24} = \frac{16}{24} = \frac23 \\ \Rightarrow && \ln 2 &= \frac12 + \frac18 + I_3 \\ &&&< \frac12 + \frac18 +\frac{1}{3 \cdot 4} \\ &&&< \frac{12}{24} + \frac{3}{24} + \frac{2}{24} = \frac{17}{24} \end{align*}
The integral \(I_n\) is defined by $$I_n=\int_0^\pi(\pi/2-x)\sin(nx+x/2)\,{\rm cosec}\,(x/2)\,\d x,$$ where \(n\) is a positive integer. Evaluate \(I_n-I_{n-1}\), and hence evaluate \(I_n\) leaving your answer in the form of a sum.
Solution: \begin{align*} && I_n - I_{n-1} &= \int_0^\pi \left ( \frac{\pi}{2} - x \right) \left ( \sin\left(nx + \frac{x}{2}\right) - \sin \left ((n-1)x + \frac{x}{2} \right)\right) \cosec \frac{x}{2} \d x \\ &&&= \int_0^\pi \left ( \frac{\pi}{2} - x \right) \left (2 \sin \left ( \frac{nx + \frac{x}{2} - (n-1)x - \frac{x}{2} }{2}\right)\cos nx \right) \cosec \frac{x}{2} \d x \\ &&&= \int_0^\pi \left ( \frac{\pi}{2} - x \right) \left (2 \sin \left ( \frac{x}{2}\right)\cos nx \right) \cosec \frac{x}{2} \d x \\ &&&=2 \int_0^\pi \left ( \frac{\pi}{2} - x \right) \cos nx \d x \\ &&&=\pi \left [ \frac{\sin nx}{n}\right]_0^{\pi} - 2\int_0^\pi x \cos n x \d x \\ &&&= 0 - 2\left[ \frac{x \sin nx}{n} \right]_0^{\pi} + 2\int_0^\pi \frac{\sin nx}{n} \d x \\ &&&= 2\left[ -\frac{\cos nx}{n^2} \right]_0^{\pi} \\ &&&=2 \frac{1-(-1)^{n}}{n^2} \\ \\ && I_0 &= \int_0^\pi (\pi/2 - x) \d x =0 \\ \Rightarrow && I_{2k+2} = I_{2k+1} &= 4 \left (\frac{1}{1^2} + \frac{1}{3^2} + \cdots + \frac{1}{(2k+1)^2} \right) \end{align*}
Let \[ u_{n}=\int_{0}^{\frac{1}{2}\pi}\sin^{n}t\,\mathrm{d}t \] for each integer \(n\geqslant0\). By integrating \[ \int_{0}^{\frac{1}{2}\pi}\sin t\sin^{n-1}t\,\mathrm{d}t \] by parts, or otherwise, obtain a formula connecting \(u_{n}\) and \(u_{n-2}\) when \(n\geqslant2\) and deduce that \[ nu_{n}u_{n-1}=\left(n-1\right)u_{n-1}u_{n-2} \] for all \(n\geqslant2\). Deduce that \[ nu_{n}u_{n-1}=\tfrac{1}{2}\pi. \] Sketch graphs of \(\sin^{n}t\) and \(\sin^{n-1}t\), for \(0\leqslant t\leqslant\frac{1}{2}\pi,\) on the same diagram and explain why \(0 < u_{n} < u_{n-1}.\) By using the result of the previous paragraph show that \[ nu_{n}^{2} < \tfrac{1}{2}\pi < nu_{n-1}^{2} \] for all \(n\geqslant1\). Hence show that \[ \left(\frac{n}{n+1}\right)\tfrac{1}{2}\pi < nu_{n}^{2} < \tfrac{1}{2}\pi \] and deduce that \(nu_{n}^{2}\rightarrow\tfrac{1}{2}\pi\) as \(n\rightarrow\infty\).
Solution: \begin{align*} && u_n &= \int_0^{\tfrac12 \pi} \sin^{n} t \, \d t \\ && &= \int_0^{\tfrac12 \pi} \sin t \sin^{n-1} t \, \d t \\ && &= \left [ -\cos t \sin^{n-1} t \right]_0^{\tfrac12 \pi} + \int_0^{\tfrac12 \pi} \cos t (n-1) \sin^{n-2} t \cos t \d t \\ && &= 0 + (n-1)\int_0^{\tfrac12 \pi} \cos^2 t \sin^{n-2} t \d t \\ && &= (n-1) \int_0^{\tfrac12 \pi}(1-\sin^2 t) \sin^{n-2} t \d t \\ && &= (n-1)u_{n-2} - (n-1)u_n \\ \Rightarrow && n u_n &= (n-1)u_{n-2} \\ \end{align*} Mutplying both sides by \(u_{n-1}\) we obtain \(nu_{n}u_{n-1}=\left(n-1\right)u_{n-1}u_{n-2}\). Therefore \(nu_nu_{n-1}\) is constant, ie is equal to \(\displaystyle u_1u_0 = \int_0^{\tfrac12 \pi} \sin^{1} t \, \d t \int_0^{\tfrac12 \pi} \sin^{0} t \, \d t = 1 \cdot \frac{\pi}{2} = \frac{\pi}{2}\)
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*}
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*}
Given that \({\displaystyle I_{n}=\int_{0}^{\pi}\frac{x\sin^{2}(nx)}{\sin^{2}x}\,\mathrm{d}x,}\) where \(n\) is a positive integer, show that \(I_{n}-I_{n-1}=J_{n},\) where \[ J_{n}=\int_{0}^{\pi}\frac{x\sin(2n-1)x}{\sin x}\,\mathrm{d}x. \] Obtain also a reduction formula for \(J_{n}.\) The curve \(C\) is given by the cartesian equation \[ y=\dfrac{x\sin^{2}(nx)}{\sin^{2}x}, \] where \(n\) is a positive integer and \(0\leqslant x\leqslant\pi.\) Show that the area under the curve \(C\) is \(\frac{1}{2}n\pi^{2}.\)
Solution: \begin{align*} I_n - I_{n-1} &= \int_0^{\pi} \frac{x \sin^2(nx)}{\sin ^2 x} \d x-\int_0^{\pi} \frac{x \sin^2((n-1)x)}{\sin ^2 x} \d x \\ &= \int_0^{\pi} \frac{x}{\sin^2 x} \left ( \sin^2 (nx) - \sin^2((n-1)x) \right) \d x \\ &= \int_0^{\pi} \frac{x}{\sin^2 x}\frac12 \left ( \cos (2(n-1)x) - \cos(2nx) \right) \d x \\ &= \int_0^{\pi} \frac{x}{\sin^2 x}\frac12 2 \sin ((2n-1)x )\sin x \d x \\ &= \int_0^{\pi} \frac{x\sin ((2n-1)x )}{\sin x}d x \\ &= J_n \\ \\ J_{n+1} - J_{n} &= \int_0^{\pi} \frac{x \left (\sin ((2n+1)x )-\sin ((2n-1)x )\right)}{\sin x} \d x \\ &= \int_0^{\pi} \frac{x \left ( 2 \cos (\frac{4n x}{2}) \sin \frac{2x}{2} \right)}{\sin x} \d x \\ &= \int_0^{\pi}2x \cos (2n x) \d x \\ &= \left [ \frac{x}{2n} \sin (2n x) \right]_0^{\pi} - \int_0^{\pi} \frac{1}{2n} \sin (2n x) \d x \\ &= \left [ \frac{1}{4n^2} \cos (2n x)\right]_0^{\pi} \\ &= 0 \\ \\ J_1 &= \int_0^\pi x \d x \\ &= \frac{\pi^2}{2} \\ \Rightarrow J_n &= \frac{\pi^2}{2} \\ \end{align*} And so \(I_n = I_1 + (n-1) \frac{\pi^2}{2}\) and \(I_1 = \frac{\pi^2}{2}\) so \(I_n = \frac12 n \pi^2\). But \(I_n\) is exactly the area under the curve described.
Solution: