Evaluate \(\int^{\pi}_0 \dfrac{x\ sin\ x}{1+cos^2\ x}dx\)
CBSE Class 12 Maths · Integrals
CBSE Class 12 Maths · Integrals
Imagine a seesaw that is perfectly balanced in the middle. This integral has an ‘x’ sitting on one side of the seesaw. A clever trick swaps ‘x’ with ‘π minus x’, like flipping the seesaw. Adding both sides together makes the tricky ‘x’ part disappear, leaving something much friendlier. The leftover integral is easy to solve using a simple swap of variables. It is like tidying up a messy room by moving everything to one neat pile.
Answer: \[\int_0^{\pi} \frac{x\sin x}{1+\cos^2 x}\,dx = \frac{\pi^2}{4}.\]
When a definite integral over \([0, \pi]\) has an integrand containing a plain factor of \(x\) multiplied by a function that is symmetric about \(x = \pi/2\), the King's property is very useful. The property states that \(\int_0^a f(x)\,dx = \int_0^a f(a-x)\,dx\). Applying it with \(a = \pi\) converts \(x\) into \(\pi - x\). Since \(\sin(\pi - x) = \sin x\) and \(\cos(\pi - x) = -\cos x\) (so \(\cos^2\) is unchanged), the messy \(x\) term partly cancels, leaving a simpler integral that we solve by substitution.
\[\int_0^a f(x)\,dx = \int_0^a f(a-x)\,dx\] and \[\int \frac{dt}{1+t^2} = \tan^{-1} t + C\]
\[\int_0^{\pi} \frac{x\sin x}{1+\cos^2 x}\,dx = \frac{\pi^2}{4}.\]
A common mistake is forgetting to change the limits after the substitution \(t = \cos x\), or mishandling the negative sign from \(dt = -\sin x\,dx\). Students often leave the limits as \(0\) to \(\pi\) with \(t\), which gives a wrong answer. Always convert the limits to the new variable and use the \(-dt\) carefully.
\[\int_0^{\pi} \frac{x\sin x}{1+\cos^2 x}\,dx = \frac{\pi^2}{4}.\]
One common mistake: forgetting to account for the negative sign introduced by \(dt = -\sin x\,dx\) during substitution — students who drop this sign get \(-\frac{\pi^2}{4}\) instead of the correct \(\frac{\pi^2}{4}\).
Answer: \[\int_0^{\pi} \frac{x\sin x}{1+\cos^2 x}\,dx = \frac{\pi^2}{4}.\]
Question: Evaluate \[I = \int_0^{\pi} \frac{x \sin x}{1 + \sin^2 x}\, dx\]
Solution: Let \( I = \int_0^{\pi} \frac{x \sin x}{1 + \sin^2 x}\, dx \). Applying the King's Property, replace \( x \) with \( \pi - x \): \[I = \int_0^{\pi} \frac{(\pi - x)\sin(\pi - x)}{1 + \sin^2(\pi - x)}\, dx\] Since \( \sin(\pi - x) = \sin x \), this becomes: \[I = \int_0^{\pi} \frac{(\pi - x)\sin x}{1 + \sin^2 x}\, dx\] Adding the original and the transformed integrals (both equal \( I \)): \[2I = \int_0^{\pi} \frac{x \sin x}{1 + \sin^2 x}\, dx + \int_0^{\pi} \frac{(\pi - x)\sin x}{1 + \sin^2 x}\, dx\] \[2I = \int_0^{\pi} \frac{\pi \sin x}{1 + \sin^2 x}\, dx\] \[2I = \pi \int_0^{\pi} \frac{\sin x}{1 + \sin^2 x}\, dx\] Now substitute \( t = \cos x \), so \( dt = -\sin x\, dx \). When \( x = 0 \), \( t = 1 \); when \( x = \pi \), \( t = -1 \). Also, \( \sin^2 x = 1 - \cos^2 x = 1 - t^2 \), so: \[2I = \pi \int_1^{-1} \frac{-\, dt}{1 + (1 - t^2)}\] \[2I = \pi \int_{-1}^{1} \frac{dt}{2 - t^2}\] Wait — let us recheck: \( 1 + \sin^2 x = 1 + 1 - \cos^2 x = 2 - t^2 \). So: \[2I = \pi \int_{-1}^{1} \frac{dt}{2 - t^2}\] Using partial fractions: \(\dfrac{1}{2 - t^2} = \dfrac{1}{(\sqrt{2}-t)(\sqrt{2}+t)}\), so: \[\frac{1}{2 - t^2} = \frac{1}{2\sqrt{2}}\left(\frac{1}{\sqrt{2}+t} + \frac{1}{\sqrt{2}-t}\right)\] Thus: \[2I = \frac{\pi}{2\sqrt{2}} \left[\ln\left|\sqrt{2}+t\right| - \ln\left|\sqrt{2}-t\right|\right]_{-1}^{1}\] \[2I = \frac{\pi}{2\sqrt{2}} \left[\ln\left(\frac{\sqrt{2}+1}{\sqrt{2}-1}\right) - \ln\left(\frac{\sqrt{2}-1}{\sqrt{2}+1}\right)\right]\] \[2I = \frac{\pi}{2\sqrt{2}} \cdot 2\ln\left(\frac{\sqrt{2}+1}{\sqrt{2}-1}\right)\] \[2I = \frac{\pi}{\sqrt{2}} \ln\left(\frac{\sqrt{2}+1}{\sqrt{2}-1}\right)\] Rationalising: \(\dfrac{\sqrt{2}+1}{\sqrt{2}-1} = (\sqrt{2}+1)^2\), so \(\ln\left(\dfrac{\sqrt{2}+1}{\sqrt{2}-1}\right) = 2\ln(\sqrt{2}+1)\). Therefore: \[2I = \frac{2\pi}{\sqrt{2}}\ln(\sqrt{2}+1) = \pi\sqrt{2}\ln(\sqrt{2}+1)\] \[I = \frac{\pi\sqrt{2}}{2}\ln(\sqrt{2}+1)\]
Answer: \[I = \frac{\pi\sqrt{2}}{2}\ln(\sqrt{2}+1)\]
Question: Evaluate \[I = \int_0^{\pi} \frac{x \cos^2 x}{1 + \sin x}\, dx\]
Solution: Let \( I = \int_0^{\pi} \frac{x \cos^2 x}{1 + \sin x}\, dx \). Applying the King's Property, replace \( x \) with \( \pi - x \): \[I = \int_0^{\pi} \frac{(\pi - x)\cos^2(\pi - x)}{1 + \sin(\pi - x)}\, dx\] Since \( \cos(\pi - x) = -\cos x \) and \( \sin(\pi - x) = \sin x \), we have \( \cos^2(\pi - x) = \cos^2 x \). So: \[I = \int_0^{\pi} \frac{(\pi - x)\cos^2 x}{1 + \sin x}\, dx\] Adding the two expressions for \( I \): \[2I = \int_0^{\pi} \frac{\pi \cos^2 x}{1 + \sin x}\, dx\] \[2I = \pi \int_0^{\pi} \frac{\cos^2 x}{1 + \sin x}\, dx\] Write \( \cos^2 x = 1 - \sin^2 x = (1 - \sin x)(1 + \sin x) \). Then: \[\frac{\cos^2 x}{1 + \sin x} = \frac{(1 - \sin x)(1 + \sin x)}{1 + \sin x} = 1 - \sin x\] So: \[2I = \pi \int_0^{\pi} (1 - \sin x)\, dx\] \[2I = \pi \left[x + \cos x\right]_0^{\pi}\] Evaluating: \[\left[x + \cos x\right]_0^{\pi} = (\pi + \cos\pi) - (0 + \cos 0) = (\pi - 1) - (0 + 1) = \pi - 2\] Therefore: \[2I = \pi(\pi - 2)\] \[I = \frac{\pi(\pi - 2)}{2}\]
Answer: \[I = \frac{\pi(\pi - 2)}{2}\]
Question: Evaluate \[ \int_0^{\pi} \frac{x \sin x}{1 + \sin^2 x}\,dx. \]
Answer: \[ \int_0^{\pi} \frac{x \sin x}{1 + \sin^2 x}\,dx = \frac{\pi}{\sqrt{2}}\ln(1+\sqrt{2}). \]