GATE CE 2018 · Set-1 · Matrices & General Properties

MCQ · 2 marks · Problem EM-MTYP-0046

The value of the integral \(\int_{0}^{\pi}x\cos ^{2}x\: dx\) is
  1. A
    \(\pi ^{2}/8\)
  2. B
    \(\pi ^{2}/4\)
  3. C
    \(\pi ^{2}/2\)
  4. D
    \(\pi ^{2}\)

Solve it on GATE DA practice →More Matrix Types & Properties problems

Show the worked solutionThe value of\[\begin{aligned}&\int_{0}^{\pi }x\cos ^{2}x\, dx \\ &=\int_{0}^{\pi } \left ( \frac{x}{2}+\frac{x\cos 2x}{2} \right )dx \\ &=\left.\begin{matrix} \frac{x^{2}}{4} \end{matrix}\right|_{0}^{\pi }+\frac{1}{2}\left ( \frac{x\sin 2x}{2}+\frac{\cos 2x}{4} \right ) \\ &=\frac{\pi ^{2}}{4}+\frac{1}{2}\left \{ \left ( 0+\frac{1}{4} \right )-\left ( 0+\frac{1}{4} \right ) \right \} \\ &=\frac{\pi ^{2}}{4}+\frac{1}{2}\left ( \frac{1}{4}-\frac{1}{4} \right ) \\ &=\frac{\pi ^{2}}{4} \end{aligned}\]

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com