arthham

JEE Advanced 2016 · Integrals

The value of ∫−π2π2x2cos⁡x1+ex dx\int_{-\frac{\pi}{2}}^{\frac{\pi}{2}} \frac{x^{2}\cos x}{1+e^{x}}\,dx is equal to

Answer: A. π24−2\frac{\pi^{2}}{4}-2

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 ∫_(-π/2)^(π/2) (x²cos x)/(1+eˣ) dx is equal to

I=∫−π/2π/2x2cos⁡x1+ex dxI = \int_{-\pi/2}^{\pi/2} \dfrac{x^2\cos x}{1+e^x}\,dx

symmetric limits (−π2, π2)\text{symmetric limits } \left(-\tfrac{\pi}{2},\ \tfrac{\pi}{2}\right)

To find: I\text{To find: } I

I′=∫−π/2π/2x2cos⁡x1+e−x dxI' = \int_{-\pi/2}^{\pi/2} \dfrac{x^2\cos x}{1+e^{-x}}\,dx

x→−x:I′=∫−π/2π/2x2cos⁡x1+ex dx=Ix\to -x:\quad I' = \int_{-\pi/2}^{\pi/2} \dfrac{x^2\cos x}{1+e^{x}}\,dx = I

I+I′=∫−π/2π/2x2cos⁡x(11+ex+11+e−x)dxI + I' = \int_{-\pi/2}^{\pi/2} x^2\cos x\left(\dfrac{1}{1+e^x} + \dfrac{1}{1+e^{-x}}\right)dx

11+e−x=ex1+ex ⇒ 11+ex+ex1+ex=1\dfrac{1}{1+e^{-x}} = \dfrac{e^x}{1+e^x}\ \Rightarrow\ \dfrac{1}{1+e^x}+\dfrac{e^x}{1+e^x} = 1

2I=∫−π/2π/2x2cos⁡x dx=2∫0π/2x2cos⁡x dx2I = \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

∫0π/2=π24−2\int_0^{\pi/2} = \dfrac{\pi^2}{4} - 2

2I=2(π24−2)⇒I=π24−22I = 2\left(\dfrac{\pi^2}{4} - 2\right) \Rightarrow I = \dfrac{\pi^2}{4} - 2

I=π24−2 — option (1)\boxed{I = \dfrac{\pi^2}{4} - 2 \ \text{— option } (1)}

More from Integrals

All 55 Integrals questions →

Integrals: formulas and what the chapter covers →