arthham

JEE Advanced 2012 · Integrals

The value of the integral ∫−π/2π/2(x2+ln⁡π+xπ−x)cos⁡x dx\int_{-\pi/2}^{\pi/2} \left( x^{2} + \ln\frac{\pi+x}{\pi-x} \right)\cos x\,dx is

Answer: B. π22−4\frac{\pi^{2}}{2} - 4

Watch this solved on the board The full walkthrough, written out a line at a time with narration explaining each step as it appears. Pause anywhere and ask why a line is there. Free to watch

Or read the worked solution below. Jump to the steps ↓

Written solution

The value of the integral ∫_(-π/2)^(π/2) ( x² + ln(π+x)/(π-x) )cos x dx is

I=∫−π/2π/2(x2+ln⁡π+xπ−x)cos⁡x dxI = \int_{-\pi/2}^{\pi/2}\left(x^2+\ln\dfrac{\pi+x}{\pi-x}\right)\cos x\,dx

symmetric interval [−π2, π2]\text{symmetric interval } \left[-\tfrac{\pi}{2},\ \tfrac{\pi}{2}\right]

To find: the value of I (among the options)\text{To find: the value of } I \text{ (among the options)}

1. split I1.\ \text{split } I 2. odd part =02.\ \text{odd part } = 0 3. integrate the even part3.\ \text{integrate the even part} I=∫−π/2π/2x2cos⁡x dx⏟I1+∫−π/2π/2ln⁡(π+xπ−x)cos⁡x dx⏟I2I = \underbrace{\int_{-\pi/2}^{\pi/2} x^2\cos x\,dx}_{I_1} + \underbrace{\int_{-\pi/2}^{\pi/2}\ln\left(\frac{\pi+x}{\pi-x}\right)\cos x\,dx}_{I_2} f(x)=ln⁡π+xπ−xf(x)=\ln\dfrac{\pi+x}{\pi-x} f(−x)=ln⁡π−xπ+x=−ln⁡π+xπ−x=−f(x)f(-x)=\ln\dfrac{\pi-x}{\pi+x}=-\ln\dfrac{\pi+x}{\pi-x}=-f(x) ⇒f odd, cos⁡x even⇒f(x)cos⁡x odd\Rightarrow f \text{ odd},\ \cos x \text{ even} \Rightarrow f(x)\cos x \text{ odd} I2=∫−π/2π/2f(x)cos⁡x⏟odd dx=0I_2 = \int_{-\pi/2}^{\pi/2}\underbrace{f(x)\cos x}_{\text{odd}}\,dx = 0 I1=∫−π/2π/2x2cos⁡x dx=2∫0π/2x2cos⁡x dxI_1 = \int_{-\pi/2}^{\pi/2}x^2\cos x\,dx = 2\int_{0}^{\pi/2}x^2\cos x\,dx ∫x2cos⁡x dx=x2sin⁡x+2xcos⁡x−2sin⁡x\int x^2\cos x\,dx = x^2\sin x+2x\cos x-2\sin x [x2sin⁡x+2xcos⁡x−2sin⁡x]0π/2=(π24−2)−0=π24−2\left[x^2\sin x+2x\cos x-2\sin x\right]_0^{\pi/2} = \left(\tfrac{\pi^2}{4}-2\right)-0 = \tfrac{\pi^2}{4}-2 I=2(π24−2)=π22−4I = 2\left(\tfrac{\pi^2}{4}-2\right) = \tfrac{\pi^2}{2}-4 π22−4⇒ option (2)\boxed{\frac{\pi^2}{2}-4} \quad \Rightarrow \text{ option (2)}

More from Integrals

All 55 Integrals questions →

Integrals: formulas and what the chapter covers →