# Q. `int` `(sec x - tan x)/(sec x + tan x)` `dx` = `?` A) `log ( sec x + tan x) + c` B) `2 tan x - 2 sec x - x + c` C) `tan x + 2 sec x - x + c` D)`2 tan x - 2 sec x + x + c`

### 1 Answer | Add Yours

`int(secx-tanx)/(secx+tanx)dx`

multiplying both numerator and denominator by (secx-tanx)

=`int(secx-tanx)^2/((secx+tanx)(secx-tanx))dx`

=`int(sec^2x-2secxtanx+tan^2x)/(sec^2x-tan^2x)dx` (`sec^2x=tan^2x+1` )

=`int(2sec^2x-2secxtanx-1)dx`

=`2intsec^2xdx-2intsecxtanxdx-intdx`

=`2tanx-2secx-x+c`

where, c is the constant of integration.

**Therefore the correct answer is option B)**.

**Sources:**