GATE CE 2015 · Set-2 · Limits & Continuity

MCQ · 1 mark · Problem EM-LIMC-0204

Given , \(i=\sqrt{-1}\), the value of the definite integral, \(I=\int_{0}^{\pi/2}\frac{\cos x+i\sin x}{\cos x-i\sin x}dx\) is:
  1. A
    1
  2. B
    -1
  3. C
    i
  4. D
    -i

Solve it on GATE DA practice →More Differential Calculus problems

Show the worked solution\[\begin{aligned} I&=\int_{0}^{\pi /2}\frac{\cos x+i\sin x}{\cos x-i\sin x}dx \\ &=\int_{0}^{\pi /2}\frac{e^{ix}}{e^{-ix}}dx=e^{2ix}dx \\ &=\frac{1}{2i}\left [ e^{2ix} \right ]_{0}^{\pi /2} \\ &=\frac{1}{2i}\left [ e^{i\pi }-1 \right ] \\ &=\frac{1}{2i}\left ( -1-1 \right ) \\ &=-\frac{1}{i}=i \end{aligned}\]

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