42 42 votes Given $i = \sqrt{-1}$, what will be the evaluation of the definite integral $\displaystyle \int \limits_0^{\pi/2} \dfrac{\cos x +i \sin x} {\cos x - i \sin x} dx$ ?$0$$2$$-i$$i$ Calculus gatecse-2011 calculus integration normal + – go_editor 20.1k views answer comment Share Follow Print See all 4 Comments 4 4 Comments reply Dileep kumar M 6 commented Nov 27, 2017 reply Follow flag f(X) 16 16 replyShare Lakshman Bhaiya commented Nov 22, 2019 reply Follow flag $e^{i\theta} = \cos\theta + i \sin\theta$ $e^{-i\theta} = \cos\theta - i \sin\theta$ Reference: https://math.stackexchange.com/questions/2735303/does-eulers-formula-give-e-ix-cosx-i-sinx 12 12 replyShare isundeep0 commented Dec 3, 2025 reply Follow flag cos 180 = cos(90 + 90) = - sin 90 = -1School maths90, 270 => Change(sin <=> cos, tan <=> cot, sec <=> cosec)Sign, 1st Quadrant(90-x,) = all positive2nd(90+x, 180-x) = sin, cosec3rd (180+x, 270-x)= tan, cot4th (270+x, 360-x) = cos, sec 1 1 replyShare js__ commented Jan 21 reply Follow flag . 2 2 replyShare Please log in or register to add a comment.
Best answer 78 78 votes Answer is D. $\int_{0}^{\frac{\pi}{2}}\frac{e^{ix}}{e^{-ix}}dx \\= \int_{0}^{\frac{\pi}{2}}e^{2ix}dx \\= \dfrac{e^{2ix}}{2i}\mid_{0}^{\frac{\pi}{2}} \\= \dfrac{-2}{2i} = \dfrac{-1}{i} = \dfrac{-1\times i}{i\times i}=\dfrac{-i}{i^2}=\dfrac{-i}{-1}=i$ sonapraneeth_a answered Jan 19, 2015 • edited Nov 14, 2019 by KUSHAGRA गुप्ता sonapraneeth_a comment Share Follow See all 6 Comments 6 6 Comments reply Show 3 previous comments Gupta731 commented Sep 29, 2020 reply Follow flag To rationalize, multiply numerator and denominator by $cosx+isinx$ in this case. 0 0 replyShare halfcodeblood commented Dec 16, 2024 reply Follow flag Note: e^(iπ) = -1 4 4 replyShare S_Sandeep commented Sep 2 reply Follow flag NOTE: $\cos(2x) + i\sin(2x) = e^{i2x}$ 0 0 replyShare Please log in or register to add a comment.
47 47 votes we know that also, Edit is neccessary$:$ Third last step $sin(\pi)$ instead of $sinx$ answer = option D amarVashishth answered Oct 22, 2015 • edited Jan 26, 2019 by Lakshman Bhaiya amarVashishth comment Share Follow See all 5 Comments 5 5 Comments reply Show 2 previous comments Jhaiyam commented Apr 22, 2020 reply Follow flag how is -2/2i = i ? where did - ve sign go ? Please explain. 0 0 replyShare Lakshman Bhaiya commented Apr 23, 2020 reply Follow flag @Jhaiyam $\dfrac{-2}{2i} = \dfrac{-2i}{2i^{2}} = \dfrac{-2i}{2(-1)} = i\:\:\:[\because i = \sqrt{-1}, i^{2} = -1]$ 8 8 replyShare Jhaiyam commented Apr 28, 2020 reply Follow flag Thanks. 0 0 replyShare Please log in or register to add a comment.
8 8 votes answer is i. resuscitate answered Nov 4, 2015 resuscitate comment Share Follow See all 2 Comments 2 2 Comments reply monali commented Nov 4, 2015 reply Follow flag THANKS DEAR 0 0 replyShare LiteYagami commented Jan 19, 2024 reply Follow flag Best answer, i probably won't remember the other formula. 1 1 replyShare Please log in or register to add a comment.
4 4 votes eix=cos x + i sin x e-ix=cos x - i sin x given integral can be written as I= ∫eix/e-ix dx =∫e2ix dx I=e2ix/2i putting value 0 and π/2 we get e^π-e^0/2 i=(cos π+sin π-cos 0-i sin 0)/2i =-2/2i =-1/i =i Pooja Palod answered Nov 4, 2015 Pooja Palod comment Share Follow See 1 comment 1 1 comment reply tiger commented Nov 28, 2015 reply Follow flag complex number is in our syllabus ? 0 0 replyShare Please log in or register to add a comment.
1 1 vote $\int_{0}^{\frac{\pi }{2}}\frac{\left ( cosx+isinx \right )^{2}}{cos^{2}x+sin^{2}x}dx$ $=\int_{0}^{\frac{\pi }{2}}\left ( cos^{2}x-sin^{2}x+isin2x \right )dx$ $=\int_{0}^{\frac{\pi }{2}}\left ( cos2x+isin2x \right )dx$ $=\left [ \frac{sin2x}{2}-\frac{icos2x}{2} \right ]_{0}^{\frac{\pi }{2}}$ $= \frac{\sin \pi }{2}-i\frac{\cos \pi }{2}-\left ( 0-\frac{i}{2} \right )$ $=-\left ( \frac{-i}{2} \right )+\frac{i}{2}$ $=i$ srestha answered May 11, 2018 • edited Jul 8, 2019 by srestha srestha comment Share Follow See all 4 Comments 4 4 Comments reply Avijit Shaw commented Oct 21, 2018 reply Follow flag In the 2nd line it should be : $cos^2x - sin^2x+isin2x$ 2 2 replyShare Lakshman Bhaiya commented Jan 26, 2019 i edited by Lakshman Bhaiya Jan 26, 2019 reply Follow flag @srestha ma'am please edit the answer. $(cosx+isinx)^{2}=cos^{2}x+i^{2}sin^{2}x+2icosx.sinx$ $(cosx+isinx)^{2}=cos^{2}x-sin^{2}x+2isinx.cosx$ Because $i=\sqrt{-1},i^{2}=-1$ $(cosx+isinx)^{2}=cos2x+2isinx.cosx$ Because $cos2x=cos^{2}x-sin^{2}x$ 0 0 replyShare srestha commented Jul 8, 2019 reply Follow flag ok, now? 0 0 replyShare Lakshman Bhaiya commented Jul 8, 2019 reply Follow flag Yes correct! 0 0 replyShare Please log in or register to add a comment.
0 0 votes Great answers down this one but.. Somebody please explain me why is this trivial approach wrong: rationalise the fraction. denominator will become 1. apply f(x)=f(a-x) formula of definite integration thereafter. and add the two integrals. the sqr. terms cancel out. the final integration we get is: 0 to pi/2 integral( 2i sinx cosx) this is 0 to pi/2 integral i.cos2x. treating i as constant is wrong? why? Aspi R Osa answered Jan 7, 2016 Aspi R Osa comment Share Follow See all 3 Comments 3 3 Comments reply Arjun commented Jan 7, 2016 reply Follow flag 2sin x cos x = sin 2x, not cos 2x.. 0 0 replyShare Aspi R Osa commented Jan 7, 2016 reply Follow flag oh sorry. yes sin2x. 1 1 replyShare amolagrawal commented Jan 18, 2017 reply Follow flag @ Aspi, Can you please explain what is definite integration formula you mentioned above f(x)=f(a-x). I am rationalizing numerator and denominator by cosx+isinx. After that i am getting Integral 0 to pi/2 1 - 2sin^2x - isin2x. I don't know how to proceed from here. 0 0 replyShare Please log in or register to add a comment.