The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+14 votes

Given $i = \sqrt{-1}$, what will be the evaluation of the definite integral $\int \limits_0^{\pi/2} \dfrac{\cos x +i \sin x} {\cos x - i \sin x} dx$ ?

  1. $0$
  2. $2$
  3. $-i$
  4. $i$
asked in Calculus by Veteran (96.1k points)
edited by | 2k views


5 Answers

+27 votes
Best answer

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{i^2}{i} = i.$

answered by Active (4.2k points)
selected by
$\int_{0}^{\frac{\pi}{2}} \frac{\cos x+i\sin x}{cos x -isin x} dx$

After rationalising we get

$\int_{0}^{\frac{\pi}{2}} cos^{2} x -sin^{2} x + i.2.sinxcosx dx$

Using identities

$cos^{2}x -sin^{2} x= cos2x$

2sinxcosx= sin2x

integral becomes

$\int_{0}^{\frac{\pi}{2}} cos 2x + i.sin 2x$

which on evaluating gives answer as i (option d)
0 . numerator is 0 and not -2.
+24 votes

we know that 


Edit is neccessary$:$ Third last step $sin(\pi)$ instead of $sinx$

answer = option D

answered by Boss (30.6k points)
edited by
+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$



answered by Veteran (111k points)
In the 2nd line it should be :

$cos^2x - sin^2x+isin2x$

@ ma'am

please edit the answer.


$(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 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?

answered by Active (3.1k points)
2sin x cos x = sin 2x, not cos 2x..
oh sorry. yes sin2x.
@ 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.
–1 vote
answered by (187 points)



Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,540 questions
54,100 answers
71,007 users