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

$\int^{\pi/4}_0 (1-\tan x)/(1+\tan x)\,dx $

  1. 0
  2. 1    
  3. ln 2
  4. 1/2 ln 2
asked in Calculus by Veteran (14.6k points)
edited by | 738 views

2 Answers

+26 votes
Best answer

Let $\displaystyle I = \int_{0}^{\frac{\pi}{4}}\frac{1-\tan x}{1+\tan x}dx =  \int_{0}^{\frac{\pi}{4}}\frac{\cos x-\sin x}{\cos x+\sin x}dx$

Now put $\cos x+\sin x=t\;,$ Then $\left(-\sin x+\cos x\right)dx = dt$ and changing limit

So we get $\displaystyle I = \int_{1}^{\sqrt{2}}\frac{1}{t}dt = \left[\ln t\right] = \ln(\sqrt{2}) = \frac{\ln 2}{2}$

answered by Junior (511 points)
selected by
By using tan(45-x) i am getting


In my answer - sign is also there.

Please correct me..
I m also getting minus sign..
No. I am not getting any minus sign even doing it by tan(pi/4-x) .

yes , sandeep , u r correct.. I did  some mistake.. now got it..

no minus sign would not come
+3 votes


$\int_{0}^{\frac{\pi}{4}} \dfrac{1 - \tan x}{1 + \tan x}\\ \\ = \int_{0}^{\frac{\pi}{4}} \dfrac{\cos x - \sin x}{\cos x + \sin x}\\ \text{ Multiply and divide by cos(x)-sin(x)}\\ = \int_{0}^{\frac{\pi}{4}} \dfrac{1-2\cos x\sin x}{\cos 2x}\\ \int_{0}^{\frac{\pi}{4}} \dfrac{1 - \tan x}{1 + \tan x}\\ \\ = \int_{0}^{\frac{\pi}{4}} \dfrac{\cos x - \sin x}{\cos x + \sin x}$

Answer is D.

answered by Loyal (4.2k points)

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

32,620 questions
39,267 answers
36,656 users