What is \(\mathop \smallint \limits_{ - \frac{\pi }{2}}^{\frac{\pi }{2}} x\sin x\;dx\) equal to?

  1. 0
  2. 2
  3. -2
  4. π

Answer (Detailed Solution Below)

Option 2 : 2
Free
NDA 01/2025: English Subject Test
5.7 K Users
30 Questions 120 Marks 30 Mins

Detailed Solution

Download Solution PDF

Concept:

Odd and even function:

If a function f(x) such that f(-x) = f(x) then f(x) is an even function and if f(-x) = -f(x) then f(x) is an odd function.

Integration of odd and even function:

The following two cases hold for a differentiable function f(x).

If f(x) is an even function then \( \rm \displaystyle\int_{-a}^{a}f(x)dx = 2\int_{0}^{a}f(x)dx\).

If f(x) is an odd function then \(\rm \displaystyle\int_{-a}^{a}f(x)dx = 0\).

Calculation:

Let \(\rm f(x) = x\sin x\), put -x instead of x then we get \(\rm f(-x) = (-x)\sin(-x) = x\sin x\).

Therefore, f(-x) = f(x) implies that f(x) is an even function.

Thus, the integral is given by,

\(\rm \begin{align*} \int_{-\frac{\pi}{2}}^{\frac{\pi}{2}}x\sin x dx &= 2\int_{0}^{\frac{\pi}{2}}x\sin x dx\\ &= 2\left[x(-\cos x) - \int(-\cos xdx)\right]_{0}^{\frac{\pi}{2}}\\ &= 2\left[-x\cos x + \sin x\right]_{0}^{\frac{\pi}{2}}\\ &= 2\left[\left(-\dfrac{\pi}{2}\cos\left(\dfrac{\pi}{2}\right) + \sin\left(\dfrac{\pi}{2}\right)\right)-\left(-0\cos 0+\sin 0\right)\right]\\ &= 2 \end{align*}\)

Hence, the value of the given integral is 2.

Latest NDA Updates

Last updated on Jun 18, 2025

->UPSC has extended the UPSC NDA 2 Registration Date till 20th June 2025.

-> A total of 406 vacancies have been announced for NDA 2 Exam 2025.

->The NDA exam date 2025 has been announced. The written examination will be held on 14th September 2025.

-> The selection process for the NDA exam includes a Written Exam and SSB Interview.

-> Candidates who get successful selection under UPSC NDA will get a salary range between Rs. 15,600 to Rs. 39,100. 

-> Candidates must go through the NDA previous year question paper. Attempting the NDA mock test is also essential. 

Get Free Access Now
Hot Links: teen patti 50 bonus teen patti gold new version 2024 teen patti casino apk teen patti real money app